2014-10-21 09:33:01 -05:00
|
|
|
require 'spec_helper'
|
|
|
|
|
|
2015-10-16 15:57:04 -05:00
|
|
|
RSpec.describe 'modules/payloads', :content do
|
2014-10-21 12:44:01 -05:00
|
|
|
modules_pathname = Pathname.new(__FILE__).parent.parent.parent.join('modules')
|
|
|
|
|
|
2014-10-23 09:55:14 -05:00
|
|
|
include_context 'untested payloads', modules_pathname: modules_pathname
|
|
|
|
|
|
2014-10-21 13:53:48 -05:00
|
|
|
context 'aix/ppc/shell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 13:53:48 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/aix/ppc/shell_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 13:53:48 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'aix/ppc/shell_bind_tcp'
|
|
|
|
|
end
|
2014-10-21 09:33:01 -05:00
|
|
|
|
|
|
|
|
context 'aix/ppc/shell_find_port' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/aix/ppc/shell_find_port'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'aix/ppc/shell_find_port'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'aix/ppc/shell_interact' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/aix/ppc/shell_interact'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'aix/ppc/shell_interact'
|
|
|
|
|
end
|
2014-10-27 15:27:16 -05:00
|
|
|
|
|
|
|
|
context 'aix/ppc/shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-27 15:27:16 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/aix/ppc/shell_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-27 15:27:16 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'aix/ppc/shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2018-01-25 11:09:41 -06:00
|
|
|
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
|
|
|
|
|
|
2019-04-01 18:23:52 -05:00
|
|
|
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
|
|
|
|
|
|
2017-02-07 14:59:03 +08:00
|
|
|
context 'android/meterpreter_reverse_https' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/android/meterpreter_reverse_https'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'android/meterpreter_reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
2016-09-27 11:05:19 +08:00
|
|
|
context 'android/meterpreter_reverse_http' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/android/meterpreter_reverse_http'
|
|
|
|
|
],
|
2016-09-28 16:56:39 -05:00
|
|
|
dynamic_size: true,
|
2016-09-27 11:05:19 +08:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'android/meterpreter_reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'android/meterpreter_reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/android/meterpreter_reverse_tcp'
|
|
|
|
|
],
|
2016-09-28 16:56:39 -05:00
|
|
|
dynamic_size: true,
|
2016-09-27 11:05:19 +08:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'android/meterpreter_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-27 15:27:16 -05:00
|
|
|
context 'android/meterpreter/reverse_http' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-27 15:27:16 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/android/reverse_http',
|
|
|
|
|
'stages/android/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: true,
|
2014-10-27 15:27:16 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'android/meterpreter/reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'android/meterpreter/reverse_https' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-27 15:27:16 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/android/reverse_https',
|
|
|
|
|
'stages/android/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: true,
|
2014-10-27 15:27:16 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'android/meterpreter/reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'android/meterpreter/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-27 15:27:16 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/android/reverse_tcp',
|
|
|
|
|
'stages/android/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: true,
|
2014-10-27 15:27:16 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'android/meterpreter/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'android/shell/reverse_http' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-27 15:27:16 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/android/reverse_http',
|
|
|
|
|
'stages/android/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: true,
|
2014-10-27 15:27:16 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'android/shell/reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'android/shell/reverse_https' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-27 15:27:16 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/android/reverse_https',
|
|
|
|
|
'stages/android/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: true,
|
2014-10-27 15:27:16 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'android/shell/reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'android/shell/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-27 15:27:16 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/android/reverse_tcp',
|
|
|
|
|
'stages/android/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: true,
|
2014-10-27 15:27:16 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'android/shell/reverse_tcp'
|
|
|
|
|
end
|
2014-10-21 09:33:01 -05:00
|
|
|
|
|
|
|
|
context 'bsd/sparc/shell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/bsd/sparc/shell_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'bsd/sparc/shell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'bsd/sparc/shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/bsd/sparc/shell_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'bsd/sparc/shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2019-04-01 18:23:52 -05:00
|
|
|
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
|
|
|
|
|
|
2015-06-16 05:33:30 -04:00
|
|
|
context 'bsd/x64/exec' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2015-06-16 05:33:30 -04:00
|
|
|
'singles/bsd/x64/exec'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
2015-06-16 05:33:30 -04:00
|
|
|
reference_name: 'bsd/x64/exec'
|
2014-10-21 09:33:01 -05:00
|
|
|
end
|
|
|
|
|
|
2015-06-16 05:33:30 -04:00
|
|
|
context 'bsd/x64/shell_bind_ipv6_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2015-06-16 05:33:30 -04:00
|
|
|
'singles/bsd/x64/shell_bind_ipv6_tcp'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
2015-06-16 05:33:30 -04:00
|
|
|
reference_name: 'bsd/x64/shell_bind_ipv6_tcp'
|
2014-10-21 09:33:01 -05:00
|
|
|
end
|
|
|
|
|
|
2015-06-16 05:33:30 -04:00
|
|
|
context 'bsd/x64/shell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2015-06-16 05:33:30 -04:00
|
|
|
'singles/bsd/x64/shell_bind_tcp'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
2015-06-16 05:33:30 -04:00
|
|
|
reference_name: 'bsd/x64/shell_bind_tcp'
|
2014-10-21 09:33:01 -05:00
|
|
|
end
|
|
|
|
|
|
2015-06-16 05:33:30 -04:00
|
|
|
context 'bsd/x64/shell_bind_tcp_small' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2015-06-16 05:33:30 -04:00
|
|
|
'singles/bsd/x64/shell_bind_tcp_small'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
2015-06-16 05:33:30 -04:00
|
|
|
reference_name: 'bsd/x64/shell_bind_tcp_small'
|
2014-10-21 09:33:01 -05:00
|
|
|
end
|
|
|
|
|
|
2015-06-16 05:33:30 -04:00
|
|
|
context 'bsd/x64/shell_reverse_ipv6_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2015-06-16 05:33:30 -04:00
|
|
|
'singles/bsd/x64/shell_reverse_ipv6_tcp'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
2015-06-16 05:33:30 -04:00
|
|
|
reference_name: 'bsd/x64/shell_reverse_ipv6_tcp'
|
2014-10-21 09:33:01 -05:00
|
|
|
end
|
|
|
|
|
|
2015-06-16 05:33:30 -04:00
|
|
|
context 'bsd/x64/shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2015-06-16 05:33:30 -04:00
|
|
|
'singles/bsd/x64/shell_reverse_tcp'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
2015-06-16 05:33:30 -04:00
|
|
|
reference_name: 'bsd/x64/shell_reverse_tcp'
|
2014-10-21 09:33:01 -05:00
|
|
|
end
|
|
|
|
|
|
2015-06-16 05:33:30 -04:00
|
|
|
context 'bsd/x64/shell_reverse_tcp_small' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2015-06-16 05:33:30 -04:00
|
|
|
'singles/bsd/x64/shell_reverse_tcp_small'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
2015-06-16 05:33:30 -04:00
|
|
|
reference_name: 'bsd/x64/shell_reverse_tcp_small'
|
2014-10-21 09:33:01 -05:00
|
|
|
end
|
|
|
|
|
|
2015-06-16 05:33:30 -04:00
|
|
|
context 'bsd/x86/exec' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2015-06-16 05:33:30 -04:00
|
|
|
'singles/bsd/x86/exec'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
2015-06-16 05:33:30 -04:00
|
|
|
reference_name: 'bsd/x86/exec'
|
2014-10-21 09:33:01 -05:00
|
|
|
end
|
|
|
|
|
|
2015-06-16 05:33:30 -04:00
|
|
|
context 'bsd/x86/metsvc_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2015-06-16 05:33:30 -04:00
|
|
|
'singles/bsd/x86/metsvc_bind_tcp'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
2015-06-16 05:33:30 -04:00
|
|
|
reference_name: 'bsd/x86/metsvc_bind_tcp'
|
2014-10-21 09:33:01 -05:00
|
|
|
end
|
|
|
|
|
|
2015-06-16 05:33:30 -04:00
|
|
|
context 'bsd/x86/metsvc_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2015-06-16 05:33:30 -04:00
|
|
|
'singles/bsd/x86/metsvc_reverse_tcp'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
2015-06-16 05:33:30 -04:00
|
|
|
reference_name: 'bsd/x86/metsvc_reverse_tcp'
|
2014-10-21 09:33:01 -05:00
|
|
|
end
|
|
|
|
|
|
2015-06-16 05:33:30 -04:00
|
|
|
context 'bsd/x86/shell/bind_ipv6_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2015-06-16 05:33:30 -04:00
|
|
|
'stagers/bsd/x86/bind_ipv6_tcp',
|
|
|
|
|
'stages/bsd/x86/shell'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
2015-06-16 05:33:30 -04:00
|
|
|
reference_name: 'bsd/x86/shell/bind_ipv6_tcp'
|
2014-10-21 09:33:01 -05:00
|
|
|
end
|
|
|
|
|
|
2015-06-16 05:33:30 -04:00
|
|
|
context 'bsd/x86/shell/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2015-06-16 05:33:30 -04:00
|
|
|
'stagers/bsd/x86/bind_tcp',
|
|
|
|
|
'stages/bsd/x86/shell'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
2015-06-16 05:33:30 -04:00
|
|
|
reference_name: 'bsd/x86/shell/bind_tcp'
|
2014-10-21 09:33:01 -05:00
|
|
|
end
|
|
|
|
|
|
2015-06-16 05:33:30 -04:00
|
|
|
context 'bsd/x86/shell/find_tag' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2015-06-16 05:33:30 -04:00
|
|
|
'stagers/bsd/x86/find_tag',
|
|
|
|
|
'stages/bsd/x86/shell'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
2015-06-16 05:33:30 -04:00
|
|
|
reference_name: 'bsd/x86/shell/find_tag'
|
2014-10-21 09:33:01 -05:00
|
|
|
end
|
|
|
|
|
|
2015-06-16 05:33:30 -04:00
|
|
|
context 'bsd/x86/shell/reverse_ipv6_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2015-06-16 05:33:30 -04:00
|
|
|
'stagers/bsd/x86/reverse_ipv6_tcp',
|
|
|
|
|
'stages/bsd/x86/shell'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
2015-06-16 05:33:30 -04:00
|
|
|
reference_name: 'bsd/x86/shell/reverse_ipv6_tcp'
|
2014-10-21 09:33:01 -05:00
|
|
|
end
|
|
|
|
|
|
2015-06-16 05:33:30 -04:00
|
|
|
context 'bsd/x86/shell/reverse_tcp' do
|
2015-04-12 12:17:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
2015-06-16 05:33:30 -04:00
|
|
|
'stagers/bsd/x86/reverse_tcp',
|
|
|
|
|
'stages/bsd/x86/shell'
|
2015-04-12 12:17:25 -05:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2015-06-16 05:33:30 -04:00
|
|
|
reference_name: 'bsd/x86/shell/reverse_tcp'
|
2015-04-12 12:17:25 -05:00
|
|
|
end
|
|
|
|
|
|
2015-06-16 05:33:30 -04:00
|
|
|
context 'bsd/x86/shell_bind_tcp' do
|
2015-06-16 04:43:08 -04:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
2015-06-16 05:33:30 -04:00
|
|
|
'singles/bsd/x86/shell_bind_tcp'
|
2015-06-16 04:43:08 -04:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2015-06-16 05:33:30 -04:00
|
|
|
reference_name: 'bsd/x86/shell_bind_tcp'
|
2015-06-16 04:43:08 -04:00
|
|
|
end
|
|
|
|
|
|
2015-06-16 05:33:30 -04:00
|
|
|
context 'bsd/x86/shell_bind_tcp_ipv6' do
|
2015-04-16 13:28:00 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
2015-06-16 05:33:30 -04:00
|
|
|
'singles/bsd/x86/shell_bind_tcp_ipv6'
|
2015-04-16 13:28:00 -05:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2015-06-16 05:33:30 -04:00
|
|
|
reference_name: 'bsd/x86/shell_bind_tcp_ipv6'
|
2015-04-16 13:28:00 -05:00
|
|
|
end
|
|
|
|
|
|
2015-06-16 05:33:30 -04:00
|
|
|
context 'bsd/x86/shell_find_port' do
|
2015-06-16 04:43:08 -04:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
2015-06-16 05:33:30 -04:00
|
|
|
'singles/bsd/x86/shell_find_port'
|
2015-06-16 04:43:08 -04:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2015-06-16 05:33:30 -04:00
|
|
|
reference_name: 'bsd/x86/shell_find_port'
|
2015-06-16 04:43:08 -04:00
|
|
|
end
|
|
|
|
|
|
2015-06-16 05:33:30 -04:00
|
|
|
context 'bsd/x86/shell_find_tag' do
|
2015-06-16 04:43:08 -04:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
2015-06-16 05:33:30 -04:00
|
|
|
'singles/bsd/x86/shell_find_tag'
|
2015-06-16 04:43:08 -04:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2015-06-16 05:33:30 -04:00
|
|
|
reference_name: 'bsd/x86/shell_find_tag'
|
2015-06-16 04:43:08 -04:00
|
|
|
end
|
|
|
|
|
|
2015-06-16 05:33:30 -04:00
|
|
|
context 'bsd/x86/shell_reverse_tcp' do
|
2015-04-16 13:28:00 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
2015-06-16 05:33:30 -04:00
|
|
|
'singles/bsd/x86/shell_reverse_tcp'
|
2015-04-16 13:28:00 -05:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2015-06-16 05:33:30 -04:00
|
|
|
reference_name: 'bsd/x86/shell_reverse_tcp'
|
2015-04-16 13:28:00 -05:00
|
|
|
end
|
|
|
|
|
|
2015-06-16 05:33:30 -04:00
|
|
|
context 'bsd/x86/shell_reverse_tcp_ipv6' do
|
2015-06-16 04:43:08 -04:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
2015-06-16 05:33:30 -04:00
|
|
|
'singles/bsd/x86/shell_reverse_tcp_ipv6'
|
2015-06-16 04:43:08 -04:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2015-06-16 05:33:30 -04:00
|
|
|
reference_name: 'bsd/x86/shell_reverse_tcp_ipv6'
|
2015-06-16 04:43:08 -04:00
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'bsdi/x86/shell/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/bsdi/x86/bind_tcp',
|
|
|
|
|
'stages/bsdi/x86/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'bsdi/x86/shell/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'bsdi/x86/shell/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/bsdi/x86/reverse_tcp',
|
|
|
|
|
'stages/bsdi/x86/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'bsdi/x86/shell/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'bsdi/x86/shell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/bsdi/x86/shell_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'bsdi/x86/shell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'bsdi/x86/shell_find_port' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/bsdi/x86/shell_find_port'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'bsdi/x86/shell_find_port'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'bsdi/x86/shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/bsdi/x86/shell_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'bsdi/x86/shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2023-06-02 09:07:18 -04:00
|
|
|
context 'cmd/linux/http/mips64' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'adapters/cmd/linux/http/mips64'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'cmd/linux/http/mips64'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/linux/https/mips64' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'adapters/cmd/linux/https/mips64'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'cmd/linux/https/mips64'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/linux/tftp/mips64' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'adapters/cmd/linux/tftp/mips64'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'cmd/linux/tftp/mips64'
|
|
|
|
|
end
|
|
|
|
|
|
2023-03-15 19:19:19 -05:00
|
|
|
context 'cmd/linux/http/x64' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'adapters/cmd/linux/http/x64'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'cmd/linux/http/x64'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/linux/https/x64' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'adapters/cmd/linux/https/x64'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'cmd/linux/https/x64'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/linux/tftp/x64' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'adapters/cmd/linux/tftp/x64'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'cmd/linux/tftp/x64'
|
|
|
|
|
end
|
|
|
|
|
|
2023-06-09 16:50:28 -04:00
|
|
|
context 'cmd/linux/http/x86' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'adapters/cmd/linux/http/x86'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'cmd/linux/http/x86'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/linux/https/x86' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'adapters/cmd/linux/https/x86'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'cmd/linux/https/x86'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/linux/tftp/x86' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'adapters/cmd/linux/tftp/x86'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'cmd/linux/tftp/x86'
|
|
|
|
|
end
|
|
|
|
|
|
2016-03-28 21:01:39 -05:00
|
|
|
context 'cmd/mainframe/generic_jcl' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2016-03-28 21:01:39 -05:00
|
|
|
'singles/cmd/mainframe/generic_jcl'
|
|
|
|
|
],
|
2016-04-23 11:40:05 -04:00
|
|
|
dynamic_size: false,
|
2016-03-28 21:01:39 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/mainframe/generic_jcl'
|
|
|
|
|
end
|
|
|
|
|
|
2017-09-29 16:52:36 -05:00
|
|
|
context 'cmd/mainframe/bind_shell_jcl' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/mainframe/bind_shell_jcl'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/mainframe/bind_shell_jcl'
|
|
|
|
|
end
|
|
|
|
|
|
2016-03-31 20:42:42 -05:00
|
|
|
context 'cmd/mainframe/reverse_shell_jcl' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2016-03-31 20:42:42 -05:00
|
|
|
'singles/cmd/mainframe/reverse_shell_jcl'
|
|
|
|
|
],
|
2016-04-23 11:40:05 -04:00
|
|
|
dynamic_size: false,
|
2016-03-31 20:42:42 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/mainframe/reverse_shell_jcl'
|
|
|
|
|
end
|
|
|
|
|
|
2017-04-11 14:10:33 -05:00
|
|
|
context 'cmd/mainframe/apf_privesc_jcl' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/mainframe/apf_privesc_jcl'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/mainframe/apf_privesc_jcl'
|
|
|
|
|
end
|
|
|
|
|
|
2016-03-28 21:01:39 -05:00
|
|
|
context 'cmd/unix/bind_awk' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2016-04-13 22:20:42 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 09:33:01 -05:00
|
|
|
'singles/cmd/unix/bind_awk'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/bind_awk'
|
|
|
|
|
end
|
|
|
|
|
|
2023-08-01 16:26:20 +01:00
|
|
|
context 'cmd/unix/bind_aws_instance_connect' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/bind_aws_instance_connect'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/bind_aws_instance_connect'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/unix/adduser' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/adduser'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/adduser'
|
|
|
|
|
end
|
|
|
|
|
|
2017-12-04 17:47:45 -05:00
|
|
|
context 'cmd/unix/bind_busybox_telnetd' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/bind_busybox_telnetd'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/bind_busybox_telnetd'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'cmd/unix/bind_inetd' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/bind_inetd'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/bind_inetd'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/unix/bind_lua' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/bind_lua'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/bind_lua'
|
|
|
|
|
end
|
|
|
|
|
|
2019-11-21 16:38:18 -06:00
|
|
|
context 'cmd/unix/bind_jjs' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/bind_jjs'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/bind_jjs'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'cmd/unix/bind_netcat' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/bind_netcat'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: true,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/bind_netcat'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/unix/bind_netcat_gaping' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/bind_netcat_gaping'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/bind_netcat_gaping'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/unix/bind_netcat_gaping_ipv6' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/bind_netcat_gaping_ipv6'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/bind_netcat_gaping_ipv6'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/unix/bind_nodejs' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/bind_nodejs'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/bind_nodejs'
|
|
|
|
|
end
|
|
|
|
|
|
2023-04-27 16:21:34 -05:00
|
|
|
context 'cmd/unix/bind_socat_sctp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/bind_socat_sctp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/bind_socat_sctp'
|
|
|
|
|
end
|
|
|
|
|
|
2018-02-13 14:20:43 -06:00
|
|
|
context 'cmd/unix/bind_socat_udp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/bind_socat_udp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/bind_socat_udp'
|
|
|
|
|
end
|
|
|
|
|
|
2023-08-31 12:14:24 -04:00
|
|
|
context 'cmd/unix/reverse_socat_tcp' do
|
2023-08-31 02:43:12 -04:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
2023-08-31 12:14:24 -04:00
|
|
|
'singles/cmd/unix/reverse_socat_tcp'
|
2023-08-31 02:43:12 -04:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2023-08-31 12:14:24 -04:00
|
|
|
reference_name: 'cmd/unix/reverse_socat_tcp'
|
2023-08-31 02:43:12 -04:00
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'cmd/unix/bind_perl' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/bind_perl'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/bind_perl'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/unix/bind_perl_ipv6' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/bind_perl_ipv6'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/bind_perl_ipv6'
|
|
|
|
|
end
|
|
|
|
|
|
2017-08-28 05:30:07 -05:00
|
|
|
context 'cmd/unix/bind_r' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/bind_r'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/bind_r'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'cmd/unix/bind_ruby' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/bind_ruby'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/bind_ruby'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/unix/bind_ruby_ipv6' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/bind_ruby_ipv6'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/bind_ruby_ipv6'
|
|
|
|
|
end
|
|
|
|
|
|
2018-01-25 11:09:41 -06:00
|
|
|
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
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'cmd/unix/bind_zsh' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/bind_zsh'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/bind_zsh'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/unix/generic' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/generic'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/generic'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/unix/interact' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/interact'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/interact'
|
|
|
|
|
end
|
|
|
|
|
|
2019-11-25 16:42:35 -06:00
|
|
|
context 'cmd/unix/pingback_bind' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/pingback_bind'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/pingback_bind'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/unix/pingback_reverse' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/pingback_reverse'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/pingback_reverse'
|
|
|
|
|
end
|
|
|
|
|
|
2022-04-01 11:52:22 -05:00
|
|
|
context 'cmd/unix/python' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'adapters/cmd/unix/python'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'cmd/unix/python'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'cmd/unix/reverse' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_awk' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_awk'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_awk'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_bash' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_bash'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: true,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_bash'
|
|
|
|
|
end
|
|
|
|
|
|
2019-05-30 08:43:46 -05:00
|
|
|
context 'cmd/unix/reverse_bash_udp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_bash_udp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_bash_udp'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'cmd/unix/reverse_bash_telnet_ssl' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_bash_telnet_ssl'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: true,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_bash_telnet_ssl'
|
|
|
|
|
end
|
|
|
|
|
|
2018-06-26 17:35:36 -05:00
|
|
|
context 'cmd/unix/reverse_ksh' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_ksh'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_ksh'
|
|
|
|
|
end
|
|
|
|
|
|
2019-11-21 16:38:18 -06:00
|
|
|
context 'cmd/unix/reverse_jjs' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_jjs'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_jjs'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'cmd/unix/reverse_lua' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_lua'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_lua'
|
|
|
|
|
end
|
|
|
|
|
|
2017-05-22 18:34:18 -05:00
|
|
|
context 'cmd/unix/reverse_ncat_ssl' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_ncat_ssl'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_ncat_ssl'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'cmd/unix/reverse_netcat' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_netcat'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: true,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_netcat'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_netcat_gaping' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_netcat_gaping'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_netcat_gaping'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_nodejs' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_nodejs'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_nodejs'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_openssl' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_openssl'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_openssl'
|
|
|
|
|
end
|
|
|
|
|
|
2023-04-27 16:21:34 -05:00
|
|
|
context 'cmd/unix/reverse_socat_sctp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_socat_sctp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_socat_sctp'
|
|
|
|
|
end
|
|
|
|
|
|
2018-02-13 14:20:43 -06:00
|
|
|
context 'cmd/unix/reverse_socat_udp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_socat_udp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_socat_udp'
|
|
|
|
|
end
|
|
|
|
|
|
2020-02-26 23:14:03 -06:00
|
|
|
context 'cmd/unix/reverse_ssh' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_ssh'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_ssh'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'cmd/unix/reverse_perl' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_perl'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_perl'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_perl_ssl' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_perl_ssl'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_perl_ssl'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_php_ssl' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_php_ssl'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_php_ssl'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_python' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_python'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: true,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_python'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_python_ssl' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_python_ssl'
|
|
|
|
|
],
|
2022-11-05 15:58:10 -04:00
|
|
|
dynamic_size: true,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_python_ssl'
|
|
|
|
|
end
|
|
|
|
|
|
2017-08-28 05:30:07 -05:00
|
|
|
context 'cmd/unix/reverse_r' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_r'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_r'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'cmd/unix/reverse_ruby' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_ruby'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_ruby'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_ruby_ssl' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_ruby_ssl'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_ruby_ssl'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_ssl_double_telnet' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_ssl_double_telnet'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_ssl_double_telnet'
|
|
|
|
|
end
|
|
|
|
|
|
2018-01-25 11:09:41 -06:00
|
|
|
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
|
|
|
|
|
|
2020-03-26 06:55:05 +00:00
|
|
|
context 'cmd/unix/reverse_tclsh' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_tclsh'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_tclsh'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'cmd/unix/reverse_zsh' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/unix/reverse_zsh'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/unix/reverse_zsh'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/windows/adduser' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/windows/adduser'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/windows/adduser'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/windows/bind_lua' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/windows/bind_lua'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/windows/bind_lua'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/windows/bind_perl' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/windows/bind_perl'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/windows/bind_perl'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/windows/bind_perl_ipv6' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/windows/bind_perl_ipv6'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/windows/bind_perl_ipv6'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/windows/bind_ruby' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/windows/bind_ruby'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/windows/bind_ruby'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/windows/download_eval_vbs' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/windows/download_eval_vbs'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: true,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/windows/download_eval_vbs'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/windows/download_exec_vbs' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/windows/download_exec_vbs'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: true,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/windows/download_exec_vbs'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/windows/generic' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/windows/generic'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/windows/generic'
|
|
|
|
|
end
|
|
|
|
|
|
2023-03-15 19:19:19 -05:00
|
|
|
context 'cmd/windows/http/x64' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'adapters/cmd/windows/http/x64'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'cmd/windows/http/x64'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/windows/https/x64' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'adapters/cmd/windows/https/x64'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'cmd/windows/https/x64'
|
|
|
|
|
end
|
|
|
|
|
|
2022-06-15 13:25:25 -05:00
|
|
|
context 'cmd/windows/powershell' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'adapters/cmd/windows/powershell'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'cmd/windows/powershell'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/windows/powershell/x64' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'adapters/cmd/windows/powershell/x64'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'cmd/windows/powershell/x64'
|
|
|
|
|
end
|
|
|
|
|
|
2015-04-25 07:16:17 +01:00
|
|
|
context 'cmd/windows/powershell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2015-04-25 07:16:17 +01:00
|
|
|
'singles/cmd/windows/powershell_bind_tcp'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2021-07-12 12:44:36 +01:00
|
|
|
dynamic_size: true,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
2015-04-25 07:16:17 +01:00
|
|
|
reference_name: 'cmd/windows/powershell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/windows/powershell_reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/windows/powershell_reverse_tcp'
|
|
|
|
|
],
|
2021-07-12 10:06:56 -04:00
|
|
|
dynamic_size: true,
|
2015-04-25 07:16:17 +01:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/windows/powershell_reverse_tcp'
|
2014-10-21 09:33:01 -05:00
|
|
|
end
|
|
|
|
|
|
2022-04-01 11:52:22 -05:00
|
|
|
context 'cmd/windows/powershell_reverse_tcp_ssl' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/windows/powershell_reverse_tcp_ssl'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/windows/powershell_reverse_tcp_ssl'
|
|
|
|
|
end
|
|
|
|
|
|
2023-04-27 15:22:12 -05:00
|
|
|
context 'cmd/windows/python' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'adapters/cmd/windows/python'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'cmd/windows/python'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'cmd/windows/reverse_lua' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/windows/reverse_lua'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/windows/reverse_lua'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/windows/reverse_perl' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/windows/reverse_perl'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/windows/reverse_perl'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/windows/reverse_powershell' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/windows/reverse_powershell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/windows/reverse_powershell'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'cmd/windows/reverse_ruby' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/windows/reverse_ruby'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/windows/reverse_ruby'
|
|
|
|
|
end
|
|
|
|
|
|
2022-06-15 13:25:25 -05:00
|
|
|
context 'cmd/windows/jjs_reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/cmd/windows/jjs_reverse_tcp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'cmd/windows/jjs_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2024-01-04 15:05:10 -05:00
|
|
|
context 'cmd/windows/smb/x64' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'adapters/cmd/windows/smb/x64'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'cmd/windows/smb/x64'
|
|
|
|
|
end
|
|
|
|
|
|
2023-03-15 19:19:19 -05:00
|
|
|
context 'cmd/windows/tftp/x64' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'adapters/cmd/windows/tftp/x64'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'cmd/windows/tftp/x64'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'firefox/exec' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/firefox/exec'
|
|
|
|
|
],
|
2015-08-13 11:10:50 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'firefox/exec'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'firefox/shell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/firefox/shell_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: true,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'firefox/shell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'firefox/shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/firefox/shell_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: true,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'firefox/shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'generic/custom' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/generic/custom'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'generic/custom'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'generic/debug_trap' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/generic/debug_trap'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'generic/debug_trap'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'generic/shell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/generic/shell_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'generic/shell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2023-08-01 16:26:20 +01:00
|
|
|
context 'generic/shell_bind_aws_ssm' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/generic/shell_bind_aws_ssm'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'generic/shell_bind_aws_ssm'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'generic/shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/generic/shell_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'generic/shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2022-04-01 11:52:22 -05:00
|
|
|
context 'generic/ssh/interact' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/generic/ssh/interact'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'generic/ssh/interact'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'generic/tight_loop' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/generic/tight_loop'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'generic/tight_loop'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'java/jsp_shell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/java/jsp_shell_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'java/jsp_shell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'java/jsp_shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/java/jsp_shell_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'java/jsp_shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'java/meterpreter/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/java/bind_tcp',
|
|
|
|
|
'stages/java/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'java/meterpreter/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'java/meterpreter/reverse_http' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/java/reverse_http',
|
|
|
|
|
'stages/java/meterpreter'
|
|
|
|
|
],
|
2023-08-09 13:13:15 +01:00
|
|
|
dynamic_size: true,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'java/meterpreter/reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'java/meterpreter/reverse_https' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/java/reverse_https',
|
|
|
|
|
'stages/java/meterpreter'
|
|
|
|
|
],
|
2023-08-09 13:13:15 +01:00
|
|
|
dynamic_size: true,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'java/meterpreter/reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'java/meterpreter/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/java/reverse_tcp',
|
|
|
|
|
'stages/java/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'java/meterpreter/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'java/shell/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/java/bind_tcp',
|
|
|
|
|
'stages/java/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'java/shell/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'java/shell/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/java/reverse_tcp',
|
|
|
|
|
'stages/java/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'java/shell/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'java/shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/java/shell_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'java/shell_reverse_tcp'
|
|
|
|
|
end
|
2016-07-06 15:53:20 -05:00
|
|
|
|
2017-08-28 05:30:07 -05:00
|
|
|
context 'linux/aarch64/shell_reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/aarch64/shell_reverse_tcp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/aarch64/shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/aarch64/meterpreter_reverse_http' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/aarch64/meterpreter_reverse_http'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/aarch64/meterpreter_reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/aarch64/meterpreter_reverse_https' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/aarch64/meterpreter_reverse_https'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/aarch64/meterpreter_reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/aarch64/shell/reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/aarch64/reverse_tcp',
|
|
|
|
|
'stages/linux/aarch64/shell'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/aarch64/shell/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
2018-02-13 14:20:43 -06:00
|
|
|
context 'linux/armbe/shell_bind_tcp' do
|
2016-06-10 00:19:43 +02:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/armbe/shell_bind_tcp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/armbe/shell_bind_tcp'
|
|
|
|
|
end
|
2014-10-21 09:33:01 -05:00
|
|
|
|
|
|
|
|
context 'linux/armle/adduser' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/armle/adduser'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/armle/adduser'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/armle/exec' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/armle/exec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/armle/exec'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/armle/shell/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/armle/bind_tcp',
|
|
|
|
|
'stages/linux/armle/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/armle/shell/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/armle/shell/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/armle/reverse_tcp',
|
|
|
|
|
'stages/linux/armle/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/armle/shell/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/armle/shell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/armle/shell_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/armle/shell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/armle/shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/armle/shell_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/armle/shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/mipsbe/exec' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/mipsbe/exec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/mipsbe/exec'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/mipsbe/reboot' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/mipsbe/reboot'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/mipsbe/reboot'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/mipsbe/shell/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/mipsbe/reverse_tcp',
|
|
|
|
|
'stages/linux/mipsbe/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/mipsbe/shell/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/mipsbe/shell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/mipsbe/shell_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/mipsbe/shell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/mipsbe/shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/mipsbe/shell_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/mipsbe/shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/mipsle/exec' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/mipsle/exec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/mipsle/exec'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/mipsle/reboot' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/mipsle/reboot'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/mipsle/reboot'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/mipsle/shell/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/mipsle/reverse_tcp',
|
|
|
|
|
'stages/linux/mipsle/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/mipsle/shell/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/mipsle/shell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/mipsle/shell_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/mipsle/shell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/mipsle/shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/mipsle/shell_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/mipsle/shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/ppc/shell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/ppc/shell_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/ppc/shell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/ppc/shell_find_port' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/ppc/shell_find_port'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/ppc/shell_find_port'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/ppc/shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/ppc/shell_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/ppc/shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/ppc64/shell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/ppc64/shell_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/ppc64/shell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/ppc64/shell_find_port' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/ppc64/shell_find_port'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/ppc64/shell_find_port'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/ppc64/shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/ppc64/shell_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/ppc64/shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x64/exec' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/x64/exec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x64/exec'
|
|
|
|
|
end
|
|
|
|
|
|
2019-11-25 16:42:35 -06:00
|
|
|
context 'linux/x64/pingback_bind_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/x64/pingback_bind_tcp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x64/pingback_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x64/pingback_reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/x64/pingback_reverse_tcp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x64/pingback_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'linux/x64/shell/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/x64/bind_tcp',
|
|
|
|
|
'stages/linux/x64/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x64/shell/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2023-04-27 16:21:34 -05:00
|
|
|
context 'linux/x64/shell/reverse_sctp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/x64/reverse_sctp',
|
|
|
|
|
'stages/linux/x64/shell'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x64/shell/reverse_sctp'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'linux/x64/shell/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/x64/reverse_tcp',
|
|
|
|
|
'stages/linux/x64/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x64/shell/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2019-04-01 18:23:52 -05:00
|
|
|
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
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'linux/x64/shell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/x64/shell_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x64/shell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x64/shell_bind_tcp_random_port' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/x64/shell_bind_tcp_random_port'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x64/shell_bind_tcp_random_port'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x64/shell_find_port' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/x64/shell_find_port'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x64/shell_find_port'
|
|
|
|
|
end
|
|
|
|
|
|
2019-04-01 18:23:52 -05:00
|
|
|
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
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'linux/x64/shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/x64/shell_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x64/shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x86/adduser' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/x86/adduser'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x86/adduser'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x86/chmod' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/x86/chmod'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x86/chmod'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x86/exec' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/x86/exec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x86/exec'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x86/read_file' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/x86/read_file'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x86/read_file'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x86/shell/bind_ipv6_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/x86/bind_ipv6_tcp',
|
|
|
|
|
'stages/linux/x86/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x86/shell/bind_ipv6_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x86/shell/bind_nonx_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/x86/bind_nonx_tcp',
|
|
|
|
|
'stages/linux/x86/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x86/shell/bind_nonx_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x86/shell/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/x86/bind_tcp',
|
|
|
|
|
'stages/linux/x86/shell'
|
|
|
|
|
],
|
2015-05-07 07:18:58 +10:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x86/shell/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x86/shell/find_tag' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/x86/find_tag',
|
|
|
|
|
'stages/linux/x86/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x86/shell/find_tag'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x86/shell/reverse_ipv6_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/x86/reverse_ipv6_tcp',
|
|
|
|
|
'stages/linux/x86/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x86/shell/reverse_ipv6_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x86/shell/reverse_nonx_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/x86/reverse_nonx_tcp',
|
|
|
|
|
'stages/linux/x86/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x86/shell/reverse_nonx_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x86/shell/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/x86/reverse_tcp',
|
|
|
|
|
'stages/linux/x86/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x86/shell/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x86/shell_bind_ipv6_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/x86/shell_bind_ipv6_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x86/shell_bind_ipv6_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x86/shell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/x86/shell_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x86/shell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x86/shell_bind_tcp_random_port' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/x86/shell_bind_tcp_random_port'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x86/shell_bind_tcp_random_port'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x86/shell_find_port' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/x86/shell_find_port'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x86/shell_find_port'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x86/shell_find_tag' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/x86/shell_find_tag'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x86/shell_find_tag'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x86/shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/x86/shell_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x86/shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2018-06-26 17:35:36 -05:00
|
|
|
context 'linux/x86/shell_reverse_tcp_ipv6' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/x86/shell_reverse_tcp_ipv6'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x86/shell_reverse_tcp_ipv6'
|
|
|
|
|
end
|
|
|
|
|
|
2015-11-26 21:34:27 -06:00
|
|
|
context 'mainframe/shell_reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/mainframe/shell_reverse_tcp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'mainframe/shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2016-12-06 11:22:12 +10:00
|
|
|
context 'multi/meterpreter/reverse_http' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/multi/reverse_http',
|
|
|
|
|
'stages/multi/meterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'multi/meterpreter/reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'multi/meterpreter/reverse_https' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/multi/reverse_https',
|
|
|
|
|
'stages/multi/meterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'multi/meterpreter/reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'netware/shell/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/netware/reverse_tcp',
|
|
|
|
|
'stages/netware/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'netware/shell/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'nodejs/shell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/nodejs/shell_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'nodejs/shell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'nodejs/shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/nodejs/shell_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'nodejs/shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'nodejs/shell_reverse_tcp_ssl' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/nodejs/shell_reverse_tcp_ssl'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'nodejs/shell_reverse_tcp_ssl'
|
|
|
|
|
end
|
|
|
|
|
|
2023-08-01 16:26:20 +01:00
|
|
|
context 'osx/aarch64/meterpreter/reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/osx/aarch64/reverse_tcp',
|
|
|
|
|
'stages/osx/aarch64/meterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/aarch64/meterpreter/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/aarch64/meterpreter_reverse_http' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/osx/aarch64/meterpreter_reverse_http'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/aarch64/meterpreter_reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/aarch64/meterpreter_reverse_https' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/osx/aarch64/meterpreter_reverse_https'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/aarch64/meterpreter_reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/aarch64/meterpreter_reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/osx/aarch64/meterpreter_reverse_tcp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/aarch64/meterpreter_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'osx/armle/execute/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/osx/armle/bind_tcp',
|
|
|
|
|
'stages/osx/armle/execute'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/armle/execute/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/armle/execute/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/osx/armle/reverse_tcp',
|
|
|
|
|
'stages/osx/armle/execute'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/armle/execute/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/armle/shell/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/osx/armle/bind_tcp',
|
|
|
|
|
'stages/osx/armle/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/armle/shell/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/armle/shell/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/osx/armle/reverse_tcp',
|
|
|
|
|
'stages/osx/armle/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/armle/shell/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/armle/shell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/osx/armle/shell_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/armle/shell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/armle/shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/osx/armle/shell_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/armle/shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/armle/vibrate' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/osx/armle/vibrate'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/armle/vibrate'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/ppc/shell/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/osx/ppc/bind_tcp',
|
|
|
|
|
'stages/osx/ppc/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/ppc/shell/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/ppc/shell/find_tag' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/osx/ppc/find_tag',
|
|
|
|
|
'stages/osx/ppc/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/ppc/shell/find_tag'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/ppc/shell/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/osx/ppc/reverse_tcp',
|
|
|
|
|
'stages/osx/ppc/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/ppc/shell/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/ppc/shell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/osx/ppc/shell_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/ppc/shell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/ppc/shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/osx/ppc/shell_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/ppc/shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/x64/dupandexecve/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/osx/x64/bind_tcp',
|
|
|
|
|
'stages/osx/x64/dupandexecve'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/x64/dupandexecve/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/x64/dupandexecve/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/osx/x64/reverse_tcp',
|
|
|
|
|
'stages/osx/x64/dupandexecve'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/x64/dupandexecve/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/x64/exec' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/osx/x64/exec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/x64/exec'
|
|
|
|
|
end
|
|
|
|
|
|
2018-02-20 09:38:24 -06:00
|
|
|
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
|
|
|
|
|
|
2020-05-01 11:20:20 -05:00
|
|
|
context 'osx/x64/meterpreter/reverse_tcp_uuid' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/osx/x64/reverse_tcp_uuid',
|
|
|
|
|
'stages/osx/x64/meterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/x64/meterpreter/reverse_tcp_uuid'
|
|
|
|
|
end
|
|
|
|
|
|
2017-08-20 19:25:22 -05:00
|
|
|
context 'osx/x64/meterpreter_reverse_http' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/osx/x64/meterpreter_reverse_http'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/x64/meterpreter_reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/x64/meterpreter_reverse_https' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/osx/x64/meterpreter_reverse_https'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/x64/meterpreter_reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/x64/meterpreter_reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/osx/x64/meterpreter_reverse_tcp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/x64/meterpreter_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'osx/x64/say' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/osx/x64/say'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/x64/say'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/x64/shell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/osx/x64/shell_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/x64/shell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/x64/shell_find_tag' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/osx/x64/shell_find_tag'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/x64/shell_find_tag'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/x64/shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/osx/x64/shell_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/x64/shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/x86/bundleinject/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/osx/x86/bind_tcp',
|
|
|
|
|
'stages/osx/x86/bundleinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/x86/bundleinject/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/x86/bundleinject/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/osx/x86/reverse_tcp',
|
|
|
|
|
'stages/osx/x86/bundleinject',
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/x86/bundleinject/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/x86/exec' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/osx/x86/exec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/x86/exec'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/x86/isight/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/osx/x86/bind_tcp',
|
|
|
|
|
'stages/osx/x86/isight'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/x86/isight/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/x86/isight/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/osx/x86/reverse_tcp',
|
|
|
|
|
'stages/osx/x86/isight'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/x86/isight/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/x86/shell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/osx/x86/shell_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/x86/shell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/x86/shell_find_port' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/osx/x86/shell_find_port'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/x86/shell_find_port'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/x86/shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/osx/x86/shell_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/x86/shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/x86/vforkshell/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/osx/x86/bind_tcp',
|
|
|
|
|
'stages/osx/x86/vforkshell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/x86/vforkshell/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/x86/vforkshell/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/osx/x86/reverse_tcp',
|
|
|
|
|
'stages/osx/x86/vforkshell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/x86/vforkshell/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/x86/vforkshell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/osx/x86/vforkshell_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/x86/vforkshell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'osx/x86/vforkshell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/osx/x86/vforkshell_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'osx/x86/vforkshell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'php/bind_perl' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/php/bind_perl'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'php/bind_perl'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'php/bind_perl_ipv6' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/php/bind_perl_ipv6'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'php/bind_perl_ipv6'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'php/bind_php' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/php/bind_php'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: true,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'php/bind_php'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'php/bind_php_ipv6' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/php/bind_php_ipv6'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: true,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'php/bind_php_ipv6'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'php/download_exec' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/php/download_exec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: true,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'php/download_exec'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'php/exec' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/php/exec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: true,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'php/exec'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'php/meterpreter/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/php/bind_tcp',
|
|
|
|
|
'stages/php/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'php/meterpreter/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2015-05-18 22:21:08 +10:00
|
|
|
context 'php/meterpreter/bind_tcp_uuid' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/php/bind_tcp_uuid',
|
|
|
|
|
'stages/php/meterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'php/meterpreter/bind_tcp_uuid'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'php/meterpreter/bind_tcp_ipv6' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/php/bind_tcp_ipv6',
|
|
|
|
|
'stages/php/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'php/meterpreter/bind_tcp_ipv6'
|
|
|
|
|
end
|
|
|
|
|
|
2015-05-18 22:21:08 +10:00
|
|
|
context 'php/meterpreter/bind_tcp_ipv6_uuid' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/php/bind_tcp_ipv6_uuid',
|
|
|
|
|
'stages/php/meterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'php/meterpreter/bind_tcp_ipv6_uuid'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'php/meterpreter/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/php/reverse_tcp',
|
|
|
|
|
'stages/php/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'php/meterpreter/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2015-05-18 22:21:08 +10:00
|
|
|
context 'php/meterpreter/reverse_tcp_uuid' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/php/reverse_tcp_uuid',
|
|
|
|
|
'stages/php/meterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'php/meterpreter/reverse_tcp_uuid'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'php/meterpreter_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/php/meterpreter_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'php/meterpreter_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'php/reverse_perl' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/php/reverse_perl'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: true,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'php/reverse_perl'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'php/reverse_php' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/php/reverse_php'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: true,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'php/reverse_php'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'php/shell_findsock' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/php/shell_findsock'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: true,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'php/shell_findsock'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'python/meterpreter/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/python/bind_tcp',
|
|
|
|
|
'stages/python/meterpreter'
|
|
|
|
|
],
|
2022-11-05 15:58:10 -04:00
|
|
|
dynamic_size: true,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'python/meterpreter/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2015-05-18 14:58:10 +10:00
|
|
|
context 'python/meterpreter/bind_tcp_uuid' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/python/bind_tcp_uuid',
|
|
|
|
|
'stages/python/meterpreter'
|
|
|
|
|
],
|
2022-11-05 15:58:10 -04:00
|
|
|
dynamic_size: true,
|
2015-05-18 14:58:10 +10:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'python/meterpreter/bind_tcp_uuid'
|
|
|
|
|
end
|
|
|
|
|
|
2014-11-18 08:31:17 -05:00
|
|
|
context 'python/meterpreter/reverse_http' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-11-18 08:50:06 -05:00
|
|
|
ancestor_reference_names: [
|
2014-11-18 08:31:17 -05:00
|
|
|
'stagers/python/reverse_http',
|
|
|
|
|
'stages/python/meterpreter'
|
|
|
|
|
],
|
2022-11-05 15:58:10 -04:00
|
|
|
dynamic_size: true,
|
2014-11-18 08:31:17 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'python/meterpreter/reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
2015-03-21 12:43:14 -04:00
|
|
|
context 'python/meterpreter/reverse_https' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/python/reverse_https',
|
|
|
|
|
'stages/python/meterpreter'
|
|
|
|
|
],
|
2022-11-05 15:58:10 -04:00
|
|
|
dynamic_size: true,
|
2015-03-21 12:43:14 -04:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'python/meterpreter/reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'python/meterpreter/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/python/reverse_tcp',
|
|
|
|
|
'stages/python/meterpreter'
|
|
|
|
|
],
|
2022-11-05 15:58:10 -04:00
|
|
|
dynamic_size: true,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'python/meterpreter/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2016-09-29 21:19:55 -05:00
|
|
|
context 'python/meterpreter/reverse_tcp_ssl' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/python/reverse_tcp_ssl',
|
|
|
|
|
'stages/python/meterpreter'
|
|
|
|
|
],
|
2022-11-05 15:58:10 -04:00
|
|
|
dynamic_size: true,
|
2016-09-29 21:19:55 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'python/meterpreter/reverse_tcp_ssl'
|
|
|
|
|
end
|
|
|
|
|
|
2015-05-18 14:58:10 +10:00
|
|
|
context 'python/meterpreter/reverse_tcp_uuid' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/python/reverse_tcp_uuid',
|
|
|
|
|
'stages/python/meterpreter'
|
|
|
|
|
],
|
2022-11-05 15:58:10 -04:00
|
|
|
dynamic_size: true,
|
2015-05-18 14:58:10 +10:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'python/meterpreter/reverse_tcp_uuid'
|
|
|
|
|
end
|
|
|
|
|
|
2015-10-22 08:40:50 -04:00
|
|
|
context 'python/meterpreter_bind_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/python/meterpreter_bind_tcp'
|
|
|
|
|
],
|
2022-11-05 15:58:10 -04:00
|
|
|
dynamic_size: true,
|
2015-10-22 08:40:50 -04:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'python/meterpreter_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2015-11-30 11:28:36 -05:00
|
|
|
context 'python/meterpreter_reverse_http' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/python/meterpreter_reverse_http'
|
|
|
|
|
],
|
2022-11-05 15:58:10 -04:00
|
|
|
dynamic_size: true,
|
2015-11-30 11:28:36 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'python/meterpreter_reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'python/meterpreter_reverse_https' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/python/meterpreter_reverse_https'
|
|
|
|
|
],
|
2022-11-05 15:58:10 -04:00
|
|
|
dynamic_size: true,
|
2015-11-30 11:28:36 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'python/meterpreter_reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
2015-10-22 08:40:50 -04:00
|
|
|
context 'python/meterpreter_reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/python/meterpreter_reverse_tcp'
|
|
|
|
|
],
|
2022-11-05 15:58:10 -04:00
|
|
|
dynamic_size: true,
|
2015-10-22 08:40:50 -04:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'python/meterpreter_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2019-11-25 16:42:35 -06:00
|
|
|
context 'python/pingback_bind_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/python/pingback_bind_tcp'
|
|
|
|
|
],
|
2022-11-05 15:58:10 -04:00
|
|
|
dynamic_size: true,
|
2019-11-25 16:42:35 -06:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'python/pingback_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'python/pingback_reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/python/pingback_reverse_tcp'
|
|
|
|
|
],
|
2022-11-05 15:58:10 -04:00
|
|
|
dynamic_size: true,
|
2019-11-25 16:42:35 -06:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'python/pingback_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2017-10-25 14:58:49 -05:00
|
|
|
context 'python/shell_bind_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/python/shell_bind_tcp'
|
|
|
|
|
],
|
2022-11-05 15:58:10 -04:00
|
|
|
dynamic_size: true,
|
2017-10-25 14:58:49 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'python/shell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'python/shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/python/shell_reverse_tcp'
|
|
|
|
|
],
|
2022-11-05 15:58:10 -04:00
|
|
|
dynamic_size: true,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'python/shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2023-04-27 16:21:34 -05:00
|
|
|
context 'python/shell_reverse_sctp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/python/shell_reverse_sctp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'python/shell_reverse_sctp'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'python/shell_reverse_tcp_ssl' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/python/shell_reverse_tcp_ssl'
|
|
|
|
|
],
|
2022-11-05 15:58:10 -04:00
|
|
|
dynamic_size: true,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'python/shell_reverse_tcp_ssl'
|
|
|
|
|
end
|
|
|
|
|
|
2018-02-13 14:20:43 -06:00
|
|
|
context 'python/shell_reverse_udp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/python/shell_reverse_udp'
|
|
|
|
|
],
|
2022-11-05 15:58:10 -04:00
|
|
|
dynamic_size: true,
|
2018-02-13 14:20:43 -06:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'python/shell_reverse_udp'
|
|
|
|
|
end
|
|
|
|
|
|
2019-11-25 16:42:35 -06:00
|
|
|
context 'ruby/pingback_bind_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/ruby/pingback_bind_tcp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'ruby/pingback_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'ruby/pingback_reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/ruby/pingback_reverse_tcp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'ruby/pingback_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'ruby/shell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/ruby/shell_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'ruby/shell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'ruby/shell_bind_tcp_ipv6' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/ruby/shell_bind_tcp_ipv6'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'ruby/shell_bind_tcp_ipv6'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'ruby/shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/ruby/shell_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'ruby/shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'ruby/shell_reverse_tcp_ssl' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/ruby/shell_reverse_tcp_ssl'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'ruby/shell_reverse_tcp_ssl'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'solaris/sparc/shell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/solaris/sparc/shell_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'solaris/sparc/shell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'solaris/sparc/shell_find_port' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/solaris/sparc/shell_find_port'
|
|
|
|
|
],
|
2015-08-13 11:10:50 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'solaris/sparc/shell_find_port'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'solaris/sparc/shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/solaris/sparc/shell_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'solaris/sparc/shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'solaris/x86/shell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/solaris/x86/shell_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'solaris/x86/shell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'solaris/x86/shell_find_port' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/solaris/x86/shell_find_port'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'solaris/x86/shell_find_port'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'solaris/x86/shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/solaris/x86/shell_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'solaris/x86/shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'tty/unix/interact' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/tty/unix/interact'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'tty/unix/interact'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/adduser' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/adduser'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/adduser'
|
|
|
|
|
end
|
|
|
|
|
|
2022-09-19 08:28:25 -05:00
|
|
|
context 'windows/custom/bind_ipv6_tcp' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_ipv6_tcp',
|
|
|
|
|
'stages/windows/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/custom/bind_ipv6_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/custom/bind_ipv6_tcp_uuid' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_ipv6_tcp_uuid',
|
|
|
|
|
'stages/windows/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/custom/bind_ipv6_tcp_uuid'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/custom/bind_named_pipe' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_named_pipe',
|
|
|
|
|
'stages/windows/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/custom/bind_named_pipe'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/custom/bind_tcp' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_tcp',
|
|
|
|
|
'stages/windows/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/custom/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/custom/bind_tcp_rc4' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_tcp_rc4',
|
|
|
|
|
'stages/windows/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/custom/bind_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/custom/bind_tcp_uuid' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_tcp_uuid',
|
|
|
|
|
'stages/windows/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/custom/bind_tcp_uuid'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/custom/reverse_http' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_http',
|
|
|
|
|
'stages/windows/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/custom/reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/custom/reverse_https' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_https',
|
|
|
|
|
'stages/windows/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/custom/reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/custom/reverse_named_pipe' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_named_pipe',
|
|
|
|
|
'stages/windows/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/custom/reverse_named_pipe'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/custom/reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp',
|
|
|
|
|
'stages/windows/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/custom/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/custom/reverse_tcp_rc4' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_rc4',
|
|
|
|
|
'stages/windows/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/custom/reverse_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/custom/reverse_tcp_uuid' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_uuid',
|
|
|
|
|
'stages/windows/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/custom/reverse_tcp_uuid'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/custom/reverse_winhttp' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_winhttp',
|
|
|
|
|
'stages/windows/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/custom/reverse_winhttp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/custom/reverse_winhttps' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_winhttps',
|
|
|
|
|
'stages/windows/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/custom/reverse_winhttps'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/dllinject/bind_ipv6_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/bind_ipv6_tcp',
|
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/dllinject/bind_ipv6_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2018-02-27 19:24:51 -07:00
|
|
|
context 'windows/dllinject/bind_named_pipe' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_named_pipe',
|
|
|
|
|
'stages/windows/dllinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/dllinject/bind_named_pipe'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/dllinject/bind_nonx_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/bind_nonx_tcp',
|
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/dllinject/bind_nonx_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/dllinject/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/bind_tcp',
|
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-05-07 10:13:27 +10:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/dllinject/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/dllinject/bind_tcp_rc4' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/bind_tcp_rc4',
|
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/dllinject/bind_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/dllinject/find_tag' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/findtag_ord',
|
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/dllinject/find_tag'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/dllinject/reverse_hop_http' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/reverse_hop_http',
|
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/dllinject/reverse_hop_http'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/dllinject/reverse_http' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/reverse_http',
|
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/dllinject/reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
2015-02-20 12:23:51 -06:00
|
|
|
context 'windows/dllinject/reverse_http_proxy_pstore' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2015-02-20 12:23:51 -06:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_http_proxy_pstore',
|
|
|
|
|
'stages/windows/dllinject'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2015-02-20 12:23:51 -06:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/dllinject/reverse_http_proxy_pstore'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/dllinject/reverse_ipv6_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/reverse_ipv6_tcp',
|
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/dllinject/reverse_ipv6_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/dllinject/reverse_nonx_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/reverse_nonx_tcp',
|
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/dllinject/reverse_nonx_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/dllinject/reverse_ord_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/reverse_ord_tcp',
|
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/dllinject/reverse_ord_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/dllinject/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/reverse_tcp',
|
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/dllinject/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/dllinject/reverse_tcp_allports' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/reverse_tcp_allports',
|
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/dllinject/reverse_tcp_allports'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/dllinject/reverse_tcp_dns' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/reverse_tcp_dns',
|
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/dllinject/reverse_tcp_dns'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/dllinject/reverse_tcp_rc4' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/reverse_tcp_rc4',
|
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/dllinject/reverse_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/dllinject/reverse_tcp_rc4_dns' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/reverse_tcp_rc4_dns',
|
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/dllinject/reverse_tcp_rc4_dns'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/dns_txt_query_exec' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/dns_txt_query_exec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/dns_txt_query_exec'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/download_exec' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/download_exec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/download_exec'
|
|
|
|
|
end
|
|
|
|
|
|
2019-11-25 18:26:09 -06:00
|
|
|
context 'windows/encrypted_shell/reverse_tcp' do
|
2019-11-25 15:59:32 -06:00
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/encrypted_reverse_tcp',
|
|
|
|
|
'stages/windows/encrypted_shell'
|
|
|
|
|
],
|
2019-11-25 18:26:09 -06:00
|
|
|
reference_name: 'windows/encrypted_shell/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/encrypted_shell_reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/encrypted_shell_reverse_tcp'
|
|
|
|
|
],
|
2019-11-25 15:59:32 -06:00
|
|
|
reference_name: 'windows/encrypted_shell_reverse_tcp'
|
2019-11-25 14:02:34 -06:00
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/exec' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'singles/windows/exec'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/exec'
|
|
|
|
|
end
|
|
|
|
|
|
2014-11-27 14:13:49 +05:30
|
|
|
context 'windows/format_all_drives' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-11-27 14:13:49 +05:30
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/format_all_drives'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-11-27 14:13:49 +05:30
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/format_all_drives'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/loadlibrary' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'singles/windows/loadlibrary'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/loadlibrary'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/messagebox' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/messagebox'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/messagebox'
|
|
|
|
|
end
|
|
|
|
|
|
2018-02-16 18:05:45 -06:00
|
|
|
context 'windows/meterpreter_bind_named_pipe' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/meterpreter_bind_named_pipe'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter_bind_named_pipe'
|
|
|
|
|
end
|
|
|
|
|
|
2015-03-16 18:08:13 -05:00
|
|
|
context 'windows/meterpreter_bind_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/meterpreter_bind_tcp'
|
|
|
|
|
],
|
2015-05-12 07:37:12 +10:00
|
|
|
dynamic_size: false,
|
2015-03-16 18:08:13 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2015-04-07 11:32:00 +10:00
|
|
|
context 'windows/meterpreter_reverse_http' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/meterpreter_reverse_http'
|
|
|
|
|
],
|
2015-05-12 07:37:12 +10:00
|
|
|
dynamic_size: false,
|
2015-04-07 11:32:00 +10:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter_reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
2015-03-16 18:08:13 -05:00
|
|
|
context 'windows/meterpreter_reverse_https' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/meterpreter_reverse_https'
|
|
|
|
|
],
|
2015-05-12 07:37:12 +10:00
|
|
|
dynamic_size: false,
|
2015-03-16 18:08:13 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter_reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/meterpreter_reverse_ipv6_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/meterpreter_reverse_ipv6_tcp'
|
|
|
|
|
],
|
2015-05-12 07:37:12 +10:00
|
|
|
dynamic_size: false,
|
2015-03-16 18:08:13 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter_reverse_ipv6_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/meterpreter_reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/meterpreter_reverse_tcp'
|
|
|
|
|
],
|
2015-05-12 07:37:12 +10:00
|
|
|
dynamic_size: false,
|
2015-03-16 18:08:13 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/meterpreter/bind_ipv6_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_ipv6_tcp',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/bind_ipv6_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2015-05-25 11:31:15 +10:00
|
|
|
context 'windows/meterpreter/bind_ipv6_tcp_uuid' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_ipv6_tcp_uuid',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/bind_ipv6_tcp_uuid'
|
|
|
|
|
end
|
|
|
|
|
|
2018-02-27 19:24:51 -07:00
|
|
|
context 'windows/meterpreter/bind_named_pipe' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_named_pipe',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/bind_named_pipe'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/meterpreter/bind_nonx_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_nonx_tcp',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/bind_nonx_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/meterpreter/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_tcp',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
2015-05-07 10:13:27 +10:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/meterpreter/bind_tcp_rc4' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_tcp_rc4',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/bind_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
2015-05-18 14:58:10 +10:00
|
|
|
context 'windows/meterpreter/bind_tcp_uuid' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_tcp_uuid',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/bind_tcp_uuid'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/meterpreter/find_tag' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/findtag_ord',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/find_tag'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/meterpreter/reverse_hop_http' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_hop_http',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/reverse_hop_http'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/meterpreter/reverse_http' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_http',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
2015-02-20 12:23:51 -06:00
|
|
|
context 'windows/meterpreter/reverse_http_proxy_pstore' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2015-02-20 12:23:51 -06:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_http_proxy_pstore',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2015-02-20 12:23:51 -06:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/reverse_http_proxy_pstore'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/meterpreter/reverse_https' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_https',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/meterpreter/reverse_https_proxy' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_https_proxy',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/reverse_https_proxy'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/meterpreter/reverse_ipv6_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_ipv6_tcp',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/reverse_ipv6_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2017-09-18 15:45:00 -05:00
|
|
|
context 'windows/meterpreter/reverse_named_pipe' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_named_pipe',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/reverse_named_pipe'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/meterpreter/reverse_nonx_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_nonx_tcp',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/reverse_nonx_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/meterpreter/reverse_ord_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_ord_tcp',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/reverse_ord_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/meterpreter/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/meterpreter/reverse_tcp_allports' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_allports',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/reverse_tcp_allports'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/meterpreter/reverse_tcp_dns' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_dns',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/reverse_tcp_dns'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/meterpreter/reverse_tcp_rc4' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_rc4',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/reverse_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/meterpreter/reverse_tcp_rc4_dns' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_rc4_dns',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/reverse_tcp_rc4_dns'
|
|
|
|
|
end
|
|
|
|
|
|
2015-05-18 14:58:10 +10:00
|
|
|
context 'windows/meterpreter/reverse_tcp_uuid' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_uuid',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/reverse_tcp_uuid'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/metsvc_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/metsvc_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/metsvc_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/metsvc_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/metsvc_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/metsvc_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/bind_ipv6_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/bind_ipv6_tcp',
|
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupdllinject/bind_ipv6_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2018-02-27 19:24:51 -07:00
|
|
|
context 'windows/patchupdllinject/bind_named_pipe' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_named_pipe',
|
|
|
|
|
'stages/windows/patchupdllinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupdllinject/bind_named_pipe'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/patchupdllinject/bind_nonx_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/bind_nonx_tcp',
|
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupdllinject/bind_nonx_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/bind_tcp',
|
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-05-07 10:13:27 +10:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupdllinject/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/bind_tcp_rc4' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/bind_tcp_rc4',
|
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupdllinject/bind_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/find_tag' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/findtag_ord',
|
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupdllinject/find_tag'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/reverse_ipv6_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/reverse_ipv6_tcp',
|
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupdllinject/reverse_ipv6_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/reverse_nonx_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/reverse_nonx_tcp',
|
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupdllinject/reverse_nonx_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/reverse_ord_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/reverse_ord_tcp',
|
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupdllinject/reverse_ord_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/reverse_tcp',
|
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupdllinject/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/reverse_tcp_allports' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/reverse_tcp_allports',
|
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupdllinject/reverse_tcp_allports'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/reverse_tcp_dns' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/reverse_tcp_dns',
|
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupdllinject/reverse_tcp_dns'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/reverse_tcp_rc4' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/reverse_tcp_rc4',
|
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupdllinject/reverse_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/reverse_tcp_rc4_dns' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 10:26:28 -05:00
|
|
|
'stagers/windows/reverse_tcp_rc4_dns',
|
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 09:33:01 -05:00
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupdllinject/reverse_tcp_rc4_dns'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/bind_ipv6_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_ipv6_tcp',
|
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupmeterpreter/bind_ipv6_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2018-02-27 19:24:51 -07:00
|
|
|
context 'windows/patchupmeterpreter/bind_named_pipe' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_named_pipe',
|
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupmeterpreter/bind_named_pipe'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/patchupmeterpreter/bind_nonx_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_nonx_tcp',
|
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupmeterpreter/bind_nonx_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_tcp',
|
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
|
],
|
2015-05-07 10:13:27 +10:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupmeterpreter/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/bind_tcp_rc4' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_tcp_rc4',
|
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupmeterpreter/bind_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/find_tag' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/findtag_ord',
|
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupmeterpreter/find_tag'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/reverse_ipv6_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_ipv6_tcp',
|
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupmeterpreter/reverse_ipv6_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/reverse_nonx_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_nonx_tcp',
|
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupmeterpreter/reverse_nonx_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/reverse_ord_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_ord_tcp',
|
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupmeterpreter/reverse_ord_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp',
|
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupmeterpreter/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/reverse_tcp_allports' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_allports',
|
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupmeterpreter/reverse_tcp_allports'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/reverse_tcp_dns' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_dns',
|
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupmeterpreter/reverse_tcp_dns'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/reverse_tcp_rc4' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_rc4',
|
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupmeterpreter/reverse_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/reverse_tcp_rc4_dns' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_rc4_dns',
|
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupmeterpreter/reverse_tcp_rc4_dns'
|
|
|
|
|
end
|
|
|
|
|
|
2020-09-24 17:13:42 -05:00
|
|
|
context 'windows/peinject/bind_hidden_ipknock_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_hidden_ipknock_tcp',
|
|
|
|
|
'stages/windows/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/peinject/bind_hidden_ipknock_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/peinject/bind_hidden_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_hidden_tcp',
|
|
|
|
|
'stages/windows/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/peinject/bind_hidden_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/peinject/bind_ipv6_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_ipv6_tcp',
|
|
|
|
|
'stages/windows/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/peinject/bind_ipv6_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/peinject/bind_ipv6_tcp_uuid' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_ipv6_tcp_uuid',
|
|
|
|
|
'stages/windows/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/peinject/bind_ipv6_tcp_uuid'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/peinject/bind_named_pipe' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_named_pipe',
|
|
|
|
|
'stages/windows/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/peinject/bind_named_pipe'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/peinject/bind_nonx_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_nonx_tcp',
|
|
|
|
|
'stages/windows/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/peinject/bind_nonx_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/peinject/bind_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_tcp',
|
|
|
|
|
'stages/windows/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/peinject/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/peinject/bind_tcp_rc4' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_tcp_rc4',
|
|
|
|
|
'stages/windows/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/peinject/bind_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/peinject/bind_tcp_uuid' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_tcp_uuid',
|
|
|
|
|
'stages/windows/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/peinject/bind_tcp_uuid'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/peinject/find_tag' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/findtag_ord',
|
|
|
|
|
'stages/windows/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/peinject/find_tag'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/peinject/reverse_ipv6_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_ipv6_tcp',
|
|
|
|
|
'stages/windows/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/peinject/reverse_ipv6_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/peinject/reverse_nonx_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_nonx_tcp',
|
|
|
|
|
'stages/windows/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/peinject/reverse_nonx_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/peinject/reverse_ord_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_ord_tcp',
|
|
|
|
|
'stages/windows/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/peinject/reverse_ord_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/peinject/reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp',
|
|
|
|
|
'stages/windows/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/peinject/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/peinject/reverse_tcp_allports' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_allports',
|
|
|
|
|
'stages/windows/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/peinject/reverse_tcp_allports'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/peinject/reverse_tcp_dns' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_dns',
|
|
|
|
|
'stages/windows/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/peinject/reverse_tcp_dns'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/peinject/reverse_tcp_rc4' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_rc4',
|
|
|
|
|
'stages/windows/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/peinject/reverse_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/peinject/reverse_tcp_rc4_dns' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_rc4_dns',
|
|
|
|
|
'stages/windows/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/peinject/reverse_tcp_rc4_dns'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/peinject/reverse_tcp_uuid' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_uuid',
|
|
|
|
|
'stages/windows/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/peinject/reverse_tcp_uuid'
|
|
|
|
|
end
|
|
|
|
|
|
2019-11-25 16:42:35 -06:00
|
|
|
context 'windows/pingback_bind_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/pingback_bind_tcp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/pingback_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/pingback_reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/pingback_reverse_tcp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/pingback_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/shell/bind_ipv6_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_ipv6_tcp',
|
|
|
|
|
'stages/windows/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/shell/bind_ipv6_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2018-02-27 19:24:51 -07:00
|
|
|
context 'windows/shell/bind_named_pipe' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_named_pipe',
|
|
|
|
|
'stages/windows/shell'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/shell/bind_named_pipe'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/shell/bind_nonx_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_nonx_tcp',
|
|
|
|
|
'stages/windows/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/shell/bind_nonx_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/shell/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_tcp',
|
|
|
|
|
'stages/windows/shell'
|
|
|
|
|
],
|
2015-05-07 10:13:27 +10:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/shell/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/shell/bind_tcp_rc4' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_tcp_rc4',
|
|
|
|
|
'stages/windows/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/shell/bind_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/shell/find_tag' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/findtag_ord',
|
|
|
|
|
'stages/windows/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/shell/find_tag'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/shell/reverse_ipv6_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_ipv6_tcp',
|
|
|
|
|
'stages/windows/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/shell/reverse_ipv6_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/shell/reverse_nonx_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_nonx_tcp',
|
|
|
|
|
'stages/windows/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/shell/reverse_nonx_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/shell/reverse_ord_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_ord_tcp',
|
|
|
|
|
'stages/windows/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/shell/reverse_ord_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/shell/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp',
|
|
|
|
|
'stages/windows/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/shell/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/shell/reverse_tcp_allports' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_allports',
|
|
|
|
|
'stages/windows/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/shell/reverse_tcp_allports'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/shell/reverse_tcp_dns' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_dns',
|
|
|
|
|
'stages/windows/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/shell/reverse_tcp_dns'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/shell/reverse_tcp_rc4' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_rc4',
|
|
|
|
|
'stages/windows/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/shell/reverse_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/shell/reverse_tcp_rc4_dns' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_rc4_dns',
|
|
|
|
|
'stages/windows/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/shell/reverse_tcp_rc4_dns'
|
|
|
|
|
end
|
|
|
|
|
|
2018-02-13 14:20:43 -06:00
|
|
|
context 'windows/shell/reverse_udp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_udp',
|
|
|
|
|
'stages/windows/shell'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/shell/reverse_udp'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/shell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/shell_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/shell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/shell_bind_tcp_xpfw' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/shell_bind_tcp_xpfw'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/shell_bind_tcp_xpfw'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/shell_hidden_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/shell_hidden_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/shell_hidden_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/shell_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/speak_pwned' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/speak_pwned'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/speak_pwned'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/upexec/bind_ipv6_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_ipv6_tcp',
|
|
|
|
|
'stages/windows/upexec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/upexec/bind_ipv6_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2018-02-27 19:24:51 -07:00
|
|
|
context 'windows/upexec/bind_named_pipe' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_named_pipe',
|
|
|
|
|
'stages/windows/upexec'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/upexec/bind_named_pipe'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/upexec/bind_nonx_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_nonx_tcp',
|
|
|
|
|
'stages/windows/upexec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/upexec/bind_nonx_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/upexec/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_tcp',
|
|
|
|
|
'stages/windows/upexec'
|
|
|
|
|
],
|
2015-05-07 10:13:27 +10:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/upexec/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/upexec/bind_tcp_rc4' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_tcp_rc4',
|
|
|
|
|
'stages/windows/upexec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/upexec/bind_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/upexec/find_tag' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/findtag_ord',
|
|
|
|
|
'stages/windows/upexec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/upexec/find_tag'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/upexec/reverse_ipv6_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_ipv6_tcp',
|
|
|
|
|
'stages/windows/upexec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/upexec/reverse_ipv6_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/upexec/reverse_nonx_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_nonx_tcp',
|
|
|
|
|
'stages/windows/upexec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/upexec/reverse_nonx_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/upexec/reverse_ord_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_ord_tcp',
|
|
|
|
|
'stages/windows/upexec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/upexec/reverse_ord_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/upexec/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp',
|
|
|
|
|
'stages/windows/upexec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/upexec/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/upexec/reverse_tcp_allports' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_allports',
|
|
|
|
|
'stages/windows/upexec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/upexec/reverse_tcp_allports'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/upexec/reverse_tcp_dns' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_dns',
|
|
|
|
|
'stages/windows/upexec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/upexec/reverse_tcp_dns'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/upexec/reverse_tcp_rc4' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_rc4',
|
|
|
|
|
'stages/windows/upexec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/upexec/reverse_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/upexec/reverse_tcp_rc4_dns' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_rc4_dns',
|
|
|
|
|
'stages/windows/upexec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/upexec/reverse_tcp_rc4_dns'
|
|
|
|
|
end
|
|
|
|
|
|
2018-02-13 14:20:43 -06:00
|
|
|
context 'windows/upexec/reverse_udp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_udp',
|
|
|
|
|
'stages/windows/upexec'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/upexec/reverse_udp'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/vncinject/bind_ipv6_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_ipv6_tcp',
|
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/vncinject/bind_ipv6_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2018-02-27 19:24:51 -07:00
|
|
|
context 'windows/vncinject/bind_named_pipe' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_named_pipe',
|
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/vncinject/bind_named_pipe'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/vncinject/bind_nonx_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_nonx_tcp',
|
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/vncinject/bind_nonx_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/vncinject/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_tcp',
|
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
|
],
|
2015-05-07 10:13:27 +10:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/vncinject/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/vncinject/bind_tcp_rc4' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_tcp_rc4',
|
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/vncinject/bind_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/vncinject/find_tag' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/findtag_ord',
|
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/vncinject/find_tag'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/vncinject/reverse_ipv6_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_ipv6_tcp',
|
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/vncinject/reverse_ipv6_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/vncinject/reverse_nonx_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_nonx_tcp',
|
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/vncinject/reverse_nonx_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/vncinject/reverse_ord_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_ord_tcp',
|
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/vncinject/reverse_ord_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/vncinject/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp',
|
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/vncinject/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/vncinject/reverse_tcp_allports' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_allports',
|
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/vncinject/reverse_tcp_allports'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/vncinject/reverse_tcp_dns' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_dns',
|
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/vncinject/reverse_tcp_dns'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/vncinject/reverse_tcp_rc4' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_rc4',
|
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/vncinject/reverse_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/vncinject/reverse_tcp_rc4_dns' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_tcp_rc4_dns',
|
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/vncinject/reverse_tcp_rc4_dns'
|
|
|
|
|
end
|
|
|
|
|
|
2022-09-19 08:28:25 -05:00
|
|
|
context 'windows/x64/custom/bind_ipv6_tcp' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/bind_ipv6_tcp',
|
|
|
|
|
'stages/windows/x64/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/x64/custom/bind_ipv6_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/custom/bind_ipv6_tcp_uuid' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/bind_ipv6_tcp_uuid',
|
|
|
|
|
'stages/windows/x64/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/x64/custom/bind_ipv6_tcp_uuid'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/custom/bind_named_pipe' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/bind_named_pipe',
|
|
|
|
|
'stages/windows/x64/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/x64/custom/bind_named_pipe'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/custom/bind_tcp' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/bind_tcp',
|
|
|
|
|
'stages/windows/x64/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/x64/custom/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/custom/bind_tcp_rc4' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/bind_tcp_rc4',
|
|
|
|
|
'stages/windows/x64/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/x64/custom/bind_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/custom/bind_tcp_uuid' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/bind_tcp_uuid',
|
|
|
|
|
'stages/windows/x64/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/x64/custom/bind_tcp_uuid'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/custom/reverse_http' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/reverse_http',
|
|
|
|
|
'stages/windows/x64/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/x64/custom/reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/custom/reverse_https' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/reverse_https',
|
|
|
|
|
'stages/windows/x64/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/x64/custom/reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/custom/reverse_named_pipe' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/reverse_named_pipe',
|
|
|
|
|
'stages/windows/x64/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/x64/custom/reverse_named_pipe'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/custom/reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/reverse_tcp',
|
|
|
|
|
'stages/windows/x64/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/x64/custom/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/custom/reverse_tcp_rc4' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/reverse_tcp_rc4',
|
|
|
|
|
'stages/windows/x64/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/x64/custom/reverse_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/custom/reverse_tcp_uuid' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/reverse_tcp_uuid',
|
|
|
|
|
'stages/windows/x64/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/x64/custom/reverse_tcp_uuid'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/custom/reverse_winhttp' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/reverse_winhttp',
|
|
|
|
|
'stages/windows/x64/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/x64/custom/reverse_winhttp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/custom/reverse_winhttps' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/reverse_winhttps',
|
|
|
|
|
'stages/windows/x64/custom'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/x64/custom/reverse_winhttps'
|
|
|
|
|
end
|
|
|
|
|
|
2019-11-25 17:19:38 -06:00
|
|
|
context 'windows/x64/encrypted_shell/reverse_tcp' do
|
2019-11-25 15:59:32 -06:00
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/encrypted_reverse_tcp',
|
|
|
|
|
'stages/windows/x64/encrypted_shell'
|
|
|
|
|
],
|
2019-11-25 17:19:38 -06:00
|
|
|
reference_name: 'windows/x64/encrypted_shell/reverse_tcp'
|
|
|
|
|
end
|
2019-11-25 15:59:32 -06:00
|
|
|
|
2019-11-25 17:19:38 -06:00
|
|
|
context 'windows/x64/encrypted_shell_reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload is not cached',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/x64/encrypted_shell_reverse_tcp'
|
|
|
|
|
],
|
|
|
|
|
reference_name: 'windows/x64/encrypted_shell_reverse_tcp'
|
2019-11-25 14:02:34 -06:00
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/x64/exec' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/x64/exec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/exec'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/loadlibrary' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/x64/loadlibrary'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/loadlibrary'
|
|
|
|
|
end
|
|
|
|
|
|
2019-04-01 18:23:52 -05:00
|
|
|
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
|
|
|
|
|
|
2015-05-25 11:31:15 +10:00
|
|
|
context 'windows/x64/meterpreter/bind_ipv6_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/bind_ipv6_tcp',
|
|
|
|
|
'stages/windows/x64/meterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/meterpreter/bind_ipv6_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/meterpreter/bind_ipv6_tcp_uuid' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/bind_ipv6_tcp_uuid',
|
|
|
|
|
'stages/windows/x64/meterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/meterpreter/bind_ipv6_tcp_uuid'
|
|
|
|
|
end
|
|
|
|
|
|
2018-02-16 18:05:45 -06:00
|
|
|
context 'windows/x64/meterpreter/bind_named_pipe' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/bind_named_pipe',
|
|
|
|
|
'stages/windows/x64/meterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/meterpreter/bind_named_pipe'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/x64/meterpreter/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/bind_tcp',
|
|
|
|
|
'stages/windows/x64/meterpreter'
|
|
|
|
|
],
|
2015-05-07 10:13:27 +10:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/meterpreter/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2019-06-14 16:18:31 -05:00
|
|
|
context 'windows/x64/meterpreter/bind_tcp_rc4' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/bind_tcp_rc4',
|
|
|
|
|
'stages/windows/x64/meterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/meterpreter/bind_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
2015-05-18 14:58:10 +10:00
|
|
|
context 'windows/x64/meterpreter/bind_tcp_uuid' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/bind_tcp_uuid',
|
|
|
|
|
'stages/windows/x64/meterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/meterpreter/bind_tcp_uuid'
|
|
|
|
|
end
|
|
|
|
|
|
2015-05-08 14:37:09 +10:00
|
|
|
context 'windows/x64/meterpreter/reverse_http' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/reverse_http',
|
|
|
|
|
'stages/windows/x64/meterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/meterpreter/reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/x64/meterpreter/reverse_https' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/reverse_https',
|
|
|
|
|
'stages/windows/x64/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/meterpreter/reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
2017-09-18 15:45:00 -05:00
|
|
|
context 'windows/x64/meterpreter/reverse_named_pipe' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/reverse_named_pipe',
|
|
|
|
|
'stages/windows/x64/meterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/meterpreter/reverse_named_pipe'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/x64/meterpreter/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/reverse_tcp',
|
|
|
|
|
'stages/windows/x64/meterpreter'
|
|
|
|
|
],
|
2015-05-12 07:37:12 +10:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/meterpreter/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2018-03-04 17:43:15 -06:00
|
|
|
context 'windows/x64/meterpreter/reverse_tcp_rc4' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/reverse_tcp_rc4',
|
|
|
|
|
'stages/windows/x64/meterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/meterpreter/reverse_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
2015-05-18 14:58:10 +10:00
|
|
|
context 'windows/x64/meterpreter/reverse_tcp_uuid' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/reverse_tcp_uuid',
|
|
|
|
|
'stages/windows/x64/meterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/meterpreter/reverse_tcp_uuid'
|
|
|
|
|
end
|
|
|
|
|
|
2015-05-11 17:43:51 +10:00
|
|
|
context 'windows/x64/meterpreter/reverse_winhttp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/reverse_winhttp',
|
|
|
|
|
'stages/windows/x64/meterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/meterpreter/reverse_winhttp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/meterpreter/reverse_winhttps' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/reverse_winhttps',
|
|
|
|
|
'stages/windows/x64/meterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/meterpreter/reverse_winhttps'
|
|
|
|
|
end
|
|
|
|
|
|
2018-02-16 18:05:45 -06:00
|
|
|
context 'windows/x64/meterpreter_bind_named_pipe' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/x64/meterpreter_bind_named_pipe'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/meterpreter_bind_named_pipe'
|
|
|
|
|
end
|
|
|
|
|
|
2015-03-30 21:07:21 +10:00
|
|
|
context 'windows/x64/meterpreter_bind_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/x64/meterpreter_bind_tcp'
|
|
|
|
|
],
|
2015-05-12 07:37:12 +10:00
|
|
|
dynamic_size: false,
|
2015-03-30 21:07:21 +10:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/meterpreter_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2015-04-07 11:32:00 +10:00
|
|
|
context 'windows/x64/meterpreter_reverse_http' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/x64/meterpreter_reverse_http'
|
|
|
|
|
],
|
2015-05-12 07:37:12 +10:00
|
|
|
dynamic_size: false,
|
2015-04-07 11:32:00 +10:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/meterpreter_reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
2015-03-30 21:07:21 +10:00
|
|
|
context 'windows/x64/meterpreter_reverse_https' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/x64/meterpreter_reverse_https'
|
|
|
|
|
],
|
2015-05-12 07:37:12 +10:00
|
|
|
dynamic_size: false,
|
2015-03-30 21:07:21 +10:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/meterpreter_reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/meterpreter_reverse_ipv6_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/x64/meterpreter_reverse_ipv6_tcp'
|
|
|
|
|
],
|
2015-05-12 07:37:12 +10:00
|
|
|
dynamic_size: false,
|
2015-03-30 21:07:21 +10:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/meterpreter_reverse_ipv6_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/meterpreter_reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/x64/meterpreter_reverse_tcp'
|
|
|
|
|
],
|
2015-05-12 07:37:12 +10:00
|
|
|
dynamic_size: false,
|
2015-03-30 21:07:21 +10:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/meterpreter_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2020-09-24 17:13:42 -05:00
|
|
|
context 'windows/x64/peinject/bind_ipv6_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/bind_ipv6_tcp',
|
|
|
|
|
'stages/windows/x64/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/peinject/bind_ipv6_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/peinject/bind_ipv6_tcp_uuid' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/bind_ipv6_tcp_uuid',
|
|
|
|
|
'stages/windows/x64/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/peinject/bind_ipv6_tcp_uuid'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/peinject/bind_named_pipe' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/bind_named_pipe',
|
|
|
|
|
'stages/windows/x64/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/peinject/bind_named_pipe'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/peinject/bind_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/bind_tcp',
|
|
|
|
|
'stages/windows/x64/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/peinject/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/peinject/bind_tcp_rc4' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/bind_tcp_rc4',
|
|
|
|
|
'stages/windows/x64/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/peinject/bind_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/peinject/bind_tcp_uuid' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/bind_tcp_uuid',
|
|
|
|
|
'stages/windows/x64/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/peinject/bind_tcp_uuid'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/peinject/reverse_named_pipe' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/reverse_named_pipe',
|
|
|
|
|
'stages/windows/x64/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/peinject/reverse_named_pipe'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/peinject/reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/reverse_tcp',
|
|
|
|
|
'stages/windows/x64/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/peinject/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/peinject/reverse_tcp_rc4' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/reverse_tcp_rc4',
|
|
|
|
|
'stages/windows/x64/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/peinject/reverse_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/peinject/reverse_tcp_uuid' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/reverse_tcp_uuid',
|
|
|
|
|
'stages/windows/x64/peinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/peinject/reverse_tcp_uuid'
|
|
|
|
|
end
|
|
|
|
|
|
2015-06-02 18:33:06 +01:00
|
|
|
context 'windows/x64/powershell_bind_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/x64/powershell_bind_tcp'
|
|
|
|
|
],
|
2021-07-12 12:44:36 +01:00
|
|
|
dynamic_size: true,
|
2015-06-02 18:33:06 +01:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/powershell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/powershell_reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/x64/powershell_reverse_tcp'
|
|
|
|
|
],
|
2021-07-12 09:22:59 -04:00
|
|
|
dynamic_size: true,
|
2015-06-02 18:33:06 +01:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/powershell_reverse_tcp'
|
|
|
|
|
end
|
2015-08-13 11:10:50 -05:00
|
|
|
|
2022-04-01 11:52:22 -05:00
|
|
|
context 'windows/x64/powershell_reverse_tcp_ssl' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/x64/powershell_reverse_tcp_ssl'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/powershell_reverse_tcp_ssl'
|
|
|
|
|
end
|
|
|
|
|
|
2019-11-25 16:42:35 -06:00
|
|
|
context 'windows/x64/pingback_reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/x64/pingback_reverse_tcp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/pingback_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2018-02-16 18:05:45 -06:00
|
|
|
context 'windows/x64/shell/bind_named_pipe' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/bind_named_pipe',
|
|
|
|
|
'stages/windows/x64/shell'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/shell/bind_named_pipe'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/x64/shell/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/bind_tcp',
|
|
|
|
|
'stages/windows/x64/shell'
|
|
|
|
|
],
|
2015-05-07 10:13:27 +10:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/shell/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2019-06-14 16:18:31 -05:00
|
|
|
context 'windows/x64/shell/bind_tcp_rc4' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/bind_tcp_rc4',
|
|
|
|
|
'stages/windows/x64/shell'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/shell/bind_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/x64/shell/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/reverse_tcp',
|
|
|
|
|
'stages/windows/x64/shell'
|
|
|
|
|
],
|
2015-05-12 07:37:12 +10:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/shell/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2018-03-04 17:43:15 -06:00
|
|
|
context 'windows/x64/shell/reverse_tcp_rc4' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/reverse_tcp_rc4',
|
|
|
|
|
'stages/windows/x64/shell'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/shell/reverse_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/x64/shell_bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/x64/shell_bind_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/shell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/x64/shell_reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/x64/shell_reverse_tcp'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/shell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2018-02-16 18:05:45 -06:00
|
|
|
context 'windows/x64/vncinject/bind_named_pipe' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/bind_named_pipe',
|
|
|
|
|
'stages/windows/x64/vncinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/vncinject/bind_named_pipe'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/x64/vncinject/bind_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/bind_tcp',
|
|
|
|
|
'stages/windows/x64/vncinject'
|
|
|
|
|
],
|
2015-05-07 10:13:27 +10:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/vncinject/bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2019-06-14 16:18:31 -05:00
|
|
|
context 'windows/x64/vncinject/bind_tcp_rc4' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/bind_tcp_rc4',
|
|
|
|
|
'stages/windows/x64/vncinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/vncinject/bind_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
2014-10-21 09:33:01 -05:00
|
|
|
context 'windows/x64/vncinject/reverse_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 09:33:01 -05:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/reverse_tcp',
|
|
|
|
|
'stages/windows/x64/vncinject'
|
|
|
|
|
],
|
2015-05-12 07:37:12 +10:00
|
|
|
dynamic_size: false,
|
2014-10-21 09:33:01 -05:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/vncinject/reverse_tcp'
|
|
|
|
|
end
|
2014-12-22 10:37:46 -06:00
|
|
|
|
2018-03-04 17:43:15 -06:00
|
|
|
context 'windows/x64/vncinject/reverse_tcp_rc4' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/x64/reverse_tcp_rc4',
|
|
|
|
|
'stages/windows/x64/vncinject'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/x64/vncinject/reverse_tcp_rc4'
|
|
|
|
|
end
|
|
|
|
|
|
2014-12-22 10:37:46 -06:00
|
|
|
context 'windows/dllinject/bind_hidden_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-22 10:37:46 -06:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_hidden_tcp',
|
|
|
|
|
'stages/windows/dllinject'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-12-22 10:37:46 -06:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/dllinject/bind_hidden_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/meterpreter/bind_hidden_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-22 10:37:46 -06:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_hidden_tcp',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-12-22 10:37:46 -06:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/bind_hidden_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/bind_hidden_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-22 10:37:46 -06:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_hidden_tcp',
|
|
|
|
|
'stages/windows/patchupdllinject'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-12-22 10:37:46 -06:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupdllinject/bind_hidden_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/bind_hidden_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-22 10:37:46 -06:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_hidden_tcp',
|
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-12-22 10:37:46 -06:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupmeterpreter/bind_hidden_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/shell/bind_hidden_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-22 10:37:46 -06:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_hidden_tcp',
|
|
|
|
|
'stages/windows/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-12-22 10:37:46 -06:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/shell/bind_hidden_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/upexec/bind_hidden_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-22 10:37:46 -06:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_hidden_tcp',
|
|
|
|
|
'stages/windows/upexec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-12-22 10:37:46 -06:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/upexec/bind_hidden_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/vncinject/bind_hidden_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-22 10:37:46 -06:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_hidden_tcp',
|
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-12-22 10:37:46 -06:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/vncinject/bind_hidden_tcp'
|
|
|
|
|
end
|
2014-12-27 22:03:45 +01:00
|
|
|
|
|
|
|
|
context 'windows/dllinject/bind_hidden_ipknock_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-27 22:03:45 +01:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_hidden_ipknock_tcp',
|
|
|
|
|
'stages/windows/dllinject'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-12-27 22:03:45 +01:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/dllinject/bind_hidden_ipknock_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/meterpreter/bind_hidden_ipknock_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-27 22:03:45 +01:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_hidden_ipknock_tcp',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-12-27 22:03:45 +01:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/bind_hidden_ipknock_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/bind_hidden_ipknock_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-27 22:03:45 +01:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_hidden_ipknock_tcp',
|
|
|
|
|
'stages/windows/patchupdllinject'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-12-27 22:03:45 +01:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupdllinject/bind_hidden_ipknock_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/bind_hidden_ipknock_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-27 22:03:45 +01:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_hidden_ipknock_tcp',
|
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-12-27 22:03:45 +01:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/patchupmeterpreter/bind_hidden_ipknock_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2015-04-26 18:50:42 +01:00
|
|
|
context 'windows/powershell_bind_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/powershell_bind_tcp'
|
|
|
|
|
],
|
2021-07-12 12:44:36 +01:00
|
|
|
dynamic_size: true,
|
2015-04-26 18:50:42 +01:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/powershell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/powershell_reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/powershell_reverse_tcp'
|
|
|
|
|
],
|
2021-07-12 09:22:59 -04:00
|
|
|
dynamic_size: true,
|
2015-04-26 18:50:42 +01:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/powershell_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2022-04-01 11:52:22 -05:00
|
|
|
context 'windows/powershell_reverse_tcp_ssl' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/windows/powershell_reverse_tcp_ssl'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: true,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/powershell_reverse_tcp_ssl'
|
|
|
|
|
end
|
|
|
|
|
|
2014-12-27 22:03:45 +01:00
|
|
|
context 'windows/shell/bind_hidden_ipknock_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-27 22:03:45 +01:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_hidden_ipknock_tcp',
|
|
|
|
|
'stages/windows/shell'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-12-27 22:03:45 +01:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/shell/bind_hidden_ipknock_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/upexec/bind_hidden_ipknock_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-27 22:03:45 +01:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_hidden_ipknock_tcp',
|
|
|
|
|
'stages/windows/upexec'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-12-27 22:03:45 +01:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/upexec/bind_hidden_ipknock_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'windows/vncinject/bind_hidden_ipknock_tcp' do
|
2015-03-09 14:41:25 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-27 22:03:45 +01:00
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/bind_hidden_ipknock_tcp',
|
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
|
],
|
2015-03-09 15:08:11 -05:00
|
|
|
dynamic_size: false,
|
2014-12-27 22:03:45 +01:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/vncinject/bind_hidden_ipknock_tcp'
|
|
|
|
|
end
|
2015-01-19 13:01:56 +01:00
|
|
|
|
2015-03-10 14:07:25 -05:00
|
|
|
context 'windows/meterpreter/reverse_winhttp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2015-01-19 13:01:56 +01:00
|
|
|
ancestor_reference_names: [
|
2015-03-10 14:07:25 -05:00
|
|
|
'stagers/windows/reverse_winhttp',
|
2015-01-19 13:01:56 +01:00
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
2015-03-10 14:07:25 -05:00
|
|
|
dynamic_size: false,
|
2015-01-19 13:01:56 +01:00
|
|
|
modules_pathname: modules_pathname,
|
2015-03-10 14:07:25 -05:00
|
|
|
reference_name: 'windows/meterpreter/reverse_winhttp'
|
2015-01-19 13:01:56 +01:00
|
|
|
end
|
2015-03-11 16:29:22 -05:00
|
|
|
|
|
|
|
|
context 'windows/meterpreter/reverse_winhttps' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/windows/reverse_winhttps',
|
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'windows/meterpreter/reverse_winhttps'
|
|
|
|
|
end
|
2016-07-06 15:53:20 -05:00
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/mips64/meterpreter_reverse_http' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/mips64/meterpreter_reverse_http'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/mips64/meterpreter_reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/mips64/meterpreter_reverse_https' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/mips64/meterpreter_reverse_https'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/mips64/meterpreter_reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/mipsbe/meterpreter_reverse_http' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/mipsbe/meterpreter_reverse_http'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/mipsbe/meterpreter_reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/mipsbe/meterpreter_reverse_https' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/mipsbe/meterpreter_reverse_https'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/mipsbe/meterpreter_reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/mipsle/meterpreter_reverse_http' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/mipsle/meterpreter_reverse_http'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/mipsle/meterpreter_reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/mipsle/meterpreter_reverse_https' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/mipsle/meterpreter_reverse_https'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/mipsle/meterpreter_reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/ppc/meterpreter_reverse_http' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/ppc/meterpreter_reverse_http'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/ppc/meterpreter_reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/ppc/meterpreter_reverse_https' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/ppc/meterpreter_reverse_https'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/ppc/meterpreter_reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
2017-11-01 12:00:03 -05:00
|
|
|
context 'linux/ppce500v2/meterpreter_reverse_http' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/ppce500v2/meterpreter_reverse_http'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/ppce500v2/meterpreter_reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/ppce500v2/meterpreter_reverse_https' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/ppce500v2/meterpreter_reverse_https'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/ppce500v2/meterpreter_reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/ppce500v2/meterpreter_reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/ppce500v2/meterpreter_reverse_tcp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/ppce500v2/meterpreter_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/ppc64le/meterpreter_reverse_http' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/ppc64le/meterpreter_reverse_http'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/ppc64le/meterpreter_reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/ppc64le/meterpreter_reverse_https' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/ppc64le/meterpreter_reverse_https'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/ppc64le/meterpreter_reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x64/meterpreter_reverse_http' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/x64/meterpreter_reverse_http'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x64/meterpreter_reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x64/meterpreter_reverse_https' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/x64/meterpreter_reverse_https'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x64/meterpreter_reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x86/meterpreter_reverse_http' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/x86/meterpreter_reverse_http'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x86/meterpreter_reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x86/meterpreter_reverse_https' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/x86/meterpreter_reverse_https'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x86/meterpreter_reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x86/metsvc_bind_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/x86/metsvc_bind_tcp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x86/metsvc_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/x86/metsvc_reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/x86/metsvc_reverse_tcp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/x86/metsvc_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/zarch/meterpreter_reverse_http' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/zarch/meterpreter_reverse_http'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/zarch/meterpreter_reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/zarch/meterpreter_reverse_https' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/zarch/meterpreter_reverse_https'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/zarch/meterpreter_reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
2017-08-29 10:09:38 -05:00
|
|
|
context 'linux/aarch64/meterpreter/reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/aarch64/reverse_tcp',
|
|
|
|
|
'stages/linux/aarch64/meterpreter'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/aarch64/meterpreter/reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/aarch64/meterpreter_reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/aarch64/meterpreter_reverse_tcp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/aarch64/meterpreter_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/armbe/meterpreter_reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/armbe/meterpreter_reverse_tcp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/armbe/meterpreter_reverse_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
2017-08-28 05:30:07 -05:00
|
|
|
context 'linux/armbe/meterpreter_reverse_http' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/armbe/meterpreter_reverse_http'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/armbe/meterpreter_reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/armbe/meterpreter_reverse_https' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/armbe/meterpreter_reverse_https'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/armbe/meterpreter_reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/armle/meterpreter_reverse_http' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/armle/meterpreter_reverse_http'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/armle/meterpreter_reverse_http'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'linux/armle/meterpreter_reverse_https' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/linux/armle/meterpreter_reverse_https'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'linux/armle/meterpreter_reverse_https'
|
|
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/armle/meterpreter/bind_tcp' do
|
2016-07-06 15:53:20 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/armle/bind_tcp',
|
2017-04-22 15:00:49 -05:00
|
|
|
'stages/linux/armle/meterpreter'
|
2016-07-06 15:53:20 -05:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2017-04-22 15:00:49 -05:00
|
|
|
reference_name: 'linux/armle/meterpreter/bind_tcp'
|
2016-07-06 15:53:20 -05:00
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/armle/meterpreter/reverse_tcp' do
|
2016-07-06 15:53:20 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/armle/reverse_tcp',
|
2017-04-22 15:00:49 -05:00
|
|
|
'stages/linux/armle/meterpreter'
|
2016-07-06 15:53:20 -05:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2017-04-22 15:00:49 -05:00
|
|
|
reference_name: 'linux/armle/meterpreter/reverse_tcp'
|
2016-07-06 15:53:20 -05:00
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/armle/meterpreter_reverse_tcp' do
|
2016-12-09 18:19:58 -06:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
2017-04-22 15:00:49 -05:00
|
|
|
'singles/linux/armle/meterpreter_reverse_tcp'
|
2016-12-09 18:19:58 -06:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2017-04-22 15:00:49 -05:00
|
|
|
reference_name: 'linux/armle/meterpreter_reverse_tcp'
|
2016-12-09 18:19:58 -06:00
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/mips64/meterpreter_reverse_tcp' do
|
2016-12-09 18:21:52 -06:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
2017-04-22 15:00:49 -05:00
|
|
|
'singles/linux/mips64/meterpreter_reverse_tcp'
|
2016-12-09 18:21:52 -06:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2017-04-22 15:00:49 -05:00
|
|
|
reference_name: 'linux/mips64/meterpreter_reverse_tcp'
|
2016-12-09 18:21:52 -06:00
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/mipsbe/meterpreter/reverse_tcp' do
|
2016-07-06 15:53:20 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/mipsbe/reverse_tcp',
|
2017-04-22 15:00:49 -05:00
|
|
|
'stages/linux/mipsbe/meterpreter'
|
2016-07-06 15:53:20 -05:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2017-04-22 15:00:49 -05:00
|
|
|
reference_name: 'linux/mipsbe/meterpreter/reverse_tcp'
|
2016-07-06 15:53:20 -05:00
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/mipsbe/meterpreter_reverse_tcp' do
|
2016-12-09 18:23:03 -06:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
2017-04-22 15:00:49 -05:00
|
|
|
'singles/linux/mipsbe/meterpreter_reverse_tcp'
|
2016-12-09 18:23:03 -06:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2017-04-22 15:00:49 -05:00
|
|
|
reference_name: 'linux/mipsbe/meterpreter_reverse_tcp'
|
2016-12-09 18:23:03 -06:00
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/mipsle/meterpreter/reverse_tcp' do
|
2016-07-06 15:53:20 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/mipsle/reverse_tcp',
|
2017-04-22 15:00:49 -05:00
|
|
|
'stages/linux/mipsle/meterpreter'
|
2016-07-06 15:53:20 -05:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2017-04-22 15:00:49 -05:00
|
|
|
reference_name: 'linux/mipsle/meterpreter/reverse_tcp'
|
2016-07-06 15:53:20 -05:00
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/mipsle/meterpreter_reverse_tcp' do
|
2016-12-09 18:24:12 -06:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
2017-04-22 15:00:49 -05:00
|
|
|
'singles/linux/mipsle/meterpreter_reverse_tcp'
|
2016-12-09 18:24:12 -06:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2017-04-22 15:00:49 -05:00
|
|
|
reference_name: 'linux/mipsle/meterpreter_reverse_tcp'
|
2016-12-09 18:24:12 -06:00
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/ppc/meterpreter_reverse_tcp' do
|
2016-12-09 18:25:57 -06:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
2017-04-22 15:00:49 -05:00
|
|
|
'singles/linux/ppc/meterpreter_reverse_tcp'
|
2016-12-09 18:25:57 -06:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2017-04-22 15:00:49 -05:00
|
|
|
reference_name: 'linux/ppc/meterpreter_reverse_tcp'
|
2016-12-09 18:25:57 -06:00
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/ppc64le/meterpreter_reverse_tcp' do
|
2016-12-09 18:27:22 -06:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
2017-04-22 15:00:49 -05:00
|
|
|
'singles/linux/ppc64le/meterpreter_reverse_tcp'
|
2016-12-09 18:27:22 -06:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2017-04-22 15:00:49 -05:00
|
|
|
reference_name: 'linux/ppc64le/meterpreter_reverse_tcp'
|
2016-12-09 18:27:22 -06:00
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/x64/meterpreter/bind_tcp' do
|
2016-07-06 15:53:20 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/x64/bind_tcp',
|
2017-04-22 15:00:49 -05:00
|
|
|
'stages/linux/x64/meterpreter'
|
2016-07-06 15:53:20 -05:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2017-04-22 15:00:49 -05:00
|
|
|
reference_name: 'linux/x64/meterpreter/bind_tcp'
|
2016-07-06 15:53:20 -05:00
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/x64/meterpreter/reverse_tcp' do
|
2016-07-06 15:53:20 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/x64/reverse_tcp',
|
2017-04-22 15:00:49 -05:00
|
|
|
'stages/linux/x64/meterpreter'
|
2016-07-06 15:53:20 -05:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2017-04-22 15:00:49 -05:00
|
|
|
reference_name: 'linux/x64/meterpreter/reverse_tcp'
|
2016-07-06 15:53:20 -05:00
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/x64/meterpreter_reverse_tcp' do
|
2016-12-09 18:28:29 -06:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
2017-04-22 15:00:49 -05:00
|
|
|
'singles/linux/x64/meterpreter_reverse_tcp'
|
2016-12-09 18:28:29 -06:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2017-04-22 15:00:49 -05:00
|
|
|
reference_name: 'linux/x64/meterpreter_reverse_tcp'
|
2016-12-09 18:28:29 -06:00
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/x86/meterpreter/bind_ipv6_tcp' do
|
2016-07-06 15:53:20 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/x86/bind_ipv6_tcp',
|
2017-04-22 15:00:49 -05:00
|
|
|
'stages/linux/x86/meterpreter'
|
2016-07-06 15:53:20 -05:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2017-04-22 15:00:49 -05:00
|
|
|
reference_name: 'linux/x86/meterpreter/bind_ipv6_tcp'
|
2016-07-06 15:53:20 -05:00
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/x86/meterpreter/bind_ipv6_tcp_uuid' do
|
2016-07-06 15:53:20 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/x86/bind_ipv6_tcp_uuid',
|
2017-04-22 15:00:49 -05:00
|
|
|
'stages/linux/x86/meterpreter'
|
2016-07-06 15:53:20 -05:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2017-04-22 15:00:49 -05:00
|
|
|
reference_name: 'linux/x86/meterpreter/bind_ipv6_tcp_uuid'
|
2016-07-06 15:53:20 -05:00
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/x86/meterpreter/bind_nonx_tcp' do
|
2016-07-06 15:53:20 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/x86/bind_nonx_tcp',
|
2017-04-22 15:00:49 -05:00
|
|
|
'stages/linux/x86/meterpreter'
|
2016-07-06 15:53:20 -05:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2017-04-22 15:00:49 -05:00
|
|
|
reference_name: 'linux/x86/meterpreter/bind_nonx_tcp'
|
2016-07-06 15:53:20 -05:00
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/x86/meterpreter/bind_tcp' do
|
2016-07-06 15:53:20 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/x86/bind_tcp',
|
2017-04-22 15:00:49 -05:00
|
|
|
'stages/linux/x86/meterpreter'
|
2016-07-06 15:53:20 -05:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2017-04-22 15:00:49 -05:00
|
|
|
reference_name: 'linux/x86/meterpreter/bind_tcp'
|
2016-07-06 15:53:20 -05:00
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/x86/meterpreter/bind_tcp_uuid' do
|
2016-07-06 15:53:20 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/x86/bind_tcp_uuid',
|
2017-04-22 15:00:49 -05:00
|
|
|
'stages/linux/x86/meterpreter'
|
2016-07-06 15:53:20 -05:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2017-04-22 15:00:49 -05:00
|
|
|
reference_name: 'linux/x86/meterpreter/bind_tcp_uuid'
|
2016-07-06 15:53:20 -05:00
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/x86/meterpreter/find_tag' do
|
2016-07-06 15:53:20 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/x86/find_tag',
|
2017-04-22 15:00:49 -05:00
|
|
|
'stages/linux/x86/meterpreter'
|
2016-07-06 15:53:20 -05:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2017-04-22 15:00:49 -05:00
|
|
|
reference_name: 'linux/x86/meterpreter/find_tag'
|
2016-07-06 15:53:20 -05:00
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/x86/meterpreter/reverse_ipv6_tcp' do
|
2016-07-06 15:53:20 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/x86/reverse_ipv6_tcp',
|
2017-04-22 15:00:49 -05:00
|
|
|
'stages/linux/x86/meterpreter'
|
2016-07-06 15:53:20 -05:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2017-04-22 15:00:49 -05:00
|
|
|
reference_name: 'linux/x86/meterpreter/reverse_ipv6_tcp'
|
2016-07-06 15:53:20 -05:00
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/x86/meterpreter/reverse_nonx_tcp' do
|
2016-07-06 15:53:20 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/x86/reverse_nonx_tcp',
|
2017-04-22 15:00:49 -05:00
|
|
|
'stages/linux/x86/meterpreter'
|
2016-07-06 15:53:20 -05:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2017-04-22 15:00:49 -05:00
|
|
|
reference_name: 'linux/x86/meterpreter/reverse_nonx_tcp'
|
2016-07-06 15:53:20 -05:00
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/x86/meterpreter/reverse_tcp' do
|
2016-07-06 15:53:20 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/x86/reverse_tcp',
|
2017-04-22 15:00:49 -05:00
|
|
|
'stages/linux/x86/meterpreter'
|
2016-07-06 15:53:20 -05:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2017-04-22 15:00:49 -05:00
|
|
|
reference_name: 'linux/x86/meterpreter/reverse_tcp'
|
2016-07-06 15:53:20 -05:00
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/x86/meterpreter/reverse_tcp_uuid' do
|
2016-07-06 15:53:20 -05:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'stagers/linux/x86/reverse_tcp_uuid',
|
2017-04-22 15:00:49 -05:00
|
|
|
'stages/linux/x86/meterpreter'
|
2016-07-06 15:53:20 -05:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2017-04-22 15:00:49 -05:00
|
|
|
reference_name: 'linux/x86/meterpreter/reverse_tcp_uuid'
|
2016-07-06 15:53:20 -05:00
|
|
|
end
|
2016-12-09 18:29:34 -06:00
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/x86/meterpreter_reverse_tcp' do
|
2016-12-09 18:29:34 -06:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
2017-04-22 15:00:49 -05:00
|
|
|
'singles/linux/x86/meterpreter_reverse_tcp'
|
2016-12-09 18:29:34 -06:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2017-04-22 15:00:49 -05:00
|
|
|
reference_name: 'linux/x86/meterpreter_reverse_tcp'
|
2016-12-09 18:29:34 -06:00
|
|
|
end
|
|
|
|
|
|
2017-04-22 15:00:49 -05:00
|
|
|
context 'linux/zarch/meterpreter_reverse_tcp' do
|
2016-12-09 18:30:52 -06:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
2017-04-22 15:00:49 -05:00
|
|
|
'singles/linux/zarch/meterpreter_reverse_tcp'
|
2016-12-09 18:30:52 -06:00
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
2017-04-22 15:00:49 -05:00
|
|
|
reference_name: 'linux/zarch/meterpreter_reverse_tcp'
|
2016-12-09 18:30:52 -06:00
|
|
|
end
|
|
|
|
|
|
2017-08-28 05:30:07 -05:00
|
|
|
context 'r/shell_bind_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/r/shell_bind_tcp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'r/shell_bind_tcp'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
context 'r/shell_reverse_tcp' do
|
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
|
|
|
|
ancestor_reference_names: [
|
|
|
|
|
'singles/r/shell_reverse_tcp'
|
|
|
|
|
],
|
|
|
|
|
dynamic_size: false,
|
|
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
|
reference_name: 'r/shell_reverse_tcp'
|
|
|
|
|
end
|
2014-10-21 09:33:01 -05:00
|
|
|
end
|