Land #9589, add some more payload specs

4.x
Brent Cook 2018-02-20 11:12:35 -06:00 committed by Metasploit
parent 3635a92f5a
commit eb54ae4ec0
No known key found for this signature in database
GPG Key ID: CDFB5FA52007B954
1 changed files with 22 additions and 0 deletions

View File

@ -1971,6 +1971,28 @@ RSpec.describe 'modules/payloads', :content do
reference_name: 'osx/x64/exec' reference_name: 'osx/x64/exec'
end end
context 'osx/x64/meterpreter/bind_tcp' do
it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [
'stagers/osx/x64/bind_tcp',
'stages/osx/x64/meterpreter'
],
dynamic_size: false,
modules_pathname: modules_pathname,
reference_name: 'osx/x64/meterpreter/bind_tcp'
end
context 'osx/x64/meterpreter/reverse_tcp' do
it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [
'stagers/osx/x64/reverse_tcp',
'stages/osx/x64/meterpreter'
],
dynamic_size: false,
modules_pathname: modules_pathname,
reference_name: 'osx/x64/meterpreter/reverse_tcp'
end
context 'osx/x64/meterpreter_reverse_http' do context 'osx/x64/meterpreter_reverse_http' do
it_should_behave_like 'payload cached size is consistent', it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [ ancestor_reference_names: [