diff --git a/lib/msf/core/db_manager/import/open_vas.rb b/lib/msf/core/db_manager/import/open_vas.rb index cf3c227920..ed936b9d8c 100644 --- a/lib/msf/core/db_manager/import/open_vas.rb +++ b/lib/msf/core/db_manager/import/open_vas.rb @@ -1,16 +1,6 @@ require 'rex/parser/openvas_nokogiri' module Msf::DBManager::Import::OpenVAS - # - # Of course they had to change the nessus format. - # - def import_openvas_xml(args={}, &block) - filename = args[:filename] - wspace = args[:wspace] || workspace - - raise DBImportError.new("No OpenVAS XML support. Please submit a patch to msfdev[at]metasploit.com") - end - def import_openvas_new_xml(args={}, &block) if block doc = Rex::Parser::OpenVASDocument.new(args,framework.db) {|type, data| yield type,data } @@ -31,4 +21,14 @@ module Msf::DBManager::Import::OpenVAS end import_wapiti_xml(args.merge(:data => data)) end + + # + # Of course they had to change the nessus format. + # + def import_openvas_xml(args={}, &block) + filename = args[:filename] + wspace = args[:wspace] || workspace + + raise DBImportError.new("No OpenVAS XML support. Please submit a patch to msfdev[at]metasploit.com") + end end