# Google Dorking

{% embed url="<https://kit.exposingtheinvisible.org/en/how/google-dorking.html>" %}

In everyday use, search engines like Google, Bing, DuckDuckGo and Yahoo accept a search term (a word), or a string of search terms, and return matching results. But most search engines are programmed to accept more advanced “filters” or “prefix operators” as well. A filter is a keyword or phrase that has particular meaning for the search engine. This includes terms like:

inurl:

intext:

site:

feed:

language:

> Each filter keyword ends with a colon (:) and is followed by the relevant search term or terms - with no space before or after the colon!

Examples:

filetype:xls “house prices” AND “London”

site:nasa.gov filetype:pdf

filetype:doc “security plan” site:gov.in

We collected and tested these dorks across search engines with the help of the following resources:

* [*Advanced Search Operators for Yahoo, Bing and Google*](https://www.bruceclay.com/blog/bing-yahoo-google-advanced-search-operators-guide/), from Bruce Clay inc.
* [*Google hacking*](https://en.wikipedia.org/wiki/Google_hacking) entry from Wikipedia
* [*DuckDuckGo official search syntax*](https://duck.co/help/results/syntax)
* [*Bing Advanced Search Tricks*](https://www.lifewire.com/bing-advanced-search-3482817) from Microsoft
* [*Google Search Help*](https://support.google.com/websearch/answer/2466433?hl=en), about refining web searches
* [*Google, Yahoo and Live Search operators*](http://www.searchcommands.com/)

#### \[Table: Dorking operators for Google, DuckDuckGo, Yahoo and Bing]

<br>

| Dork                                                           | Description                                                                                                                                                                                                                                                                                                     | Google | DuckDuckGo | Yahoo | Bing |
| -------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | ---------- | ----- | ---- |
| cache:\[url]                                                   | Shows the version of the web page from the search engine’s cache.                                                                                                                                                                                                                                               | ✓      |            |       |      |
| related:\[url]                                                 | Finds web pages that are similar to the specified web page.                                                                                                                                                                                                                                                     | ✓      |            |       |      |
| info:\[url]                                                    | Presents some information that Google has about a web page, including similar pages, the cached version of the page, and sites linking to the page.                                                                                                                                                             | ✓      |            |       |      |
| site:\[url]                                                    | Finds pages only within a particular domain and all its subdomains.                                                                                                                                                                                                                                             | ✓      | ✓          | ✓     | ✓    |
| intitle:\[text] or allintitle:\[text]                          | Finds pages that include a specific keyword as part of the indexed title tag. *You must include a space between the colon and the query for the operator to work in Bing.*                                                                                                                                      | ✓      | ✓          | ✓     | ✓    |
| allinurl:\[text]                                               | Finds pages that include a specific keyword as part of their indexed URLs.                                                                                                                                                                                                                                      |        | ✓          |       |      |
| meta:\[text]                                                   | Finds pages that contain the specific keyword in the meta tags.                                                                                                                                                                                                                                                 |        |            |       | ✓    |
| filetype:\[file extension]                                     | Searches for specific file types.                                                                                                                                                                                                                                                                               | ✓      | ✓          | ✓     | ✓    |
| intext:\[text], allintext:\[text], inbody:\[text]              | Searches text of page. *For Bing and Yahoo the query is inbody:\[text]. For DuckDuckGo the query is intext:\[text]. For Google either intext:\[text] or allintext:\[text] can be used.*                                                                                                                         | ✓      | ✓          | ✓     | ✓    |
| inanchor:\[text]                                               | Search link anchor text                                                                                                                                                                                                                                                                                         | ✓      |            |       |      |
| location:\[iso code] or loc:\[iso code], region:\[region code] | Search for specific region. *For Bing use location:\[iso code] or loc:\[iso code] and for DuckDuckGo use region:\[iso code].An iso location code is a short code for a country for example, Egypt is eg and USA is us.* [*https://en.wikipedia.org/wiki/ISO\_3166-1*](https://en.wikipedia.org/wiki/ISO_3166-1) |        | ✓          |       | ✓    |
| contains:\[text]                                               | Identifies sites that contain links to filetypes specified (i.e. contains:pdf)                                                                                                                                                                                                                                  |        |            |       | ✓    |
| altloc:\[iso code]                                             | Searches for location in addition to one specified by language of site (i.e. pt-us or en-us)                                                                                                                                                                                                                    |        |            |       | ✓    |
| feed:\[feed type, i.e. rss]                                    | Find RSS feed related to search term                                                                                                                                                                                                                                                                            |        | ✓          | ✓     | ✓    |
| hasfeed:\[url]                                                 | Finds webpages that contain both the term or terms for which you are querying and one or more RSS or Atom feeds.                                                                                                                                                                                                |        | ✓          |       | ✓    |
| ip:\[ip address]                                               | Find sites hosted by a specific ip address                                                                                                                                                                                                                                                                      |        |            | ✓     | ✓    |
| language:\[language code]                                      | Returns websites that match the search term in a specified language                                                                                                                                                                                                                                             |        | ✓          | ✓     |      |
| book:\[title]                                                  | Searches for book titles related to keywords                                                                                                                                                                                                                                                                    | ✓      |            |       |      |
| maps:\[location]                                               | Searches for maps related to keywords                                                                                                                                                                                                                                                                           | ✓      |            |       |      |
| linkfromdomain:\[url]                                          | Shows websites whose links are mentioned in the specified url (with errors)                                                                                                                                                                                                                                     |        |            |       |      |
| **\***                                                         | Acts like a wildcard that can take the place of any word or phrase. Example: *tallest \* in the world*                                                                                                                                                                                                          | ✓      | ✓          |       |      |
| **–**                                                          | Excludes results that contain the word following the minus sign. Place this operation at the end of your search query.                                                                                                                                                                                          |        |            |       |      |
| ” “                                                            | Finds instances of the exact text within the quotation marks everywhere it appears in the search engine’s index.                                                                                                                                                                                                |        |            |       |      |

{% embed url="<https://duckduckgo.com/bang>" %}
