Google dorks
Table of contents
Basics
-
excludes a term+
includes a termOR
searches for either term""
searches for an exact phrase*
acts as a wildcardsite:
restricts the search to a specific domaininurl:
restricts the search to a specific URLintitle:
restricts the search to a specific titleintext:
restricts the search to a specific textallintext:
restricts the search to all textfiletype:
restricts the search to a specific file typelink:
shows pages that link to a specific URL
Information gathering
Replace “{target}” with a name or other identifiers used online. Always remember to use these queries solely for legal and ethical purposes on information you own or have permission to check.
- File Types:
"{target}" filetype:pdf
"{target}" filetype:doc OR filetype:docx OR filetype:xls OR filetype:ppt
- Config files:
site:{target}+filetype:xml+|+filetype:conf+|+filetype:cnf+|+filetype:reg+|+filetype:inf+|+filetype:rdp+|+filetype:cfg+|+filetype:txt+|+filetype:ora+|+filetype:ini
- Database files:
site:{target}+filetype:sql+|+filetype:dbf+|+filetype:mdb
- Log files:
site:{target}+filetype:log+|filetype:txt
- Backup files:site:{target}+filetype:bkf+|+filetype:bkp+|+filetype:bak+|+filetype:old+|+filetype:backup
- Setup files:
site:{target}+inurl:readme+|+inurl:license+|+inurl:install+|+inurl:setup+|+inurl:config
- Other:
site:{target}+filetype:pdf+|+filetype:xlsx+|+filetype:docx
- Social Media & Professional Networks:
site:linkedin.com/in "{target}"
site:facebook.com "{target}"
site:twitter.com "{target}"
site:instagram.com "{target}"
- Profile & Resume Searches:
inurl:"profile" "{target}"
intitle:"{target}" "profile"
"{target}" intext:"resume"
intitle:"Curriculum Vitae" OR intitle:"CV" "{target}"
- Email and Contact Information:
"{target}" intext:"@gmail.com"
"{target}" intext:"email"
"{target}" AND "contact"
- Forums and Public Repositories:
site:pastebin.com "{target}"
site:github.com "{target}"
site:forums "{target}"
- Directory Listings and Miscellaneous:
site:{target}+intitle:index.of
,
- Exclusion Searches:
"{target}" -site:facebook.com
"{target}" -site:twitter.com
Advanced Google Operators
related:site
finds websites similar to the specified URLcache:URL
displays Google’s cached version of a page, even if the site is offlineinfo:URL
returns a summary of what Google knows about the domain (cache, similar sites, inbound links, etc.)define:term
shows a word or phrase definition directly in the resultsinanchor:word
filters pages where the anchor text includes the specified wordaround(n)
restricts results to pages where two words appear within n words of each other