exam questions

Exam PT0-001 All Questions

View all questions & answers for the PT0-001 exam

Exam PT0-001 topic 1 question 75 discussion

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

A penetration tester is scanning a network for SSH and has a list of provided targets. Which of the following Nmap commands should the tester use?

  • A. nmap -p 22 -iL targets
  • B. nmap -p 22 -sL targets
  • C. nmap -p 22 -oG targets
  • D. nmap -p 22 -oA targets
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
mr_robot
Highly Voted 5 years ago
A. -iL --> Scans a list of IP addresses, you can add options before / after. nmap -iL ip-addresses.txt -sL --> List Scan - simply list targets to scan -oG --> Output greppable - easy to grep nmap output -oA --> Output in the three major formats at once The -iL file_name command tells nmap to read the specified file and scan only those hosts listed in the file.
upvoted 12 times
someguy1393
4 years, 4 months ago
Agreed, since it is the only option with iL, A must be the answer.
upvoted 3 times
...
...
miabe
Most Recent 2 years, 9 months ago
Selected Answer: A
looks good to me
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