Nmap Development mailing list archives

Re: --exclude range not working


From: Tom Sellers <nmap () fadedcode net>
Date: Wed, 2 Jan 2013 15:30:16 -0600



On Jan 2, 2013, at 3:01 PM, Mark Lingen <mark.lingen () kaseya com> wrote:

Hi,

I'm using version 6.25 and want to exclude ip ranges from my scan.

nmap -sn 10.10.10.1-20, 10.10.10.50-70, 10.10.10.90-120 --exclude
10.10.10.6-12, 10.10.10.55-65

by running the above command only 10.10.10.6-12 get excluded and 55-65 are
included.  What am I missing?

Thanks,
Mark Lingen
Kaseya
_______________________________________________


Try removing the space between the comma and 10.10.10.55-65

By the way, you can also specify hosts or ranges to exclude by using the --excludefile parameter.  The file format is 
one host or range per line.

Tom
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: