Nmap Development mailing list archives
Re: top-ports range
From: David Fifield <david () bamsoftware com>
Date: Tue, 24 Jul 2012 23:01:30 -0700
On Wed, Jul 25, 2012 at 08:56:32AM +0300, Toni Ruottu wrote:
Maybe I could do "-p 80 --top-ports 11-20" if I knew port 80 was open. However I guess port 80 might accidentally be scanned last in which case it does not help.
There's special logic that cheats and puts common ports like 80 at the front of the list (random_port_cheat in portlist.cc). But unfortunately it still won't work because you can't use -p and --top-ports together. (I think you should be able to, and it should take the union.) David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- top-ports range Toni Ruottu (Jul 23)
- Re: top-ports range David Fifield (Jul 23)
- Re: top-ports range Toni Ruottu (Jul 24)
- Re: top-ports range David Fifield (Jul 24)
- Re: top-ports range Toni Ruottu (Jul 24)
- Re: top-ports range Daniel Miller (Jul 25)
- Re: top-ports range Toni Ruottu (Jul 24)
- Re: top-ports range David Fifield (Jul 23)