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
Received on Jan 01 2007