OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
nmap 3.20 statistics patch

From: sigtrap (sigtrapas5-5-7.bi.s.bonet.se)
Date: Tue Apr 22 2003 - 17:32:35 CDT


Background:
The scan can go on for a while if you are scanning firewalled hosts.
There are nmap switches to increase ports per second, but how much?
I am now releasing a new better version of the patch that works with nmap 3.20.
(Not tested with nmap 3.25)

nmap 3.20 statistics patch:
I have added a switch that prints two lines of statistics.
The new -c switch guesses how long time the scan will take.
Output example:
Starting nmap V. 3.20 ( http://www.insecure.org/nmap/ )
Tried: 192 (150 resends)
P/S: 12.00 ETS: 9

The -c switch shows how many ports that has been tested, resends,
ports per second and the estimated remaining time of scan.

Patch with:
tar -xvjf nmap-3.2X.tar.bz2
cd nmap-3.2X
patch -p1 < PATH_TO/nmap-3.20_statistics-1.diff

nmap-3.20_statistics-1.diff is a nmap hack. It is not an official
nmap patch.
Feel free to forward it if you like it.

//Ian Vitek
mailto:remove.ian.vitek@sigtrap.org (remove remove)

The release will take place at Lackerbiten (Stockholm, Sweden) 2003-04-24 18:00.
More information:
http://www.sekure.net/ssnig/

---------------------------------------------------------------------------
Attend Black Hat Briefings & Training Europe, May 12-15 in Amsterdam, the
world's premier event for IT and network security experts. The two-day
Training features 6 hand-on courses on May 12-13 taught by professionals.
The two-day Briefings on May 14-15 features 24 top speakers with no vendor
sales pitches. Deadline for the best rates is April 25. Register today to
ensure your place. http://www.securityfocus.com/BlackHat-pen-test
----------------------------------------------------------------------------