Beispiel #1
0
    def run(self):
        from core.fsave import fsave
        import sys

        while True:
            host = raw_input("" + N + "Pentest>> (" + B +
                             "modules/scanners)(" + R + "scanner/dnslookup" +
                             G + "(set target)" + N + "): ")
            print
            print 'target =>', host
            if host == 'exit':
                sys.exit()
            elif host == 'back':
                break

            wread = self.atom(host)
            if wread is None:
                print("\t[-] Error Input")
                continue

            PTF = fsave(host, 'dnslookup', wread).pansor()
            print('Open faile save with Browser ' + PTF)
            print "" + G + ""
            os.system('firefox log/')
            break
Beispiel #2
0
    def run(self):
        from core.fsave import fsave
        import sys

        while True:
            host = raw_input('WH->[etc passwd] Host: ')
            if host == 'exit':
                sys.exit()
            elif host == 'back':
                break

            wread = self.atom(host)

            if wread is None:
                print("\t[-] problem Connection (invalid URL or network) [-]")
                continue
            if wread[0] == 'none':
                print("not found.")
                break

            saved = 'Activ url:' + str(wread).replace(',', '<br>')
            saved = fsave(host, 'etc_passwd', saved).pansor()
            print(saved)
            print('\t[Type exit to Exit]')
            print('\t[Type back to Back]')
            break
    def run(self):
        from core.fsave import fsave
        import sys

        while True:
            host = raw_input("" + N + "Pentest>> (" + B +
                             "modules/scanners)(" + R +
                             "scanner/dns_propagation " + G + "(set target) " +
                             N + "): ")
            print '\ttarget => ', host
            print
            if host == 'exit':
                sys.exit()
            elif host == 'back':
                break

            content = self.atom(host)
            if content is None:
                print("\t[-] Error Input")
                continue

            saved = fsave(host, "dns_propagation", content).pansor()
            print('Open file save with Browser' + saved)

            break
Beispiel #4
0
    def run(self):
        from core.fsave import fsave
        import sys

        while True:
            host = raw_input("" + N + "Pentest>> (" + B +
                             "modules/exploits)(" + R + "exploit/robots_txt" +
                             G + "(set target)" + N + "): ")
            if host == 'exit':
                sys.exit()
            elif host == 'back':
                break

            wread = self.atom(host)
            if wread is None:
                continue
            if wread[0] == 'none':
                print("not found.")
                break

            wread = 'Activ url:' + str(wread).replace(',', '<br>')
            saved = fsave(host, 'robots_txt', wread).pansor()
            print('Open faile save with Browser ' + saved)
            print "" + G + ""
            os.system('firefox log/ ')
            print
            break
Beispiel #5
0
    def run(self):
        from core.fsave import fsave
        import sys

        while True:
            host = raw_input("" + N + "Pentest>> (" + B +
                             "modules/scanners)(" + R +
                             "scanner/find_records" + N + "): ")
            if host == 'exit':
                sys.exit()
            elif host == 'back':
                break

            wread = self.atom(host)
            if wread is None:
                print("\t[-] Error Input ")
                continue

            saved = fsave(host, 'find_records', wread).pansor()
            print('Open faile save with Browser ' + saved)
            break
Beispiel #6
0
    def run(self):
        from core.fsave import fsave
        import sys

        while True:
            host = raw_input('WH->[whois] Host: ')
            if host == 'exit':
                sys.exit()
            elif host == 'back':
                break

            wread = self.atom(host)
            if wread is None:
                print("\t[-] problem Connection (invalid URL or network) [-]")
                continue

            saved = fsave(host, 'whois', wread).pansor()
            print(saved)
            print('\n\t[Type exit to Exit]')
            print('\t[Type back to Back]')
            break
Beispiel #7
0
    def run(self):
        from core.fsave import fsave
        import sys

        while True:
            host = raw_input('WH->[dns propagation] Host: ')
            if host == 'exit':
                sys.exit()
            elif host == 'back':
                break

            content = self.atom(host)
            if content is None:
                print("\t[-] problem Connection (invalid URL or network) [-]")
                continue

            saved = fsave(host, "dns_propagation", content).pansor()
            print(saved)
            print('\n\t[Type exit to Exit]')
            print('\t[Type back to Back]')
            break
Beispiel #8
0
    def run(self):
        from core.fsave import fsave
        import sys

        while True:
            host = raw_input("" + N + "Pentest>> (" + B +
                             "modules/scanners)(" + R +
                             "scanner/extract_links" + N + "): ")
            if host == 'exit':
                sys.exit()
            elif host == 'back':
                break

            wread = self.atom(host)
            if wread is None:
                print("\t[-] Error Input")
                continue

            wread = str(wread).replace(',', '<br>')
            saved = fsave(host, 'extract_links', wread).pansor()
            print('Open faile save with Browser ' + saved)
            print "" + G + ""
            os.system('firefox log/ ')
            break
