diff --git a/spec/modules/payloads_spec.rb b/spec/modules/payloads_spec.rb index b8bb12e28b..064a244cf1 100644 --- a/spec/modules/payloads_spec.rb +++ b/spec/modules/payloads_spec.rb @@ -85,6 +85,36 @@ RSpec.describe 'modules/payloads', :content do reference_name: 'apple_ios/aarch64/shell_reverse_tcp' end + context 'apple_ios/armle/meterpreter_reverse_http' do + it_should_behave_like 'payload cached size is consistent', + ancestor_reference_names: [ + 'singles/apple_ios/armle/meterpreter_reverse_http' + ], + dynamic_size: false, + modules_pathname: modules_pathname, + reference_name: 'apple_ios/armle/meterpreter_reverse_http' + end + + context 'apple_ios/armle/meterpreter_reverse_https' do + it_should_behave_like 'payload cached size is consistent', + ancestor_reference_names: [ + 'singles/apple_ios/armle/meterpreter_reverse_https' + ], + dynamic_size: false, + modules_pathname: modules_pathname, + reference_name: 'apple_ios/armle/meterpreter_reverse_https' + end + + context 'apple_ios/armle/meterpreter_reverse_tcp' do + it_should_behave_like 'payload cached size is consistent', + ancestor_reference_names: [ + 'singles/apple_ios/armle/meterpreter_reverse_tcp' + ], + dynamic_size: false, + modules_pathname: modules_pathname, + reference_name: 'apple_ios/armle/meterpreter_reverse_tcp' + end + context 'android/meterpreter_reverse_https' do it_should_behave_like 'payload cached size is consistent', ancestor_reference_names: [ @@ -201,6 +231,16 @@ RSpec.describe 'modules/payloads', :content do reference_name: 'bsd/sparc/shell_reverse_tcp' end + context 'bsd/vax/shell_reverse_tcp' do + it_should_behave_like 'payload cached size is consistent', + ancestor_reference_names: [ + 'singles/bsd/vax/shell_reverse_tcp' + ], + dynamic_size: false, + modules_pathname: modules_pathname, + reference_name: 'bsd/vax/shell_reverse_tcp' + end + context 'bsd/x64/exec' do it_should_behave_like 'payload cached size is consistent', ancestor_reference_names: [ @@ -1542,6 +1582,16 @@ RSpec.describe 'modules/payloads', :content do reference_name: 'linux/x64/shell/reverse_tcp' end + context 'linux/x64/shell_bind_ipv6_tcp' do + it_should_behave_like 'payload cached size is consistent', + ancestor_reference_names: [ + 'singles/linux/x64/shell_bind_ipv6_tcp' + ], + dynamic_size: false, + modules_pathname: modules_pathname, + reference_name: 'linux/x64/shell_bind_ipv6_tcp' + end + context 'linux/x64/shell_bind_tcp' do it_should_behave_like 'payload cached size is consistent', ancestor_reference_names: [ @@ -1572,6 +1622,16 @@ RSpec.describe 'modules/payloads', :content do reference_name: 'linux/x64/shell_find_port' end + context 'linux/x64/shell_reverse_ipv6_tcp' do + it_should_behave_like 'payload cached size is consistent', + ancestor_reference_names: [ + 'singles/linux/x64/shell_reverse_ipv6_tcp' + ], + dynamic_size: false, + modules_pathname: modules_pathname, + reference_name: 'linux/x64/shell_reverse_ipv6_tcp' + end + context 'linux/x64/shell_reverse_tcp' do it_should_behave_like 'payload cached size is consistent', ancestor_reference_names: [ @@ -4159,6 +4219,16 @@ RSpec.describe 'modules/payloads', :content do reference_name: 'windows/x64/loadlibrary' end + context 'windows/x64/messagebox' do + it_should_behave_like 'payload cached size is consistent', + ancestor_reference_names: [ + 'singles/windows/x64/messagebox' + ], + dynamic_size: false, + modules_pathname: modules_pathname, + reference_name: 'windows/x64/messagebox' + end + context 'windows/x64/meterpreter/bind_ipv6_tcp' do it_should_behave_like 'payload cached size is consistent', ancestor_reference_names: [