|
Nmap Development
mailing list archives
Re: nmap XML output - host latency
From: Fyodor <fyodor () insecure org>
Date: Tue, 3 Nov 2009 22:35:54 -0800
On Fri, Oct 30, 2009 at 02:25:53PM +0800, Andrew Smith wrote:
Hi there,
I notice that nmap's standard output provides the latency for each host:
Nmap scan report for 192.168.2.1
Host is up, received arp-response (0.0057s latency).
MAC Address: 00:1C:DF:E3:9F:03 (Belkin International)
However the XML output does not provide the host latency:
<host><status state="up" reason="arp-response">
<address addr="192.168.2.1" addrtype="ipv4">
<address addr="00:1C:DF:E3:9F:03" addrtype="mac" vendor="Belkin
International"
<hostnames>
</hostnames>
</host>
I have tried increasing both the debug level and verbosity but the host
latency isn't included in the output.
I can always parse the output of the standard nmap output to get the
latency, but would prefer to parse the XML.
Would it be possible to include this in the XML output?
Hi Andrew. I agree that the XML output should have all the useful
information you find in the normal/interactive output (and then some).
So I added this task to the Nmap TODO:
o We should print host latency (when available) in the XML output, as
suggested at http://seclists.org/nmap-dev/2009/q4/215.
docs/nmap.dtd will have to be modified accordingly, and you might
even consider adding support to docs/nmap.xsl.
But just adding the task won't make it happen! If someone wants to
step up to the plate and write, test, then send a patch to nmap-dev,
please do so! This should be a pretty easy one.
Cheers,
Fyodor
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/
By Date
By Thread
Current thread:
|