Nmap 3.10 statistics patch

"Ossian Vitek" <[email protected]> Mon, 25 Nov 2002 22:55:24 +0100
Newsgroups gmane.comp.security.nmap.general
Message-ID <[email protected]>

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 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.10ALPHA3 ( 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.
The patch works on nmap-3.10ALPHA3 and nmap-3.10ALPHA4. It will probably
work on other nmap-3.10 releases.

Patch with:
tar -xvzf nmap-3.X.tgz
cd nmap-3.X
patch -p1 < PATH_TO/nmap-3.10ALPHA4_statistics-1.diff

nmap-3.10ALPHA4_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, iXsecurity
[email protected]


(See attached file: nmap-3.10ALPHA4_statistics-1.diff)

--------------------------------------------------
For help using this (nmap-hackers) mailing list, send a blank email to 
[email protected] . List run by ezmlm-idx (www.ezmlm.org).