Google Dorks
Introduction⚑
Google dorks are special search terms that are used to access specific sets of information that are not usually available with normal queries. This is really handy when looking for data on the web and is one of the best forms of OSINT.
I was going to write a post on Google dorks including a cheat sheet and other useful information. In doing some research I found some great cheat sheets already out there, along with really good information about it. Rather than reinvent the wheel, I'll just include the links for cheatsheets I like and the dorks I use more frequently.
This is a WIP.
Common Dorks⚑
site:
- Restrict search to this site/domainallintext:
- Locate pages that contain certain characters or strings inside their textallinurl:
- Fetch results whose URL contains all the specified charactersfiletype:
- Search for any kind of file extensionallintitle:
- Show pages that contain titles with X characterscache:
- Shows the cached version of a website
Handy Examples⚑
intitle:”index of” inurl:ftp
- Find open/exposed FTP serversintitle:"index of" inurl:http after:2018
- Search for HTTP serversfiletype:xls inurl:"email.xls"
- Excel files that may contain email addressesintitle:"Index of" wp-admin
- Find Wordpress admin pagesallintext:username filetype:log
- Find log files with "username" in the fileintitle:index.of id_rsa -id_rsa.pub
- Find SSH keys
Cheat Sheets⚑
- ExploitDB - A huge database of dorks and is searchable
- StationX - Another great resource also searchable.
- HackTricks - Security related dorks