Land #9589, add some more payload specs

This commit is contained in:
Brent Cook 2018-02-20 11:12:35 -06:00
commit aec1b253f7
No known key found for this signature in database
GPG Key ID: 1FFAA0B24B708F96
1 changed files with 22 additions and 0 deletions

View File

@ -1971,6 +1971,28 @@ RSpec.describe 'modules/payloads', :content do
reference_name: 'osx/x64/exec'
end
context 'osx/x64/meterpreter/bind_tcp' do
it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [
'stagers/osx/x64/bind_tcp',
'stages/osx/x64/meterpreter'
],
dynamic_size: false,
modules_pathname: modules_pathname,
reference_name: 'osx/x64/meterpreter/bind_tcp'
end
context 'osx/x64/meterpreter/reverse_tcp' do
it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [
'stagers/osx/x64/reverse_tcp',
'stages/osx/x64/meterpreter'
],
dynamic_size: false,
modules_pathname: modules_pathname,
reference_name: 'osx/x64/meterpreter/reverse_tcp'
end
context 'osx/x64/meterpreter_reverse_http' do
it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [