Update payload sizes and add new payloads to spec

bug/bundler_fix
OJ 2015-05-25 11:31:15 +10:00
parent 9e50114082
commit e103b2365a
6 changed files with 38 additions and 5 deletions

View File

@ -10,7 +10,7 @@ require 'msf/core/payload/windows/bind_tcp'
module Metasploit4
CachedSize = 285
CachedSize = 318
include Msf::Payload::Stager
include Msf::Payload::Windows::BindTcp

View File

@ -9,7 +9,7 @@ require 'msf/core/payload/windows/x64/bind_tcp'
module Metasploit4
CachedSize = 479
CachedSize = 483
include Msf::Payload::Stager
include Msf::Payload::Windows::BindTcp_x64

View File

@ -9,7 +9,7 @@ require 'msf/core/payload/windows/x64/bind_tcp'
module Metasploit4
CachedSize = 479
CachedSize = 524
include Msf::Payload::Stager
include Msf::Payload::Windows::BindTcp_x64

View File

@ -9,7 +9,7 @@ require 'msf/core/payload/windows/x64/bind_tcp'
module Metasploit4
CachedSize = 479
CachedSize = 481
include Msf::Payload::Stager
include Msf::Payload::Windows::BindTcp_x64

View File

@ -9,7 +9,7 @@ require 'msf/core/payload/windows/x64/bind_tcp'
module Metasploit4
CachedSize = 520
CachedSize = 522
include Msf::Payload::Stager
include Msf::Payload::Windows::BindTcp_x64

View File

@ -2642,6 +2642,17 @@ describe 'modules/payloads', :content do
reference_name: 'windows/meterpreter/bind_ipv6_tcp'
end
context 'windows/meterpreter/bind_ipv6_tcp_uuid' do
it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [
'stagers/windows/bind_ipv6_tcp_uuid',
'stages/windows/meterpreter'
],
dynamic_size: false,
modules_pathname: modules_pathname,
reference_name: 'windows/meterpreter/bind_ipv6_tcp_uuid'
end
context 'windows/meterpreter/bind_nonx_tcp' do
it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [
@ -3656,6 +3667,28 @@ describe 'modules/payloads', :content do
reference_name: 'windows/x64/loadlibrary'
end
context 'windows/x64/meterpreter/bind_ipv6_tcp' do
it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [
'stagers/windows/x64/bind_ipv6_tcp',
'stages/windows/x64/meterpreter'
],
dynamic_size: false,
modules_pathname: modules_pathname,
reference_name: 'windows/x64/meterpreter/bind_ipv6_tcp'
end
context 'windows/x64/meterpreter/bind_ipv6_tcp_uuid' do
it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [
'stagers/windows/x64/bind_ipv6_tcp_uuid',
'stages/windows/x64/meterpreter'
],
dynamic_size: false,
modules_pathname: modules_pathname,
reference_name: 'windows/x64/meterpreter/bind_ipv6_tcp_uuid'
end
context 'windows/x64/meterpreter/bind_tcp' do
it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [