nerdexam
CompTIA

PT0-002 · Question #608

As part of the scanning phase of one assessment, the tester runs the following Nmap command: The output from that command was too long for the tester to review. Which of the following would help the…

The correct answer is D. -oA output. The Nmap command to output scan results into multiple file formats for easier review and management is '-oA output'.

Information Gathering and Vulnerability Scanning

Question

As part of the scanning phase of one assessment, the tester runs the following Nmap command:

The output from that command was too long for the tester to review. Which of the following would help the tester output the result into multiple file formats that make the data easier to read and manage?

Options

  • A-Ex output
  • B--output output
  • C-Ao output
  • D-oA output

How the community answered

(27 responses)
  • B
    4% (1)
  • C
    4% (1)
  • D
    93% (25)

Why each option

The Nmap command to output scan results into multiple file formats for easier review and management is '-oA output'.

A-Ex output

-Ex is not a valid Nmap command-line option for specifying output formats.

B--output output

--output is not a standard Nmap command-line option for directing output to multiple file formats.

C-Ao output

-Ao is not a valid Nmap option for multiple output formats; '-A' enables aggressive scan options, while output options typically begin with '-o'.

D-oA outputCorrect

The Nmap option '-oA <basename>' is specifically designed to output scan results into all three major formats-normal (.nmap), XML (.xml), and greppable (.gnmap)-using the specified basename, providing comprehensive data for review and management.

Concept tested: Nmap output formats (multiple)

Source: https://nmap.org/book/man-output.html

Topics

#Nmap#Scanning#Output Formats#Command Line

Community Discussion

No community discussion yet for this question.

Full PT0-002 Practice