Beispiel #9
0
    def run(self):
        from core.fsave import fsave
        import sys

        while True:
            host = raw_input('WH->[scan automatic] Host: ')
            if host == 'exit':
                sys.exit()
            elif host == 'back':
                break

            wread = self.atom(host)
            if wread is None:
                print("\t[-] problem Connection (invalid URL or network) [-]")
                continue

            final = [
                wread['cloud_flare'],
                wread['extract_links'],
                wread['whois_ip'],
                wread['allmail'],
                wread['allhost'],
                wread['robots_txt'],
                wread['cms'],
                wread['os'],
                wread['language'],
                wread['framework'],
                wread['waf'],
                wread['httpheader']]

            final = self.clean(final)
            saved = fsave(host, 'scan_automatic', str(final)).pansor()
            print(saved)
            print('\n\t[Type exit to Exit]')
            print('\t[Type back to Back]')
            break
Beispiel #10
0
    def run(self):
        from core.fsave import fsave
        import sys

        while True:
            host = raw_input("" + N + "Pentest>> (" + B +
                             "modules/scanners)(" + R + "scanner/web_robot " +
                             G + "(set target)" + N + "): ")

            if host == 'exit':
                sys.exit()
            elif host == 'back':
                break

            option = '''\n1> a\n2> meta tag\n3> input \n4> form\n5> iframe\n6> h1\n7>script\n8> img\n9> all photo link\n10> all script page link\n11>all css page link\n'''

            while True:
                print(option)
                lnx = raw_input("" + N + "Pentest>> (" + B +
                                "modules/scanners)(" + R +
                                "scanner/web_robot " + G + "(set target)" + N +
                                "): ")
                if host == 'exit':
                    sys.exit()
                elif host == 'back':
                    break
                elif lnx == '1':
                    recv = self.atom(host, 'a')
                elif lnx == '2':
                    recv = self.atom(host, 'meta')
                elif lnx == '3':
                    recv = self.atom(host, 'input')
                elif lnx == '4':
                    recv = self.atom(host, 'form')
                elif lnx == '5':
                    recv = self.atom(host, 'iframe')
                elif lnx == '6':
                    recv = self.atom(host, 'h1')
                elif lnx == '7':
                    recv = self.atom(host, 'script')
                elif lnx == '8':
                    recv = self.atom(host, 'img')
                elif lnx == '9':
                    recv = self.atom(host, 'img')
                elif lnx == '10':
                    recv = self.atom(host, 'script')
                elif lnx == '11':
                    recv = self.atom(host, 'link')
                elif lnx == 'exit':
                    sys.exit()
                elif lnx == '':
                    continue
                else:
                    continue
                break

            if recv is None:
                print("\t[-] Error Input")
                continue

            length = "all : " + str(len(recv)) + "<br>"
            wread = str(recv).replace('<', '')
            wread = wread.replace(',', '<br>')
            wread = fsave(host, 'web_robot', length + wread).pansor()
            print('Open faile save with Browser ' + wread)
            break
Beispiel #11
0
    def run(self):
        from core.fsave import fsave
        import sys

        while True:
            host = raw_input('WH->[web robot] Host: ')

            if host == 'exit':
                sys.exit()
            elif host == 'back':
                break

            option = '''\n1> a\n2> meta tag\n3> input \n4> form\n5> iframe\n6> h1\n7>script\n8> img\n9> all photo link\n10> all script page link\n11>all css page link\n'''

            while True:
                print(option)
                what = raw_input('WH->[robot] select option: ')
                if host == 'exit':
                    sys.exit()
                elif host == 'back':
                    break
                elif what == '1':
                    recv = self.atom(host, 'a')
                elif what == '2':
                    recv = self.atom(host, 'meta')
                elif what == '3':
                    recv = self.atom(host, 'input')
                elif what == '4':
                    recv = self.atom(host, 'form')
                elif what == '5':
                    recv = self.atom(host, 'iframe')
                elif what == '6':
                    recv = self.atom(host, 'h1')
                elif what == '7':
                    recv = self.atom(host, 'script')
                elif what == '8':
                    recv = self.atom(host, 'img')
                elif what == '9':
                    recv = self.atom(host, 'img')
                elif what == '10':
                    recv = self.atom(host, 'script')
                elif what == '11':
                    recv = self.atom(host, 'link')
                elif what == 'exit':
                    sys.exit()
                elif what == '':
                    continue
                else:
                    continue
                break

            if recv is None:
                print("\t[-] problem Connection (invalid URL or network) [-]")
                continue

            length = "all : " + str(len(recv)) + "<br>"
            wread = str(recv).replace('<', '')
            wread = wread.replace(',', '<br>')
            wread = fsave(host, 'web_robot', length + wread).pansor()
            print(wread)
            print('\t[Type exit to Exit]')
            print('\t[Type back to Back]')
            break