Google Dorking (also known as Google Hacking) is the practice of using advanced search operators in Google to find specific information not easily accessible through normal search queries. In the context of security testing, ethical hackers use Google Dorking to identify publicly exposed sensitive information, misconfigured web servers, and insecure files.
⚠ Legal Disclaimer Google Dorking must only be used on systems and data you are authorized to test. Unauthorized access or exploitation of data is illegal and may lead to prosecution under cybercrime laws.
Before we dive into security payloads, here are the core search operators:
| Operator | Description | Example |
|---|---|---|
site: |
Search within a specific site or domain | site:example.com |
filetype: |
Search for specific file types | filetype:pdf |
intitle: |
Search within page titles | intitle:"login" |
inurl: |
Search within URLs | inurl:"admin" |
cache: |
View Google’s cached version of a site | cache:example.com |
"..." |
Exact match search | "confidential report" |
OR |
Search for either of multiple terms | "login" OR "signin" |
These are commonly used to identify publicly accessible sensitive pages.
inurl:"/admin/login" site:target.com
intitle:"admin login" site:target.com
intitle:"index of /" site:target.com
"Index of /" +password site:target.com
filetype:pdf site:target.com confidential
filetype:xls site:target.com password
ext:cfg OR ext:conf OR ext:bak OR ext:ini site:target.com
These dorks help find misconfigurations, vulnerable endpoints, and source code leaks.
ext:sql OR ext:db site:target.com
ext:env site:target.com
inurl:.git site:target.com
ext:log site:target.com "error"
site:target.com filetype:js "api_key"
inurl:wp-admin site:target.com
intitle:"phpMyAdmin" "Welcome to phpMyAdmin" site:target.com
These are high-value bug bounty style dorks that can help identify vulnerable assets.
site:target.com filetype:env "AWS_SECRET_ACCESS_KEY"
intitle:"Dashboard [Jenkins]" site:target.com
inurl:"/jira/secure/" site:target.com
intitle:"Kubernetes Dashboard" inurl:/#!/login site:target.com
intitle:"Sign in · GitLab" site:target.com
inurl:"view.shtml" OR inurl:"video.mjpg" site:target.com
intitle:"payment" "test environment" site:target.com
inurl:"../" site:target.com
site:*<*.target.com intext:"login" | intitle:"login" | inurl:"login" | intext:"username" | intitle:"username" | inurl:"username" | intext:"password" | intitle:"password" |…
inurl:apidocs | inurl:api-docs | inurl:swagger | inurl:api-explorer site:"target.com"
site:target.com inurl:api | site:*/rest | site:*/v1 | site:*/v2 | site:*/v3
site:http://ideone.com | site:http://codebeautify.org | site:http://codeshare.io | site:http://codepen.io | site:http://repl.it | site:http://justpaste.it | site:http://pastebin.com | site:http://jsfiddle.net | site:http://trello.com | site:*.atlassian.net | site:bitbucket.org "target.com"