Skip to content

Commit c66540e

Browse files
Update modules/exploits/linux/http/ray_agent_job_rce.rb
use MeterpreterTryToFork to avoid a meterpreter session get killed Co-authored-by: Diego Ledda <[email protected]>
1 parent 91167fc commit c66540e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/exploits/linux/http/ray_agent_job_rce.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ def initialize(info = {})
4545
'Arch' => [ ARCH_CMD ], 'Platform' => [ 'unix', 'linux' ], 'Type' => :nix_cmd,
4646
'DefaultOptions' => {
4747
'PAYLOAD' => 'cmd/linux/http/x64/meterpreter_reverse_tcp',
48-
'FETCH_COMMAND' => 'WGET'
48+
'FETCH_COMMAND' => 'WGET',
49+
'MeterpreterTryToFork' => true
4950
}
5051
}
5152
]

0 commit comments

Comments
 (0)