← All writeups

16 Feb 2026 / TryHackMe

Google Dorking — Search Engine Hacking

Learn how search engines work and how to use Google dorks to find hidden pages, exposed files, and sensitive info.

On this page

What are Google Dorks?

Google dorks are advanced search operators that let you find things Google has indexed that probably shouldn’t be public. This room teaches the basics.

Useful Operators

# Find specific file types on a domain
site:example.com filetype:pdf

# Find pages with specific words in the title
intitle:"index of" "parent directory"

# Find login pages
inurl:admin/login

# Find exposed config files
filetype:env "DB_PASSWORD"

# Find directory listings
intitle:"index of" site:target.com

How It Works

The room explains how web crawlers and search engine indexing work. Crawlers follow links and index content. The robots.txt file tells crawlers what NOT to index — but it’s just a suggestion, not a security measure. Anything in robots.txt is basically a roadmap for hackers.

Practical Application

During pentests, Google dorking is part of passive recon. You can find exposed admin panels, database dumps, configuration files, and more — all without touching the target directly.

→ Takeaway

Google sees everything. robots.txt is a hint file, not a security control.