ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 321 - PT0-002 discussion

Report
Export

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?

A.
1,000
Answers
A.
1,000
B.
1,024
Answers
B.
1,024
C.
10,000
Answers
C.
10,000
D.
65,535
Answers
D.
65,535
Suggested answer: D

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

Reference:

* The Official CompTIA PenTest+ Study Guide (Exam PT0-002), Chapter 2: Conducting Passive Reconnaissance, page 72-73.

* Nmap Cheat Sheet 2024: All the Commands & Flags - StationX1

* Nmap Commands - 17 Basic Commands for Linux Network - phoenixNAP2

asked 02/10/2024
Kshitij Vyas
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first