Nmap Development mailing list archives

Re: Tunnel information not always included in XML output


From: David Fifield <david () bamsoftware com>
Date: Mon, 13 Feb 2012 19:54:47 -0800

On Mon, Feb 13, 2012 at 11:00:07AM +0000, Matt Foster wrote:
Hi All,

I recently noticed that there's no tunnel information in Nmap's XML
output when the service is 'ssl/unknown'. In these cases, there's no
service tag in the output, so as a consequence there's no tunnel
attribute set.

A similar problem to this (but relating to text output) seems to have
been fixed back in 2009, but I couldn't find any mention of issues like
this relating to XML output.

I've attached a very simple patch, to make sure there's a service tag
whenever there's an identified SSL tunnel. It may not be the best way to
fix this, but so far it seems to be working for me.

What XML does it emit in the conditions you've identified?

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


Current thread: