mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-10-29 18:07:27 +01:00
fix session.shell_upgrade after #3401
This commit is contained in:
parent
c488e40959
commit
7f7f257426
@ -73,7 +73,7 @@ class RPC_Session < RPC_Base
|
||||
s = _valid_session(sid,"shell")
|
||||
s.exploit_datastore['LHOST'] = lhost
|
||||
s.exploit_datastore['LPORT'] = lport
|
||||
s.execute_script('spawn_meterpreter', nil)
|
||||
s.execute_script('post/multi/manage/shell_to_meterpreter')
|
||||
{ "result" => "success" }
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user