An Nmap scan lists 200 hosts with TCP port 8080 open. A tester must confirm which of them actually return an HTTP 200 response to a GET request. What is the BEST approach?
Show the answer
Correct answerC. Loop through the host list with a Bash script that runs curl and checks each status code
AWhy not this: Version detection helps identify services but does not confirm each host returns an HTTP 200 to a GET request.
BWhy not this: CVSS calculators score vulnerability severity; they send no requests and cannot confirm HTTP responses.
CWhy this is right: A loop with curl tests each host and reads its actual HTTP status, giving a repeatable validation across 200 hosts.
DWhy not this: searchsploit searches an exploit database offline; it does not test whether a host answers web requests.
A short Bash loop that runs curl and reads each HTTP status code checks every host automatically and confirms real web responses. Nmap -sV only fingerprints services, and an open port alone does not prove a web server answers with 200.