Nmap Development mailing list archives
Re: ports per IP
From: Daniel Miller <bonsaiviking () gmail com>
Date: Sat, 25 Feb 2017 19:31:34 -0600
Robin, No, I'm afraid there isn't such an option. You are far from the first to request it, though. Part of the problem is that the ultrascan engine that Nmap uses for the majority of scan types keeps a list of ports to try as a "global" list, apart from individual hosts. So reworking the code to support this use case would be pretty tricky. That said, I suppose we could introduce some other type of structure to keep track of a set of ports per host and then optionally use that instead of the global list in get_next_target_probe in scan_engine.cc. I haven't looked into how difficult that might be. Dan On Sat, Feb 25, 2017 at 1:28 PM, Robin Wood <robin@digi.ninja> wrote:
When running a scan, is there any way to specify ports per IP? I've already done a bunch of scans and have a list of open ports per IP and now want to run scripts on those. I could scan all IPs and use -p and specify all the open ports but that wouldn't be efficient. Something like: 1.2.3.4:80,443 2.3.4.5:53,5900 Robin _______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
_______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- ports per IP Robin Wood (Feb 25)
- Re: ports per IP Daniel Miller (Feb 25)