Skip to content

Commit 390a704

Browse files
author
HD Moore
committed
Cleanup proxyhost/proxyport arguments to match new names
1 parent f7a06d8 commit 390a704

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

lib/msf/core/handler/reverse_hop_http.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,8 @@ def send_new_stage
256256
:expiration => datastore['SessionExpirationTimeout'],
257257
:comm_timeout => datastore['SessionCommunicationTimeout'],
258258
:ua => datastore['MeterpreterUserAgent'],
259-
:proxyhost => datastore['PayloadProxyHost'],
260-
:proxyport => datastore['PayloadProxyPort'],
259+
:proxy_host => datastore['PayloadProxyHost'],
260+
:proxy_port => datastore['PayloadProxyPort'],
261261
:proxy_type => datastore['PayloadProxyType'],
262262
:proxy_username => datastore['PayloadProxyUser'],
263263
:proxy_password => datastore['PayloadProxyPass']

lib/msf/core/handler/reverse_http.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,8 @@ def on_request(cli, req, obj)
299299
:expiration => datastore['SessionExpirationTimeout'],
300300
:comm_timeout => datastore['SessionCommunicationTimeout'],
301301
:ua => datastore['MeterpreterUserAgent'],
302-
:proxyhost => datastore['PayloadProxyHost'],
303-
:proxyport => datastore['PayloadProxyPort'],
302+
:proxy_host => datastore['PayloadProxyHost'],
303+
:proxy_port => datastore['PayloadProxyPort'],
304304
:proxy_type => datastore['PayloadProxyType'],
305305
:proxy_username => datastore['PayloadProxyUser'],
306306
:proxy_password => datastore['PayloadProxyPass']

lib/rex/payloads/meterpreter/patch.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ def self.patch_passive_service! blob, options
118118
patch_comm_timeout! blob, options[:comm_timeout]
119119
patch_ua! blob, options[:ua]
120120
patch_proxy!(blob,
121-
options[:proxyhost],
122-
options[:proxyport],
121+
options[:proxy_host],
122+
options[:proxy_port],
123123
options[:proxy_type]
124124
)
125125
patch_proxy_auth!(blob,

0 commit comments

Comments
 (0)