Skip to content

Commit 2839b19

Browse files
committed
Update payload spec to include multi payloads
1 parent ffee0ff commit 2839b19

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

spec/modules/payloads_spec.rb

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1697,6 +1697,28 @@
16971697
reference_name: 'mainframe/shell_reverse_tcp'
16981698
end
16991699

1700+
context 'multi/meterpreter/reverse_http' do
1701+
it_should_behave_like 'payload cached size is consistent',
1702+
ancestor_reference_names: [
1703+
'stagers/multi/reverse_http',
1704+
'stages/multi/meterpreter'
1705+
],
1706+
dynamic_size: false,
1707+
modules_pathname: modules_pathname,
1708+
reference_name: 'multi/meterpreter/reverse_http'
1709+
end
1710+
1711+
context 'multi/meterpreter/reverse_https' do
1712+
it_should_behave_like 'payload cached size is consistent',
1713+
ancestor_reference_names: [
1714+
'stagers/multi/reverse_https',
1715+
'stages/multi/meterpreter'
1716+
],
1717+
dynamic_size: false,
1718+
modules_pathname: modules_pathname,
1719+
reference_name: 'multi/meterpreter/reverse_https'
1720+
end
1721+
17001722
context 'netware/shell/reverse_tcp' do
17011723
it_should_behave_like 'payload cached size is consistent',
17021724
ancestor_reference_names: [

0 commit comments

Comments
 (0)