What outputs do -oN, -oX, -oG, and -oA produce, and how would you save all formats with a single base filename?

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 outputs do -oN, -oX, -oG, and -oA produce, and how would you save all formats with a single base filename?

Explanation:
The outputs are about choosing how and where Nmap saves its results, and what formats you get. -oN writes a human-readable normal text file (it appends .nmap). -oX writes XML (append .xml). -oG writes a grepable format (append .gnmap). -oA saves all three formats in one go; if you provide a base name, it creates three files with that base: <basename>.nmap, <basename>.xml, and <basename>.gnmap. To save all formats with a single base filename, use -oA <basename>, for example -oA myscan. This lets you keep readable, XML, and grepable outputs together for easy access or downstream processing.

The outputs are about choosing how and where Nmap saves its results, and what formats you get. -oN writes a human-readable normal text file (it appends .nmap). -oX writes XML (append .xml). -oG writes a grepable format (append .gnmap). -oA saves all three formats in one go; if you provide a base name, it creates three files with that base: .nmap, .xml, and .gnmap. To save all formats with a single base filename, use -oA , for example -oA myscan. This lets you keep readable, XML, and grepable outputs together for easy access or downstream processing.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy