Skip to content

Commit

Permalink
Fix two use cases of PROXYHOST/PROXYPORT
Browse files Browse the repository at this point in the history
  • Loading branch information
HD Moore committed Mar 18, 2015
1 parent 87a4899 commit 3aa8cb6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/msf/core/handler/reverse_hop_http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,8 @@ def send_new_stage
:expiration => datastore['SessionExpirationTimeout'],
:comm_timeout => datastore['SessionCommunicationTimeout'],
:ua => datastore['MeterpreterUserAgent'],
:proxyhost => datastore['PROXYHOST'],
:proxyport => datastore['PROXYPORT'],
:proxyhost => datastore['PROXY_HOST'],
:proxyport => datastore['PROXY_PORT'],
:proxy_type => datastore['PROXY_TYPE'],
:proxy_username => datastore['PROXY_USERNAME'],
:proxy_password => datastore['PROXY_PASSWORD']
Expand Down
4 changes: 2 additions & 2 deletions lib/msf/core/handler/reverse_http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,8 @@ def on_request(cli, req, obj)
:expiration => datastore['SessionExpirationTimeout'],
:comm_timeout => datastore['SessionCommunicationTimeout'],
:ua => datastore['MeterpreterUserAgent'],
:proxyhost => datastore['PROXYHOST'],
:proxyport => datastore['PROXYPORT'],
:proxyhost => datastore['PROXY_HOST'],
:proxyport => datastore['PROXY_PORT'],
:proxy_type => datastore['PROXY_TYPE'],
:proxy_username => datastore['PROXY_USERNAME'],
:proxy_password => datastore['PROXY_PASSWORD']
Expand Down

0 comments on commit 3aa8cb6

Please sign in to comment.