Skip to content

Commit 82e6183

Browse files
committed
Add Msf::Exploit::FileDropper mixin
1 parent 93dc90d commit 82e6183

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/exploits/unix/webapp/wp_symposium_shell_upload.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
class Metasploit3 < Msf::Exploit::Remote
99
Rank = ExcellentRanking
1010

11+
include Msf::Exploit::FileDropper
1112
include Msf::HTTP::Wordpress
1213

1314
def initialize(info = {})
@@ -76,6 +77,8 @@ def exploit
7677

7778
if res && res.code == 200 && res.body.length > 0 && !res.body.include?('error') && res.body != '0'
7879
print_good("#{peer} - Uploaded the payload")
80+
register_files_for_cleanup(payload_name)
81+
7982
print_status("#{peer} - Executing the payload...")
8083
send_request_cgi(
8184
{

0 commit comments

Comments
 (0)