Fix two typos for payload specs

bug/bundler_fix
Spencer McIntyre 2014-11-18 08:50:06 -05:00
parent 809a8d3a6e
commit eefeb452b1
2 changed files with 4 additions and 4 deletions

View File

@ -1839,7 +1839,7 @@ describe 'modules/payloads', :content do
context 'python/meterpreter/reverse_http' do
it_should_behave_like 'payload can be instantiated',
ancestor_reference_name: [
ancestor_reference_names: [
'stagers/python/reverse_http',
'stages/python/meterpreter'
],

View File

@ -62,15 +62,15 @@ File.open('log/untested-payloads.log') { |f|
$stderr.puts
$stderr.puts " context '#{reference_name}' do\n" \
" it_should_behave_like 'payload can be instantiated',\n" \
" ancestor_reference_name: ["
" ancestor_reference_names: ["
ancestor_reference_names = options[:ancestor_reference_names]
if ancestor_reference_names.length == 1
$stderr.puts " '#{ancestor_reference_names[0]}'"
else
$stderr.puts " '#{ancestor_reference_names[0]}',"
$stderr.puts " '#{ancestor_reference_names[1]}'"
$stderr.puts " '#{ancestor_reference_names[1]}',"
$stderr.puts " '#{ancestor_reference_names[0]}'"
end
$stderr.puts " ],\n" \