Пример #1
0
def sca_alt(web):

    v = raw_input(''+O+' \033[4mTID\033[1;0m '+GR+':> ' + color.END)
    print '\n'
    if v == '1':
	print B+' [!] Type Selected :'+C+' WAF Analysis'+O
	os.system('wafw00f ' + web)
	time.sleep(0.9)
	scanenumban1()
	sca_alt(web)

    elif v == '2':
	print B+' [!] Type Selected :'+C+' Port Scanning'
	portscan(web)
	time.sleep(0.9)
	scanenumban1()
	sca_alt(web)

    elif v == '3':
	print B+' [!] Type Selected :'+C+' Interactive NMap'
	nmapmain(web)
	time.sleep(0.9)
	scanenumban1()
	sca_alt(web)

    elif v == '4':
	print B+' [!] Type Selected :'+C+' Crawlers'
	crawlers_hunt(web)
	time.sleep(0.9)
	scanenumban1()
	sca_alt(web)

    elif v == 'A':
	print ' [!] Type Selected : All Modules'
	time.sleep(0.5)

	print B+' [*] Firing up module -->'+C+' WAF Analysis'+O
	os.system('wafw00f ' + web)
	print B+' [!] Module Completed -->'+C+' WAF Analysis\n'
	time.sleep(1)

	print B+' [*] Firing up module -->'+C+' Port Scanning '
	portscan(web)
	print B+' [!] Module Completed -->'+C+' Port Scanning \n'
	time.sleep(1)

	print B+' [*] Firing up module -->'+C+' Interactive NMap'
	nmapmain(web)
	print B+' [!] Module Completed -->'+C+' NMap\n'
	time.sleep(1)

	print B+' [*] Firing up module -->'+C+' Crawlers'
	crawlers(web)
	print B+' [!] Module Completed -->'+C+' Crawlers\n'
	time.sleep(0.5)
	print G+' [+] All modules successfully completed!'
	time.sleep(0.5)
	print GR+' [*] Going back...'

    elif v == '99':
	print '[!] Back'
	time.sleep(0.7)

    else:
	dope = ['You high dude?','Hey there! Enter a valid option','Whoops! Thats not an option','Sorry fam! You just typed shit']
	print dope[randint(0,3)]
	time.sleep(0.7)
	os.system('clear')
	scanenumban1()
	sca_alt(web)
Пример #2
0
def scenum_dup(web):

    v = raw_input('' + O + ' \x1b[4mTID\x1b[1;0m ' + GR + ':> ' + color.END)
    print '\n'
    if v.strip() == '1':
        print B + ' [!] Type Selected :' + C + ' WAF Analysis'
	waf(web)
	raw_input(O+' [#] Press '+GR+'Enter'+O+' to continue...')
        scanenumban1()
        scenum_dup(web)

    elif v.strip() == '2':
        print B + ' [!] Type Selected :' + C + ' Port Scanning'
        portscan(web)
	raw_input(O+' [#] Press '+GR+'Enter'+O+' to continue...')
        scanenumban1()
        scenum_dup(web)

    elif v.strip() == '3':
        print B + ' [!] Type Selected :' + C + ' Interactive NMap'
        nmapmain(web)
	raw_input(O+' [#] Press '+GR+'Enter'+O+' to continue...')
        scanenumban1()
        scenum_dup(web)

    elif v.strip() == '4':
        print B + ' [!] Type Selected :' + C + ' Webtech Fingerprinting'
        webtech(web)
	raw_input(O+' [#] Press '+GR+'Enter'+O+' to continue...')
        scanenumban1()
        scenum_dup(web)

    elif v.strip() == '5':
        print B + ' [!] Type Selected :' + C + ' Banner Garbbing'
        bannergrab(web)
	raw_input(O+' [#] Press '+GR+'Enter'+O+' to continue...')
        scanenumban1()
        scenum_dup(web)

    elif v.strip() == '6':
        print B + ' [!] Type Selected :' + C + ' Crawlers'
        crawlers(web)
	raw_input(O+' [#] Press '+GR+'Enter'+O+' to continue...')
        scanenumban1()
        scenum_dup(web)

    elif v.strip() == 'A':
        print ' [!] Type Selected : All Modules'
        time.sleep(0.5)
        print B + ' [*] Firing up module -->' + C + ' WAF Analysis'
        waf(web)
        print B + ' [!] Module Completed -->' + C + ' WAF Analysis\n'
        time.sleep(1)

        print B + ' [*] Firing up module -->' + C + ' Port Scanning '
        portscan(web)
        print B + ' [!] Module Completed -->' + C + ' Port Scanning \n'
        time.sleep(1)

        print B + ' [*] Firing up module -->' + C + ' Interactive NMap'
        nmapmain(web)
        print B + ' [!] Module Completed -->' + C + ' NMap\n'
        time.sleep(1)

        print B + ' [*] Firing up module -->' + C + ' WebTech Fingerprinting'
        webtech(web)
        print B + ' [!] Module Completed -->' + C + ' WebTech\n'
        time.sleep(1)

        print B + ' [*] Firing up module -->' + C + ' Banner Grabbing'
        bannergrab(web)
        print B + ' [!] Module Completed -->' + C + ' Banner Grabbing\n'
        time.sleep(1)

        print B + ' [*] Firing up module -->' + C + ' Crawlers'
        crawlers(web)
        print B + ' [!] Module Completed -->' + C + ' Crawlers\n'
        time.sleep(0.5)

        print G + ' [+] All modules successfully completed!'
        time.sleep(0.5)
	raw_input(O+' [#] Press '+GR+'Enter'+O+' to continue...')
        print GR + ' [*] Going back...'
	time.sleep(3)

    elif v.strip() == '99':
        print '[!] Back'
        time.sleep(0.7)

    else:
        dope = ['You high dude?',
         'Hey there! Enter a valid option',
         'Whoops! Thats not an option',
         'Sorry fam! You just typed shit']
        print dope[randint(0, 3)]
        time.sleep(0.7)
        os.system('clear')
        scanenumban1()
        scenum_dup(web)