Script targets-ipv6-eui64
Script types:
prerule
Categories:
discovery
Download: https://svn.nmap.org/nmap/scripts/targets-ipv6-eui64.nse
Script Summary
This script runs in the pre-scanning phase to convert 48-bit MAC addresses to EUI-64 IPv6 addresses, which are often used for auto-configuration. Generated addresses may be added to the scan queue.
The MAC addresses used as input are read from the file named by the
targets-ipv6-eui64.input
script-arg. A good source of these
addresses would be an IPv4 host discovery Nmap scan.
Script Arguments
- targets-ipv6-eui64.input
The input file containing 1 MAC address per line
- targets-ipv6-subnet
Table/single IPv6 address with prefix (Ex. 2001:db8:c0ca::/48 or { 2001:db8:c0ca::/48, 2001:db8:FEA::/48 }) Default: fe80::/64
- max-newtargets, newtargets
See the documentation for the target library.
Example Usage
nmap -6 --script targets-ipv6-eui64 --script-args newtargets,targets-ipv6-eui64.input=macs.txt,targets-ipv6-subnet={2001:db8:c0ca::/64}
Script Output
Pre-scan script results: | targets-ipv6-eui64: |_ 2001:db8:c0ca:0:1322:33ff:fe44:5566
Requires
Author:
License: Same as Nmap--See https://nmap.org/book/man-legal.html