Categories: discovery, broadcast, safe
Performs network discovery and routing information gathering through Cisco's Enhanced Interior Gateway Routing Protocol (EIGRP).
The script works by sending an EIGRP Hello packet with the specified Autonomous System value to the 188.8.131.52 multicast address and listening for EIGRP Update packets. The script then parses the update responses for routing information.
If no A.S value was provided by the user, the script will listen for multicast Hello packets to grab an A.S value. If no interface was provided as a script argument or through the -e option, the script will send packets and listen through all valid ethernet interfaces simultaneously.
the K metrics.
Autonomous System value to announce on. If not set, the script will listen for announcements on 184.108.40.206 to grab an A.S value.
Interface to send on (overrides -e)
Max amount of time to listen for A.S
announcements and updates. Defaults to
max-newtargets, newtargetsSee the documentation for the target library.
nmap --script=broadcast-eigrp-discovery <targets> nmap --script=broadcast-eigrp-discovery <targets> -e wlan0
Pre-scan script results: | broadcast-eigrp-discovery: | 192.168.2.2 | Interface: eth0 | A.S: 1 | Virtual Router ID: 0 | Internal Route | Destination: 192.168.21.0/24 | Next hop: 0.0.0.0 | Internal Route | Destination: 192.168.31.0/24 | Next hop: 0.0.0.0 | External Route | Protocol: Static | Originating A.S: 0 | Originating Router ID: 192.168.31.1 | Destination: 192.168.60.0/24 | Next hop: 0.0.0.0 | External Route | Protocol: OSPF | Originating A.S: 1 | Originating Router ID: 192.168.31.1 | Destination: 192.168.24.0/24 | Next hop: 0.0.0.0 |_ Use the newtargets script-arg to add the results as targets
Author: Hani Benhabiles
License: Same as Nmap--See https://nmap.org/book/man-legal.html