All field guides
TECHNIQUES

Search Operators & Dorking

Advanced query syntax that turns a search engine into a precision instrument for exposed data.

Intermediate12 min readtechniquessearch

Search engines index far more than most people ask for. "Dorking" is the practice of composing precise queries that surface files, login pages, and records that were never meant to be advertised.

Look, do not touch

Finding an exposed admin panel or a spreadsheet of personal data is not the same as using it. Accessing or downloading protected data can be a crime. Document what you found and report it.

Core operators

OperatorDoesExample
site:Restrict to one domainsite:example.com login
filetype:Find specific file typesfiletype:pdf "not for distribution"
intitle: / inurl:Match page title / URLintitle:"index of"
"..."Exact phrase"confidential draft"
-wordExclude a termjaguar -car -animal
OR / ANDBoolean logic"john doe" OR "j. doe"
*Wildcard word"password for * account"

Putting it together

site:example.com filetype:pdf (invoice OR receipt) -template
dept:security "internal use only" filetype:xlsx

Chain operators from broad to narrow: start with the domain, add a file type, then a distinctive phrase. If you get thousands of hits, you have not been specific enough; if you get zero, loosen one constraint at a time.

  • Search other engines too — Bing, Yandex (strong on faces and Eastern Europe), and regional engines index different corpora.
  • Search code: GitHub, GitLab and grep.app surface credentials and configs accidentally committed.
  • Use archives: a dork that finds it today may only have found a cached copy last year.

Dork patterns worth memorising

GoalQuery pattern
Open directory listingsintitle:"index of" "parent directory" site:example.com
Exposed config / env filessite:example.com ext:env OR ext:yml OR ext:ini "password"
Spreadsheets of peoplesite:example.com (filetype:xlsx OR filetype:csv) "email"
Login / admin surfacessite:example.com (inurl:login OR inurl:admin)
Documents with hidden authorssite:example.com filetype:pdf "internal use only"
Worked exampleScoping an organisation's exposure

You are assessing what a company has inadvertently published, for a defensive brief.

Method · Start with `site:example.com` and add a file type, then a distinctive phrase. Fan out across engines and code hosts, and archive every hit before it is patched away. You record the finding; you do not open data you are not entitled to see.

Result · A short list of exposed documents and misconfigured directories, each with a URL and a timestamp — delivered as a remediation report with "look, do not touch" discipline throughout.

Dorking session checklist
Progress is saved on this device only.