Google Dorking - Find Hidden Information with Search Engines

What is Google Dorking?

Google Dorking is the procedure of using advanced search operators to find information that shouldn't be public. Penetration testers and journalists use it daily to discover exposed databases, login pages, configuration files, security cameras.

⚠️ Read this first: Everything you search for today is publicly indexed by Google. You're not bypassing any security — you're just searching smarter than most people. However, accessing a system you find this way without permission is illegal. Search, observe, learn. Don't click on things you shouldn't.

First Operator: site:

Limit results to a single website.

Google search
site:stanford.edu

What this does: Shows only pages from stanford.edu. No subdomains excluded — everything under that domain.

Find Specific File Types: filetype:

Google search
site:stanford.edu filetype:pdf

What this does: Shows every PDF Google found on Stanford's domain.

Common file types:

Search Inside Page Titles: intitle:

The page title is what appears in your browser tab. It's different from the body text, and you can search it specifically.

Google search
intitle:"index of" "parent directory"

What this does: Finds web servers with directory listing enabled — pages that show every file in a folder like a file browser. These often contain backups, old versions, or files that were never meant to be public.

Search Inside URLs: inurl:

Search for keywords that appear in the web address itself.

Google search
inurl:admin login

What this does: Finds login pages where the word "admin" appears in the URL. Many admin panels are hidden behind URLs like /admin, /administrator, /wp-admin, or /panel.

Common inurl targets:

The minus sign removes results containing a specific word or operator.

Google search
site:stanford.edu -inurl:www

What this does: Shows pages from stanford.edu that are NOT on www.stanford.edu.

Exact Phrase Matching: "quotes"

Putting words in quotes tells Google to find that exact phrase, not just those words scattered across a page.

Google search
site:stanford.edu "password" filetype:txt

What this does: Finds text files on Stanford's domain that contain the word "password." This occasionally turns up configuration files, notes, or scripts with credentials in them.

Combine Everything: Build a Real Dork

The power of dorking comes from combining operators. Here's a search that finds exposed database backup files:

Google search
intitle:"index of" "backup" filetype:sql

Or one that finds login pages on education sites:

Google search
site:.edu inurl:login

How Defenders Protect Against Dorking

If you run a website, you don't want your admin panel or backup files showing up in Google. Defenders use several techniques: