Nmap broadcast-dropbox-listener NSE Script
This page contains detailed information about how to use the broadcast-dropbox-listener 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-dropbox-listener.nse
Script categories: broadcast, safe
Target service / protocol: -
Target network port(s): -
List of CVEs: -
Script Description
The broadcast-dropbox-listener.nse script listens for the LAN sync information broadcasts that the Dropbox.com client broadcasts every 20 seconds, then prints all the discovered client IP addresses, port numbers, version numbers, display names, and more.
If the newtargets
script argument is given, all discovered Dropbox
clients will be added to the Nmap target list rather than just listed in the
output.
Broadcast-dropbox-listener NSE Script Arguments
This is a full list of arguments supported by the broadcast-dropbox-listener.nse script:
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-dropbox-listener --script-args max-newtargets=value,newtargets=value <target>
Broadcast-dropbox-listener NSE Script Example Usage
Here's an example of how to use the broadcast-dropbox-listener.nse script:
nmap --script=broadcast-dropbox-listener
nmap --script=broadcast-dropbox-listener --script-args=newtargets -Pn
Broadcast-dropbox-listener NSE Script Example Output
Here's a sample output from the broadcast-dropbox-listener.nse script:
Pre-scan script results:
| broadcast-dropbox-listener:
| displayname ip port version host_int namespaces
|_noob 192.168.0.110 17500 1.8 34176083 26135075
Pre-scan script results:
| broadcast-dropbox-listener:
| displayname ip port version host_int namespaces
|_noob 192.168.0.110 17500 1.8 34176083 26135075
Nmap scan report for 192.168.0.110
Host is up (0.00073s latency).
Not shown: 997 filtered ports
PORT STATE SERVICE
139/tcp open netbios-ssn
445/tcp open microsoft-ds
1047/tcp open neod1
Broadcast-dropbox-listener 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.
Authors
- Ron Bowes
- Mak Kolybabi
- Andrew Orr
- Russ Tait Milne
References
- https://nmap.org/nsedoc/scripts/broadcast-dropbox-listener.html
- https://github.com/nmap/nmap/tree/master/scripts/broadcast-dropbox-listener.nse
See Also
Related NSE scripts to the broadcast-dropbox-listener.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-eigrp-discovery.nse
- broadcast-hid-discoveryd.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-dropbox-listener.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.
Could not bind on port %d: %s
Here is a relevant code snippet related to the "Could not bind on port %d: %s" error message:
53: -- Start listening for broadcasts.
54: local sock = nmap.new_socket("udp")
55: sock:set_timeout(2 * DROPBOX_BROADCAST_PERIOD * 1000)
56: local status, result = sock:bind(nil, DROPBOX_PORT)
57: if not status then
58: stdnse.debug1("Could not bind on port %d: %s", DROPBOX_PORT, result)
59: sock:close()
60: return
61: end
62:
63: -- Keep track of the IDs we've already seen.
Failed to get socket info.
Here is a relevant code snippet related to the "Failed to get socket info." error message:
81: local status, info = json.parse(result)
82: if status then
83: -- Get IP address of broadcasting host.
84: local status, _, _, ip, _ = sock:get_info()
85: if not status then
86: stdnse.debug1("Failed to get socket info.")
87: break
88: end
89: stdnse.debug1("Received broadcast from host %s (%s).", info.displayname, ip)
90:
91: -- Check if we've already seen this ID.
Version
This page has been created based on Nmap version 7.92.
Go back to menu.