Home page logo
/

nmap-dev logo Nmap Development 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

List,

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:

1.

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.

2.

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.

3.

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 .
firefox file.xml

Works, but it's ugly.

Regards,
Jacek Wielemborek

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]