Nmap Development mailing list archives

using previous XML as starting point


From: Robin Wood <robin@digi.ninja>
Date: Tue, 12 Aug 2014 12:24:25 +0100

I've just done a full port scan against a range of machines and got back a
set of results with mixed numbers of open ports. I'd now like to run the
default scripts against the ports that are open. If I go in with -sC and
-p- nmap will scan all ports again which is quite wasteful. The alternative
is for me to grep out all the open ports and pass the list in to -p which
is a bit of a pain and has me scanning closed ports on some of the machines
(i.e. 80 is only open on 4 of the 10 machines)

It would be good if I could pass in the XML file the -p- scan generated and
tell the new scan to use that as a base for active machines and open ports.

Would this be possible?

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


Current thread: