Nmap targets-ipv6-multicast-mld NSE Script
This page contains detailed information about how to use the targets-ipv6-multicast-mld 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-mld.nse
Script categories: discovery, broadcast
Target service / protocol: -
Target network port(s): -
List of CVEs: -
Script Description
The targets-ipv6-multicast-mld.nse script attempts to discover available IPv6 hosts on the LAN by sending an MLD (multicast listener discovery) query to the link-local multicast address (ff02::1) and listening for any responses. The query's maximum response delay set to 1 to provoke hosts to respond immediately rather than waiting for other responses from their multicast group.
Targets-ipv6-multicast-mld NSE Script Arguments
This is a full list of arguments supported by the targets-ipv6-multicast-mld.nse script:
targets-ipv6-multicast-mld.interfaceInterface to send on (default: the interface specified with -e or every available Ethernet interface with an IPv6 address.)
targets-ipv6-multicast-mld.timeoutTimeout to wait for responses (default: 10s)
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.
newtargetsIf specified, lets NSE scripts add new targets.
- - -
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-mld --script-args targets-ipv6-multicast-mld.interface=value,targets-ipv6-multicast-mld.timeout=value <target>
Targets-ipv6-multicast-mld NSE Script Example Usage
Here's an example of how to use the targets-ipv6-multicast-mld.nse script:
nmap -6 --script=targets-ipv6-multicast-mld.nse --script-args 'newtargets,interface=eth0'
Targets-ipv6-multicast-mld NSE Script Example Output
Here's a sample output from the targets-ipv6-multicast-mld.nse script:
Pre-scan script results:
| targets-ipv6-multicast-mld:
| IP: fe80::5a55:abcd:ef01:2345 MAC: 58:55:ab:cd:ef:01 IFACE: en0
| IP: fe80::9284:0123:4567:89ab MAC: 90:84:01:23:45:67 IFACE: en0
|
|_ Use --script-args=newtargets to add the results as targets
Targets-ipv6-multicast-mld NSE Script Example XML Output
Here's a sample XML output from the targets-ipv6-multicast-mld.nse script produced by providing the -oX <file>
Nmap option:
<table>
<table>
<elem key="address">fe80::5a55:abcd:ef01:2345</elem>
<elem key="mac">58:55:ab:cd:ef:01</elem>
<elem key="iface">en0</elem>
</table>
<table>
<elem key="address">fe80::9284:0123:4567:89ab</elem>
<elem key="mac">90:84:01:23:45:67</elem>
<elem key="iface">en0</elem>
</table>
</table>
Authors
- niteesh
- alegen
References
- https://nmap.org/nsedoc/scripts/targets-ipv6-multicast-mld.html
- https://github.com/nmap/nmap/tree/master/scripts/targets-ipv6-multicast-mld.nse
See Also
Related NSE scripts to the targets-ipv6-multicast-mld.nse script:
- targets-asn.nse
- targets-ipv6-map4to6.nse
- targets-ipv6-multicast-echo.nse
- targets-ipv6-multicast-invalid-dst.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.