Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




nmap-dev logo 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


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]