Use the correct variable

bug/bundler_fix
sinn3r 2013-08-19 14:38:40 -05:00
parent d89932bfd8
commit d0b56e1650
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class Metasploit3 < Msf::Auxiliary
opts = {}
File.open(datastore['YAML_CONFIG'], "rb") do |f|
yamlconf = YAML::load(fileconf)
yamlconf = YAML::load(f)
opts['to'] = yamlconf['to']
opts['from'] = yamlconf['from']