Nmap broadcast-sonicwall-discover NSE Script


This page contains detailed information about how to use the broadcast-sonicwall-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-sonicwall-discover.nse
Script categories: broadcast, safe
Target service / protocol: -
Target network port(s): -
List of CVEs: -

Script Description


The broadcast-sonicwall-discover.nse script discovers Sonicwall firewalls which are directly attached (not routed) using the same method as the manufacturers own 'SetupTool'. An interface needs to be configured, as the script broadcasts a UDP packet.

The script needs to be run as a privileged user, typically root.

References:

Broadcast-sonicwall-discover NSE Script Arguments


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

broadcast-sonicwall-discover.timeout

Time in seconds to wait for a response (default: 1s)

max-newtargets

Sets the number of the maximum allowed new targets. If set to 0 or less then there is no limit. The default value is 0.

newtargets

If specified, lets NSE scripts add new targets.

- - -
To use these script arguments, add them to the Nmap command line using the --script-args arg1=value,[arg2=value,..] syntax. For example:

nmap --script=broadcast-sonicwall-discover --script-args broadcast-sonicwall-discover.timeout=value,max-newtargets=value <target>

Broadcast-sonicwall-discover NSE Script Example Usage


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

nmap -e eth0 --script broadcast-sonicwall-discover

Broadcast-sonicwall-discover NSE Script Example Output


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

| broadcast-sonicwall-discover:
|   192.168.5.1
|     MAC/Serial: 0006B1001122
|     Subnetmask: 255.255.255.0
|     Firmware: 3.9.1.2
|_    ROM: 14.0.1.1

Broadcast-sonicwall-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


  • Raphael Hoegger

References


See Also


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

Visit Nmap NSE Library for more scripts.

Version


This page has been created based on Nmap version 7.92.