Need a default template
The set_template_default actually needs the second argument, otherwise we hit a RuntimeError.bug/bundler_fix
parent
aaea730508
commit
0e121df69d
|
@ -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
|
# Use set_template_default to normalize the :template key. It will just end up doing
|
||||||
# opts[:template] = File.join(opts[:template_path], opts[:template])
|
# opts[:template] = File.join(opts[:template_path], opts[:template])
|
||||||
# for us, check if the file exists.
|
# 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
|
# If this isn't our normal template, we have to do some fancy
|
||||||
# header patching to mark the .text section rwx before putting our
|
# header patching to mark the .text section rwx before putting our
|
||||||
|
|
Loading…
Reference in New Issue