312-50V11 · Question #494
What is the best Nmap command to use when you want to list all devices in the same network quickly after you successfully identified a server whose IP address is 10.10.0.5?
The correct answer is A. nmap -T4 -F 10.10.0.0/24. nmap -T4 -F performs a fast scan using an aggressive timing template, quickly listing active devices on the target subnet with fewer ports checked.
Question
What is the best Nmap command to use when you want to list all devices in the same network quickly after you successfully identified a server whose IP address is 10.10.0.5?
Options
- Anmap -T4 -F 10.10.0.0/24
- Bnmap -T4 -q 10.10.0.0/24
- Cnmap -T4 -O 10.10.0.0/24
- Dnmap -T4 -r 10.10.1.0/24
How the community answered
(37 responses)- A81% (30)
- B5% (2)
- C11% (4)
- D3% (1)
Why each option
nmap -T4 -F performs a fast scan using an aggressive timing template, quickly listing active devices on the target subnet with fewer ports checked.
The -T4 flag sets Nmap to aggressive timing, significantly speeding up the scan, while -F enables fast mode which scans only the 100 most common ports instead of the default 1000, together making this the fastest option for quickly enumerating live hosts on the 10.10.0.0/24 subnet where the identified server (10.10.0.5) resides.
The -q flag is not a valid Nmap option for this purpose; this command would not execute as expected.
The -O flag enables OS detection, which adds overhead and slows the scan rather than listing devices quickly.
The -r flag disables randomization of port scanning order and does not speed up host discovery; additionally, 10.10.1.0/24 is a different subnet than the one containing 10.10.0.5.
Concept tested: Nmap fast host discovery with timing and port flags
Source: https://nmap.org/book/man-performance.html
Topics
Community Discussion
No community discussion yet for this question.