Skip to content

Commit

Permalink
banner
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel almeida committed Nov 8, 2017
1 parent 47a32a0 commit 13ffa2c
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 68 deletions.
58 changes: 17 additions & 41 deletions google_explorer.py
@@ -1,10 +1,10 @@
"""
Usage:
google_explorer.py --dork=<arg> --browser=<arg> [--language=<arg>]
[--location=<arg>]
[--last_update=<arg>]
[--location=<arg>]
[--last_update=<arg>]
[--google_domain=<arg>]
[--proxy=<arg>]
[--proxy=<arg>]
google_explorer.py --plugin=<arg>
google_explorer.py --help
google_explorer.py --version
Expand Down Expand Up @@ -78,36 +78,11 @@ class GoogleScanner:

@staticmethod
def banner():
os.system('clear')
print("\033[34m .,:::.")
print("\033[34m ,,::::::,:` \033[32m:;;,")
print("\033[34m ,:,:,,::,,:::: \033[32m:;;:")
print("\033[34m :,,,:,. `,:,,,, \033[32m:;;:")
print("\033[34m :,,,: ,,, \033[32m:;;:")
print("\033[34m ,::,, ` \033[32m:;;:")
print("\033[34m ::,, \033[32m:;;,")
print("\033[34m .::: \033[32m:;;,")
print("\033[34m ::,, \033[31m`:::,` \033[33m`,,,.` \033[34m.,:, \033[32m:;;, \033[31m`:::,")
print("\033[34m ::: \033[31m`;;;;;:;; \033[33m.:::::::, \033[34m.:,::,:,:,: \033[32m:;;: \033[31m`;:;;;;:.")
print("\033[34m :,: ..........` \033[31m`;;:::;;;;;` \033[33m.:::::::::,` \033[34m,::,,::,:,:: \033[32m:;;: \033[31m`;;;;;;;;;,")
print("\033[34m ::: ::,:,,::::, \033[31m;;;;` .;;;; \033[33m`:::,```.:::, \033[34m`,,,, ,,:,: \033[32m:;;: \033[31m;;;:` .:;;`")
print("\033[34m :,: ::,::,,,::, \033[31m:::; `;;;, \033[33m,::, `:::` \033[34m,,:, ,::: \033[32m:;;, \033[31m.;;: ,;;;")
print("\033[34m :,: ,,,,,,,,,:, \033[31m;;;` .::: \033[33m`::, .::, \033[34m`:,: :,: \033[32m:;;, \033[31m:;;` ,;;;:;")
print("\033[34m :,:, ,:,.\033[31m`;;; ;;: \033[33m.::, `::: \033[34m,::, ,:: \033[32m:;;: \033[31m;;; `:;;;;;.")
print("\033[34m .,:: ::: \033[31m`;:; :;; \033[33m.::, ,:, \033[34m,::. ,,: \033[32m:;;: \033[31m;;;;;;;::`")
print("\033[34m :,:, .::: \033[31m`;;; ;;; \033[33m.::, `::, \033[34m,::, ,,: \033[32m:;;: \033[31m;;;;;;,")
print("\033[34m ,,,:. `:,,. \033[31m:;;` `;;; \033[33m`::: .::, \033[34m`::, :,, \033[32m:;;: \033[31m;;;;`")
print("\033[34m ::::: .,,,: \033[31m:;;; :::: \033[33m,::, `,::` \033[34m,::. .::: \033[32m:;;, \033[31m.;;: :,")
print("\033[34m ::,,::` `,:,::, \033[31m;;;;` `;:;: \033[33m`:::,` .:::, \033[34m.,:,, ,,,:: \033[32m:;;: \033[31m;;:;` `;;;;")
print("\033[34m ,:,:,::,,:,,:: \033[31m.;;::;:;:::` \033[33m.::::::::::` \033[34m,:,,,:,:::,: \033[32m:;;: \033[31m`;;:;:;:;;;.")
print("\033[34m `:::::,,:,,. \033[31m`;:;;;;;;` \033[33m.:::::::,` \033[34m,,,,:,,,:,, \033[32m:;;, \033[31m:;;;;;;;`")
print("\033[34m .::::,` \033[31m`::;:` \033[33m.,,,,` \033[34m,:::` ::: \033[32m```` \033[31m`:;;;.")
print(" \033[34m:,:")
print(" \033[34m,, ,,:")
print(" \033[0meXPloReR - v0.1 - 2016 \033[34m::,: ,::,")
print(" \033[0manarcoder at protonmail.com \033[34m,,:,,.,:,::")
print(" \033[0m github.com/anarcoder \033[34m`:,,:,:,,,`")
print(" \033[34m::::,:,\033[0m")
with open('utils/banner.txt') as f:
os.system('clear')
for line in f.readlines():
print(line.rstrip())
print('\n')

def __init__(self, dork, browser, filters):
self.dork = dork
Expand All @@ -117,7 +92,6 @@ def __init__(self, dork, browser, filters):

def validate_browser(self):
browser = self.browser
browser_path = ''
f = self.filters
driver = ''

Expand All @@ -142,8 +116,10 @@ def validate_browser(self):
if f['proxy']:
profile = webdriver.FirefoxProfile()
profile.set_preference("network.proxy.type", 1)
profile.set_preference("network.proxy.socks", f['proxy'].split(':')[0])
profile.set_preference("network.proxy.socks_port", int(f['proxy'].split(':')[1]))
profile.set_preference("network.proxy.socks",
f['proxy'].split(':')[0])
profile.set_preference("network.proxy.socks_port",
int(f['proxy'].split(':')[1]))
profile.update_preferences()
try:
driver = webdriver.Firefox(firefox_profile=profile)
Expand All @@ -165,17 +141,18 @@ def validate_browser(self):
else:
opts = Options()
opts.binary_location = browsers_paths[browser]

if f['proxy']:
opts.add_argument('--proxy-server=socks5://%s' % f['proxy'])

try:
driver = webdriver.Chrome(chrome_options=opts)
driver.wait = WebDriverWait(driver, 90)
return driver
except:
except Exception as e:
print('[#] Error with chromedriver')
print('[#] Install chromedriver or upgrade/downgrade it!')
print(str(e))

def go_to_advanced_search_page(self):
time.sleep(2)
Expand Down Expand Up @@ -374,7 +351,7 @@ def start_search(self):
self.apply_filters()

# Preparing url to show more results
driver.get(driver.current_url+'&num=100')
driver.get(driver.current_url + '&num=100')
time.sleep(1)

# Checking if msg of omitting results is showed
Expand All @@ -385,7 +362,6 @@ def start_search(self):
print('deu merda')
pass


self.result_parser()
time.sleep(5)

Expand Down
59 changes: 32 additions & 27 deletions utils/banner.txt
@@ -1,27 +1,32 @@
.o######0o.
0###########0. .
o####" "######0. (## m#o
####( ######0 ._ ##.##"nn
0####o ###" ## (##o.######"
o00o. 0#####o,##. ,#" "#######(
.0#####0. 0###########0 ########
.0#######0. "0#########" _.o###'"00"
.0###########o._ ""################ _ .
0####" "#########################0 .0#0n0
#####. ""#####################" _ 0#####
0#####. "###################._.o##o.#####"
"0#####..##mn ""#############################
"0#######""_ ""##################"#####"
""####m###m ""############" ####
.########""" .########" "##"
####"##"###o (0######" ""
"##".###,## .o#o ""####.
"##" .0############.
.n##############

Google Explorer - AnonGhost Team
https://www.facebook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