312-50V11 · Question #825
If you want to only scan fewer ports than the default scan using Nmap tool, which option would you use?
The correct answer is B. -F. The Nmap -F flag enables fast scan mode, limiting the scan to the top 100 most common ports instead of the default top 1000.
Question
If you want to only scan fewer ports than the default scan using Nmap tool, which option would you use?
Options
- A-r
- B-F
- C-P
- D-sP
How the community answered
(62 responses)- A3% (2)
- B94% (58)
- C2% (1)
- D2% (1)
Why each option
The Nmap -F flag enables fast scan mode, limiting the scan to the top 100 most common ports instead of the default top 1000.
-r instructs Nmap to scan ports in sequential numerical order rather than randomized order, which changes scan sequence but does not reduce the number of ports scanned.
The -F (fast mode) flag instructs Nmap to consult only the top 100 entries in the nmap-services file rather than scanning the default 1000 most common ports, directly fulfilling the requirement to scan fewer ports than the default. It is the purpose-built option for reducing scan scope quickly.
-P alone is not a valid standalone Nmap flag for reducing port count; port range selection uses -p, and ping probe control uses -Pn or -P0, none of which limit the number of ports scanned.
-sP (superseded by -sn) performs a ping sweep for host discovery only and does not conduct any port scanning at all.
Concept tested: Nmap fast scan mode and reducing default port count
Source: https://nmap.org/book/man-briefoptions.html
Topics
Community Discussion
No community discussion yet for this question.