Nmap broadcast-hid-discoveryd NSE Script
This page contains detailed information about how to use the broadcast-hid-discoveryd NSE script. For list of all NSE scripts, visit the Nmap NSE Library.
Select: |
---|
Script Overview
Script source code: https://github.com/nmap/nmap/tree/master/scripts/broadcast-hid-discoveryd.nse
Script categories: discovery, broadcast, safe
Target service / protocol: -
Target network port(s): -
List of CVEs: -
Script Description
The broadcast-hid-discoveryd.nse script discovers HID devices on a LAN by sending a discoveryd network broadcast probe.
For more information about HID discoveryd, see:
- http://nosedookie.blogspot.com/2011/07/identifying-and-querying-hid-vertx.html
- https://github.com/coldfusion39/VertXploit
Broadcast-hid-discoveryd NSE Script Arguments
This is a full list of arguments supported by the broadcast-hid-discoveryd.nse script:
broadcast-hid-discoveryd.addressAddress to which the probe packet is sent. (default: 255.255.255.255)
broadcast-hid-discoveryd.timeoutSocket timeout (default: 5s)
max-newtargetsSets the number of the maximum allowed new targets. If set to 0 or less then there is no limit. The default value is 0.
newtargetsIf 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-hid-discoveryd --script-args broadcast-hid-discoveryd.address=value,broadcast-hid-discoveryd.timeout=value <target>
Broadcast-hid-discoveryd NSE Script Example Usage
Here's an example of how to use the broadcast-hid-discoveryd.nse script:
nmap --script broadcast-hid-discoveryd
nmap --script broadcast-hid-discoveryd --script-args timeout=15s
Broadcast-hid-discoveryd NSE Script Example Output
Here's a sample output from the broadcast-hid-discoveryd.nse script:
Pre-scan script results:
| broadcast-hid-discoveryd:
| MAC: 00:06:8E:00:00:00; Name: NoEntry; IP Address: 10.123.123.1; Model: EH400; Version: 2.3.1.603 (04/23/2012)
| MAC: 00:06:8E:FF:FF:FF; Name: NoExit; IP Address: 10.123.123.123; Model: EH400; Version: 2.3.1.603 (04/23/2012)
|_ Use --script-args=newtargets to add the results as targets
Broadcast-hid-discoveryd 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
- Brendan Coles
References
- https://nmap.org/nsedoc/scripts/broadcast-hid-discoveryd.html
- https://github.com/nmap/nmap/tree/master/scripts/broadcast-hid-discoveryd.nse
- http://nosedookie.blogspot.com/2011/07/identifying-and-querying-hid-vertx.html
- https://github.com/coldfusion39/VertXploit
See Also
Related NSE scripts to the broadcast-hid-discoveryd.nse script:
- broadcast-ataoe-discover.nse
- broadcast-avahi-dos.nse
- broadcast-bjnp-discover.nse
- broadcast-db2-discover.nse
- broadcast-dhcp6-discover.nse
- broadcast-dhcp-discover.nse
- broadcast-dns-service-discovery.nse
- broadcast-dropbox-listener.nse
- broadcast-eigrp-discovery.nse
- broadcast-igmp-discovery.nse
- broadcast-jenkins-discover.nse
- broadcast-listener.nse
- broadcast-ms-sql-discover.nse
- broadcast-netbios-master-browser.nse
- broadcast-networker-discover.nse
- broadcast-novell-locate.nse
- broadcast-ospf2-discover.nse
- broadcast-pc-anywhere.nse
- broadcast-pc-duo.nse
- broadcast-pim-discovery.nse
- broadcast-ping.nse
- broadcast-pppoe-discover.nse
- broadcast-rip-discover.nse
- broadcast-ripng-discover.nse
- broadcast-sonicwall-discover.nse
- broadcast-sybase-asa-discover.nse
- broadcast-tellstick-discover.nse
- broadcast-upnp-info.nse
- broadcast-versant-locate.nse
- broadcast-wake-on-lan.nse
- broadcast-wpad-discover.nse
- broadcast-wsdd-discover.nse
- broadcast-xdmcp-discover.nse
Visit Nmap NSE Library for more scripts.
The broadcast-hid-discoveryd.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 broadcast probe
Here is a relevant code snippet related to the "Failed to send broadcast probe" error message:
50:
51: -- send two packets, just in case
52: for i=1,2 do
53: local status = socket:sendto(host, port, "discover;013;")
54: if ( not(status) ) then
55: return stdnse.format_output(false, "Failed to send broadcast probe")
56: end
57: end
58:
59: local timeout = tonumber(arg_timeout) or ( 20 / ( nmap.timing_level() + 1 ) )
60: local results = {}
Version
This page has been created based on Nmap version 7.92.
Go back to menu.