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
Which operator restricts search results to one domain?
- filetype:
- -
- site:
- "..." (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.
Which of these are genuine search-engine query techniques for narrowing results?
- site: to restrict to a domain
- filetype: to restrict to a document type
- openports:22 to list hosts with SSH open
- A leading minus to exclude a word
- 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: 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.
