Nmap Development mailing list archives

Re: Adding custom ports to the default scanned nmap ports


From: "DePriest, Jason R." <jrdepriest () gmail com>
Date: Wed, 4 Nov 2009 15:29:51 -0600

I had no idea you could combine [-] with other port notations.

That is great.

Thanks.

I saw your correction, too.  If there were a way to do this with
'top-ports' that would be neat.

-Jason

On Wed, Nov 4, 2009 at 3:09 PM, Daniel Roethlisberger <daniel () roe ch> wrote:
I believe what you want is already there: -p [-],30231-30331.
[-] in port lists stands for the top n ports in the services
file, n being controlled by --top-ports.

--
Daniel Roethlisberger
http://daniel.roe.ch/
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: