fix merge conflict

bug/bundler_fix
David Maloney 2013-09-12 13:56:08 -05:00
parent e80cda4ace
commit 34e5f69fbf
1 changed files with 11 additions and 0 deletions

View File

@ -56,6 +56,17 @@ require 'msf/core/exe/segment_injector'
end
end
def self.read_replace_script_template(filename, hash_sub)
template_pathname = File.join(Msf::Config.install_root, "data", "templates", "scripts", filename)
template = ''
File.open(template_pathname, "rb") do |f|
template = f.read
end
return template % hash_sub
end
##
#