remove plugin dir

MS-2855/keylogger-mettle-extension
Christian Mehlmauer 2018-01-15 14:48:59 +01:00
parent eb8429cbd3
commit 2f9eebe28b
No known key found for this signature in database
GPG Key ID: DCF54A05D6E62591
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