Skip to content

Commit

Permalink
Use correct case for SSL option
Browse files Browse the repository at this point in the history
  • Loading branch information
egypt committed Aug 6, 2019
1 parent 8f95ccc commit 3b7abfc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/msf/core/exploit/http/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -448,16 +448,18 @@ def reconfig_redirect_opts!(res, opts)

opts['ssl'] = ssl
else
disconnect

opts['redirect_uri'] = location
opts['uri'] = location.path
opts['rhost'] = location.host
opts['vhost'] = location.host
opts['rport'] = location.port

if location.scheme == 'https'
opts['ssl'] = true
opts['SSL'] = true
else
opts['ssl'] = false
opts['SSL'] = false
end
end
end
Expand Down

0 comments on commit 3b7abfc

Please sign in to comment.