Nmap vuze-dht-info NSE Script
This page contains detailed information about how to use the vuze-dht-info 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/vuze-dht-info.nse
Script categories: discovery, safe
Target service / protocol: vuze-dht, udp
Target network port(s): 17555, 49160, 49161, 49162
List of CVEs: -
Script Description
The vuze-dht-info.nse script retrieves some basic information, including protocol version from a Vuze filesharing node.
As Vuze doesn't have a default port for its DHT service, this script has some difficulties in determining when to run. Most scripts are triggered by either a default port or a fingerprinted service. To get around this, there are two options:
- Always run a version scan, to identify the vuze-dht service in order to trigger the script.
- Force the script to run against each port by setting the argument vuze-dht-info.allports
Vuze-dht-info NSE Script Arguments
This is a full list of arguments supported by the vuze-dht-info.nse script:
vuze-dht-info.allportsIf set runs this script against every open port
- - -
To use this script argument, add it to Nmap command line like in this example:
nmap --script=vuze-dht-info --script-args vuze-dht-info.allports=value <target>
Vuze-dht-info NSE Script Example Usage
Here's an example of how to use the vuze-dht-info.nse script:
nmap -sU -p <port> <ip> --script vuze-dht-info -sV
Vuze-dht-info NSE Script Example Output
Here's a sample output from the vuze-dht-info.nse script:
PORT STATE SERVICE VERSION
17555/udp open vuze-dht Vuze
| vuze-dht-info:
| Transaction id: 9438865
| Connection id: 0xFF79A77B4592BDB0
| Protocol version: 50
| Vendor id: Azureus (0)
| Network id: Stable (0)
|_ Instance id: 2260473691
Vuze-dht-info 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
- https://nmap.org/nsedoc/scripts/vuze-dht-info.html
- https://github.com/nmap/nmap/tree/master/scripts/vuze-dht-info.nse
See Also
Visit Nmap NSE Library for more scripts.
The vuze-dht-info.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 connect to server
Here is a relevant code snippet related to the "Failed to connect to server" error message:
53:
54: local helper = vuzedht.Helper:new(host, port, lhost)
55: local status = helper:connect()
56:
57: if ( not(status) ) then
58: return false, "Failed to connect to server"
59: end
60:
61: local response
62: status, response = helper:ping()
63: if ( not(status) ) then
Failed to ping vuze node
Here is a relevant code snippet related to the "Failed to ping vuze node" error message:
59: end
60:
61: local response
62: status, response = helper:ping()
63: if ( not(status) ) then
64: return false, "Failed to ping vuze node"
65: end
66: helper:close()
67:
68: return true, response
69: end
Version
This page has been created based on Nmap version 7.92.
Go back to menu.