def search( q, start=0, p=0):
	try:
		seout = google.googsearch(q,start*8)
		seout = seout + bing.bingsearch(q,start*8)
		seout = seout + yahoo.yahoosearc(q,start+1)
		seout = seout + ask.asksearche(q,start+1)
		seout = seout + ixquick.ixquick(q,start+1)
		seout = seout + dogp.dogpsearch(q,start*10)
		seout = seout + entirwebs.entirewebs(q,start*20+1)
		seout = seout + aol.aolsearche(q,start+1)
	except (KeyboardInterrupt, SystemExit):
		print("\r\n\033[31mExited... bye!")
		exit()

	if len(seout) != 0 :
		sout.done("\r\033[92m[+]:\033[0m Exteracting \033[92m #%s \033[32mPage Done!\033[0m         " %str(start+1) )
	return seout;
Beispiel #2
0
def search(q, start=0, p=0):
    try:
        seout = google.googsearch(q, start * 8)
        seout = seout + bing.bingsearch(q, start * 8)
        seout = seout + yahoo.yahoosearc(q, start + 1)
        seout = seout + ask.asksearche(q, start + 1)
        seout = seout + ixquick.ixquick(q, start + 1)
        seout = seout + dogp.dogpsearch(q, start * 10)
        seout = seout + entirwebs.entirewebs(q, start * 20 + 1)
        seout = seout + aol.aolsearche(q, start + 1)
    except (KeyboardInterrupt, SystemExit):
        print("\r\n\033[1;31mExited... bye!")
        exit()

    if len(seout) != 0:
        sout.done(
            "\r\033[92m\033[1m[+]:\033[0m\033[0m Exteracting \033[1m #%s Page Done!\033[0m         "
            % str(start + 1))
    return seout
Beispiel #3
0
print("\033[92m " +  args.bannerx())
print("\033[92m\033[1;1m[+]:\033[0m\033[0m Dork : " + "\033[1m" + query + "\033[0m")

#time.sleep(10)

for startnum in range(int(pages[0]),int(pages[1])):
	try:
		results = results + list( set( mainsearch.search( query, startnum, int(pages[1])-1 ) ) )
	except (KeyboardInterrupt, SystemExit):
		print("\r\n\033[1;31mExited... bye!")
		exit()


if len(results) == 0:
	sout.done("\033[1;31m[!]: \033[9;31mNo Internet Connection...!\n\r\n")
	exit()
else:
	print("\r\033[92m\033[1m[+]:\033[0m Urls:\033[1m %s\033[0m" %len(results) )

if donly:
	results = only.d(results,webappdir)
elif honly:
	results = only.h(results,webappdir)
if outputfile:
	path = outputfile.split("/")
	try:
		path.pop()
	except:
		0
	if os.access("/".join(path), os.R_OK):
Beispiel #4
0
        results = results + list(
            set(mainsearch.search(query, startnum,
                                  int(pages[1]) - 1)))
    except (KeyboardInterrupt, SystemExit):
        print("\r\n\033[31mExited... bye!")
        exit()

if donly:
    results = only.d(results, webappdir)
elif honly:
    results = only.h(results, webappdir)

results = sout.sort_and_deduplicate(results)

if len(results) == 0:
    sout.done("\033[31m[!]: \033[91mNo Internet Connection...!\n")
    exit()
else:
    print("\r\033[92m[+]:\033[0m Urls: \033[92m%s\033[0m" % len(results))

if outputfile:
    path = outputfile.split("/")
    try:
        path.pop()
    except:
        0
    if os.access("/".join(path), os.R_OK):

        if os.path.isfile(outputfile) == False:
            try:
                open(outputfile, 'w').write(
Beispiel #5
0
	try:
		results = results + list( set( mainsearch.search( query, startnum, int(pages[1])-1 ) ) )
	except (KeyboardInterrupt, SystemExit):
		print("\r\n\033[31mExited... bye!")
		exit()


if donly:
	results = only.d(results,webappdir)
elif honly:
	results = only.h(results,webappdir)

results = sout.sort_and_deduplicate(results)

if len(results) == 0:
	sout.done("\033[31m[!]: \033[91mNo Internet Connection...!\n")
	exit()
else:
	print("\r\033[92m[+]:\033[0m Urls: \033[92m%s\033[0m" %len(results) )

if outputfile:
	path = outputfile.split("/")
	try:
		path.pop()
	except:
		0
	if os.access("/".join(path), os.R_OK):
		
		if os.path.isfile(outputfile) == False :
			try:
				open(outputfile, 'w').write("[+]===================[SEMaster]===================[+]\r\n")