1
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:
Tim Wright 2014-10-22 21:22:10 +01:00
parent c488e40959
commit 7f7f257426
No known key found for this signature in database
GPG Key ID: 217FBA50ABBAABEF

View File

@ -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