Script broadcast-eigrp-discovery
Script types:
prerule
Categories:
discovery, broadcast, safe
Download: https://svn.nmap.org/nmap/scripts/broadcast-eigrp-discovery.nse
Script Summary
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 224.0.0.10 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.
Script Arguments
- broadcast-eigrp-discovery.kparams
the K metrics. Defaults to
101000
.- broadcast-eigrp-discovery.as
Autonomous System value to announce on. If not set, the script will listen for announcements on 224.0.0.10 to grab an A.S value.
- broadcast-eigrp-discovery.interface
Interface to send on (overrides -e)
- broadcast-eigrp-discovery.timeout
Max amount of time to listen for A.S announcements and updates. Defaults to
10
seconds.- max-newtargets, newtargets
See the documentation for the target library.
Example Usage
nmap --script=broadcast-eigrp-discovery <targets> nmap --script=broadcast-eigrp-discovery <targets> -e wlan0
Script Output
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
Requires
Author:
License: Same as Nmap--See https://nmap.org/book/man-legal.html