101 Guide · Beginner · 5 Min Read

Google Dorking 101.

What Google dorking is and how defenders use search operators to find their own exposed files and pages before others do.

  • External Attack Surface Management
Level
Beginner
Length
5 min read
Track
External Attack Surface Management
In Short

Google dorking is the use of advanced search operators to find information that a search engine has indexed, such as particular file types or pages on one site. A single search is called a Google dork. Attackers use it for reconnaissance, and defenders can run the same searches against their own domains to find what is exposed by mistake.

  • Google dorking uses search operators to find what a search engine has already indexed.
  • Defenders can run the same searches on their own domains to find files and pages exposed by mistake.
  • Fix an exposure by removing the file and rotating any secret in it, not by hiding the search result.
  • Dorking sees only indexed pages, so pair it with attack surface management and data leak monitoring.
Last updated October 10, 2026

What Is Google Dorking?

A search engine indexes what is public on the internet. Dorking means narrowing a search with operators so that only certain results appear, for example one website or one file type.

It does not break into anything. It only finds what is already indexed and reachable. That is exactly the problem: a file that was put online by mistake can be found by anyone who asks the right question.

It is one technique within open-source intelligence. The OSINT Framework even marks entries that rely on it with a D.

A dork is simply a carefully built query. For a defender, the value is speed: in a few minutes you can see roughly what a stranger sees when searching for your company, without special software and without touching your systems.

Common Operators And What They Reveal.

These operators are described in Google’s own Search help. Aimed at your own domain, each one shows a different kind of exposure.

Operator What it does What it can reveal on your domain
site: Limits results to one site or domain Every indexed page, including forgotten or test sites
filetype: Limits results to one file type Documents, spreadsheets or backups published by mistake
“quotes” Matches an exact word or phrase A product code name or an internal label that should not be public
– (minus) Leaves out a word Cuts the noise so odd results stand out
before: and after: Limits results by date What was newly indexed since your last check

Operators can be combined. Practitioners also use others, such as intitle: and inurl:, but treat those as less certain, because Google can change how operators behave.

Use It On Your Own Company.

Run searches against your own domains and write down what you find. Combine site: with your domain and one other operator at a time.

  • Search your domain for document types such as PDF, spreadsheets and presentations, and read the titles.
  • Search your domain for words you would never want public, such as “internal use only” or “confidential” in quotes.
  • Look at the list of indexed pages for subdomains you had forgotten.
  • Repeat on a schedule, since new content is indexed all the time.

Only search your own organization. Searching other people’s systems for weaknesses can cause legal trouble even when the results are public.

Warning: Your own organisation onlyOnly search your own organization. Searching other people’s systems for weaknesses can cause legal trouble even when the results are public.

A Simple Routine To Run Each Month.

Dorking pays off when it is routine. A short monthly check is enough for most teams.

A monthly routine
  1. PrepareList every domain and subdomain you own and a short list of words that mark sensitive material
  2. SearchRun site: alone, then with filetype:, add your marker words in quotes, use after: for what is new
  3. Record and fixNote each result, who owns it and the fix, then repeat the search a week later to confirm it is gone

Prepare

List every domain and subdomain you own, and keep a short list of words that mark sensitive material in your company, such as internal project names or labels like “confidential”.

Search

For each domain, run site: on its own and then with filetype: for the document types you publish. Add your marker words in quotes. Use after: to look only at what is new since the last check.

Record and fix

Note each result, who owns it and the fix. Close the loop by running the same search a week later to confirm the result is gone.

How To Reduce Your Exposure.

Finding an exposed file is only the start. Fixing it means removing the file, not just hiding the result.

  • Take the file offline or put it behind a login. Rotate any password or key that appeared in it.
  • Ask Google to remove the old result, using its removal tools in Search Console, once the page is gone.
  • Use a robots.txt file only to guide crawlers. It is not a security control, and the file itself is public.
  • Do not publish internal files in public folders. Check what a content system or file upload exposes by default.
  • Remove metadata such as author names and paths from documents before publishing.

What Dorking Cannot Tell You.

A clean result does not mean you are safe. Dorking only shows pages the search engine has indexed and chosen to show, and results change over time.

  • It cannot see pages behind a login, or services that are open but not indexed.
  • It misses leaks on other sites, such as code hosting, paste sites and criminal forums.
  • It gives no warning when something new appears between two checks.

Treat it as a quick, cheap health check, and use it to learn what an outsider can see in a few minutes.

Beyond Search Engines.

Search engines are only one place where data leaks. The same file or key can show up in a code repository, a paste site, a cloud storage bucket or a criminal forum. Dorking will not see most of these.

That is why dorking works best inside a wider routine. Attack surface management tracks the internet-facing assets that answer for your company. See our guide to External Attack Surface Management and the glossary entry on attack surface.

Data leak monitoring covers the rest: it watches for your data in places a search engine does not reach, such as dark web markets and leaked credentials lists. Brandefense Dark Web Monitoring does this continuously, so a team does not depend on manual searches.

Sources And Further Reading.

Questions.

  • What is a Google dork?

    A Google dork is a search that uses advanced operators, such as site: or filetype:, to find specific indexed content. The same search is useful to attackers and defenders.

  • Is Google dorking illegal?

    Searching Google is not illegal in itself. Using results to access systems without permission, or probing other organizations for weaknesses, can be. Limit yourself to your own domains.

  • How do I remove a result from Google?

    Remove or protect the page first. Then use Google's removal tools in Search Console to ask for the old result to be dropped.

  • Does robots.txt hide files from dorking?

    No. It only asks crawlers to stay away and is itself public. Use authentication to protect files.

In Our Research

  1. 1 Top Open Source Intelligence (OSINT) Tools for Dark Web July 2022
  2. 2 OSINT with Recon-ng November 2021
  3. 3 OSINT Framework 101 101 guide