Nmap Development mailing list archives
Re: nmap.xsl local path and web url are wrong
From: Simon John <nmap-dev () the-jedi co uk>
Date: Sun, 20 Jan 2013 00:21:39 +0000
Replying to my own post, I also found the same problem on the debian packaged 6.00 for wheezy It seems the offending lines (I assume, I've not got around to compiling from SVN) around line 625 are not in 5.00 On 19/01/13 19:42, nmap-dev () the-jedi co uk wrote:
I recently noticed that when using --webxml the stylesheet is not fetched - the browser gives the error: Error loading stylesheet: A network error occurred loading an XSLT stylesheet: http://nmap.org/svn/docs/nmap.xsl chrome 26 just displays a blank page, opera 12 says "This document had no style information." I noticed that if you manually fetch that URL it redirects to an https site, so maybe there's a problem there...? As a workaround I thought I'd try just using the local nmap.xsl and found that that's wrong too, in the xml output i get: href="file:///usr/bin/../share/nmap/nmap.xsl" Instead of /usr/share/nmap/nmap.xsl that it should be, I guess there's something wrong with NmapOps.cc around line 625 (might have changed, i'm looking at svn): Snprintf(tmpxsl, sizeof(tmpxsl), "%s/nmap.xsl", NMAPDATADIR); This is with Fedora 18 packaged 6.01 as well as nmap-packaged 6.25 and even an alien-converted 5.61test2 (from nmap rpm) on debian squeeze, the last version that puts the correct path that i can find is 5.00 debian-packaged on squeeze.
-- Simon John _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- nmap.xsl local path and web url are wrong nmap-dev (Jan 19)
- Re: nmap.xsl local path and web url are wrong Simon John (Jan 19)
- Re: nmap.xsl local path and web url are wrong David Fifield (Jan 20)
- Re: nmap.xsl local path and web url are wrong Simon John (Jan 20)