normalize_uri and path fix

bug/bundler_fix
Kacper Nowak 2013-01-23 16:57:30 +00:00
parent ff875d04e0
commit c47392f5d1
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ class Metasploit4 < Msf::Exploit::Remote
end
def http_send_raw(cmd, timeout=20)
path = normalize_uri(target_uri.path + '/mt-upgrade.cgi')
path = normalize_uri(target_uri.path) + '/mt-upgrade.cgi'
send_request_cgi(
{
'uri' => path,