A Nmap XSL implementation with Bootstrap.
- Add the
nmap-template.xsl
as stylesheet to your Nmap scan. - Example:
nmap -sS -T4 -A -sC -oA scanme --stylesheet https://raw.githubusercontent.com/kac89/nmap-report-template/master/nmap-template.xsl scanme.nmap.org scanme2.nmap.org
- Open the scanme.xml with your Web browser.
- Alternatively you can transform the xml to html with
xsltproc -o scanme.html nmap-template.xsl scanme.xml
- You will need to download the nmap-template.xsl beforehand.
- You can also format old scans with the xsl stylesheet.
- Insert
<?xml-stylesheet href="https://raw.githubusercontent.com/kac89/nmap-report-template/master/nmap-template.xsl" type="text/xsl"?>
after<!DOCTYPE nmaprun>
.
All credits goes to: https://github.com/honze-net/nmap-bootstrap-xsl
I just modified structure and add anchor links. - @kac89