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:
edgeos



Nmap Development: Re: Difficult Nmap Question from IRC

Re: Difficult Nmap Question from IRC

From: <bensonk_at_acm.wwu.edu>
Date: Wed, 14 May 2008 15:55:42 -0700

> If this is a one-off scan never to be repeated then it doesn't matter
> much, just pick one of the extremes and go for it. If this is
> something you do all the time it should be easy to hack together a
> perl/python/other script to make a few measurements, a list of
> host:port pairs and do the splitting and scanning for you.

I think it would be fairly simple to hack together a perl/python/ruby/etc
script that would generate a list of nmap commands to run. Suppose your
script took some crazy format input file and output nmap commands:

$ cat host_port_pairs.txt | ./nmap-aggregator.py | sh

That'd get you somewhere close. You could then write another script
that you pipe the output to that would read in a bunch of xml output and
aggregate it into a single output format. It's hacky, but it would end
up giving you fairly nice results. You could some up with a fairly
simple heuristic for your script like "any set of hosts with n ports in
common should be scanned together". You could then try tweaking n and
come up with an experimental value that works well for you.

Just my two cents.

Benson

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

  • application/pgp-signature attachment: stored
Received on May 14 2008
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos