Skip to content

Commit 0733790

Browse files
author
Brent Cook
committed
Land rapid7#8435, update payload sizes
2 parents 0f4ad49 + 4a43e9b commit 0733790

File tree

5 files changed

+14
-4
lines changed

5 files changed

+14
-4
lines changed

modules/payloads/singles/python/meterpreter_bind_tcp.rb

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

1212
module MetasploitModule
1313

14-
CachedSize = 53382
14+
CachedSize = 53654
1515

1616
include Msf::Payload::Single
1717
include Msf::Payload::Python

modules/payloads/singles/python/meterpreter_reverse_http.rb

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

1212
module MetasploitModule
1313

14-
CachedSize = 53346
14+
CachedSize = 53614
1515

1616
include Msf::Payload::Single
1717
include Msf::Payload::Python

modules/payloads/singles/python/meterpreter_reverse_https.rb

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

1212
module MetasploitModule
1313

14-
CachedSize = 53346
14+
CachedSize = 53618
1515

1616
include Msf::Payload::Single
1717
include Msf::Payload::Python

modules/payloads/singles/python/meterpreter_reverse_tcp.rb

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

1212
module MetasploitModule
1313

14-
CachedSize = 53302
14+
CachedSize = 53570
1515

1616
include Msf::Payload::Single
1717
include Msf::Payload::Python

spec/modules/payloads_spec.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,16 @@
648648
reference_name: 'cmd/unix/reverse_lua'
649649
end
650650

651+
context 'cmd/unix/reverse_ncat_ssl' do
652+
it_should_behave_like 'payload cached size is consistent',
653+
ancestor_reference_names: [
654+
'singles/cmd/unix/reverse_ncat_ssl'
655+
],
656+
dynamic_size: false,
657+
modules_pathname: modules_pathname,
658+
reference_name: 'cmd/unix/reverse_ncat_ssl'
659+
end
660+
651661
context 'cmd/unix/reverse_netcat' do
652662
it_should_behave_like 'payload cached size is consistent',
653663
ancestor_reference_names: [

0 commit comments

Comments
 (0)