Nmap targets-ipv6-multicast-invalid-dst NSE Script
This page contains detailed information about how to use the targets-ipv6-multicast-invalid-dst NSE script. For list of all NSE scripts, visit the Nmap NSE Library.
Script Overview
Script source code: https://github.com/nmap/nmap/tree/master/scripts/targets-ipv6-multicast-invalid-dst.nse
Script categories: discovery, broadcast
Target service / protocol: -
Target network port(s): -
List of CVEs: -
Script Description
The targets-ipv6-multicast-invalid-dst.nse script sends an ICMPv6 packet with an invalid extension header to the
all-nodes link-local multicast address (ff02::1
) to
discover (some) available hosts on the LAN. This works because some
hosts will respond to this probe with an ICMPv6 Parameter Problem
packet.
Targets-ipv6-multicast-invalid-dst NSE Script Arguments
This is a full list of arguments supported by the targets-ipv6-multicast-invalid-dst.nse script:
newtargetsIf true, add discovered targets to the scan queue.
targets-ipv6-multicast-invalid-dst.interfaceThe interface to use for host discovery.
max-newtargetsSets the number of the maximum allowed new targets. If set to 0 or less then there is no limit. The default value is 0.
- - -
To use these script arguments, add them to the Nmap command line using the --script-args arg1=value,[arg2=value,..]
syntax. For example:
nmap --script=targets-ipv6-multicast-invalid-dst --script-args newtargets=value,targets-ipv6-multicast-invalid-dst.interface=value <target>
Targets-ipv6-multicast-invalid-dst NSE Script Example Usage
Here's an example of how to use the targets-ipv6-multicast-invalid-dst.nse script:
./nmap -6 --script=targets-ipv6-multicast-invalid-dst.nse --script-args 'newtargets,interface=eth0' -sP
Targets-ipv6-multicast-invalid-dst NSE Script Example Output
Here's a sample output from the targets-ipv6-multicast-invalid-dst.nse script:
Pre-scan script results:
| targets-ipv6-multicast-invalid-dst:
| IP: 2001:0db8:0000:0000:0000:0000:0000:0001 MAC: 11:22:33:44:55:66 IFACE: eth0
|_ Use --script-args=newtargets to add the results as targets
Targets-ipv6-multicast-invalid-dst NSE Script Example XML Output
There is no sample XML output for this module. However, by providing the -oX <file>
option, Nmap will produce a XML output and save it in the file.xml
file.
Authors
- David Fifield
- Xu Weilin
References
- https://nmap.org/nsedoc/scripts/targets-ipv6-multicast-invalid-dst.html
- https://github.com/nmap/nmap/tree/master/scripts/targets-ipv6-multicast-invalid-dst.nse
- http://www.iana.org/assignments/ipv6-parameters/
- http://www.iana.org/assignments/icmpv6-parameters
See Also
Related NSE scripts to the targets-ipv6-multicast-invalid-dst.nse script:
- targets-asn.nse
- targets-ipv6-map4to6.nse
- targets-ipv6-multicast-echo.nse
- targets-ipv6-multicast-mld.nse
- targets-ipv6-multicast-slaac.nse
- targets-ipv6-wordlist.nse
- targets-sniffer.nse
- targets-traceroute.nse
- targets-xml.nse
Visit Nmap NSE Library for more scripts.
Version
This page has been created based on Nmap version 7.92.