exam questions

Exam PT0-001 All Questions

View all questions & answers for the PT0-001 exam

Exam PT0-001 topic 1 question 121 discussion

Actual exam question from CompTIA's PT0-001
Question #: 121
Topic #: 1
[All PT0-001 Questions]

A penetration tester, who is not on the client's network. is using Nmap to scan the network for hosts that are in scope. The penetration tester is not receiving any response on the command: nmap 100.100/1/0-125
Which of the following commands would be BEST to return results?

  • A. nmap -Pn -sT 100.100.1.0-125
  • B. nmap -sF -p 100.100.1.0-125
  • C. nmap -sV -oA output 100.100.10-125
  • D. nmap 100.100.1.0-125 -T4
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
[Removed]
Highly Voted 5 years ago
-Pn flag treats the host as online.
upvoted 14 times
mr_robot
5 years ago
You are right bb_tester. A looks like the best answer.
upvoted 13 times
...
...
kloug
Most Recent 2 years, 2 months ago
aaaaaaaaaa
upvoted 1 times
...
miabe
2 years, 9 months ago
Selected Answer: A
If it isn't about the wrong spelling of the IP address in the answer it could be A as well
upvoted 1 times
...
miabe
2 years, 9 months ago
Selected Answer: D
looks good to me
upvoted 1 times
...
MrRiver
3 years, 7 months ago
Can only be A: B:) you specifie -p switch but you are not speciefiing ports ... so nothing so scan .. c.) Wrong iP Range d.) wrong command line ... options (t4) go first ... last ist the garget list . Using the -Pn and -sT Options is even a good idea: Because you can disable ping on a Network device and still provide SMB/SSH or whatever you like. so treating every host as up and scanning all ports is a good idea if the range is small. Also doing a full 3way handshake -sT will give you more details.
upvoted 1 times
...
smalltech
3 years, 10 months ago
A. nmap -Pn -sS <target> When ICMP is blocked to hosts, a tester will need to disable ping checks to force Nmap to scan the targets. The -Pn flag tells Nmap not to attempt to ping a host before scanning. This will take longer for hosts that are down, as subsequent requests to nonexistent services will have to time out. This scan is typically coupled with a port list in order to limit the number of ports attempted and expedite the scan as much as possible. Output will typically be identical with or without ping enabled. In verbose mode, an additional line will indicate whether an ARP or ICMP scan has taken place when ping is enabled.
upvoted 2 times
...
catastrophie
3 years, 10 months ago
Question is stating that the attacker is scanning the network FOR hosts that are in scope. A - No good because the -Pn switch will list all hosts 1-125 as up even if they are not. B - The -p switch is called but no port listed so this will not execute. C - The -oA tag needs to have a name after it to declare the file name D - Only one that works properly even though -T4 isn't ideal if the attacker is trying to be stealthy.
upvoted 1 times
tester27
3 years, 10 months ago
C - the name is 'output'
upvoted 1 times
...
...
mr_robot
5 years ago
I would go for B. - FIN Scan (-sF) "Sometimes a normal TCP SYN scan is not the best solution because of the firewall. IDS and IPS scans might be deployed on the target machine, but a firewall will usually block the SYN packets. A FIN scan (-sF) sends the packet only set with a FIN flag, so it is not required to complete the TCP handshaking." https://resources.infosecinstitute.com/nmap/#gref
upvoted 1 times
KamPa
4 years, 6 months ago
But the -p option would treat the the IPs as Ports, no?
upvoted 6 times
nonyabiz
3 years, 10 months ago
No, -p is the flag for specifying a specific port to check against an IP. So it would look like nmap -p22 10.0.0.125
upvoted 1 times
...
...
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago