Skip to content

Commit 307dcd0

Browse files
committed
Update payload cache sizes again
1 parent 87bc198 commit 307dcd0

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

lib/msf/core/payload/windows/reverse_winhttp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def initialize(*args)
3131
def generate(opts={})
3232
conf = {
3333
ssl: opts[:ssl] || false,
34-
host: datastore['LHOST'],
34+
host: datastore['LHOST'] || '127.127.127.127',
3535
port: datastore['LPORT'],
3636
uri: generate_small_uri,
3737
retry_count: datastore['StagerRetryCount'],

lib/msf/core/payload/windows/x64/reverse_winhttp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def initialize(*args)
3232
def generate(opts={})
3333
conf = {
3434
ssl: opts[:ssl] || false,
35-
host: datastore['LHOST'],
35+
host: datastore['LHOST'] || '127.127.127.127',
3636
port: datastore['LPORT'],
3737
uri: generate_small_uri,
3838
retry_count: datastore['StagerRetryCount'],

modules/payloads/stagers/windows/reverse_winhttp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
module Metasploit4
1111

12-
CachedSize = 327
12+
CachedSize = 357
1313

1414
include Msf::Payload::Stager
1515
include Msf::Payload::Windows

modules/payloads/stagers/windows/reverse_winhttps.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
module Metasploit4
1111

12-
CachedSize = 347
12+
CachedSize = 377
1313

1414
include Msf::Payload::Stager
1515
include Msf::Payload::Windows

modules/payloads/stagers/windows/x64/reverse_winhttp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
module Metasploit4
1111

12-
CachedSize = 510
12+
CachedSize = 540
1313

1414
include Msf::Payload::Stager
1515
include Msf::Payload::Windows

modules/payloads/stagers/windows/x64/reverse_winhttps.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
module Metasploit4
1111

12-
CachedSize = 541
12+
CachedSize = 571
1313

1414
include Msf::Payload::Stager
1515
include Msf::Payload::Windows

0 commit comments

Comments
 (0)