Categories: broadcast, discovery, safe
Discover IPv4 networks using Open Shortest Path First version 2(OSPFv2) protocol.
The script works by listening for OSPF Hello packets from the 184.108.40.206 multicast address. The script then replies and attempts to create a neighbor relationship, in order to discover network database.
If no interface was provided as a script argument or through the -e option, the script will fail unless a single interface is present on the system.
MD5 digest key to use if message digest authentication is disclosed.
Router ID to use. Defaults to 0.0.0.1
Time in seconds that the script waits for hello from other routers. Defaults to 10 seconds, matching OSPFv2 default value for hello interval.
Interface to send on (overrides -e). Mandatory if not using -e and multiple interfaces are present.
max-newtargets, newtargetsSee the documentation for the target library.
nmap --script=broadcast-ospf2-discover nmap --script=broadcast-ospf2-discover -e wlan0
Pre-scan script results: | broadcast-ospf2-discover: | Area ID: 0.0.0.0 | External Routes | 192.168.24.0/24 |_ Use the newtargets script-arg to add the results as targets
License: Same as Nmap--See https://nmap.org/book/man-legal.html