nerdexam
CompTIA

PT0-002 · Question #391

A penetration tester runs the following command: nmap -p- -A 10.0.1.10 Given the execution of this command, which of the following quantities of ports will Nmap scan?

The correct answer is D. 65,535. The nmap command with the -p- flag scans all ports from 1 to 65535 on the target host. The -A flag enables OS detection, version detection, script scanning, and traceroute. Therefore, the command will scan 65,535 ports on the host 10.0.1.10 and perform additional analysis on the

Reconnaissance and enumeration

Question

A penetration tester runs the following command:

nmap -p- -A 10.0.1.10 Given the execution of this command, which of the following quantities of ports will Nmap scan?

Options

  • A1,000
  • B1,024
  • C10,000
  • D65,535

How the community answered

(30 responses)
  • A
    3% (1)
  • B
    7% (2)
  • D
    90% (27)

Explanation

The nmap command with the -p- flag scans all ports from 1 to 65535 on the target host. The -A flag enables OS detection, version detection, script scanning, and traceroute. Therefore, the command will scan 65,535 ports on the host 10.0.1.10 and perform additional analysis on the

Topics

#nmap#port scanning#command-line tools#reconnaissance

Community Discussion

No community discussion yet for this question.

Full PT0-002 Practice