Google Dorking (original) (raw)

Last Updated : 25 May, 2026

Google Dorking (Google Hacking) is a technique that uses advanced search operators to uncover sensitive information unintentionally exposed on the internet, helping in the reconnaissance phase of security assessments by identifying misconfigurations and potential vulnerabilities.

Information Discoverable Using Google Dorks

**Example:

site: geeksforgeeks.com filetype:pdf

file

Common Google Dork Operators

1. site:

The site: operator restricts search results to a specific website or domain. It is useful for finding indexed pages within a particular site.

**Example:

site: geeksforgeeks.org

You can also combine it with other operators:

site: geeksforgeeks.org login

2. filetype:

The filetype: operator searches for specific types of files available on the internet. It is commonly used to locate documents, reports, backups or data files.

**Example:

filetype:pdf "confidential"

**Common file types used in Google Dorking:

3. intitle:

The intitle: operator searches for keywords within the title of a webpage. It helps identify pages with specific titles.

**Example 1:

intitle:"index of"

**Example 2:

intitle:"index of" "backup"

file

4. inurl:

The inurl: operator searches for specific keywords within the URL of a webpage. It is useful for locating certain pages such as admin panels or login portals.

**Example 1:

inurl:admin

**Example 2:

inurl:login.php

5. intext:

The intext: operator searches for specific words or phrases inside the content of webpages.

**Example:

intext:"username" "password"

6. cache:

The cache: operator displays the cached version of a webpage stored by Google. This can help view pages even if they are temporarily unavailable.

**Example:

cache:example.com

The link: operator shows pages that link to a specific website or webpage.

**Example:

cache:example.com

Operators in Google Dorking

Apart from the above-mentioned operator, there are also some logical operators which can be used to filter the search engine results according to the need.

Operator Description Example
OR ( | ) This self-explanatory operator searches for a given search term OR an equivalent term. site:geeksforgeeks.org | site:www.geeksforgeeks.org
AND Similarly, this operator searches for a given search term AND an equivalent term. site:geeksforgeeks.com & site:www.geeksforgeeks.org
Exact Match (" ") This operator only looks for the precise phrase within speech marks. "GeeksForGeeks POTD"
Wildcard (*) This works best when you don't know what goes on in the place of the asterisk (*). site: *.geeksforgeeks.org
Include (+) Will include the results. site:linkedin.com +site:linkedin.*
Exclude (-) Will exclude the results. site:linkedin.* -site:linkedin.com

Use of Google Dorking in Cybersecurity

Google Dorking is an important technique during the reconnaissance phase of penetration testing. Security professionals use it to:

Prevention From Google Dorking

As an owner/developer, you will wish your website to be secure from google dorking. You can do so by following the below-mentioned stuff:

// This meta tag will prevent all robots from scanning your website

Performing Google Dorking manually is possible, but cybersecurity experts and ethical hackers use powerful tools to automate it for quicker vulnerability scanning.

Google Hacking Database (GHDB)

The Google Hacking Database (GHDB) is a collection of advanced Google search queries, known as Google Dorks, used to identify sensitive information and potential vulnerabilities exposed on the internet. It is maintained by the cybersecurity community and hosted on Exploit Database, where researchers regularly contribute new dorks to support security testing and research.

The GHDB is widely used by ethical hackers and penetration testers to identify potential security risks and help organizations secure their systems before malicious attackers can exploit them.

Examples

Below are some example Google Dorks from GHDB that demonstrate how sensitive information or specific resources can be discovered using advanced search operators.

**1. Finding exposed password files

Filetype:txt "password"

**2. Finding open directory listings

intitle:"index of" "backup"

**3. Finding login pages

inurl:admin login

**4. Finding database backup files

filetype:sql "dump"

**5. Finding network device interfaces

intitle:"webcamXP 5"