2014-10-21 14:33:01 +00:00
|
|
|
require 'spec_helper'
|
|
|
|
|
2014-10-27 19:25:34 +00:00
|
|
|
describe 'modules/payloads', :content do
|
2014-10-21 17:44:01 +00:00
|
|
|
modules_pathname = Pathname.new(__FILE__).parent.parent.parent.join('modules')
|
|
|
|
|
2014-10-23 14:55:14 +00:00
|
|
|
include_context 'untested payloads', modules_pathname: modules_pathname
|
|
|
|
|
2014-10-21 18:53:48 +00:00
|
|
|
context 'aix/ppc/shell_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 18:53:48 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/aix/ppc/shell_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 18:53:48 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'aix/ppc/shell_bind_tcp'
|
|
|
|
end
|
2014-10-21 14:33:01 +00:00
|
|
|
|
|
|
|
context 'aix/ppc/shell_find_port' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/aix/ppc/shell_find_port'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'aix/ppc/shell_find_port'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'aix/ppc/shell_interact' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/aix/ppc/shell_interact'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'aix/ppc/shell_interact'
|
|
|
|
end
|
2014-10-27 20:27:16 +00:00
|
|
|
|
|
|
|
context 'aix/ppc/shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-27 20:27:16 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/aix/ppc/shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-27 20:27:16 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'aix/ppc/shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'android/meterpreter/reverse_http' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-27 20:27:16 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/android/reverse_http',
|
|
|
|
'stages/android/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: true,
|
2014-10-27 20:27:16 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'android/meterpreter/reverse_http'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'android/meterpreter/reverse_https' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-27 20:27:16 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/android/reverse_https',
|
|
|
|
'stages/android/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: true,
|
2014-10-27 20:27:16 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'android/meterpreter/reverse_https'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'android/meterpreter/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-27 20:27:16 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/android/reverse_tcp',
|
|
|
|
'stages/android/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: true,
|
2014-10-27 20:27:16 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'android/meterpreter/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'android/shell/reverse_http' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-27 20:27:16 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/android/reverse_http',
|
|
|
|
'stages/android/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: true,
|
2014-10-27 20:27:16 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'android/shell/reverse_http'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'android/shell/reverse_https' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-27 20:27:16 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/android/reverse_https',
|
|
|
|
'stages/android/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: true,
|
2014-10-27 20:27:16 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'android/shell/reverse_https'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'android/shell/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-27 20:27:16 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/android/reverse_tcp',
|
|
|
|
'stages/android/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: true,
|
2014-10-27 20:27:16 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'android/shell/reverse_tcp'
|
|
|
|
end
|
2014-10-21 14:33:01 +00:00
|
|
|
|
|
|
|
context 'bsd/sparc/shell_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/bsd/sparc/shell_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'bsd/sparc/shell_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'bsd/sparc/shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/bsd/sparc/shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'bsd/sparc/shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'bsd/x86/exec' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/bsd/x86/exec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'bsd/x86/exec'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'bsd/x86/metsvc_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/bsd/x86/metsvc_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'bsd/x86/metsvc_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'bsd/x86/metsvc_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/bsd/x86/metsvc_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'bsd/x86/metsvc_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'bsd/x86/shell/bind_ipv6_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/bsd/x86/bind_ipv6_tcp',
|
|
|
|
'stages/bsd/x86/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'bsd/x86/shell/bind_ipv6_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'bsd/x86/shell/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/bsd/x86/bind_tcp',
|
|
|
|
'stages/bsd/x86/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'bsd/x86/shell/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'bsd/x86/shell/find_tag' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/bsd/x86/find_tag',
|
|
|
|
'stages/bsd/x86/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'bsd/x86/shell/find_tag'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'bsd/x86/shell/reverse_ipv6_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/bsd/x86/reverse_ipv6_tcp',
|
|
|
|
'stages/bsd/x86/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'bsd/x86/shell/reverse_ipv6_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'bsd/x86/shell/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/bsd/x86/reverse_tcp',
|
|
|
|
'stages/bsd/x86/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'bsd/x86/shell/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'bsd/x86/shell_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/bsd/x86/shell_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'bsd/x86/shell_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'bsd/x86/shell_bind_tcp_ipv6' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/bsd/x86/shell_bind_tcp_ipv6'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'bsd/x86/shell_bind_tcp_ipv6'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'bsd/x86/shell_find_port' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/bsd/x86/shell_find_port'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'bsd/x86/shell_find_port'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'bsd/x86/shell_find_tag' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/bsd/x86/shell_find_tag'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'bsd/x86/shell_find_tag'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'bsd/x86/shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/bsd/x86/shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'bsd/x86/shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'bsd/x86/shell_reverse_tcp_ipv6' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/bsd/x86/shell_reverse_tcp_ipv6'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'bsd/x86/shell_reverse_tcp_ipv6'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'bsdi/x86/shell/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/bsdi/x86/bind_tcp',
|
|
|
|
'stages/bsdi/x86/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'bsdi/x86/shell/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'bsdi/x86/shell/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/bsdi/x86/reverse_tcp',
|
|
|
|
'stages/bsdi/x86/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'bsdi/x86/shell/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'bsdi/x86/shell_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/bsdi/x86/shell_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'bsdi/x86/shell_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'bsdi/x86/shell_find_port' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/bsdi/x86/shell_find_port'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'bsdi/x86/shell_find_port'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'bsdi/x86/shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/bsdi/x86/shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'bsdi/x86/shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/bind_awk' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/bind_awk'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/bind_awk'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/bind_inetd' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/bind_inetd'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/bind_inetd'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/bind_lua' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/bind_lua'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/bind_lua'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/bind_netcat' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/bind_netcat'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: true,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/bind_netcat'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/bind_netcat_gaping' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/bind_netcat_gaping'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/bind_netcat_gaping'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/bind_netcat_gaping_ipv6' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/bind_netcat_gaping_ipv6'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/bind_netcat_gaping_ipv6'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/bind_nodejs' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/bind_nodejs'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/bind_nodejs'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/bind_perl' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/bind_perl'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/bind_perl'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/bind_perl_ipv6' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/bind_perl_ipv6'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/bind_perl_ipv6'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/bind_ruby' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/bind_ruby'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/bind_ruby'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/bind_ruby_ipv6' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/bind_ruby_ipv6'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/bind_ruby_ipv6'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/bind_zsh' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/bind_zsh'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/bind_zsh'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/generic' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/generic'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/generic'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/interact' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/interact'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/interact'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/reverse'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/reverse'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_awk' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/reverse_awk'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/reverse_awk'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_bash' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/reverse_bash'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: true,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/reverse_bash'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_bash_telnet_ssl' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/reverse_bash_telnet_ssl'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: true,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/reverse_bash_telnet_ssl'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_lua' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/reverse_lua'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/reverse_lua'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_netcat' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/reverse_netcat'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: true,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/reverse_netcat'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_netcat_gaping' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/reverse_netcat_gaping'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/reverse_netcat_gaping'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_nodejs' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/reverse_nodejs'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/reverse_nodejs'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_openssl' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/reverse_openssl'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/reverse_openssl'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_perl' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/reverse_perl'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/reverse_perl'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_perl_ssl' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/reverse_perl_ssl'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/reverse_perl_ssl'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_php_ssl' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/reverse_php_ssl'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/reverse_php_ssl'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_python' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/reverse_python'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: true,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/reverse_python'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_python_ssl' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/reverse_python_ssl'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/reverse_python_ssl'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_ruby' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/reverse_ruby'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/reverse_ruby'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_ruby_ssl' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/reverse_ruby_ssl'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/reverse_ruby_ssl'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_ssl_double_telnet' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/reverse_ssl_double_telnet'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/reverse_ssl_double_telnet'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/unix/reverse_zsh' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/unix/reverse_zsh'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/unix/reverse_zsh'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/windows/adduser' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/windows/adduser'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/windows/adduser'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/windows/bind_lua' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/windows/bind_lua'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/windows/bind_lua'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/windows/bind_perl' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/windows/bind_perl'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/windows/bind_perl'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/windows/bind_perl_ipv6' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/windows/bind_perl_ipv6'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/windows/bind_perl_ipv6'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/windows/bind_ruby' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/windows/bind_ruby'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/windows/bind_ruby'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/windows/download_eval_vbs' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/windows/download_eval_vbs'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: true,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/windows/download_eval_vbs'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/windows/download_exec_vbs' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/windows/download_exec_vbs'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: true,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/windows/download_exec_vbs'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/windows/generic' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/windows/generic'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/windows/generic'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/windows/reverse_lua' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/windows/reverse_lua'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/windows/reverse_lua'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/windows/reverse_perl' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/windows/reverse_perl'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/windows/reverse_perl'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/windows/reverse_powershell' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/windows/reverse_powershell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/windows/reverse_powershell'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'cmd/windows/reverse_ruby' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/cmd/windows/reverse_ruby'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'cmd/windows/reverse_ruby'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'firefox/exec' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/firefox/exec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: true,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'firefox/exec'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'firefox/shell_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/firefox/shell_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: true,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'firefox/shell_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'firefox/shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/firefox/shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: true,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'firefox/shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'generic/custom' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/generic/custom'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'generic/custom'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'generic/debug_trap' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/generic/debug_trap'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'generic/debug_trap'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'generic/shell_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/generic/shell_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'generic/shell_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'generic/shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/generic/shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'generic/shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'generic/tight_loop' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/generic/tight_loop'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'generic/tight_loop'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'java/jsp_shell_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/java/jsp_shell_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'java/jsp_shell_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'java/jsp_shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/java/jsp_shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'java/jsp_shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'java/meterpreter/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/java/bind_tcp',
|
|
|
|
'stages/java/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'java/meterpreter/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'java/meterpreter/reverse_http' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/java/reverse_http',
|
|
|
|
'stages/java/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'java/meterpreter/reverse_http'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'java/meterpreter/reverse_https' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/java/reverse_https',
|
|
|
|
'stages/java/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'java/meterpreter/reverse_https'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'java/meterpreter/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/java/reverse_tcp',
|
|
|
|
'stages/java/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'java/meterpreter/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'java/shell/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/java/bind_tcp',
|
|
|
|
'stages/java/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'java/shell/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'java/shell/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/java/reverse_tcp',
|
|
|
|
'stages/java/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'java/shell/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'java/shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/java/shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'java/shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/armle/adduser' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/armle/adduser'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/armle/adduser'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/armle/exec' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/armle/exec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/armle/exec'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/armle/shell/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/linux/armle/bind_tcp',
|
|
|
|
'stages/linux/armle/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/armle/shell/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/armle/shell/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/linux/armle/reverse_tcp',
|
|
|
|
'stages/linux/armle/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/armle/shell/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/armle/shell_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/armle/shell_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/armle/shell_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/armle/shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/armle/shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/armle/shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/mipsbe/exec' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/mipsbe/exec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/mipsbe/exec'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/mipsbe/reboot' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/mipsbe/reboot'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/mipsbe/reboot'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/mipsbe/shell/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/linux/mipsbe/reverse_tcp',
|
|
|
|
'stages/linux/mipsbe/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/mipsbe/shell/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/mipsbe/shell_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/mipsbe/shell_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/mipsbe/shell_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/mipsbe/shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/mipsbe/shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/mipsbe/shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/mipsle/exec' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/mipsle/exec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/mipsle/exec'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/mipsle/reboot' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/mipsle/reboot'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/mipsle/reboot'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/mipsle/shell/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/linux/mipsle/reverse_tcp',
|
|
|
|
'stages/linux/mipsle/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/mipsle/shell/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/mipsle/shell_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/mipsle/shell_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/mipsle/shell_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/mipsle/shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/mipsle/shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/mipsle/shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/ppc/shell_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/ppc/shell_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/ppc/shell_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/ppc/shell_find_port' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/ppc/shell_find_port'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/ppc/shell_find_port'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/ppc/shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/ppc/shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/ppc/shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/ppc64/shell_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/ppc64/shell_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/ppc64/shell_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/ppc64/shell_find_port' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/ppc64/shell_find_port'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/ppc64/shell_find_port'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/ppc64/shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/ppc64/shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/ppc64/shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x64/exec' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/x64/exec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x64/exec'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x64/shell/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/linux/x64/bind_tcp',
|
|
|
|
'stages/linux/x64/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x64/shell/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x64/shell/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/linux/x64/reverse_tcp',
|
|
|
|
'stages/linux/x64/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x64/shell/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x64/shell_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/x64/shell_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00: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 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/x64/shell_bind_tcp_random_port'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00: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 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/x64/shell_find_port'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x64/shell_find_port'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x64/shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/x64/shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x64/shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x86/adduser' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/x86/adduser'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x86/adduser'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x86/chmod' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/x86/chmod'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x86/chmod'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x86/exec' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/x86/exec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x86/exec'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x86/meterpreter/bind_ipv6_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/linux/x86/bind_ipv6_tcp',
|
|
|
|
'stages/linux/x86/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x86/meterpreter/bind_ipv6_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x86/meterpreter/bind_nonx_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/linux/x86/bind_nonx_tcp',
|
|
|
|
'stages/linux/x86/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x86/meterpreter/bind_nonx_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x86/meterpreter/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/linux/x86/bind_tcp',
|
|
|
|
'stages/linux/x86/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x86/meterpreter/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x86/meterpreter/find_tag' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/linux/x86/find_tag',
|
|
|
|
'stages/linux/x86/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x86/meterpreter/find_tag'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x86/meterpreter/reverse_ipv6_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/linux/x86/reverse_ipv6_tcp',
|
|
|
|
'stages/linux/x86/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x86/meterpreter/reverse_ipv6_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x86/meterpreter/reverse_nonx_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/linux/x86/reverse_nonx_tcp',
|
|
|
|
'stages/linux/x86/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x86/meterpreter/reverse_nonx_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x86/meterpreter/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/linux/x86/reverse_tcp',
|
|
|
|
'stages/linux/x86/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x86/meterpreter/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x86/metsvc_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/x86/metsvc_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x86/metsvc_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x86/metsvc_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/x86/metsvc_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x86/metsvc_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x86/read_file' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/x86/read_file'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x86/read_file'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x86/shell/bind_ipv6_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/linux/x86/bind_ipv6_tcp',
|
|
|
|
'stages/linux/x86/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00: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 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/linux/x86/bind_nonx_tcp',
|
|
|
|
'stages/linux/x86/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x86/shell/bind_nonx_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x86/shell/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/linux/x86/bind_tcp',
|
|
|
|
'stages/linux/x86/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x86/shell/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x86/shell/find_tag' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/linux/x86/find_tag',
|
|
|
|
'stages/linux/x86/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x86/shell/find_tag'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x86/shell/reverse_ipv6_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/linux/x86/reverse_ipv6_tcp',
|
|
|
|
'stages/linux/x86/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00: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 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/linux/x86/reverse_nonx_tcp',
|
|
|
|
'stages/linux/x86/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x86/shell/reverse_nonx_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x86/shell/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/linux/x86/reverse_tcp',
|
|
|
|
'stages/linux/x86/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x86/shell/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x86/shell_bind_ipv6_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/x86/shell_bind_ipv6_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x86/shell_bind_ipv6_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x86/shell_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/x86/shell_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00: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 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/x86/shell_bind_tcp_random_port'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00: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 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/x86/shell_find_port'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x86/shell_find_port'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x86/shell_find_tag' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/x86/shell_find_tag'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x86/shell_find_tag'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x86/shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/x86/shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x86/shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'linux/x86/shell_reverse_tcp2' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/linux/x86/shell_reverse_tcp2'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'linux/x86/shell_reverse_tcp2'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'netware/shell/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/netware/reverse_tcp',
|
|
|
|
'stages/netware/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'netware/shell/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'nodejs/shell_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/nodejs/shell_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'nodejs/shell_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'nodejs/shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/nodejs/shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'nodejs/shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'nodejs/shell_reverse_tcp_ssl' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/nodejs/shell_reverse_tcp_ssl'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'nodejs/shell_reverse_tcp_ssl'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/armle/execute/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/osx/armle/bind_tcp',
|
|
|
|
'stages/osx/armle/execute'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/armle/execute/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/armle/execute/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/osx/armle/reverse_tcp',
|
|
|
|
'stages/osx/armle/execute'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/armle/execute/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/armle/shell/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/osx/armle/bind_tcp',
|
|
|
|
'stages/osx/armle/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/armle/shell/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/armle/shell/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/osx/armle/reverse_tcp',
|
|
|
|
'stages/osx/armle/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/armle/shell/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/armle/shell_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/osx/armle/shell_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/armle/shell_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/armle/shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/osx/armle/shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/armle/shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/armle/vibrate' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/osx/armle/vibrate'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/armle/vibrate'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/ppc/shell/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/osx/ppc/bind_tcp',
|
|
|
|
'stages/osx/ppc/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/ppc/shell/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/ppc/shell/find_tag' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/osx/ppc/find_tag',
|
|
|
|
'stages/osx/ppc/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/ppc/shell/find_tag'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/ppc/shell/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/osx/ppc/reverse_tcp',
|
|
|
|
'stages/osx/ppc/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/ppc/shell/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/ppc/shell_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/osx/ppc/shell_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/ppc/shell_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/ppc/shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/osx/ppc/shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/ppc/shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/x64/dupandexecve/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/osx/x64/bind_tcp',
|
|
|
|
'stages/osx/x64/dupandexecve'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/x64/dupandexecve/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/x64/dupandexecve/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/osx/x64/reverse_tcp',
|
|
|
|
'stages/osx/x64/dupandexecve'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/x64/dupandexecve/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/x64/exec' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/osx/x64/exec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/x64/exec'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/x64/say' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/osx/x64/say'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/x64/say'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/x64/shell_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/osx/x64/shell_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/x64/shell_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/x64/shell_find_tag' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/osx/x64/shell_find_tag'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/x64/shell_find_tag'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/x64/shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/osx/x64/shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/x64/shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/x86/bundleinject/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/osx/x86/bind_tcp',
|
|
|
|
'stages/osx/x86/bundleinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/x86/bundleinject/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/x86/bundleinject/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/osx/x86/reverse_tcp',
|
|
|
|
'stages/osx/x86/bundleinject',
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/x86/bundleinject/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/x86/exec' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/osx/x86/exec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/x86/exec'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/x86/isight/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/osx/x86/bind_tcp',
|
|
|
|
'stages/osx/x86/isight'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/x86/isight/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/x86/isight/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/osx/x86/reverse_tcp',
|
|
|
|
'stages/osx/x86/isight'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/x86/isight/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/x86/shell_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/osx/x86/shell_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/x86/shell_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/x86/shell_find_port' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/osx/x86/shell_find_port'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/x86/shell_find_port'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/x86/shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/osx/x86/shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/x86/shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/x86/vforkshell/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/osx/x86/bind_tcp',
|
|
|
|
'stages/osx/x86/vforkshell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/x86/vforkshell/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/x86/vforkshell/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/osx/x86/reverse_tcp',
|
|
|
|
'stages/osx/x86/vforkshell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/x86/vforkshell/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/x86/vforkshell_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/osx/x86/vforkshell_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/x86/vforkshell_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'osx/x86/vforkshell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/osx/x86/vforkshell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'osx/x86/vforkshell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'php/bind_perl' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/php/bind_perl'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'php/bind_perl'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'php/bind_perl_ipv6' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/php/bind_perl_ipv6'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'php/bind_perl_ipv6'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'php/bind_php' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/php/bind_php'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: true,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'php/bind_php'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'php/bind_php_ipv6' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/php/bind_php_ipv6'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: true,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'php/bind_php_ipv6'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'php/download_exec' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/php/download_exec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: true,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'php/download_exec'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'php/exec' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/php/exec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: true,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'php/exec'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'php/meterpreter/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/php/bind_tcp',
|
|
|
|
'stages/php/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'php/meterpreter/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'php/meterpreter/bind_tcp_ipv6' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/php/bind_tcp_ipv6',
|
|
|
|
'stages/php/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'php/meterpreter/bind_tcp_ipv6'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'php/meterpreter/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/php/reverse_tcp',
|
|
|
|
'stages/php/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'php/meterpreter/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'php/meterpreter_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/php/meterpreter_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'php/meterpreter_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'php/reverse_perl' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/php/reverse_perl'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: true,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'php/reverse_perl'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'php/reverse_php' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/php/reverse_php'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: true,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'php/reverse_php'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'php/shell_findsock' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/php/shell_findsock'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: true,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'php/shell_findsock'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'python/meterpreter/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/python/bind_tcp',
|
|
|
|
'stages/python/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'python/meterpreter/bind_tcp'
|
|
|
|
end
|
|
|
|
|
2014-11-18 13:31:17 +00:00
|
|
|
context 'python/meterpreter/reverse_http' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-11-18 13:50:06 +00:00
|
|
|
ancestor_reference_names: [
|
2014-11-18 13:31:17 +00:00
|
|
|
'stagers/python/reverse_http',
|
|
|
|
'stages/python/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-11-18 13:31:17 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'python/meterpreter/reverse_http'
|
|
|
|
end
|
|
|
|
|
2014-10-21 14:33:01 +00:00
|
|
|
context 'python/meterpreter/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/python/reverse_tcp',
|
|
|
|
'stages/python/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'python/meterpreter/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'python/shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/python/shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'python/shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'python/shell_reverse_tcp_ssl' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/python/shell_reverse_tcp_ssl'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'python/shell_reverse_tcp_ssl'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'ruby/shell_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/ruby/shell_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'ruby/shell_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'ruby/shell_bind_tcp_ipv6' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/ruby/shell_bind_tcp_ipv6'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'ruby/shell_bind_tcp_ipv6'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'ruby/shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/ruby/shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'ruby/shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'ruby/shell_reverse_tcp_ssl' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/ruby/shell_reverse_tcp_ssl'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'ruby/shell_reverse_tcp_ssl'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'solaris/sparc/shell_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/solaris/sparc/shell_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'solaris/sparc/shell_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'solaris/sparc/shell_find_port' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/solaris/sparc/shell_find_port'
|
|
|
|
],
|
2015-03-09 20:50:57 +00:00
|
|
|
dynamic_size: true,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'solaris/sparc/shell_find_port'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'solaris/sparc/shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/solaris/sparc/shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'solaris/sparc/shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'solaris/x86/shell_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/solaris/x86/shell_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'solaris/x86/shell_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'solaris/x86/shell_find_port' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/solaris/x86/shell_find_port'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'solaris/x86/shell_find_port'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'solaris/x86/shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/solaris/x86/shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'solaris/x86/shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'tty/unix/interact' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/tty/unix/interact'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'tty/unix/interact'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/adduser' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/windows/adduser'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/adduser'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/dllinject/bind_ipv6_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/bind_ipv6_tcp',
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/dllinject/bind_ipv6_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/dllinject/bind_nonx_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/bind_nonx_tcp',
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/dllinject/bind_nonx_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/dllinject/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/bind_tcp',
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/dllinject/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/dllinject/bind_tcp_rc4' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/bind_tcp_rc4',
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/dllinject/bind_tcp_rc4'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/dllinject/find_tag' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/findtag_ord',
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/dllinject/find_tag'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/dllinject/reverse_hop_http' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/reverse_hop_http',
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/dllinject/reverse_hop_http'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/dllinject/reverse_http' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/reverse_http',
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/dllinject/reverse_http'
|
|
|
|
end
|
|
|
|
|
2015-02-20 18:23:51 +00:00
|
|
|
context 'windows/dllinject/reverse_http_proxy_pstore' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2015-02-20 18:23:51 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_http_proxy_pstore',
|
|
|
|
'stages/windows/dllinject'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2015-02-20 18:23:51 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/dllinject/reverse_http_proxy_pstore'
|
|
|
|
end
|
|
|
|
|
2014-10-21 14:33:01 +00:00
|
|
|
context 'windows/dllinject/reverse_ipv6_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/reverse_ipv6_tcp',
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/dllinject/reverse_ipv6_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/dllinject/reverse_nonx_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/reverse_nonx_tcp',
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/dllinject/reverse_nonx_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/dllinject/reverse_ord_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/reverse_ord_tcp',
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/dllinject/reverse_ord_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/dllinject/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/reverse_tcp',
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/dllinject/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/dllinject/reverse_tcp_allports' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/reverse_tcp_allports',
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/dllinject/reverse_tcp_allports'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/dllinject/reverse_tcp_dns' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/reverse_tcp_dns',
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/dllinject/reverse_tcp_dns'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/dllinject/reverse_tcp_rc4' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/reverse_tcp_rc4',
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/dllinject/reverse_tcp_rc4'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/dllinject/reverse_tcp_rc4_dns' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/reverse_tcp_rc4_dns',
|
|
|
|
'stages/windows/dllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/dllinject/reverse_tcp_rc4_dns'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/dns_txt_query_exec' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/windows/dns_txt_query_exec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/dns_txt_query_exec'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/download_exec' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/windows/download_exec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/download_exec'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/exec' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'singles/windows/exec'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/exec'
|
|
|
|
end
|
|
|
|
|
2014-11-27 08:43:49 +00:00
|
|
|
context 'windows/format_all_drives' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-11-27 08:43:49 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/windows/format_all_drives'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-11-27 08:43:49 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/format_all_drives'
|
|
|
|
end
|
|
|
|
|
2014-10-21 14:33:01 +00:00
|
|
|
context 'windows/loadlibrary' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'singles/windows/loadlibrary'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/loadlibrary'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/messagebox' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/windows/messagebox'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/messagebox'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/meterpreter/bind_ipv6_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_ipv6_tcp',
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/meterpreter/bind_ipv6_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/meterpreter/bind_nonx_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_nonx_tcp',
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/meterpreter/bind_nonx_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/meterpreter/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_tcp',
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/meterpreter/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/meterpreter/bind_tcp_rc4' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_tcp_rc4',
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/meterpreter/bind_tcp_rc4'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/meterpreter/find_tag' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/findtag_ord',
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/meterpreter/find_tag'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/meterpreter/reverse_hop_http' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_hop_http',
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/meterpreter/reverse_hop_http'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/meterpreter/reverse_http' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_http',
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/meterpreter/reverse_http'
|
|
|
|
end
|
|
|
|
|
2015-02-20 18:23:51 +00:00
|
|
|
context 'windows/meterpreter/reverse_http_proxy_pstore' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2015-02-20 18:23:51 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_http_proxy_pstore',
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2015-02-20 18:23:51 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/meterpreter/reverse_http_proxy_pstore'
|
|
|
|
end
|
|
|
|
|
2014-10-21 14:33:01 +00:00
|
|
|
context 'windows/meterpreter/reverse_https' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_https',
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/meterpreter/reverse_https'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/meterpreter/reverse_https_proxy' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_https_proxy',
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/meterpreter/reverse_https_proxy'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/meterpreter/reverse_ipv6_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_ipv6_tcp',
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/meterpreter/reverse_ipv6_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/meterpreter/reverse_nonx_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_nonx_tcp',
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/meterpreter/reverse_nonx_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/meterpreter/reverse_ord_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_ord_tcp',
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/meterpreter/reverse_ord_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/meterpreter/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_tcp',
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/meterpreter/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/meterpreter/reverse_tcp_allports' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_tcp_allports',
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/meterpreter/reverse_tcp_allports'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/meterpreter/reverse_tcp_dns' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_tcp_dns',
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/meterpreter/reverse_tcp_dns'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/meterpreter/reverse_tcp_rc4' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_tcp_rc4',
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/meterpreter/reverse_tcp_rc4'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/meterpreter/reverse_tcp_rc4_dns' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_tcp_rc4_dns',
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/meterpreter/reverse_tcp_rc4_dns'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/metsvc_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/windows/metsvc_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/metsvc_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/metsvc_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/windows/metsvc_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/metsvc_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/bind_ipv6_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/bind_ipv6_tcp',
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupdllinject/bind_ipv6_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/bind_nonx_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/bind_nonx_tcp',
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupdllinject/bind_nonx_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/bind_tcp',
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupdllinject/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/bind_tcp_rc4' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/bind_tcp_rc4',
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupdllinject/bind_tcp_rc4'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/find_tag' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/findtag_ord',
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupdllinject/find_tag'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/reverse_ipv6_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/reverse_ipv6_tcp',
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupdllinject/reverse_ipv6_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/reverse_nonx_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/reverse_nonx_tcp',
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupdllinject/reverse_nonx_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/reverse_ord_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/reverse_ord_tcp',
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupdllinject/reverse_ord_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/reverse_tcp',
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupdllinject/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/reverse_tcp_allports' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/reverse_tcp_allports',
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupdllinject/reverse_tcp_allports'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/reverse_tcp_dns' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/reverse_tcp_dns',
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupdllinject/reverse_tcp_dns'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/reverse_tcp_rc4' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/reverse_tcp_rc4',
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupdllinject/reverse_tcp_rc4'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/reverse_tcp_rc4_dns' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
2014-10-21 15:26:28 +00:00
|
|
|
'stagers/windows/reverse_tcp_rc4_dns',
|
|
|
|
'stages/windows/patchupdllinject'
|
2014-10-21 14:33:01 +00:00
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupdllinject/reverse_tcp_rc4_dns'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/bind_ipv6_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_ipv6_tcp',
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupmeterpreter/bind_ipv6_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/bind_nonx_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_nonx_tcp',
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupmeterpreter/bind_nonx_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_tcp',
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupmeterpreter/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/bind_tcp_rc4' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_tcp_rc4',
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupmeterpreter/bind_tcp_rc4'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/find_tag' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/findtag_ord',
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupmeterpreter/find_tag'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/reverse_ipv6_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_ipv6_tcp',
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupmeterpreter/reverse_ipv6_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/reverse_nonx_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_nonx_tcp',
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupmeterpreter/reverse_nonx_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/reverse_ord_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_ord_tcp',
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupmeterpreter/reverse_ord_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_tcp',
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupmeterpreter/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/reverse_tcp_allports' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_tcp_allports',
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupmeterpreter/reverse_tcp_allports'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/reverse_tcp_dns' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_tcp_dns',
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupmeterpreter/reverse_tcp_dns'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/reverse_tcp_rc4' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_tcp_rc4',
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupmeterpreter/reverse_tcp_rc4'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/reverse_tcp_rc4_dns' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_tcp_rc4_dns',
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupmeterpreter/reverse_tcp_rc4_dns'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/shell/bind_ipv6_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_ipv6_tcp',
|
|
|
|
'stages/windows/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/shell/bind_ipv6_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/shell/bind_nonx_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_nonx_tcp',
|
|
|
|
'stages/windows/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/shell/bind_nonx_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/shell/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_tcp',
|
|
|
|
'stages/windows/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/shell/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/shell/bind_tcp_rc4' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_tcp_rc4',
|
|
|
|
'stages/windows/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/shell/bind_tcp_rc4'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/shell/find_tag' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/findtag_ord',
|
|
|
|
'stages/windows/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/shell/find_tag'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/shell/reverse_ipv6_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_ipv6_tcp',
|
|
|
|
'stages/windows/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/shell/reverse_ipv6_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/shell/reverse_nonx_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_nonx_tcp',
|
|
|
|
'stages/windows/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/shell/reverse_nonx_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/shell/reverse_ord_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_ord_tcp',
|
|
|
|
'stages/windows/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/shell/reverse_ord_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/shell/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_tcp',
|
|
|
|
'stages/windows/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/shell/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/shell/reverse_tcp_allports' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_tcp_allports',
|
|
|
|
'stages/windows/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/shell/reverse_tcp_allports'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/shell/reverse_tcp_dns' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_tcp_dns',
|
|
|
|
'stages/windows/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/shell/reverse_tcp_dns'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/shell/reverse_tcp_rc4' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_tcp_rc4',
|
|
|
|
'stages/windows/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/shell/reverse_tcp_rc4'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/shell/reverse_tcp_rc4_dns' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_tcp_rc4_dns',
|
|
|
|
'stages/windows/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/shell/reverse_tcp_rc4_dns'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/shell_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/windows/shell_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/shell_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/shell_bind_tcp_xpfw' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/windows/shell_bind_tcp_xpfw'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/shell_bind_tcp_xpfw'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/shell_hidden_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/windows/shell_hidden_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/shell_hidden_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/windows/shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/speak_pwned' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/windows/speak_pwned'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/speak_pwned'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/upexec/bind_ipv6_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_ipv6_tcp',
|
|
|
|
'stages/windows/upexec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/upexec/bind_ipv6_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/upexec/bind_nonx_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_nonx_tcp',
|
|
|
|
'stages/windows/upexec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/upexec/bind_nonx_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/upexec/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_tcp',
|
|
|
|
'stages/windows/upexec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/upexec/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/upexec/bind_tcp_rc4' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_tcp_rc4',
|
|
|
|
'stages/windows/upexec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/upexec/bind_tcp_rc4'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/upexec/find_tag' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/findtag_ord',
|
|
|
|
'stages/windows/upexec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/upexec/find_tag'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/upexec/reverse_ipv6_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_ipv6_tcp',
|
|
|
|
'stages/windows/upexec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/upexec/reverse_ipv6_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/upexec/reverse_nonx_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_nonx_tcp',
|
|
|
|
'stages/windows/upexec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/upexec/reverse_nonx_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/upexec/reverse_ord_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_ord_tcp',
|
|
|
|
'stages/windows/upexec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/upexec/reverse_ord_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/upexec/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_tcp',
|
|
|
|
'stages/windows/upexec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/upexec/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/upexec/reverse_tcp_allports' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_tcp_allports',
|
|
|
|
'stages/windows/upexec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/upexec/reverse_tcp_allports'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/upexec/reverse_tcp_dns' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_tcp_dns',
|
|
|
|
'stages/windows/upexec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/upexec/reverse_tcp_dns'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/upexec/reverse_tcp_rc4' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_tcp_rc4',
|
|
|
|
'stages/windows/upexec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/upexec/reverse_tcp_rc4'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/upexec/reverse_tcp_rc4_dns' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_tcp_rc4_dns',
|
|
|
|
'stages/windows/upexec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/upexec/reverse_tcp_rc4_dns'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/vncinject/bind_ipv6_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_ipv6_tcp',
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/vncinject/bind_ipv6_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/vncinject/bind_nonx_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_nonx_tcp',
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/vncinject/bind_nonx_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/vncinject/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_tcp',
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/vncinject/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/vncinject/bind_tcp_rc4' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_tcp_rc4',
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/vncinject/bind_tcp_rc4'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/vncinject/find_tag' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/findtag_ord',
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/vncinject/find_tag'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/vncinject/reverse_ipv6_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_ipv6_tcp',
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/vncinject/reverse_ipv6_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/vncinject/reverse_nonx_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_nonx_tcp',
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/vncinject/reverse_nonx_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/vncinject/reverse_ord_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_ord_tcp',
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/vncinject/reverse_ord_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/vncinject/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_tcp',
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/vncinject/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/vncinject/reverse_tcp_allports' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_tcp_allports',
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/vncinject/reverse_tcp_allports'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/vncinject/reverse_tcp_dns' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_tcp_dns',
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/vncinject/reverse_tcp_dns'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/vncinject/reverse_tcp_rc4' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_tcp_rc4',
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/vncinject/reverse_tcp_rc4'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/vncinject/reverse_tcp_rc4_dns' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/reverse_tcp_rc4_dns',
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/vncinject/reverse_tcp_rc4_dns'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/x64/exec' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/windows/x64/exec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/x64/exec'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/x64/loadlibrary' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/windows/x64/loadlibrary'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/x64/loadlibrary'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/x64/meterpreter/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/x64/bind_tcp',
|
|
|
|
'stages/windows/x64/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/x64/meterpreter/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/x64/meterpreter/reverse_https' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/x64/reverse_https',
|
|
|
|
'stages/windows/x64/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/x64/meterpreter/reverse_https'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/x64/meterpreter/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/x64/reverse_tcp',
|
|
|
|
'stages/windows/x64/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/x64/meterpreter/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/x64/shell/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/x64/bind_tcp',
|
|
|
|
'stages/windows/x64/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/x64/shell/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/x64/shell/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/x64/reverse_tcp',
|
|
|
|
'stages/windows/x64/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/x64/shell/reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/x64/shell_bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/windows/x64/shell_bind_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/x64/shell_bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/x64/shell_reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'singles/windows/x64/shell_reverse_tcp'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/x64/shell_reverse_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/x64/vncinject/bind_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/x64/bind_tcp',
|
|
|
|
'stages/windows/x64/vncinject'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/x64/vncinject/bind_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/x64/vncinject/reverse_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-10-21 14:33:01 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/x64/reverse_tcp',
|
|
|
|
'stages/windows/x64/vncinject'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-10-21 14:33:01 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/x64/vncinject/reverse_tcp'
|
|
|
|
end
|
2014-12-22 16:37:46 +00:00
|
|
|
|
|
|
|
context 'windows/dllinject/bind_hidden_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-22 16:37:46 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_hidden_tcp',
|
|
|
|
'stages/windows/dllinject'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-12-22 16:37:46 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/dllinject/bind_hidden_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/meterpreter/bind_hidden_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-22 16:37:46 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_hidden_tcp',
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-12-22 16:37:46 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/meterpreter/bind_hidden_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupdllinject/bind_hidden_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-22 16:37:46 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_hidden_tcp',
|
|
|
|
'stages/windows/patchupdllinject'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-12-22 16:37:46 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupdllinject/bind_hidden_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/patchupmeterpreter/bind_hidden_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-22 16:37:46 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_hidden_tcp',
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-12-22 16:37:46 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupmeterpreter/bind_hidden_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/shell/bind_hidden_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-22 16:37:46 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_hidden_tcp',
|
|
|
|
'stages/windows/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-12-22 16:37:46 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/shell/bind_hidden_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/upexec/bind_hidden_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-22 16:37:46 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_hidden_tcp',
|
|
|
|
'stages/windows/upexec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-12-22 16:37:46 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/upexec/bind_hidden_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/vncinject/bind_hidden_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-22 16:37:46 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_hidden_tcp',
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-12-22 16:37:46 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/vncinject/bind_hidden_tcp'
|
|
|
|
end
|
2014-12-27 21:03:45 +00:00
|
|
|
|
|
|
|
context 'windows/dllinject/bind_hidden_ipknock_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-27 21:03:45 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_hidden_ipknock_tcp',
|
|
|
|
'stages/windows/dllinject'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-12-27 21:03:45 +00: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 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-27 21:03:45 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_hidden_ipknock_tcp',
|
|
|
|
'stages/windows/meterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-12-27 21:03:45 +00: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 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-27 21:03:45 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_hidden_ipknock_tcp',
|
|
|
|
'stages/windows/patchupdllinject'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-12-27 21:03:45 +00: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 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-27 21:03:45 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_hidden_ipknock_tcp',
|
|
|
|
'stages/windows/patchupmeterpreter'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-12-27 21:03:45 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/patchupmeterpreter/bind_hidden_ipknock_tcp'
|
|
|
|
end
|
|
|
|
|
|
|
|
context 'windows/shell/bind_hidden_ipknock_tcp' do
|
2015-03-09 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-27 21:03:45 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_hidden_ipknock_tcp',
|
|
|
|
'stages/windows/shell'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-12-27 21:03:45 +00: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 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-27 21:03:45 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_hidden_ipknock_tcp',
|
|
|
|
'stages/windows/upexec'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-12-27 21:03:45 +00: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 19:41:25 +00:00
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2014-12-27 21:03:45 +00:00
|
|
|
ancestor_reference_names: [
|
|
|
|
'stagers/windows/bind_hidden_ipknock_tcp',
|
|
|
|
'stages/windows/vncinject'
|
|
|
|
],
|
2015-03-09 20:08:11 +00:00
|
|
|
dynamic_size: false,
|
2014-12-27 21:03:45 +00:00
|
|
|
modules_pathname: modules_pathname,
|
|
|
|
reference_name: 'windows/vncinject/bind_hidden_ipknock_tcp'
|
|
|
|
end
|
2015-01-19 12:01:56 +00:00
|
|
|
|
2015-03-10 19:07:25 +00:00
|
|
|
context 'windows/meterpreter/reverse_winhttp' do
|
|
|
|
it_should_behave_like 'payload cached size is consistent',
|
2015-01-19 12:01:56 +00:00
|
|
|
ancestor_reference_names: [
|
2015-03-10 19:07:25 +00:00
|
|
|
'stagers/windows/reverse_winhttp',
|
2015-01-19 12:01:56 +00:00
|
|
|
'stages/windows/meterpreter'
|
|
|
|
],
|
2015-03-10 19:07:25 +00:00
|
|
|
dynamic_size: false,
|
2015-01-19 12:01:56 +00:00
|
|
|
modules_pathname: modules_pathname,
|
2015-03-10 19:07:25 +00:00
|
|
|
reference_name: 'windows/meterpreter/reverse_winhttp'
|
2015-01-19 12:01:56 +00:00
|
|
|
end
|
2014-10-21 14:33:01 +00:00
|
|
|
end
|