diff --git a/spec/modules/payloads_spec.rb b/spec/modules/payloads_spec.rb index 8cf970240b..ae0e104270 100644 --- a/spec/modules/payloads_spec.rb +++ b/spec/modules/payloads_spec.rb @@ -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: [