A Nmap XSL implementation with Bootstrap.
Add the nmap-bootstrap.xsl as stylesheet to your Nmap scan. For example: nmap -sS -T4 -A -sC -oA scanme --stylesheet https://raw.githubusercontent.com/honze-net/nmap-bootstrap-xsl/master/nmap-bootstrap.xsl scanme.nmap.org scanme2.nmap.org
Open the scanme.xml with your Webbrowser. It should look like the scanme.html sample report.
Alternatively you can transform the xml to html with xsltproc -o scanme.html nmap-bootstrap.xsl scanme.xml
. You will need to download the nmap-bootstrap.xsl beforehand.
You can also format old scans with the xsl stylesheet. Insert
<?xml-stylesheet href="https://raw.githubusercontent.com/honze-net/nmap-bootstrap-xsl/master/nmap-bootstrap.xsl" type="text/xsl"?>
after <!DOCTYPE nmaprun>
.