Nmap jdwp-version NSE Script
This page contains detailed information about how to use the jdwp-version NSE script. For list of all NSE scripts, visit the Nmap NSE Library.
Script Overview
Script source code: https://github.com/nmap/nmap/tree/master/scripts/jdwp-version.nse
Script categories: version
Target service / protocol: tcp
Target network port(s): any
List of CVEs: -
Script Description
The jdwp-version.nse script detects the Java Debug Wire Protocol. This protocol is used by Java programs to be debugged via the network. It should not be open to the public Internet, as it does not provide any security against malicious attackers who can inject their own bytecode into the debugged process.
Documentation for JDWP is available at
Jdwp-version NSE Script Arguments
The jdwp-version.nse script does not have any arguments.
Jdwp-version NSE Script Example Usage
Here's an example of how to use the jdwp-version.nse script:
nmap --script=jdwp-version <target>
Jdwp-version NSE Script Example Output
Here's a sample output from the jdwp-version.nse script:
PORT STATE SERVICE VERSION
9999/tcp open jdwp Java Debug Wire Protocol (Reference Implementation) version 1.6 1.6.0_17
Jdwp-version 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
- Michael Schierl [email protected]>
References
- https://nmap.org/nsedoc/scripts/jdwp-version.html
- https://github.com/nmap/nmap/tree/master/scripts/jdwp-version.nse
- http://java.sun.com/javase/6/docs/technotes/guides/jpda/jdwp-spec.html
See Also
Related NSE scripts to the jdwp-version.nse script:
Visit Nmap NSE Library for more scripts.
Version
This page has been created based on Nmap version 7.92.