Skip to content

Commit

Permalink
Merge pull request #19700 from jheysel-r7/fix_send_request_cgi_bang
Browse files Browse the repository at this point in the history
Fix query param in reconfig_redirect_opts!
  • Loading branch information
adfoster-r7 authored Dec 11, 2024
2 parents c3cf56f + c7b96f8 commit 31930f4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/msf/core/exploit/remote/http_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,11 @@ def reconfig_redirect_opts!(res, opts)
end

# Don't forget any GET parameters
opts['query'] ||= location.query if location.query
if location.query
opts['query'] = location.query
else
opts['query'] = ''
end
end

#
Expand Down

0 comments on commit 31930f4

Please sign in to comment.