Google Dorks Cheat Sheet: Google Dorking Commands and Examples (2026)
Table of contents
- Key takeaways
- What is Google dorking and how does it work?
- Why is Google dorking important for cybersecurity?
- Is Google dorking illegal?
- Google dorking commands that work in 2026
- Google dork operators that no longer work
- How to Google dork: quick answers
- Which Google dork finds "index of" directory listings?
- Which operator limits a search to one domain?
- Which term finds login pages?
- Which operator finds pages that link to a specific page?
- Which operator finds a specific file type?
- Can Google dorking find phone numbers?
- Can Google dorks search for a person's name?
- Can you hack Google with dorks?
- How do attackers use Google dorks to find vulnerabilities?
- Google dorking examples: seven checks for your own domain
- 1. Restricted login portals
- 2. Open directories
- 3. Exposed SQL databases
- 4. Full tech stack
- 5. Leaked credentials and tokens
- 6. Published sensitive files
- 7. Exposed API keys
- How has Google dorking changed in 2026?
- 1. Fewer working operators
- 2. Automated tooling
- 3. Better community organization
- 4. Greater variety of specialized categories
- 5. Increase in structured OSINT education
- What types of sensitive information are commonly exposed through Google dorks?
- How can security teams integrate Google dorks into their reconnaissance workflow?
- FAQs
- Wrapping up
Google dorking is the use of advanced search operators, such as site:, filetype: and intitle:, to find information a normal Google search would not surface. A single query built this way is called a Google dork. Security teams use Google dorks to find their own exposed files, login pages and credentials before attackers do. Attackers use the same queries for reconnaissance.
This Google dorking cheat sheet lists the commands that still work in 2026, the ones Google has retired, and seven example queries you can run against your own domain to protect your most valuable information.
Key takeaways
- About 25 Google dorking commands still work. At least 12 have been retired, including
cache:in 2024 andrelated:in 2023. - The most useful Google dorks combine
site:with one other operator. Start with your own domain. - Running a query is legal. Logging in, downloading or otherwise acting on what you find, without authorization, is not.
- A dork shows what is exposed today. It will not show what gets indexed tomorrow, so the checks need to repeat.
What is Google dorking and how does it work?
Google dorking is an advanced technique that uses search engine functionality to find specific information on any indexed website. Each search operator narrows the results: to one domain, one file type, or pages with certain words in the title or URL.
Dorking does not break into anything. It only returns pages that Google has already crawled and indexed. The risk comes from what organizations leave indexed by mistake.
That makes it useful to both sides. Security professionals can locate and fix exposed databases or leaked credentials. Attackers can use the same search techniques to plan an attack.
Why is Google dorking important for cybersecurity?
Google indexes far more than most organizations realize, including files and pages that were never meant to be found.
By using Google dork techniques, cybersecurity teams can find that content first and fix the exposure before a breach occurs.
Ethical hackers can use Google dorks to:
- Perform cybersecurity testing to locate administrative login pages or exposed database files and test their security.
- Scan for sensitive files to ensure company secrets aren’t mistakenly published and indexed online.
- Find leaked credentials that could open an organization to an attack.
- Detect phishing websites that may be impersonating the brand.
- Perform vulnerability assessments by locating misconfigured servers or exposed login pages.
- Meet compliance standards and data privacy checks.
To see exactly how threat actors use these commands in documented attacks, from exposing logistics credentials to finding unsecured healthcare servers, read our breakdown of Google dorking in real attacks.
Is Google dorking illegal?
No. Running a Google dork is legal. Google’s crawler found the content, and you are reading Google’s index.
The line is crossed when you act on the results. Logging in to a panel you found, downloading a database from an open directory or using credentials from an indexed file is unauthorized access under laws such as the US Computer Fraud and Abuse Act and the UK Computer Misuse Act.
Only test domains you own or are authorized to test. If you find someone else’s exposure by accident, report it through their security contact.
Google dorking commands that work in 2026
These Google dork commands give your security researchers a starting point for finding damaging data leaks and other exposures. Each one has been part of Google search for years and still returns results.
| Command | Function | Example |
|---|---|---|
site: | Restricts search results to a specific domain or subdomain | site:example.com |
filetype: or ext: | Filters results by a specific file type | site:example.com filetype:xlsx |
intitle: | Finds pages with specific text in the title | intitle:"index of" |
allintitle: | Finds pages with multiple keywords in the title | allintitle:admin login |
inurl: | Searches for specific text within URLs | inurl:login |
allinurl: | Finds pages with multiple keywords in the URL | allinurl:admin panel |
intext: | Finds pages containing a specific word in the body text | intext:"confidential" |
allintext: | Searches for multiple words within page content | allintext:username password |
"exact phrase" | Matches the exact words in that order | "internal use only" |
-keyword | Excludes results containing a specific word or site | site:example.com -www |
OR or | | Matches either term | filetype:log OR filetype:bak |
* | Stands in for any word | "password * reset" |
before: and after: | Limits results by date | site:example.com after:2026-01-01 |
AROUND(n) | Finds two terms within n words of each other | password AROUND(3) admin |
inurl:login | Locates login pages | site:example.com inurl:login |
inurl:admin | Searches for admin panels | site:example.com inurl:admin |
inurl:php?id= | Identifies pages with query parameters | site:example.com inurl:php?id= |
intitle:"dashboard" | Finds exposed dashboards or panels | site:example.com intitle:"dashboard" |
Combine them. site:example.com filetype:xlsx intext:"salary" is more useful than any single operator.
For a more extensive Google dorks list, head to the Google Hacking Database to find thousands of specific commands sorted by category.
Google dork operators that no longer work
Many older cheat sheets still list these. Queries that depend on them fail or return unreliable results.
| Command | Status | Use this instead |
|---|---|---|
cache: | Retired in 2024 | The Wayback Machine |
related: | Retired in 2023 | No direct replacement |
link: | Retired in 2017, results unreliable | A backlink tool |
info: | Retired in 2017 | site: with the exact URL |
phonebook: | Retired in 2010 | No replacement |
+ | No longer forces an exact match | Quotation marks |
inanchor: | Still runs, results inconsistent | Test before relying on it |
How to Google dork: quick answers
Which Google dork finds “index of” directory listings?
intitle:"index of". Add site:yourdomain.com to check your own servers for open directories.
Which operator limits a search to one domain?
site:. For example, site:example.com returns only pages from that domain.
Which term finds login pages?
inurl:login finds pages with “login” in the URL. intitle:"login" finds pages with it in the title. inurl:admin finds admin panels.
Which operator finds pages that link to a specific page?
It was link:, which Google retired in 2017. There is no reliable replacement inside Google. Use a backlink tool.
Which operator finds a specific file type?
filetype: or ext:. For example, filetype:env finds environment files, which often hold credentials.
Can Google dorking find phone numbers?
Not with a dedicated operator: Google retired phonebook: in 2010. Phone numbers only appear when they sit on an indexed page or document. Security teams search their own domain, for example site:yourdomain.com filetype:xlsx intext:"phone", to find staff directories and contact lists that should not be public.
Can Google dorks search for a person’s name?
Yes, with an exact-phrase search such as "Jane Doe" site:example.com. Security teams use this to check how exposed their own executives and employees are.
Can you hack Google with dorks?
No. Dorking does not break into Google or into any website. It only returns pages Google has already indexed.
How do attackers use Google dorks to find vulnerabilities?
Attackers use the same dorking search queries as defenders, pointed at someone else’s domain. The results show them where an organization is exposed before they touch its systems.
Cybercriminals exploit Google dorks to:
- Identify vulnerable login pages for brute-force attacks.
- Locate exposed databases and sensitive directories.
- Access confidential documents like financial records or contracts.
- Find employee data, including names, emails, or phone numbers.
- Research technology stacks such as WordPress, Apache, or outdated software with known vulnerabilities.
- Identify vulnerable servers for later malware attacks.
Running these dorks manually is a start. CybelAngel runs the same queries continuously against your domain and alerts your team when something surfaces.
Google dorking examples: seven checks for your own domain
Understanding how attackers use Google dorks is the first step to staying ahead of them. Replace yourdomain.com with a domain you own or are authorized to test. Each example shows what an attacker would see.
1. Restricted login portals
site:yourdomain.com inurl:login
site:yourdomain.com intitle:"admin login"
The risk: Google can index admin login pages, giving attackers a target for brute-force and credential-stuffing attacks.
The fix: require multi-factor authentication, restrict admin paths by IP address and add a noindex header.
2. Open directories
site:yourdomain.com intitle:"index of /"
site:yourdomain.com intitle:"index of /" inurl:ftp
The risk: if a site has misconfigured permissions, internal directories containing sensitive information are listed publicly.
The fix: turn off directory listing at the web server.
3. Exposed SQL databases
site:yourdomain.com filetype:sql
site:yourdomain.com filetype:bak OR filetype:old
The risk: attackers can reach database dumps and recovery backups intended for internal use. One indexed SQL dump can hold every customer record.
The fix: store backups outside the web root.
4. Full tech stack
site:yourdomain.com inurl:phpinfo.php
site:yourdomain.com intitle:"Apache2 Ubuntu Default Page"
site:yourdomain.com inurl:.git
The risk: phpinfo pages reveal server versions and paths, default pages reveal forgotten servers, and an exposed .git folder can leak source code and secrets.
The fix: remove diagnostic and default pages from production and block access to .git.
5. Leaked credentials and tokens
site:yourdomain.com intext:"password=" filetype:txt
site:yourdomain.com filetype:env "DB_PASSWORD"
site:yourdomain.com filetype:env "aws_access_key_id"
The risk: when credential files are indexed, attackers can deploy ransomware, resell the credentials or steal company secrets.
The fix: keep secrets in a secrets manager, never in files inside the web root. Rotate anything that was exposed.
6. Published sensitive files
site:yourdomain.com filetype:sql "INSERT INTO" "password"
site:yourdomain.com filetype:log "root" | "admin"
The risk: SQL dumps can be used to harvest credentials or perform an account takeover (ATO). Log files reveal admin login attempts, internal IP addresses and server paths.
The fix: write logs and exports outside any public directory.
7. Exposed API keys
site:yourdomain.com filetype:json OR filetype:yml "api_key"
site:github.com "yourdomain.com" "api_key" OR "secret" OR "token"
The risk: attackers can use exposed API keys to access internal APIs or cloud infrastructure and impersonate your services.
The fix: scan repositories for secrets before each commit and rotate any key that was published.
How has Google dorking changed in 2026?
Google dorking has moved from an underground practice to a standard tool for cybersecurity professionals.
Here are the biggest changes in Google dorking for 2026:
1. Fewer working operators
Google retired related: in 2023 and cache: in 2024. Older dork lists still contain queries that no longer work, so test before you rely on one.
2. Automated tooling
Google dorking in 2026 is far less manual than it used to be. Tools such as Pagodo and theHarvester run dork lists at scale, and AI tools now generate queries from a plain-language description. Google also blocks rapid automated queries, which limits how far manual dorking can go on a large domain.
3. Better community organization
Online communities like those on GitHub have come together to share resources. Step-by-step dorking instructions for many use cases are now easy to find, for defenders and attackers alike.
4. Greater variety of specialized categories
The expansion of cloud and API infrastructure has driven a need for specialized dorking categories. DorkFinder’s 2026 categories reflect this change, showing a wider attack surface than in previous years.
5. Increase in structured OSINT education
With more awareness of Open Source Intelligence (OSINT) education, Google dorking is becoming a formal practice. Security teams now treat it as a systematic way to map digital footprints, and pair it with Bing, Shodan and Censys.
Our guide to Google dorks for OSINT covers the full investigation workflow.
What types of sensitive information are commonly exposed through Google dorks?
Firewalls and secure authentication are standard practice, but human error still lets sensitive information reach Google’s index. Here are the most common types of data that crawlers pick up, and how to fix each one.
| Category | What gets exposed | Mitigation |
|---|---|---|
| Databases and backups | SQL database dumps, backup files (.bak, .old, .zip) and configuration files with credentials, left in a web-accessible folder. | Store backups outside the web root. Avoid manual exports to web-accessible folders. Scan servers for .sql and related files. |
| Credentials | Hard-coded passwords, API keys and admin credentials in source code or configuration files. | Use secret management. Never store credentials in source code. Rotate anything exposed. |
| Sensitive documents | PDFs, documents and spreadsheets placed in the wrong directory or on a forgotten subdomain. They reveal email formats, project timelines, metadata and internal URLs. | Use VPNs or IP allowlists for internal paths. Review cloud storage buckets for public permissions. Add noindex to pages that must stay public. |
| Personal information | Employee names, phone numbers, email addresses and social media data in files placed in public spaces. | Use role-based access controls for HR and finance files. Encrypt sensitive reports. Keep employee data off public servers. |
| Admin panels and dashboards | Admin routes and dashboards that give direct access to an application’s internal controls. | Require login and multi-factor authentication (MFA) on all admin routes. Shut down unused staging and test environments. |
A robots.txt file is not a security control. It asks crawlers to stay away, and it publicly lists the paths you would prefer to hide. Protect sensitive content with authentication instead.
How can security teams integrate Google dorks into their reconnaissance workflow?
Google dorking shows cybersecurity professionals what is already exposed on Google. Start integrating it into your recon workflows by:
- Building a defined dorks library: Create your own Google dorking cheat sheet to store, tag, and refine high-value dorks for reuse across cases and teams.
- Automating dork execution: With OSINT automation tools, it’s easier to review and refine queries, maintaining control over every search you run.
- Using dorks to map the organization’s external footprint: Dorking can help identify assets that may be exposed, like forgotten subdomains and hosting environments.
- Integrating dorking into security hygiene: Run weekly scans for high-risk assets, monthly sweeps for domains, and a check after every major deployment.
- Using dorking in red-teaming exercises: Penetration testing and red-teaming with Google dorks simulates an attacker’s reconnaissance.
- Training developers and content owners: Educate employees to reduce accidental uploads and misconfigured storage.
FAQs
A Google dork is a search query that uses advanced operators to find specific information in Google’s index, such as exposed files, login pages or directory listings.
Google dorks are the queries. The Google Hacking Database (GHDB) is a public, curated collection of those queries, hosted on Exploit-DB.
Partly. site: works on every major search engine. Bing and DuckDuckGo support many of the same operators, with different results.
Open Source Intelligence (OSINT) uses publicly available information to identify threats and vulnerabilities. Google dorking is one of its basic techniques: analysts use operators to map an organization’s exposed documents, subdomains and login pages. Researchers should never access non-public systems, bypass authentication or take data without authorization.
robots.txt files tell search engine crawlers which parts of a website they may crawl. They are requests, not a security barrier. Google can still index a page listed in robots.txt if other sites link to it. Keep sensitive files offline or behind authentication.
Public social media activity is indexed by search engines and can be found later with Google dorking techniques, sometimes after the post is deleted. It exposes employees’ locations, employer details, travel plans and contact information, which attackers use for phishing.
HTML local storage lets websites save data in a user’s browser. It becomes a risk when developers store API keys, tokens or source maps there, or reference them in public scripts, because those files can be crawled and indexed.
Wrapping up
Every dork in this guide is a query an attacker is already running against your organization. CybelAngel runs them continuously so you find the exposure first.