Which directive searches for specific terms in the URL of a site?

Study for the SANS560 GIAC Penetration Tester (GPEN) Test. Study with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your exam!

Multiple Choice

Which directive searches for specific terms in the URL of a site?

Explanation:
When you want to target terms that appear in a site's URL, you use the inurl: directive. It restricts search results to pages whose URL contains the specified string, making it useful for finding specific paths or resources within a site. This is different from intitle:, which looks for the term in the page title, site:, which confines results to a particular domain, and related:, which finds pages related to a given URL. For example, inurl:admin will return pages with “admin” in their URL, which helps locate admin panels or login pages.

When you want to target terms that appear in a site's URL, you use the inurl: directive. It restricts search results to pages whose URL contains the specified string, making it useful for finding specific paths or resources within a site. This is different from intitle:, which looks for the term in the page title, site:, which confines results to a particular domain, and related:, which finds pages related to a given URL. For example, inurl:admin will return pages with “admin” in their URL, which helps locate admin panels or login pages.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy