Nmap Development mailing list archives
Re: Nmap XML to PDF
From: David Fifield <david () bamsoftware com>
Date: Sun, 20 Jan 2013 04:04:34 -0800
On Tue, Jan 08, 2013 at 01:01:39PM -0500, Tilik Ammon wrote:
I recently put together an xsl file that will convert nmap xml output to xml format object which can be used to create pdfs. The xsl file can be found at: https://raw.github.com/tilikammon/nmap-to-fo/master/nmap_fo.xsl Format Object Printer (FOP) is used to convert from xml-fo to a pdf. I test with version 1.1rc1. FOP is an Apache project and may be downloaded from the following address: http://apache.mirrors.pair.com/xmlgraphics/fop/binaries/fop-1.1rc1-bin.zip Instructions: 1. run nmap with -oX flag for xml output $ nmap -oX ./nmap.scan.xml localhost 2. convert output xml to pdf using the above xsl file $ fop -xml nmap.scan.xml -xls nmap_fo.xsl -pdf nmap.scan.pdf
Thanks, this is cool. You have a typo in your README.md: -xls instead of -xsl. May we add this file to the Nmap distribution? Would you add the fop command line to the top of the file where people can find it easily? David Fifield _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Nmap XML to PDF Tilik Ammon (Jan 08)
- Re: Nmap XML to PDF David Fifield (Jan 20)
- Message not available
- Re: Nmap XML to PDF David Fifield (Jan 20)
- Message not available
- Re: Nmap XML to PDF David Fifield (Jan 20)