Skip to content

Commit df15892

Browse files
author
HD Moore
committed
Convert stageless proxy settings to the new format
1 parent c666d04 commit df15892

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

modules/payloads/singles/windows/meterpreter_reverse_https.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,11 @@ def generate
6666
:expiration => datastore['SessionExpirationTimeout'].to_i,
6767
:comm_timeout => datastore['SessionCommunicationTimeout'].to_i,
6868
:ua => datastore['MeterpreterUserAgent'],
69-
:proxyhost => datastore['PROXYHOST'],
70-
:proxyport => datastore['PROXYPORT'],
71-
:proxy_type => datastore['PROXY_TYPE'],
72-
:proxy_username => datastore['PROXY_USERNAME'],
73-
:proxy_password => datastore['PROXY_PASSWORD'])
69+
:proxy_host => datastore['PayloadProxyHost'],
70+
:proxy_port => datastore['PayloadProxyPort'],
71+
:proxy_type => datastore['PayloadProxyType'],
72+
:proxy_user => datastore['PayloadProxyUser'],
73+
:proxy_pass => datastore['PayloadProxyPass'])
7474
end
7575

7676
end

0 commit comments

Comments
 (0)