How can you save Nmap output in multiple formats in a single command, and which formats does -oA produce?

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

How can you save Nmap output in multiple formats in a single command, and which formats does -oA produce?

Explanation:
Using the -oA option with a basename saves all three output formats in one go. It expands to running -oN, -oX, and -oG together, giving you a normal (human-readable) output, an XML file, and a grepable text file. The resulting files will be named using the provided basename with extensions: basename.nmap, basename.xml, and basename.gnmap. This is the convenient way to keep all common formats available from a single command. If you only need one format, you’d use the specific option alone, rather than -oA.

Using the -oA option with a basename saves all three output formats in one go. It expands to running -oN, -oX, and -oG together, giving you a normal (human-readable) output, an XML file, and a grepable text file. The resulting files will be named using the provided basename with extensions: basename.nmap, basename.xml, and basename.gnmap. This is the convenient way to keep all common formats available from a single command. If you only need one format, you’d use the specific option alone, rather than -oA.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy