Create HTML reports with nmap

By | 2012/07/03

nmap can actually create very good html reports. I’ll show you how!

Below is a one-liner command that will scan and create an html file for all open ports and services.

This example happens to be a scan of my home network with a few VirtualBox VMs started to add to the mix. I use a 172.16.x network. Edit the nmap command as desired!

$ sudo nmap -sV -oX scan.xml && xsltproc scan.xml -o "`date +%m%d%y`_report.html"

Example html report page (new window)



One thought on “Create HTML reports with nmap

  1. scott Post author

    My brother printer is running an ftp server?!


Leave a Reply

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.