Certified Ethical Hacker (CEH v11) — Question 36
If you want to only scan fewer ports than the default scan using Nmap tool, which option would you use?
Answer options
- A. -r
- B. -F
- C. -P
- D. -sP
Correct answer: B
Explanation
The correct option is B, -F, which triggers a fast scan that includes fewer ports. The other options do not specifically control the number of ports scanned: -r is for randomizing the scan order, -P is not a valid Nmap option, and -sP is used for ping scanning rather than port scanning.