Nmap Development mailing list archives

Re: 3.59ALPHA7: About to go gold


From: Fyodor <fyodor () insecure org>
Date: Sun, 29 Aug 2004 13:25:53 -0700

On Sun, Aug 29, 2004 at 01:06:44PM -0700, Grishnav wrote:
This may be fixed in ALPHA7, but it wasn't noted in the changelog.

server1:~/nmap-dev/bin# ./nmap -vv -iR -p 80

-iR was changed a while back to take an argument specifying how many
hosts you wish to scan.  Zero means unlimited.  This prevents people
from accidently starting an -iR scan then forgetting about it until
they receive enraged mail (or disconnection) from their ISP :).

In this case, Nmap treats "-p" as the argument to -iR, and atoi("-p")
is zero.  I have fixed it for the next version to give an appropriate
error:

# ./nmap -vv -iR -p 80
ERROR: -iR argument must be the maximum number of random IPs you wish to scan (use 0 for unlimited)
QUITTING!
# 

Cheers,
-F

---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to 
nmap-dev-help () insecure org . List archive: http://seclists.org



Current thread: