Skip to content

Which Nmap option saves results in Extensible Markup Language (XML) format?

Answer

`-oX results.xml`

Explanation

### Why this is right The `-oX` option saves scan output in Extensible Markup Language (XML) format. The filename following the option identifies the output file. ### The concept Output options control how scan findings are written for later review or use. They do not change the meaning of the scan itself. Normal text output uses `-oN`, while XML output uses `-oX`. Keeping results supports assessment records, but those files should be protected because they may reveal details about systems. ### The other options - **B. `-oN results.txt`**: this saves normal text output, not XML. - **C. `-T4`**: this is a timing template, not an output format option. - **D. `-Pn`**: this skips host discovery, not output formatting. ### Terms - **Nmap**: Network Mapper. A network scanning tool. - **XML**: Extensible Markup Language. A structured text format for data. ### Remember `-oN` means normal text output; `-oX` means XML output.

Related Questions

Want to practice more questions like this?

Join myBenkio free and practice past questions for your Nigerian university courses with AI explanations for every answer.

Start Practicing Free