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

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

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 Passetra

You can unsubscribe at any time. Read our privacy policy