Course contentsShow
← Security
Lesson 330 of 3,0528. Network Security - ReconnaissanceFree lesson

Search Engine Reconnaissance and Google Dorking

Using advanced search operators to discover indexed pages, exposed files, and unintended information leaks.

Search Engine Reconnaissance and Google Dorking

What you'll learn: How attackers use advanced search operators to uncover sensitive information indexed by search engines without touching your systems directly.

The Core Idea

Search engines like Google crawl and index billions of web pages, often capturing more than website owners intend. Google Dorking (named after the word "dork" meaning a specialized search query) uses advanced search operators to filter results and discover exposed files, login pages, vulnerable systems, and accidentally published sensitive data—all from publicly indexed content.

Think of it like this: If WHOIS tells you who owns a domain, Google Dorking reveals what secrets they've accidentally left in public view. You're not hacking—you're just reading what search engines already catalogued.

Common Google Dork Operators

  • site: — Limit results to a specific domain
    site:example.com filetype:pdf finds all PDFs on example.com

  • filetype: — Search for specific file extensions
    filetype:xlsx site:example.com finds Excel spreadsheets

  • inurl: — Match text in the URL
    inurl:admin site:example.com finds admin login pages

  • intitle: — Match text in page titles
    intitle:"index of" backup finds directory listings with backup files

  • intext: — Search within page content
    intext:"password" filetype:log finds log files mentioning passwords

Why This Matters for Security

Attackers use these queries to find configuration files, exposed databases, default credentials pages, internal documents, and system error messages—all before ever sending a packet to your network. This is pure OSINT: gathering intelligence from open sources.

Key Takeaway: Search engines inadvertently archive sensitive data. Advanced operators let reconnaissance happen invisibly by simply querying what's already public—defenders must know what's indexed about their assets.