Google Hacking Cheat Sheet - Summary
Google Hacking is also known as Google Dorking, is the practice of using advanced Google search operators to find specific information on the internet more efficiently. Security researchers and website administrators can use these search techniques to identify publicly accessible pages, files, directories, login pages, and other information that may need better protection.
Google Hacking Cheat Sheet
| Operator | Purpose | Safe Example |
|---|---|---|
site: | Search within a specific website or domain | site:example.com security |
intitle: | Find pages containing specific words in the title | intitle:"security policy" |
inurl: | Find pages containing a word in the URL | inurl:login site:example.com |
intext: | Find pages containing specific text | intext:"privacy policy" site:example.com |
filetype: | Search for a particular file type | filetype:pdf site:example.com report |
ext: | Search for files with a specific extension | ext:pdf site:example.com |
" " | Search for an exact phrase | "annual report 2026" |
- | Exclude a word from results | security -jobs |
OR | Search for either of two terms | security OR cybersecurity |
* | Wildcard for unknown words | "security * guide" |
related: | Find websites related to a particular website | related:example.com |
cache: | Search for cached pages where supported | cache:example.com |
before: | Find results before a specific date | security before:2026-01-01 |
after: | Find results after a specific date | security after:2026-01-01 |
site: + filetype: | Find specific files on a domain | site:example.com filetype:pdf |
site: + intitle: | Search titles within a domain | site:example.com intitle:guide |
site: + inurl: | Search URLs within a domain | site:example.com inurl:docs |