Need a default template

The set_template_default actually needs the second argument,
otherwise we hit a RuntimeError.
bug/bundler_fix
wchen-r7 2015-11-12 15:17:03 -06:00
parent aaea730508
commit 0e121df69d
1 changed files with 1 additions and 1 deletions

View File

@ -995,7 +995,7 @@ require 'msf/core/exe/segment_appender'
# Use set_template_default to normalize the :template key. It will just end up doing
# opts[:template] = File.join(opts[:template_path], opts[:template])
# for us, check if the file exists.
set_template_default(opts)
set_template_default(opts, 'template_x86_linux.bin')
# If this isn't our normal template, we have to do some fancy
# header patching to mark the .text section rwx before putting our