I'm trying to find out if it is possible to select a range from within the --top-ports
when scanning with nmap. I'm performing scans which are progressive in nature, for example, scanning the top 100, then 1000 then 3647 TCP ports. However as the 2nd and 3rd scans are performed they repeat the scan on the previous top ports which were selected, therefore increasing the overall time of the scan performing a redundant scan.
My question, is there a way to select a range from within the --top-ports
list for example:
--top-ports 1-100
--top-ports 101-1000
--top-ports 1001-3647
Therefore stopping the ports from being scanned twice?
-p 1-100
etc.?