Nmap Development mailing list archives

Re: output XML and "service info"


From: David Fifield <david () bamsoftware com>
Date: Wed, 27 Aug 2008 11:12:52 -0600

On Wed, Aug 27, 2008 at 12:57:45PM +0200, chris ryan wrote:
i'm fairly new to nmap.I tried to get an overview over the output
modules. I was wondering why the "service info" is only provided to
normal output, e.g. "Service Info: OS: Linux".

Hi Chris,

The service info is available in XML output, just not as a separate
element. It's incorporated as attributes in the service element. Here's
from me scanning localhost with -sV:

<service name="X11" product="XFree86" extrainfo="open" ostype="Unix" method="probed" conf="10" />

The ostype="Unix" corresponds to "Service Info: OS: Unix". Apart from
ostype there the attributes device and hostname.

David Fifield

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


Current thread: