Module: Msf::DBManager::Import::FusionVM

Included in:
Msf::DBManager::Import
Defined in:
lib/msf/core/db_manager/import/fusion_vm.rb

Instance Method Summary collapse

Instance Method Details

#import_fusionvm_xml(args = {}) ⇒ Object


4
5
6
7
8
9
10
# File 'lib/msf/core/db_manager/import/fusion_vm.rb', line 4

def import_fusionvm_xml(args={})
  args[:workspace] = Msf::Util::DBManager.process_opts_workspace(args, framework).name # key needs update?
  bl = validate_ips(args[:blacklist]) ? args[:blacklist].split : []
  doc = Rex::Parser::FusionVMDocument.new(args,self)
  parser = ::Nokogiri::XML::SAX::Parser.new(doc)
  parser.parse(args[:data])
end