Penetration Testing mailing list archives

Re: Nmap Grepable output parsing script


From: "Buz Dale" <buz.dale () usg edu>
Date: Thu, 15 Mar 2007 14:47:08 -0400

In that vein, I wrote some pretty awful shell scripts to give me some
base stats from the
nmap output.  I've posted them off of this page:

http://webpages.charter.net/buz/nmap.html

They seem to work but I haven't looked at them in a while....

Luck,
Buz

On 3/12/07, ¨˜"°º•C0D3w@lk3r•º°"˜¨ <c0d3walk3r () gmail com> wrote:
Hi All,

Following is a rough Ruby script I wrote to parse the Nmap Grepable output.
I've not tested it thoroughly and I know that it may be buggy ;) .....
but it worked on whatever files I tried on.

Currenty it parses the given file and lists all the host IPs and all
requested ports (ie: open, filtered or closed). Read the Usage

If anyone knows good info on how to work with nmap grepable output
files do let me know.

Those who want to extract info from nmap xml output can check out the
tool "xmlstarlet"

BTW here is the script

http://rubyforge.org/snippet/download.php?type=snippet&id=205


Manish S. Saindane
--
¨˜"°º•C0D3w@lk3r•º°"˜¨

------------------------------------------------------------------------
This List Sponsored by: Cenzic

Need to secure your web apps?
Cenzic Hailstorm finds vulnerabilities fast.
Click the link to buy it, try it or download Hailstorm for FREE.

http://www.cenzic.com/products_services/download_hailstorm.php?camp=701600000008bOW
------------------------------------------------------------------------





--
Buz Dale                                buz.dale () usg edu
IT Security Specialist              1-888-875-3697 (In GA)
1-706-583-2005
Office of Information and Instructional Technology
University System of Georgia
GMT -5:00

------------------------------------------------------------------------
This List Sponsored by: Cenzic

Need to secure your web apps?
Cenzic Hailstorm finds vulnerabilities fast.
Click the link to buy it, try it or download Hailstorm for FREE.

http://www.cenzic.com/products_services/download_hailstorm.php?camp=701600000008bOW
------------------------------------------------------------------------


Current thread: