CompTIA PenTest+ (PT0-002) — Question 178

A penetration tester is trying to restrict searches on Google to a specific domain. Which of the following commands should the penetration tester consider?

Answer options

Correct answer: C

Explanation

The correct answer is C, as the 'site:' command allows users to restrict their search results to a specified domain. Option A, 'inurl:', searches for a specific term in the URL, while B, 'link:', finds pages that link to a specified page, and D, 'intitle:', looks for pages with a specific word in the title, none of which can limit searches to a specific domain.