# Search Engine Operators

## Bing

**Bing Search Guide:** <https://www.bruceclay.com/blog/bing-google-advanced-search-operators/>

| **Example**                             | **What It Does**                                                                                                                                                                                               |
| --------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **contains**:gif                        | Keeps results focused on sites that have links to the file types that you specify                                                                                                                              |
| **ext:** docx                           | Returns only web pages with the [file extension](https://www.lifewire.com/what-is-a-file-extension-2625879) that you specify                                                                                   |
| **filetype:** pdf                       | Returns only web pages created in the file type that you specify                                                                                                                                               |
| **intitle:** 2019 **inbody:** wimbledon | Returns only web pages that contain the specified term in the metadata                                                                                                                                         |
| **ip:** 207.241.148.80                  | Finds sites that are hosted by a specific [IP address](https://www.lifewire.com/what-is-an-ip-address-2625920)                                                                                                 |
| **Language:** fr                        | Returns only web pages for a certain language (requires the [language code](http://help.bing.microsoft.com/#apex/18/en-US/10004/-1))                                                                           |
| **loc:** US                             | Returns only web pages from a specific country/region. To focus on two or more, use a logical OR to group them (requires the [country or region code](http://help.bing.microsoft.com/#apex/18/en-US/10004/-1)) |
| **prefer:** history                     | Adds emphasis to a search term or another operator to help focus the results                                                                                                                                   |
| **site:** site.com                      | Returns web pages that belong to a specific website. Also works for [TLDs](https://www.lifewire.com/top-level-domain-tld-2626029) (such as **site:edu**)                                                       |
| **feed:** Technology                    | Finds RSS or Atom feeds about the search term                                                                                                                                                                  |
| **site:** site.com **hasfeed:** world   | Finds web pages that contain an RSS or Atom feed on a website for the terms you search for                                                                                                                     |
| **url:** site.com                       | Checks whether the domain or [URL](https://www.lifewire.com/what-is-a-url-2626035) is in the Bing index                                                                                                        |

**Source:** <https://www.lifewire.com/bing-advanced-search-3482817>

## Google

**Advanced Search Page:** <https://www.google.co.uk/advanced_search>

**Linked examples:** <https://moz.com/learn/seo/search-operators>

**PDF Guide:** <http://www.googleguide.com/print/adv_op_ref.pdf>

{% hint style="info" %}
Google has a large variety of search operators. It would be advisable to download and consult the above linked PDF.
{% endhint %}

## DuckDuckGo

**Search Syntax:** <https://help.duckduckgo.com/duckduckgo-help-pages/results/syntax/>

| Example                     | Result                                                                                              |
| --------------------------- | --------------------------------------------------------------------------------------------------- |
| **cats dogs**               | Results about cats or dogs                                                                          |
| **"cats and dogs"**         | Results for exact term "cats and dogs". If no results are found, we'll try to show related results. |
| **cats -dogs**              | Fewer dogs in results                                                                               |
| **cats +dogs**              | More dogs in results                                                                                |
| **cats filetype:** pdf      | PDFs about cats. Supported file types: pdf, doc(x), xls(x), ppt(x), html                            |
| **dogs site:** example.com  | Pages about dogs from example.com                                                                   |
| **cats -site:** example.com | Pages about cats, excluding example.com                                                             |
| **intitle:** dogs           | Page title includes the word "dogs"                                                                 |
| **inurl:** cats             | Page url includes the word "cats"                                                                   |
| **!safeon**                 | Append to search to turn on Safe Search                                                             |
| **!safeoff**                | Append to search to turn off Safe Search                                                            |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://viperone.gitbook.io/pentest-everything/everything/everything-osint/search-engine-operators.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
