Script targets-xml
Script types:
prerule
Categories:
safe
Download: https://svn.nmap.org/nmap/scripts/targets-xml.nse
Script Summary
Loads addresses from an Nmap XML output file for scanning.
Address type (IPv4 or IPv6) is determined according to whether -6 is specified to nmap.
Script Arguments
- targets-xml.iX
Filename of an Nmap XML file to import
- targets-xml.state
Only hosts with this status will have their addresses input. Default: "up"
- max-newtargets, newtargets
See the documentation for the target library.
- slaxml.debug
See the documentation for the slaxml library.
Example Usage
nmap --script targets-xml --script-args newtargets,iX=oldscan.xml
Script Output
Pre-scan script results: |_targets-xml: Added 16 ipv4 addresses
Requires
Author:
License: Same as Nmap--See https://nmap.org/book/man-legal.html