Bitzu

CPSA ยท Open source information gathering

Search engine and web enumeration

Search operators and public data sources used to find exposed files, hosts and staff.

Key points

  • Search engines index far more of a target than its home page.
  • site: limits to a domain; filetype: limits to a document type.
  • Quoted phrases and the minus sign (exclude a word) narrow results further.
  • Finds: exposed documents, forgotten hosts, staff names.
  • Other public sources: professional networking profiles, job adverts, public code repositories, web archives.
  • Queries go to the search provider, not to the target.

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

Practice questions

Single choice

Which operator restricts search results to one domain?

  1. filetype:
  2. -
  3. site:
  4. "..." (quotes)
Show answer

Answer: C. site:

site: limits results to a given site or domain. filetype: restricts by document type, and a leading minus excludes a term.

Select all that apply

Which of these are genuine search-engine query techniques for narrowing results?

  1. site: to restrict to a domain
  2. filetype: to restrict to a document type
  3. openports:22 to list hosts with SSH open
  4. A leading minus to exclude a word
  5. password: to return the site's passwords
Show answer

Answer: A. site: to restrict to a domain, B. filetype: to restrict to a document type, D. A leading minus to exclude a word

site:, filetype: and the minus sign are documented operators. 'openports:' and 'password:' are not operators; a search engine cannot list a host's open ports or reveal its passwords.

True or false

True or false: running a search-engine query about a target sends probe traffic straight to the target's servers.

Show answer

Answer: False

The query goes to the search provider, which answers from its own index, so the target sees nothing. Traffic reaches the target only when you open a result or its cached content from the live site.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More CPSA topics in this module