Esempio n. 1
0
def scanenum(web):

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

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

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

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

    elif v.strip() == '5':
        print B + ' [!] Type Selected :' + C + ' OS Fingerprinting'
        osdetect(web)
        raw_input(O + ' [#] Press ' + GR + 'Enter' + O + ' to continue...')
        scanenumban()
        scanenum(web)

    elif v.strip() == '6':
        print B + ' [!] Type Selected :' + C + ' Banner Grab'
        bannergrab(web)
        raw_input(O + ' [#] Press ' + GR + 'Enter' + O + ' to continue...')
        scanenumban()
        scanenum(web)

    elif v.strip() == '7':
        print B + ' [!] Type Selected :' + C + ' IP Crawler'
        webscan(web)
        raw_input(O + ' [#] Press ' + GR + 'Enter' + O + ' to continue...')
        scanenumban()
        scanenum(web)

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

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

        print B + ' [*] Firing up module -->' + C + ' WAF Analysis' + O
        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 + ' OS Detect'
        osdetect(web)
        print B + ' [!] Module Completed -->' + C + ' OS Detect\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 + ' Webserver Scanning'
        webscan(web)
        print B + ' [!] Module Completed -->' + C + ' Webserver Scanning\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...'

    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')
        scanenumban()
        scanenum(web)
Esempio n. 2
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
	waf(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+' Webtech Fingerprinting'
	webtech(web)
	time.sleep(0.9)
	scanenumban1()
	sca_alt(web)

    elif v == '5':
	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
	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+' Crawlers'
	crawlers_hunt(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)