Menu
Google Dorks
Table of Contents
Quick Answer
Google Dorks are advanced search operators that help narrow search results. They are useful for defensive discovery, content audits, and finding accidentally exposed public pages, but they should be used only within legal and ethical boundaries.
What are Google Dorks?
Google Dorks, also known as Google Hacks, are special search terms or operators that can be used to refine and narrow down Google search results. These operators allow users to perform advanced searches and uncover specific information that may not be readily available through regular searches.
Google Dorks are commonly used by security professionals and researchers for defensive discovery, content audits, and open-source intelligence. They can also be misused, so learners should only search public information and systems they are allowed to review.
Safe Google Search Operators
Use these operators for legitimate research, website maintenance, and defensive discovery. Avoid collecting sensitive data or testing systems without permission.
Google Dorks Examples
Here is a list of common Google Dorks along with examples. These examples demonstrate the usage of Google Dorks to refine search queries and uncover specific information on the web.
-
site:example.com
Searches for results from a specific website or domain.
Example:site:wikipedia.org artificial intelligence -
filetype:pdf
Looks for files of a specific type (e.g., PDF, DOC, XLS) across the web.
Example:filetype:pdf climate change -
intitle:keyword
Searches for pages with the keyword in the page title.
Example:intitle:resume software engineer -
inurl:keyword
Searches for pages with the keyword in the URL.
Example:active webcam page inurl:8080 -
link:example.com
Displays pages that link to a specific website.
Example:link:wikipedia.org -
cache:example.com
Retrieves the cached version of a web page.
Example:cache:example.com -
related:example.com
Finds websites related to a specific website.
Example:related:wikipedia.org -
info:example.com
Provides information about a specific website.
Example:info:google.com -
allintext:keywords
Searches for pages containing all the specified keywords in the body text.
Example:allintext:openai chatbot -
intext:keyword
Searches for pages containing the specified keyword in the body text.
Example:intext:cybersecurity tips -
allinurl:keywords
Searches for pages containing all the specified keywords in the URL.
Example:allinurl:forum discussion -
inanchor:keyword
Searches for pages containing the specified keyword in anchor text (text of links).
Example:inanchor:"best smartphones" -
filetype:keyword
Searches for files of a specific type related to the keyword.
Example:filetype:csv population data -
intitle:index.of
Searches for open directories or index listings.
Example:intitle:index.of mp3 -
intitle:"index of" keyword
Searches for directories or index listings containing the keyword.
Example:intitle:"index of" ebooks -
intext:username filetype:sql
Searches for SQL database dumps containing usernames.
Example:intext:admin filetype:sql -
inurl:robots.txt
Finds the robots.txt file, which often contains information about website vulnerabilities or directories.
Example:inurl:robots.txt -
site:example.com inurl:login
Searches for login pages within a specific website or domain.
Example:site:wikipedia.org inurl:login -
site:example.com ext:sql
Searches for SQL files within a specific website or domain.
Example:site:wikipedia.org ext:sql
Google Dorks provide immense power and flexibility in conducting research, vulnerability assessments, and information gathering. They enable users to search for specific file types, locate websites vulnerable to attacks, find exposed data, and identify hidden directories. These capabilities make Google Dorks valuable tools for security professionals, researchers, and ethical hackers to assess website security and protect against potential threats.
Defensive Use and Legal Boundaries
Website owners can use search operators to check whether old documents, staging pages, backup files, or sensitive paths are publicly indexed. Keep searches within your own assets or authorized scope, and use robots, authentication, access control, and cleanup workflows to reduce accidental exposure.
FAQs
Sources and further reading
- Google Search Help - Refine web searches — Search operators and query refinement
- Google Search Central - Block Search indexing with noindex — Defensive indexing controls
- OWASP Web Security Testing Guide — Authorized testing methodology