Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 919 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 919 Bytes

Convert nmap XML output to styled HTML

This script converts all nmap XML result files in the directory to HTML files styled with nmap-bootstrap-xsl.

Usage

$ nix-shell converter.nix

Other ways to style the nmap XML outfile files

Apply style directly to nmap scan

Add the nmap-bootstrap.xsl as stylesheet to your Nmap scan with the --stylesheet argument:

$ sudo nmap -A --stylesheet https://raw.githubusercontent.com/honze-net/nmap-bootstrap-xsl/master/nmap-bootstrap.xsl localhost

For existing scan (with XML output)

You have thus to transform the XML to HTML with the following command :

$ xsltproc -o output.html nmap-bootstrap.xsl input.xml

License

The code ìs license under MIT. nmap-bootstrap-xsl is licensed under Creative Commons BY-SA.