110 words
1 minutes
Saving the Results
2025-04-16

Saving the Results#

Different Formats#

Nmap can save the results in 3 different formats.

  • Normal output (-oN) with the .nmap file extension
  • Grepable output (-oG) with the .gnmap file extension
  • XML output (-oX) with the .xml file extension
sudo nmap 10.10.10.63 -p- -oA target

alt text

alt text

target.gnmap Output (normal output)#

alt text

target.nmap Output(Grepable Output)#

alt text

target.xml Output (XML Output)#

alt text

Style sheets#

With the XML output, we can easily create HTML reports that are easy to read, even for non-technical people. This is later very useful for documentation, as it presents our results in a detailed and clear way. To convert the stored results from XML format to HTML, we can use the tool xsltproc.

xsltproc target.xml -o target.html

alt text

Nmap Report#

alt text

Saving the Results
https://fuwari.vercel.app/posts/saving-the-results/
Author
Yonten
Published at
2025-04-16