Nmap targets-ipv6-multicast-echo NSE Script


This page contains detailed information about how to use the targets-ipv6-multicast-echo 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-echo.nse
Script categories: discovery, broadcast
Target service / protocol: -
Target network port(s): -
List of CVEs: -

Script Description


The targets-ipv6-multicast-echo.nse script sends an ICMPv6 echo request packet to the all-nodes link-local multicast address (ff02::1) to discover responsive hosts on a LAN without needing to individually ping each IPv6 address.

Targets-ipv6-multicast-echo NSE Script Arguments


This is a full list of arguments supported by the targets-ipv6-multicast-echo.nse script:

newtargets

If true, add discovered targets to the scan queue.

targets-ipv6-multicast-echo.interface

The interface to use for host discovery.

max-newtargets

Sets 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-echo --script-args newtargets=value,targets-ipv6-multicast-echo.interface=value <target>

Targets-ipv6-multicast-echo NSE Script Example Usage


Here's an example of how to use the targets-ipv6-multicast-echo.nse script:

./nmap -6 --script=targets-ipv6-multicast-echo.nse --script-args 'newtargets,interface=eth0' -sL

Targets-ipv6-multicast-echo NSE Script Example Output


Here's a sample output from the targets-ipv6-multicast-echo.nse script:

Pre-scan script results:
| targets-ipv6-multicast-echo:
|   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-echo 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


See Also


Related NSE scripts to the targets-ipv6-multicast-echo.nse script:

Visit Nmap NSE Library for more scripts.

Version


This page has been created based on Nmap version 7.92.