Order methods

MSP-11124
bug/bundler_fix
Luke Imhoff 2014-10-15 13:14:20 -05:00
parent 0418027c90
commit eff95221da
No known key found for this signature in database
GPG Key ID: 5B1FB01FB33356F8
1 changed files with 10 additions and 10 deletions

View File

@ -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