Search engine discovery / recon
Find information leaked about the target through search engines and Google dorks before touching it directly.
Goal
Discover what the target has unintentionally exposed to search engines — files, subdomains, credentials, admin pages — without sending traffic to the target yet.
How to test
Use Google advanced search and dorks. Handy operators:
site:example.com # pages indexed for the domain
inurl:admin site:example.com # keyword in the URL, scoped to the domain
inurl:example -site:example.com # mentions off the main domain (3rd-party exposure)
intitle:"index of" site:example.com # directory listings
intext:password site:example.com # keyword in the body
filetype:pdf site:example.com # by file type (pdf, xls, conf, bak, sql, log, env)
Also check the target’s own robots.txt — disallowed paths are a map of what they want
hidden:
curl -s https://example.com/robots.txt
A good dork reference.
What to look for
Exposed admin panels, backups (.bak, .old, .sql), config/.env files, credentials
in indexed documents, internal hostnames, and subdomains you hadn’t enumerated yet.
Notes
Passive by design — none of this touches the target, so it’s safe to run early. Confirm any off-domain asset you find is actually in scope before testing it.
References
- OWASP WSTG-INFO-01 — Conduct Search Engine Discovery Reconnaissance.
- Related: review metafiles, enumerate applications.