After saving your scan results in the XML output format, you can generate an HTML report with the help of an XSLT processor. There are several options available but, in UNIX, the most popular option is xsltproc
. To use this, we simply pass the XML scan results file and set the output filename as follows:
$ xsltproc <input xml file> -o <output file> $ xsltproc b33rcon.xml -o b33rcon.html
Now the HTML file generated can simply be opened with your favorite web browser. The output in the web browser would look as follows:
The NSE script output will be included underneath its corresponding service. It is important to note that the output stored in this HTML file was taken from the normal output string, and the HTML that contains it does not have structured data. If you are planning on parsing results, I recommend sticking to the XML format.
Finally, remember that you can also make Nmap link to the online copy of the XSL style sheet by adding the...