Skip to content

Commit e479a63

Browse files
author
HD Moore
committed
Update session.shell_upgrade to match rapid7#3401, lands rapid7#4058
2 parents c488e40 + 7f7f257 commit e479a63

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)