Nmap Development mailing list archives
Re: Nmap XML HowTo
From: "Adriano Monteiro" <py.adriano () gmail com>
Date: Fri, 11 May 2007 10:27:57 -0300
Amit, I sent this e-mail with cc to Joao and Guilherme to call them to this conversation, and see how they think you could help them. Cheers! On 5/10/07, Amit Kumar Saha <amitsaha.in () gmail com> wrote:
Hi Fyodor,Hi Amit. I think the HOWTO is a great idea! And version 0.1 is a good start.Thanks.Maybe instead of designing a command-line utility specifically for Nmap XML, you can demonstrate in your HOWTO how to use existing generic XML command-line utilities to parse Nmap output. I think many Nmap users (including me to some extent) fall back on Nmap grepable output because we grew up with command-line tools like awk, sed, cut, etc. for parsing plaintext. But parsing Nmap XML output using command-line XML tools to grab fields with XPath and the like can lead to command-lines which are shorter, easier to write, and a hundred times easier to read than a big string of piped sed/awk/etc.I am currently playing with XMLStarlet, proposed by Dirk. I should be able to put up something soon.But I do see the value in other sorts of special-purpose Nmap XML command-line utilities (and/or libraries). They could do things like take 2 Nmap XML output files and produce an XML file describing the differences. Tools like UMIT or PBNJ or simpler cron jobs could all share such a common utility/library.This will be the next thing on my mind and lets us see what Adriano says about its application to Umit. Cheers, -- Amit Kumar Saha GSM :+91 9903140286 http://amitsaha.in.googlepages.com _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
-- Adriano Monteiro Marques http://adriano-marques.blogspot.com http://umit.sourceforge.net py.adriano () gmail com "Don't stay in bed, unless you can make money in bed." - George Burns _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- Re: Nmap XML HowTo, (continued)
- Re: Nmap XML HowTo offset (May 14)
- Re: Nmap XML HowTo Adriano Monteiro (May 17)
- Re: Nmap XML HowTo Guilherme Polo (May 22)
- Message not available
- Re: Nmap XML HowTo Amit Kumar Saha (May 13)
- Re: Nmap XML HowTo Amit Kumar Saha (May 10)
- Re: Nmap XML HowTo aihomes (May 10)
- Re: Nmap XML HowTo MadHat Unspecific (May 10)
- Re: Nmap XML HowTo Amit Kumar Saha (May 10)
- Re: Nmap XML HowTo MadHat Unspecific (May 10)
- Re: Nmap XML HowTo Fyodor (May 10)
- Re: Nmap XML HowTo Adriano Monteiro (May 11)
- Re: Nmap XML HowTo Amit Kumar Saha (May 09)