Land #9462, add missing payload tests
parent
c2379308cf
commit
0d98135fcb
|
@ -45,6 +45,46 @@ RSpec.describe 'modules/payloads', :content do
|
||||||
reference_name: 'aix/ppc/shell_reverse_tcp'
|
reference_name: 'aix/ppc/shell_reverse_tcp'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
context 'apple_ios/aarch64/meterpreter_reverse_http' do
|
||||||
|
it_should_behave_like 'payload cached size is consistent',
|
||||||
|
ancestor_reference_names: [
|
||||||
|
'singles/apple_ios/aarch64/meterpreter_reverse_http'
|
||||||
|
],
|
||||||
|
dynamic_size: false,
|
||||||
|
modules_pathname: modules_pathname,
|
||||||
|
reference_name: 'apple_ios/aarch64/meterpreter_reverse_http'
|
||||||
|
end
|
||||||
|
|
||||||
|
context 'apple_ios/aarch64/meterpreter_reverse_https' do
|
||||||
|
it_should_behave_like 'payload cached size is consistent',
|
||||||
|
ancestor_reference_names: [
|
||||||
|
'singles/apple_ios/aarch64/meterpreter_reverse_https'
|
||||||
|
],
|
||||||
|
dynamic_size: false,
|
||||||
|
modules_pathname: modules_pathname,
|
||||||
|
reference_name: 'apple_ios/aarch64/meterpreter_reverse_https'
|
||||||
|
end
|
||||||
|
|
||||||
|
context 'apple_ios/aarch64/meterpreter_reverse_tcp' do
|
||||||
|
it_should_behave_like 'payload cached size is consistent',
|
||||||
|
ancestor_reference_names: [
|
||||||
|
'singles/apple_ios/aarch64/meterpreter_reverse_tcp'
|
||||||
|
],
|
||||||
|
dynamic_size: false,
|
||||||
|
modules_pathname: modules_pathname,
|
||||||
|
reference_name: 'apple_ios/aarch64/meterpreter_reverse_tcp'
|
||||||
|
end
|
||||||
|
|
||||||
|
context 'apple_ios/aarch64/shell_reverse_tcp' do
|
||||||
|
it_should_behave_like 'payload cached size is consistent',
|
||||||
|
ancestor_reference_names: [
|
||||||
|
'singles/apple_ios/aarch64/shell_reverse_tcp'
|
||||||
|
],
|
||||||
|
dynamic_size: false,
|
||||||
|
modules_pathname: modules_pathname,
|
||||||
|
reference_name: 'apple_ios/aarch64/shell_reverse_tcp'
|
||||||
|
end
|
||||||
|
|
||||||
context 'android/meterpreter_reverse_https' do
|
context 'android/meterpreter_reverse_https' do
|
||||||
it_should_behave_like 'payload cached size is consistent',
|
it_should_behave_like 'payload cached size is consistent',
|
||||||
ancestor_reference_names: [
|
ancestor_reference_names: [
|
||||||
|
@ -588,6 +628,16 @@ RSpec.describe 'modules/payloads', :content do
|
||||||
reference_name: 'cmd/unix/bind_ruby_ipv6'
|
reference_name: 'cmd/unix/bind_ruby_ipv6'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
context 'cmd/unix/bind_stub' do
|
||||||
|
it_should_behave_like 'payload cached size is consistent',
|
||||||
|
ancestor_reference_names: [
|
||||||
|
'singles/cmd/unix/bind_stub'
|
||||||
|
],
|
||||||
|
dynamic_size: false,
|
||||||
|
modules_pathname: modules_pathname,
|
||||||
|
reference_name: 'cmd/unix/bind_stub'
|
||||||
|
end
|
||||||
|
|
||||||
context 'cmd/unix/bind_zsh' do
|
context 'cmd/unix/bind_zsh' do
|
||||||
it_should_behave_like 'payload cached size is consistent',
|
it_should_behave_like 'payload cached size is consistent',
|
||||||
ancestor_reference_names: [
|
ancestor_reference_names: [
|
||||||
|
@ -808,6 +858,16 @@ RSpec.describe 'modules/payloads', :content do
|
||||||
reference_name: 'cmd/unix/reverse_ssl_double_telnet'
|
reference_name: 'cmd/unix/reverse_ssl_double_telnet'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
context 'cmd/unix/reverse_stub' do
|
||||||
|
it_should_behave_like 'payload cached size is consistent',
|
||||||
|
ancestor_reference_names: [
|
||||||
|
'singles/cmd/unix/reverse_stub'
|
||||||
|
],
|
||||||
|
dynamic_size: false,
|
||||||
|
modules_pathname: modules_pathname,
|
||||||
|
reference_name: 'cmd/unix/reverse_stub'
|
||||||
|
end
|
||||||
|
|
||||||
context 'cmd/unix/reverse_zsh' do
|
context 'cmd/unix/reverse_zsh' do
|
||||||
it_should_behave_like 'payload cached size is consistent',
|
it_should_behave_like 'payload cached size is consistent',
|
||||||
ancestor_reference_names: [
|
ancestor_reference_names: [
|
||||||
|
|
Loading…
Reference in New Issue