Which statement about -oA is incorrect?

Prepare for the Nmap and ZenMap Tests. Access flashcards and multiple choice questions, with hints and explanations for each question. Ensure success in 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 Passetra

You can unsubscribe at any time. Read our privacy policy