Register files on same line

GSoC/Meterpreter_Web_Console
Jacob Robles 2018-07-31 10:03:59 -05:00
parent 569ddd9d59
commit 6c11d5800f
No known key found for this signature in database
GPG Key ID: 3EC9F18F2B12401C
1 changed files with 1 additions and 2 deletions

View File

@ -164,8 +164,7 @@ class MetasploitModule < Msf::Exploit::Remote
end
vprint_good("#{peer} - File renamed #{filename}.php")
register_files_for_cleanup("#{filename}.txt")
register_files_for_cleanup("#{filename}.php")
register_files_for_cleanup("#{filename}.txt", "#{filename}.php")
res = send_request_cgi({
'uri' => normalize_uri(target_uri.path, 'uploads', "#{filename}.php"),