Correct answer should be: -p- 1-65535
As per PenTest+ Practice Tests Book - Sybex
nmap is the most commonly used command-line vulnerability scanner and is a free, open source tool. It provides a broad range of capabilities, including multiple scan modes intended to bypass firewalls and other network protection devices. Nmap is a port scanner. To scan for ports, you will want to use -p <port ranges> (only scan specified ports). This option specifies which ports you want to scan and overrides the default scan. Individual port numbers or ranges are acceptable. Ranges are separated by a hyphen (e.g., 1-1023). The beginning and/or end values of a range may be omitted, causing nmap to use 1 and 65535, respectively. So, you can specify -p- to scan ports from 1 through 65535. Port scanning a system simply requires that nmap be installed and that you provide the target system’s hostname or IP address.
None of the answers show -p- 1-65535. Besides that's kinda redundant if -p- by default goes over all ports, actually the last part of this sybex book says -p-, no need to specify ports.
You are correct. The answer should be A (-p-). At least the answers from the book are:
A. -p- 1-65535 (correct as per the book but, you don't need to specify ports if you use -p-)
B. -p ALX
C. -p 1-65544
D. -port 1-65534
As per its own definition: "Nmap is a port scanner. To scan for ports, you will want to use the -p <port ranges> (only scan specified ports). This option specifies which ports you want to scan and overrides the default scan. Individual port numbers or ranges are acceptable. Ranges are separated by a hyphen (for example 1–1023). The beginning and/or end values of a range may be omitted, causing nmap to use 1 and 65535, respectively. So, you can specify -p- to scan ports from 1 through 65535."
upvoted 2 times
...
...
...
This section is not available anymore. Please use the main Exam Page.PT0-001 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
AcidBunny
Highly Voted 4 years, 6 months agomr_robot
Highly Voted 5 years, 1 month agocasandre123
3 years, 7 months agokloug
Most Recent 2 years, 2 months agomiabe
2 years, 9 months agoNana1990
3 years agoCock
3 years, 2 months agoaww
4 years, 5 months agosndksad
4 years, 11 months agoMikeHunt
4 years, 11 months agodeathfrom
5 years agodeathfrom
5 years agomr_robot
4 years, 11 months ago