nerdexam
EC-Council

312-50V11 · Question #24

Which one of the following Google advanced search operators allows an attacker to restrict the results to those websites in the given domain?

The correct answer is B. [site:]. The site: operator in Google restricts search results to a specific domain, making it a key tool in passive reconnaissance. Attackers use it to enumerate indexed pages within a target organization's domain.

Footprinting and Reconnaissance

Question

Which one of the following Google advanced search operators allows an attacker to restrict the results to those websites in the given domain?

Options

  • A[cache:]
  • B[site:]
  • C[inurl:]
  • D[link:]

How the community answered

(35 responses)
  • A
    3% (1)
  • B
    91% (32)
  • D
    6% (2)

Why each option

The site: operator in Google restricts search results to a specific domain, making it a key tool in passive reconnaissance. Attackers use it to enumerate indexed pages within a target organization's domain.

A[cache:]

The cache: operator retrieves Google's cached snapshot of a specific page, not restricts results by domain.

B[site:]Correct

The site: operator (e.g., site:example.com) instructs Google to return only results from the specified domain. This is a foundational Google hacking technique used during the footprinting phase to enumerate web pages, subdomains, and exposed files within a target domain without directly interacting with the target.

C[inurl:]

The inurl: operator searches for a keyword within the URL path, not restricts results to a specific domain.

D[link:]

The link: operator finds pages that link to a specified URL, which does not restrict results by domain.

Concept tested: Google dorking site: operator for domain enumeration

Source: https://support.google.com/websearch/answer/2466433

Topics

#Google hacking#search operators#site operator#footprinting

Community Discussion

No community discussion yet for this question.

Full 312-50V11 Practice