← See all resources
Google Dorking
🔎Methodologies

Google Dorking

How to use advanced search operators for OSINT investigations.

Tags

Google DorkingOSINTReconnaissanceSearch Engines
Download infographic

File: SecPro-google-dorking.gif

What is Google Dorking?

Google Dorking (or Google Hacking) is the use of advanced search operators to find information that shouldn't be public but that Google has indexed: admin panels, files with credentials, exposed cameras, internal documents, unprotected APIs. It's a powerful OSINT technique for both attackers and defenders.

Most useful operators

site: limits to a domain; filetype: searches file types (pdf, xls, env, log); intitle: and inurl: search the title or URL; and combining them locates sensitive resources — for example, exposed config files or login panels indexed by mistake.

Ethical use and defense

A pentester uses dorks to discover what client information is exposed on the internet. On the defensive side, it's worth 'dorking' your own organization periodically to catch leaks before attackers do, and configure robots.txt, headers and permissions so what shouldn't be public isn't indexed.

The operators that actually get used

A handful cover most of the work. `site:` limits the search to one domain and is the starting point of any reconnaissance. `filetype:` locates documents by extension, which is how spreadsheets and internal PDFs published by accident show up. `intitle:` and `inurl:` search the title and the address, useful for finding admin panels and directory indexes. Combined with quotes for exact phrases and a minus sign to exclude, they form very precise queries.

What turns up without forcing anything

What appears is not hacked: it is published, and nobody expected it to be found. Backups with a recognizable extension, configuration files carrying credentials, directory listings left open by a default setting, login panels that were meant to be internal, documents with personal data, and error messages revealing paths and versions. All of it indexed because it was reachable and nothing stopped the crawler from reading it.

How to check your own exposure

Start with `site:yourdomain.com` to see what is actually indexed, which is almost always a surprise. Add `filetype:` for formats that should not be public and search for terms like «confidential» or «internal». Whatever should not be indexed gets blocked at the server and removed with the search console's removal tool — remember that `robots.txt` prevents crawling but does not de-index what is already in, and that it is itself public, telling anyone which paths you consider sensitive.

More from Methodologies

Explore more infographics

View full catalog

Need help with your cybersecurity? 💬