mailing list archives
Nmap's XSL headers ignored in Firefox
From: Jacek Wielemborek <d33tah () gmail com>
Date: Tue, 07 Jan 2014 22:27:23 +0100
I just tried to generate a few Nmap XML files and noticed that Firefox doesn't
seem to load them. I tried to bug the #firefox guys on Mozilla's IRC channel,
but got no meaningful reply. Here's what I tried:
nmap localhost -oX file.xml --webxml && firefox file.xml
Gives an "unknown error" (805303f4) message. Google suggests that it's because
Firefox doesn't read external XSL's by default.
nmap localhost -oX file.xml && firefox file.xml
Results in a blank webpage. Tried to replace "/usr/bin/../share" with
"/usr/share" in the file, no help.
nmap localhost -oX file.xml
sed -i 's () file:///usr/bin/../share/nmap/nmap.xsl () nmap xsl@g' file.xml
cp /usr/share/nmap/nmap.xsl .
Works, but it's ugly.
Description: This is a digitally signed message part.
Sent through the dev mailing list
Archived at http://seclists.org/nmap-dev/