1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00

Update payload spec to include multi payloads

This commit is contained in:
OJ 2016-12-06 11:22:12 +10:00
parent ffee0ff1b6
commit 2839b198ba
No known key found for this signature in database
GPG Key ID: D5DC61FB93260597

View File

@ -1697,6 +1697,28 @@ RSpec.describe 'modules/payloads', :content do
reference_name: 'mainframe/shell_reverse_tcp'
end
context 'multi/meterpreter/reverse_http' do
it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [
'stagers/multi/reverse_http',
'stages/multi/meterpreter'
],
dynamic_size: false,
modules_pathname: modules_pathname,
reference_name: 'multi/meterpreter/reverse_http'
end
context 'multi/meterpreter/reverse_https' do
it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [
'stagers/multi/reverse_https',
'stages/multi/meterpreter'
],
dynamic_size: false,
modules_pathname: modules_pathname,
reference_name: 'multi/meterpreter/reverse_https'
end
context 'netware/shell/reverse_tcp' do
it_should_behave_like 'payload cached size is consistent',
ancestor_reference_names: [