About Google directives (don't mention Baidu)

Source: Internet
Author: User

<title>About Google directives</title> About Google directives

Google has prepared a " Directive " (Directive) for us that will help us to complete every search. These instructions are actually a keyword that allows us to extract information from Google's index files more accurately.

If we want Google to show only relevant search results from a target domain name. At this point, you need to use the "site:" command. With this directive, Google will not only return the keyword-related pages, but only the search results from a specific site.

To use Google instructions correctly, you need to enter three things:

    1. The instructions you want to use
    2. Half-width colon (:)
    3. The specific content to be used in the instruction

After entering these three items, the next is no different from regular search. To use the "site:" directive, you need to enter it in the Google search box:

term(s) to search

note there are no spaces between the instruction/half-width colon and the domain name. If you are searching for information about Pat Engebretson on the official website of the Dakota State University (Dakota University):

pat engebretson site:dsu.edu

Use this instruction to avoid searching for a lot of indiscriminate content, and you can focus on useful search results.

Attention:

Google is not case sensitive, so the results are the same regardless of whether you enter "Pat", "Pat" or "Pat".

In addition, Google's "intitle:" and "Allintitle:" Instructions are also very useful.
"allintitle:" means that the page title must contain all keywords to appear in the search results.
"intitle:" Do not include all the keywords, as long as any one of the keywords can be included.

The classic example of using the "Allintitle:" directive to perform Google hacking is to search for the following:

allintitle:indexof

By performing this search, you can view a list of all available index catalogs on the Web server.

If you want to search for sites that contain certain characters in the URL, you can use the "inurl:" directive. For example, if you execute the following command, you might find many interesting pages on the target site:

inurl:admin

This command is extremely useful for discovering the management or Settings page of a target site.

Tips:

Searching for a Google page snapshot may be more valuable than searching for a target site, because doing so will not only reduce the traces you have left on the target server, your activity won't be easily tracked, and you'll have the opportunity to browse for pages and files that have been removed from the original site. As long as the pages crawled by Google Crawlers, a streamlined copy is saved in the Google Web snapshot. It is important to understand that these web snapshots contain not only the code used to create the site, but also many of the files found during the crawler crawl. These files may be in a PDF format, or Microsoft Office document files such as Word and Excel, or text files.

Using the "cache:" command allows Google to display only the information in a snapshot of a webpage. Use the following search command to display the Syngress home page in the webpage snapshot:

cache:syngress.com

Clicking on any URL link will jump to the actual page, not the snapshot version of the page. If you want to browse some of the pages in the snapshot, you need to modify the search command.

You can search for specific file extensions using the "filetype:" directive, which is useful when you need to search for a specific type of file on a target site.

For example, if you just want to search for a PDF document, you can execute the following command:

filetype:pdf

With this command, you can also find extensions. Doc,xlsx,ppt,txt. The selection is almost unlimited, and you can find any file type.

For more powerful features, you can use multiple commands together when searching. For example, if we want to find all of the PowerPoint presentations on the Dakota State University website, you can enter the following command in the search box:

site:dsu.edufiletype:ppt

About Google directives (don't mention Baidu)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.