Skip to content

Commit 195c1e0

Browse files
acammack-r7timwr
authored andcommitted
Update payload specs and sizes
Adds the new Aarch64 and R payloads fix merge
1 parent ffbf21c commit 195c1e0

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

modules/payloads/stagers/linux/aarch64/reverse_tcp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
###
1818
module MetasploitModule
1919

20-
CachedSize = 192
20+
CachedSize = 212
2121

2222
include Msf::Payload::Stager
2323

spec/modules/payloads_spec.rb

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4442,6 +4442,17 @@
44424442
reference_name: 'linux/zarch/meterpreter_reverse_https'
44434443
end
44444444

4445+
context 'linux/aarch64/meterpreter/reverse_tcp' do
4446+
it_should_behave_like 'payload cached size is consistent',
4447+
ancestor_reference_names: [
4448+
'stagers/linux/aarch64/reverse_tcp',
4449+
'stages/linux/aarch64/meterpreter'
4450+
],
4451+
dynamic_size: false,
4452+
modules_pathname: modules_pathname,
4453+
reference_name: 'linux/aarch64/meterpreter/reverse_tcp'
4454+
end
4455+
44454456
context 'linux/aarch64/meterpreter_reverse_tcp' do
44464457
it_should_behave_like 'payload cached size is consistent',
44474458
ancestor_reference_names: [

0 commit comments

Comments
 (0)