-
Notifications
You must be signed in to change notification settings - Fork 181
/
Copy pathhackgoo
47 lines (40 loc) · 2.18 KB
/
hackgoo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/bin/bash
# + -- --=[Hackgoo v1.6 by ZephrFish
# + -- --=[Modified for OSX Compatability
# + -- --=[sed 's/iceweasel/open/g' goohak > hackgoo
# Google D0rker - Multiple Search Terms for OSINT on a Domain
TARGET="$1"
if [ -z $TARGET ]; then
echo -e "+ -- --=[Hackgoo v1.6 by ZephrFish"
echo -e "+ -- --=[Modified for OSX Compatability"
echo -e "+ -- --=[sed 's/iceweasel/open/g' goohak > hackgoo"
exit
fi
open 2> /dev/null &
sleep 5
# Google Dorks
echo "Opening Browser with search terms per tab"
# FIND LOGIN PAGES:
open "https://www.google.ca/search?q=site:$TARGET+username+OR+password+OR+login+OR+root+OR+admin" 2> /dev/null
# SEARCH FOR BACKDOORS:
open "https://www.google.ca/search?q=site:$TARGET+inurl:shell+OR+inurl:backdoor+OR+inurl:wso+OR+inurl:cmd+OR+shadow+OR+passwd+OR+boot.ini+OR+inurl:backdoor" 2> /dev/null
# FIND SETUP OR INSTALL FILES:
open "https://www.google.ca/search?q=site:$TARGET+inurl:readme+OR+inurl:license+OR+inurl:install+OR+inurl:setup+OR+inurl:config" 2> /dev/null
# FIND WORDPRESS PLUGINS/UPLOADS/DOWNLOADS:
open "https://www.google.ca/search?q=site:$TARGET+inurl:wp-+OR+inurl:plugin+OR+inurl:upload+OR+inurl:download" 2> /dev/null
# FIND OPEN REDIRECTS:
open "https://www.google.ca/search?q=site:$TARGET+inurl:redir+OR+inurl:url+OR+inurl:redirect+OR+inurl:return+OR+inurl:src=http+OR+inurl:r=http" 2> /dev/null
# FIND FILES BY EXTENSION:
open "https://www.google.ca/search?q=site:$TARGET+ext:cgi+OR+ext:php+OR+ext:asp+OR+ext:aspx+OR+ext:jsp+OR+ext:jspx+OR+ext:swf+OR+ext:fla+OR+ext:xml" 2> /dev/null
# FIND DOCUMENTS BY EXTENSION:
open "https://www.google.ca/search?q=site:$TARGET+ext:doc+OR+ext:docx+OR+ext:csv+OR+ext:pdf+OR+ext:txt+OR+ext:log+OR+ext:bak" 2> /dev/null
# FIND APACHE STRUTS RCE's:
open "https://www.google.ca/search?q=site:$TARGET+ext:action+OR+ext:struts" 2> /dev/null
# FIND PASTEBIN POSTS FOR DOMAIN:
open "https://www.google.ca/search?q=site:pastebin.com+$TARGET" 2> /dev/null
# FIND EMPLOYEES ON LINKEDIN:
open "https://www.google.ca/search?q=site:linkedin.com+employees+$TARGET" 2> /dev/null
# Find Subdomains
open "https://www.google.ca/search?q=site:*.$TARGET" 2> /dev/null
# Find Sub-subdomains
open "https://www.google.ca/search?q=site:*.*.$TARGET" 2> /dev/null