Skip to content

Commit 04eed49

Browse files
author
jvazquez-r7
committed
Add support for FileDropper
1 parent e4a570d commit 04eed49

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/exploits/unix/webapp/joomla_media_upload_exec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class Metasploit3 < Msf::Exploit::Remote
1111
Rank = ExcellentRanking
1212

1313
include Msf::Exploit::Remote::HttpClient
14+
include Msf::Exploit::FileDropper
1415

1516
def initialize(info={})
1617
super(update_info(info,
@@ -222,6 +223,7 @@ def exploit
222223
fail_with(Exploit::Failure::Unknown, "#{peer} - Upload failed")
223224
end
224225

226+
register_files_for_cleanup("#{@upload_name}.")
225227
print_status("#{peer} - Executing shell...")
226228
send_request_cgi({
227229
'method' => 'GET',

0 commit comments

Comments
 (0)