如何在JVM中运行我自己的java代码,我正在使用JDWP进行远程调试? [英] How can I run my own java code in the JVM that I am debugging remotely with JDWP?
本文介绍了如何在JVM中运行我自己的java代码,我正在使用JDWP进行远程调试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
我找到了我的问题:Michael'mihi'的 JavaPayload Schierl允许您通过JDWP加载Java有效载荷等。
As a penetration tester, I have come across an open JDWP port. I can connect to it with Eclipse and browse the threads and memory, but I don't have the source code for the application. I'd like to inject my own Java code, perhaps as an Exception handler, in order to return a shell. How can I modify the running/suspended Java application over JDWP, preferably using Eclipse as my debugger?
解决方案
I found the answer to my question: JavaPayload by Michael 'mihi' Schierl lets you load Java payloads through JDWP, among others.
这篇关于如何在JVM中运行我自己的java代码,我正在使用JDWP进行远程调试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文