Remove workspace call
The #workspace call wasn't running as expected when using the data service. It was ending up in infinite recursion.
This commit is contained in:
@@ -229,7 +229,7 @@ module Msf::DBManager::Import::MetasploitFramework::XML
|
||||
# TODO: loot, tasks, and reports
|
||||
def import_msf_xml(args={}, &block)
|
||||
data = args[:data]
|
||||
wspace = args[:wspace] || workspace || Msf::Util::DBManager.process_opts_workspace(args, framework).name
|
||||
wspace = args[:wspace] || Msf::Util::DBManager.process_opts_workspace(args, framework).name
|
||||
bl = validate_ips(args[:blacklist]) ? args[:blacklist].split : []
|
||||
|
||||
doc = Nokogiri::XML::Reader.from_memory(data)
|
||||
|
||||
Reference in New Issue
Block a user