Script targets-ipv6-multicast-invalid-dst

Script types: prerule
Categories: discovery, broadcast
Download: https://svn.nmap.org/nmap/scripts/targets-ipv6-multicast-invalid-dst.nse

Script Summary

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.

Script Arguments

newtargets

If true, add discovered targets to the scan queue.

targets-ipv6-multicast-invalid-dst.interface

The interface to use for host discovery.

max-newtargets

See the documentation for the target library.

Example Usage

./nmap -6 --script=targets-ipv6-multicast-invalid-dst.nse --script-args 'newtargets,interface=eth0' -sP

Script Output

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

Requires


Authors:

  • David Fifield
  • Xu Weilin

License: Same as Nmap--See https://nmap.org/book/man-legal.html