What does the -oA option do in an Nmap command?

Study for the Nmap/ZenMap Switches Test. Prepare with flashcards and multiple choice questions, each question provides hints and explanations. Get ready for your exam!

Multiple Choice

What does the -oA option do in an Nmap command?

Explanation:
The option -oA saves the scan results in all supported output formats at once using a common base filename. This is useful because you get multiple formats from a single run: a human-friendly normal file, an XML file for structured data, and a grepable file for quick text parsing, all sharing the same prefix. For example, using a base name like myscan will produce myscan.nmap, myscan.xml, and myscan.gnmap. It’s effectively a shorthand for running the separate output options (-oN, -oX, and -oG) together. This isn’t about disabling output, nor about saving only normal format, and it isn’t specifically about JSON.

The option -oA saves the scan results in all supported output formats at once using a common base filename. This is useful because you get multiple formats from a single run: a human-friendly normal file, an XML file for structured data, and a grepable file for quick text parsing, all sharing the same prefix. For example, using a base name like myscan will produce myscan.nmap, myscan.xml, and myscan.gnmap. It’s effectively a shorthand for running the separate output options (-oN, -oX, and -oG) together. This isn’t about disabling output, nor about saving only normal format, and it isn’t specifically about JSON.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy