Nmap openwebnet-discovery NSE Script


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

Select:
Overview
Error Messages

Script Overview


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

Script Description


OpenWebNet is a communications protocol developed by Bticino since 2000. Retrieves device identifying information and number of connected devices.

References:

Openwebnet-discovery NSE Script Arguments


The openwebnet-discovery.nse script does not have any arguments.

Openwebnet-discovery NSE Script Example Usage


Here's an example of how to use the openwebnet-discovery.nse script:

nmap --script openwebnet-discovery

Openwebnet-discovery NSE Script Example Output


Here's a sample output from the openwebnet-discovery.nse script:

| openwebnet-discover:
|   IP Address: 192.168.200.35
|   Net Mask: 255.255.255.0
|   MAC Address: 00:03:50:01:d3:11
|   Device Type: F453AV
|   Firmware Version: 3.0.14
|   Uptime: 12d9h42m1s
|   Date and Time: 4-07-2017T19:17:27
|   Kernel Version: 2.3.8
|   Distribution Version: 3.0.1
|   Lighting: 115
|   Automation: 15
|_  Burglar Alarm: 12

Openwebnet-discovery NSE Script Example XML Output


Here's a sample XML output from the openwebnet-discovery.nse script produced by providing the -oX <file> Nmap option:

  <elem key="IP Address">192.168.200.35</elem>
  <elem key="Net Mask">255.255.255.0</elem>
  <elem key="MAC Address">00:03:50:01:d3:11</elem>
  <elem key="Device Type">F453AV</elem>
  <elem key="Firmware Version">3.0.14</elem>
  <elem key="Uptime">12d9h42m1s</elem>
  <elem key="Date and Time">4-07-2017T19:17:27</elem>
  <elem key="Kernel Version">2.3.8</elem>
  <elem key="Distribution Version">3.0.1</elem>
  <elem key="Lighting">115</elem>
  <elem key="Automation">15</elem>
  <elem key="Burglar Alarm">12</elem>

Author


  • Rewanth Cool

References


See Also


Visit Nmap NSE Library for more scripts.

The openwebnet-discovery.nse script may fail with the following error messages. Check for the possible causes by using the code snippets highlighted below found in the script source code. This can often times help in identifying the root cause of the problem.

Socket connection error.


Here is a relevant code snippet related to the "Socket connection error." error message:

123:	local function get_socket(host, port, request)
124:	
125:	  local sd, response, early_resp = comm.opencon(host, port, request, {recv_before=true, request_timeout=10000})
126:	
127:	  if sd == nil then
128:	    stdnse.debug("Socket connection error.")
129:	    return nil, response
130:	  end
131:	
132:	  if not response then
133:	    stdnse.debug("Poor internet connection or no response.")

Version


This page has been created based on Nmap version 7.92.

Go back to menu.