Nmap broadcast-tellstick-discover NSE Script


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

Script Description


The broadcast-tellstick-discover.nse script discovers Telldus Technologies TellStickNet devices on the LAN. The Telldus TellStick is used to wirelessly control electric devices such as lights, dimmers and electric outlets. For more information: http://www.telldus.com/

Broadcast-tellstick-discover NSE Script Arguments


The broadcast-tellstick-discover.nse script does not have any arguments.

Broadcast-tellstick-discover NSE Script Example Usage


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

nmap --script broadcast-tellstick-discover

Broadcast-tellstick-discover NSE Script Example Output


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

| broadcast-tellstick-discover:
|   192.168.0.100
|     Product: TellStickNet
|     MAC: ACCA12345678
|     Activation code: 8QABCDEFGH
|_    Version: 3

Broadcast-tellstick-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-tellstick-discover.nse script:

Visit Nmap NSE Library for more scripts.

The broadcast-tellstick-discover.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.

Failed to send discovery request to server


Here is a relevant code snippet related to the "Failed to send discovery request to server" error message:

31:	  local socket = nmap.new_socket("udp")
32:	  local host, port = { ip = "255.255.255.255" }, { number = 30303, protocol = "udp" }
33:	
34:	  socket:set_timeout(5000)
35:	  if ( not(socket:sendto(host, port, "D")) ) then
36:	    return stdnse.format_output(false, "Failed to send discovery request to server")
37:	  end
38:	
39:	  local output = {}
40:	
41:	  while( true ) do

Failed to get socket information


Here is a relevant code snippet related to the "Failed to get socket information" error message:

44:	      break
45:	    end
46:	
47:	    local status, _, _, ip = socket:get_info()
48:	    if ( not(status) ) then
49:	      stdnse.debug2("Failed to get socket information")
50:	      break
51:	    end
52:	
53:	    local prod, mac, activation, version = response:match("^([^:]*):([^:]*):([^:]*):([^:]*)$")
54:	    if ( prod and mac and activation and version ) then

Version


This page has been created based on Nmap version 7.92.

Go back to menu.