Land #11677, add missing payload specs

master
Brent Cook 2019-04-02 07:23:16 -05:00
commit 94eb039bd3
No known key found for this signature in database
GPG Key ID: 1FFAA0B24B708F96
1 changed files with 70 additions and 0 deletions

View File

@ -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: [