CompTIA CySA+ (CS0-001) — Question 66
A company requests a security assessment of its network. Permission is given, but no details are provided. It is discovered that the company has a web presence, and the company's IP address is 70.182.11.4. Which of the following Nmap commands would reveal common open ports and their versions?
Answer options
- A. nmap - oV
- B. nmap -vO
- C. nmap -sv
Correct answer: C
Explanation
The correct command, nmap -sv, is used to scan for open ports and determine the versions of services running on those ports. The other options, nmap -oV and nmap -vO, are incorrect because they do not provide the necessary functionality for service version detection.