Update payload sizes and add new payloads to spec
parent
9e50114082
commit
e103b2365a
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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: [
|
||||
|
|
Loading…
Reference in New Issue