Skip to content

Instantly share code, notes, and snippets.

@Xeek3y
Last active July 7, 2020 15:59
Show Gist options
  • Save Xeek3y/f5221eee6233522114c48d761529d024 to your computer and use it in GitHub Desktop.
Save Xeek3y/f5221eee6233522114c48d761529d024 to your computer and use it in GitHub Desktop.
googledorks()
{
echo "|- Usage: googledorks upserve.com|"
echo "----------------------------------"
echo "#Google Dorks"
echo "https://www.google.com/search?q=site:$1 inurl:login,register,upload,logout,redirect,redir,goto,admin"
echo "https://www.google.com/search?q=site:$1 inurl:&"
echo "https://www.google.com/search?q=site:$1 ext:php,asp,aspx,jsp,jspa,txt,swf"
echo "https://www.google.com/search?q=site:$1 -$1 -$1"
echo "https://www.google.com/search?q=site:$1 filetype:txt"
echo "https://www.google.com/search?q=intitle:\"index of /\" Parent Directory site:$1"
echo "https://www.google.com/search?q=intitle:\"Index of /admin\" site:$1"
echo "https://www.google.com/search?q=intitle:\"Index of /password\" site:$1"
echo "https://www.google.com/search?q=intitle:\"Index of /\" passwd site:$1"
echo "https://www.google.com/search?q=intitle:\"Index of /\" .htaccess site:$1"
echo "https://www.google.com/search?q=Intitle: \"login\" \"admin\"site:$1"
echo "https://www.google.com/search?q=inurl:login site:$1"
echo "https://www.google.com/search?q=filetype:txt site:$1"
echo "https://www.google.com/search?q=filetype:xml site:$1"
echo "https://www.google.com/search?q=filetype:inf site:$1"
echo "https://www.google.com/search?q=filetype:ini site:$1"
echo "https://www.google.com/search?q=filetype:xls csv site:$1"
#Shodan
echo "https://www.shodan.io/search?query=$(echo org:$1 | cut -d '.' -fl)"
#Github
echo "https://github.com/search?q=$(echo $1 | cut -d '.' -fl)"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment