Queries targets for multicast routing information.
This works by sending a DVMRP Ask Neighbors 2 request to the target and listening for DVMRP Neighbors 2 responses that are sent back and which contain local addresses and the multicast neighbors on each interface of the target. If no specific target is specified, the request will be sent to the 22.214.171.124 All Hosts multicast address.
This script is similar somehow to the mrinfo utility included with Windows and Cisco IOS.
Host to which the request is sent. If not set, the
request will be sent to
Time to wait for responses.
max-newtargets, newtargetsSee the documentation for the target library.
unittest.runSee the documentation for the unittest library.
nmap --script mrinfo nmap --script mrinfo -e eth1 nmap --script mrinfo --script-args 'mrinfo.target=172.16.0.4'
Pre-scan script results: | mrinfo: | Source: 126.96.36.199 | Version 12.4 | Local address: 172.16.0.2 | Neighbor: 172.16.0.4 | Neighbor: 172.16.0.3 | Local address: 172.17.0.1 | Neighbor: 172.17.0.2 | Local address: 172.18.0.1 | Neighbor: 172.18.0.2 | Source: 188.8.131.52 | Version 12.4 | Local address: 172.16.0.4 | Neighbor: 172.16.0.3 | Neighbor: 172.16.0.2 | Local address: 172.17.0.2 | Neighbor: 172.17.0.1 | Source: 184.108.40.206 | Version 12.4 | Local address: 172.16.0.3 | Neighbor: 172.16.0.4 | Neighbor: 172.16.0.2 | Local address: 172.18.0.2 | Neighbor: 172.18.0.1 |_ Use the newtargets script-arg to add the responses as targets
Author: Hani Benhabiles
License: Same as Nmap--See http://nmap.org/book/man-legal.html