Nmap Development mailing list archives

Re: Request to add MAC Address to GREP Output


From: Diman Todorov <diman.todorov () chello at>
Date: Tue, 2 Jan 2007 00:47:35 +0100


On 01.01.2007, at 20:17, Joshua D. Abraham wrote:


But I admit that I'm no XML expert.  Does anyone here know good
command-line tools for picking out fields from Nmap XML output?  Have
an example command-line you can show us?  xslt with a custom XSL file
would do the trick, but that may be overkill for the simple cases
where you just want (say) the IP, open TCP port numbers, and (in this
case) MAC address.


If you like Perl, I have packaged Nmap::Parser for Debian,
FreeBSD and Gentoo.

For simple queries you might like http://xmlstar.sourceforge.net/ -  
it is sort of like grep/awk/sed for xml files.

cheers
Diman

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


Current thread: