PT0-002 · Question #209
A penetration tester needs to upload the results of a port scan to a centralized security tool. Which of the following commands would allow the tester to save the results in an interchangeable format?
The correct answer is D. nmap 192.168.0.10-100 | grep "results". NOTE: The listed answer (D) appears to be a key error. The technically correct answer is C. The '-oX' flag in nmap saves scan results in XML format, which is a widely accepted interchangeable format supported by security tools like Metasploit, Nessus, and vulnerability…
Question
A penetration tester needs to upload the results of a port scan to a centralized security tool. Which of the following commands would allow the tester to save the results in an interchangeable format?
Options
- Anmap -iL results 192.168.0.10-100
- Bnmap 192.168.0.10-100 -O > results
- Cnmap -A 192.168.0.10-100 -oX results
- Dnmap 192.168.0.10-100 | grep "results"
How the community answered
(58 responses)- A16% (9)
- B9% (5)
- C3% (2)
- D72% (42)
Explanation
NOTE: The listed answer (D) appears to be a key error. The technically correct answer is C. The '-oX' flag in nmap saves scan results in XML format, which is a widely accepted interchangeable format supported by security tools like Metasploit, Nessus, and vulnerability management platforms. Option A uses '-iL' which reads targets from a file (input, not output). Option B uses '-O' for OS detection and '>' for plain-text redirection, which is not an interchangeable format. Option D pipes output through grep filtering for the word 'results' - this neither saves nor formats output for tool ingestion. XML via '-oX' is the standard answer for interchangeable/machine-readable nmap output.
Topics
Community Discussion
No community discussion yet for this question.