Attacks and Exploits
To build a phishing pretext, a tester runs a command with the flags -d example.com -b bing to collect employee email addresses and hostnames from public sources. Which tool is being used?
Show the answer
Correct answerD. theHarvester
AWhy not this: Gophish sends and tracks phishing campaigns and does not gather OSINT on a domain.
BWhy not this: Recon-ng works inside a console by loading modules and storing results in workspaces, not by these flags.
CWhy not this: Maltego is a graphical link-analysis tool driven by transforms, not a one-line command with flags.
DWhy this is right: Its -d (domain) and -b (data source) flags gather emails and hostnames from public sources in one command.
theHarvester is a command-line OSINT tool. The -d flag sets the target domain and -b sets the public data source, and it returns emails, subdomains and hosts. Recon-ng is also OSINT, but it is driven by loading modules in a console, not by these flags.