Which statement about -oA is incorrect?

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

Which statement about -oA is incorrect?

Explanation:
-oA is a convenience that saves results in multiple formats in one go, using a single basename to name the files. When you provide a basename, Nmap writes three files in the current directory: basename.nmap (the normal text output), basename.xml (the XML format), and basename.gnmap (the grepable format). This makes it easy to archive and parse results, and it’s effectively equivalent to running -oN, -oX, and -oG together in one command. Since a basename is required to generate the file names, it cannot be used to produce output only to the console. Therefore, the statement claiming it writes outputs only to the console is not correct. If you omit the basename, Nmap will require it or fail due to the missing argument.

-oA is a convenience that saves results in multiple formats in one go, using a single basename to name the files. When you provide a basename, Nmap writes three files in the current directory: basename.nmap (the normal text output), basename.xml (the XML format), and basename.gnmap (the grepable format). This makes it easy to archive and parse results, and it’s effectively equivalent to running -oN, -oX, and -oG together in one command. Since a basename is required to generate the file names, it cannot be used to produce output only to the console. Therefore, the statement claiming it writes outputs only to the console is not correct. If you omit the basename, Nmap will require it or fail due to the missing argument.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy