Land #9665, Add missing reverse_tcp_rc4 payload tests.
Merge branch 'land-9665' into upstream-master4.x
parent
d3b4f91b4c
commit
9be7bc9b21
|
@ -10,7 +10,7 @@ require 'msf/core/payload/windows/x64/reverse_tcp_rc4'
|
|||
|
||||
module MetasploitModule
|
||||
|
||||
CachedSize = 398
|
||||
CachedSize = 585
|
||||
|
||||
include Msf::Payload::Stager
|
||||
include Msf::Payload::Windows::ReverseTcpRc4_x64
|
||||
|
|
|
@ -4151,6 +4151,17 @@ RSpec.describe 'modules/payloads', :content do
|
|||
reference_name: 'windows/x64/meterpreter/reverse_tcp'
|
||||
end
|
||||
|
||||
context 'windows/x64/meterpreter/reverse_tcp_rc4' do
|
||||
it_should_behave_like 'payload cached size is consistent',
|
||||
ancestor_reference_names: [
|
||||
'stagers/windows/x64/reverse_tcp_rc4',
|
||||
'stages/windows/x64/meterpreter'
|
||||
],
|
||||
dynamic_size: false,
|
||||
modules_pathname: modules_pathname,
|
||||
reference_name: 'windows/x64/meterpreter/reverse_tcp_rc4'
|
||||
end
|
||||
|
||||
context 'windows/x64/meterpreter/reverse_tcp_uuid' do
|
||||
it_should_behave_like 'payload cached size is consistent',
|
||||
ancestor_reference_names: [
|
||||
|
@ -4297,6 +4308,17 @@ RSpec.describe 'modules/payloads', :content do
|
|||
reference_name: 'windows/x64/shell/reverse_tcp'
|
||||
end
|
||||
|
||||
context 'windows/x64/shell/reverse_tcp_rc4' do
|
||||
it_should_behave_like 'payload cached size is consistent',
|
||||
ancestor_reference_names: [
|
||||
'stagers/windows/x64/reverse_tcp_rc4',
|
||||
'stages/windows/x64/shell'
|
||||
],
|
||||
dynamic_size: false,
|
||||
modules_pathname: modules_pathname,
|
||||
reference_name: 'windows/x64/shell/reverse_tcp_rc4'
|
||||
end
|
||||
|
||||
context 'windows/x64/shell_bind_tcp' do
|
||||
it_should_behave_like 'payload cached size is consistent',
|
||||
ancestor_reference_names: [
|
||||
|
@ -4350,6 +4372,17 @@ RSpec.describe 'modules/payloads', :content do
|
|||
reference_name: 'windows/x64/vncinject/reverse_tcp'
|
||||
end
|
||||
|
||||
context 'windows/x64/vncinject/reverse_tcp_rc4' do
|
||||
it_should_behave_like 'payload cached size is consistent',
|
||||
ancestor_reference_names: [
|
||||
'stagers/windows/x64/reverse_tcp_rc4',
|
||||
'stages/windows/x64/vncinject'
|
||||
],
|
||||
dynamic_size: false,
|
||||
modules_pathname: modules_pathname,
|
||||
reference_name: 'windows/x64/vncinject/reverse_tcp_rc4'
|
||||
end
|
||||
|
||||
context 'windows/dllinject/bind_hidden_tcp' do
|
||||
it_should_behave_like 'payload cached size is consistent',
|
||||
ancestor_reference_names: [
|
||||
|
|
Loading…
Reference in New Issue