forked from 1N3/Goohak
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/1N3/Goohak
- Loading branch information
Showing
2 changed files
with
54 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 |