Skip to content

Commit 7895cbc

Browse files
committed
Land rapid7#9157, Add missing ppce500v2 tests
2 parents aafc09e + 553452c commit 7895cbc

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

spec/modules/payloads_spec.rb

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4384,6 +4384,36 @@
43844384
reference_name: 'linux/ppc/meterpreter_reverse_https'
43854385
end
43864386

4387+
context 'linux/ppce500v2/meterpreter_reverse_http' do
4388+
it_should_behave_like 'payload cached size is consistent',
4389+
ancestor_reference_names: [
4390+
'singles/linux/ppce500v2/meterpreter_reverse_http'
4391+
],
4392+
dynamic_size: false,
4393+
modules_pathname: modules_pathname,
4394+
reference_name: 'linux/ppce500v2/meterpreter_reverse_http'
4395+
end
4396+
4397+
context 'linux/ppce500v2/meterpreter_reverse_https' do
4398+
it_should_behave_like 'payload cached size is consistent',
4399+
ancestor_reference_names: [
4400+
'singles/linux/ppce500v2/meterpreter_reverse_https'
4401+
],
4402+
dynamic_size: false,
4403+
modules_pathname: modules_pathname,
4404+
reference_name: 'linux/ppce500v2/meterpreter_reverse_https'
4405+
end
4406+
4407+
context 'linux/ppce500v2/meterpreter_reverse_tcp' do
4408+
it_should_behave_like 'payload cached size is consistent',
4409+
ancestor_reference_names: [
4410+
'singles/linux/ppce500v2/meterpreter_reverse_tcp'
4411+
],
4412+
dynamic_size: false,
4413+
modules_pathname: modules_pathname,
4414+
reference_name: 'linux/ppce500v2/meterpreter_reverse_tcp'
4415+
end
4416+
43874417
context 'linux/ppc64le/meterpreter_reverse_http' do
43884418
it_should_behave_like 'payload cached size is consistent',
43894419
ancestor_reference_names: [

0 commit comments

Comments
 (0)