Home page logo
/
Zenmap screenshot
Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News
Example Nmap output

File broadcast-ospf2-discover

Script types: prerule
Categories: broadcast, discovery, safe
Download: https://svn.nmap.org/nmap/scripts/broadcast-ospf2-discover.nse

User Summary

Discover IPv4 networks using Open Shortest Path First version 2(OSPFv2) protocol.

The script works by listening for OSPF Hello packets from the 224.0.0.5 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.

Script Arguments

broadcast-ospf2-discover.md5_key

MD5 digest key to use if message digest authentication is disclosed.

broadcast-ospf2-discover.router_id

Router ID to use. Defaults to 0.0.0.1

broadcast-ospf2-discover.timeout

Time in seconds that the script waits for hello from other routers. Defaults to 10 seconds, matching OSPFv2 default value for hello interval.

broadcast-ospf2-discover.interface

Interface to send on (overrides -e). Mandatory if not using -e and multiple interfaces are present.

max-newtargets, newtargets

See the documentation for the target library.

Example Usage

nmap --script=broadcast-ospf2-discover
nmap --script=broadcast-ospf2-discover -e wlan0

Script Output

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

Requires


Author:

  • Emiliano Ticci

License: Same as Nmap--See http://nmap.org/book/man-legal.html

Nmap Site Navigation

Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]