Nmap Development mailing list archives

XML Usage Redux & Call for XSL Stylesheets


From: Fyodor <fyodor () insecure org>
Date: Sun, 5 Dec 2004 14:08:41 -0800

Hi All,

First, let me thank everyone who responded to the "how do you use Nmap
XML" question.  I added your suggestions to the chapter, including
Nmap::Scanner, Nmap::Parser, and even raw importing into a spreadsheet
program or reading from your browser.

Speaking of reading from browsers, Mozilla/Firefox and IE6 both
support on-they-fly XSLT transformation by simply specifying the XSL
stylesheet URI in the XML.  I would like to include this functionality
for the next version of Nmap.  Nmap would include at least one XSL
file, install it somewhere (probably nmapdatadir), and print out the
XML to reference that local file with the xml-stylehseet directive.

So the question is -- which stylesheet(s) should I include?  There is
a rather plain but useful one in the Nmap::Scanner example directory,
which was apparently written by "AMP".  A prettier and more
comprehensive one was done by Benjamin Erb -- You can see example
output at http://www.benjamin-erb.de/software/nmap_xsl/test3.htm and a
descriptive page at http://www.benjamin-erb.de/nmap_xsl.php .  I like
his use of Color.  Rudy Ruiz posted a link to his Nmap XSL project to
nmap-hackers a couple years ago
(http://seclists.org/lists/nmap-hackers/2002/Jan-Mar/0006.html), but
his website is currently down.  Does anyone have a copy of his
nmap-light-0.60.xsl (or later)?

Or does anyone know of a better XSL or want to try your hand at
creating one?  I think there is potential for the XML/XSL rendered by
a browser to be even more useful than the normal/interactive output
because you have more control over fonts, colors, possibly icon
images, etc.  You may even be able to use slick Javascript for results
sorting, detail expanding/concealing, etc.  Of course the first
priority is usefulness -- design and aesthetic considerations are
secondary.

Cheers,
Fyodor

---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to 
nmap-dev-help () insecure org . List archive: http://seclists.org



Current thread: