Skip to content

Commit 7f7f257

Browse files
committed
fix session.shell_upgrade after rapid7#3401
1 parent c488e40 commit 7f7f257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/rpc/v10/rpc_session.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def rpc_shell_upgrade( sid, lhost, lport)
7373
s = _valid_session(sid,"shell")
7474
s.exploit_datastore['LHOST'] = lhost
7575
s.exploit_datastore['LPORT'] = lport
76-
s.execute_script('spawn_meterpreter', nil)
76+
s.execute_script('post/multi/manage/shell_to_meterpreter')
7777
{ "result" => "success" }
7878
end
7979

0 commit comments

Comments
 (0)