nerdexam
EC-Council

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.

Scanning Networks

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)
  • A
    3% (2)
  • B
    94% (58)
  • C
    2% (1)
  • D
    2% (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.

A-r

-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.

B-FCorrect

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.

C-P

-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.

D-sP

-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

#Nmap#port scanning#fast scan#scan options

Community Discussion

No community discussion yet for this question.

Full 312-50V11 Practice