Skip to content

Commit c47392f

Browse files
committed
normalize_uri and path fix
1 parent ff875d0 commit c47392f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/multi/http/movabletype_upgrade_exec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def exploit
9696
end
9797

9898
def http_send_raw(cmd, timeout=20)
99-
path = normalize_uri(target_uri.path + '/mt-upgrade.cgi')
99+
path = normalize_uri(target_uri.path) + '/mt-upgrade.cgi'
100100
send_request_cgi(
101101
{
102102
'uri' => path,

0 commit comments

Comments
 (0)