CertNexus Certified Cyber Secure Coder (CSC) — Question 7
Which of the following does the command nmap –open 10.10.10.3 do?
Answer options
- A. Execute a scan on a single host, returning only open ports.
- B. Execute a scan on a subnet, returning detailed information on open ports.
- C. Execute a scan on a subnet, returning all hosts with open ports.
- D. Execute a scan on a single host, returning open services.
Correct answer: A
Explanation
The correct answer is A because the command nmap –open targets a specific host and only displays the ports that are open. Options B and C are incorrect as they suggest scanning a subnet, which is not the case here. Option D is also incorrect because it refers to open services rather than just open ports.