CompTIA PenTest+ (PT0-002) — Question 329

A penetration tester is trying to identify the host’s OS version on the subnet 10.7.8.1/25. Which of the following commands will achieve the objective the fastest?

Answer options

Correct answer: C

Explanation

The command 'nmap -O 10.7.8.1/25' is specifically designed for OS detection, making it the fastest choice for identifying the host's OS version. The other options, while useful for different scanning purposes, do not focus primarily on OS detection and may take longer or provide less relevant information.