Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: Nmap's XSL headers ignored in Firefox
From: Claudio Moretti <flyingstar16 () gmail com>
Date: Wed, 8 Jan 2014 13:19:38 +0000

On Tue, Jan 7, 2014 at 10:56 PM, Jacek Wielemborek <d33tah () gmail com> wrote:

07/01/2014 22:53:23 Claudio Moretti <flyingstar16 () gmail com>:
something like nmap-$RandomString.xsl

Seems to make sense. The only thing I'd change is:

nmap xx -oX file.xml

Would result in file.xsl being created (with some switch like --no-xsl
disabling that), if the extension can't be guessed or is not .xml, like

nmap xx -oX file.txt

Create file.txt.xsl.

I would avoid it, because if you have an XSL file that's called
file.txt.xsl in the same folder it would overwrite it. If the filename is
standard (nmap.xsl) at least you can be fairly sure it's something
nmap-related, but if the filename is arbitrary you can't guarantee it.

These are borderline cases, of course, but IMHO it's easier to avoid
problems if the filename has a random component in it.

Let me know!
Sent through the dev mailing list
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

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