add some missing payload specs

Jeffrey Martin 2017-09-18 15:45:00 -05:00
parent 9b5350ff9c
commit 2c040d932c
No known key found for this signature in database
GPG Key ID: 0CD9BBC2AF15F171
1 changed files with 22 additions and 0 deletions

View File

@ -2929,6 +2929,17 @@ RSpec.describe 'modules/payloads', :content do
reference_name: 'windows/meterpreter/reverse_ipv6_tcp'
end
context 'windows/meterpreter/reverse_named_pipe' do
it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [
'stagers/windows/reverse_named_pipe',
'stages/windows/meterpreter'
],
dynamic_size: false,
modules_pathname: modules_pathname,
reference_name: 'windows/meterpreter/reverse_named_pipe'
end
context 'windows/meterpreter/reverse_nonx_tcp' do
it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [
@ -3888,6 +3899,17 @@ RSpec.describe 'modules/payloads', :content do
reference_name: 'windows/x64/meterpreter/reverse_https'
end
context 'windows/x64/meterpreter/reverse_named_pipe' do
it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [
'stagers/windows/x64/reverse_named_pipe',
'stages/windows/x64/meterpreter'
],
dynamic_size: false,
modules_pathname: modules_pathname,
reference_name: 'windows/x64/meterpreter/reverse_named_pipe'
end
context 'windows/x64/meterpreter/reverse_tcp' do
it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [