Nmap broadcast-rip-discover NSE Script


This page contains detailed information about how to use the broadcast-rip-discover NSE script. For list of all NSE scripts, visit the Nmap NSE Library.

Script Overview


Script source code: https://github.com/nmap/nmap/tree/master/scripts/broadcast-rip-discover.nse
Script categories: broadcast, safe
Target service / protocol: -
Target network port(s): -
List of CVEs: -

Script Description


The broadcast-rip-discover.nse script discovers hosts and routing information from devices running RIPv2 on the LAN. It does so by sending a RIPv2 Request command and collects the responses from all devices responding to the request.

Broadcast-rip-discover NSE Script Arguments


This is a full list of arguments supported by the broadcast-rip-discover.nse script:

broadcast-rip-discover.timeout

Timespec defining how long to wait for a response. (default 5s)

- - -
To use this script argument, add it to Nmap command line like in this example:

nmap --script=broadcast-rip-discover --script-args broadcast-rip-discover.timeout=value <target>

Broadcast-rip-discover NSE Script Example Usage


Here's an example of how to use the broadcast-rip-discover.nse script:

nmap --script broadcast-rip-discover

Broadcast-rip-discover NSE Script Example Output


Here's a sample output from the broadcast-rip-discover.nse script:

Pre-scan script results:
| broadcast-rip-discover:
| Discovered RIPv2 devices
|   10.0.200.107
|     ip           netmask        nexthop       metric
|     10.46.100.0  255.255.255.0  0.0.0.0       1
|     10.46.110.0  255.255.255.0  0.0.0.0       1
|     10.46.120.0  255.255.255.0  0.0.0.0       1
|     10.46.123.0  255.255.255.0  10.0.200.123  1
|     10.46.124.0  255.255.255.0  10.0.200.124  1
|     10.46.125.0  255.255.255.0  10.0.200.125  1
|   10.0.200.101
|     ip       netmask  nexthop     metric
|_    0.0.0.0  0.0.0.0  10.0.200.1  1

Broadcast-rip-discover NSE Script Example XML Output


There is no sample XML output for this module. However, by providing the -oX <file> option, Nmap will produce a XML output and save it in the file.xml file.

Author


  • Patrik Karlsson

References


See Also


Related NSE scripts to the broadcast-rip-discover.nse script:

Visit Nmap NSE Library for more scripts.

Version


This page has been created based on Nmap version 7.92.