diff --git a/lib/msf/core/db_manager/import.rb b/lib/msf/core/db_manager/import.rb index 56cdaee194..2bd9f637d7 100644 --- a/lib/msf/core/db_manager/import.rb +++ b/lib/msf/core/db_manager/import.rb @@ -12,8 +12,6 @@ require 'uri' # require 'packetfu' -require 'rex/parser/nexpose_simple_nokogiri' -require 'rex/parser/nexpose_xml' require 'rex/parser/nmap_nokogiri' require 'rex/parser/nmap_xml' require 'rex/parser/openvas_nokogiri' diff --git a/lib/msf/core/db_manager/import/nexpose/raw.rb b/lib/msf/core/db_manager/import/nexpose/raw.rb index 133fa4d999..302e2a6f8d 100644 --- a/lib/msf/core/db_manager/import/nexpose/raw.rb +++ b/lib/msf/core/db_manager/import/nexpose/raw.rb @@ -1,4 +1,5 @@ require 'rex/parser/nexpose_raw_nokogiri' +require 'rex/parser/nexpose_xml' module Msf::DBManager::Import::Nexpose::Raw def import_nexpose_raw_noko_stream(args, &block) diff --git a/lib/msf/core/db_manager/import/nexpose/simple.rb b/lib/msf/core/db_manager/import/nexpose/simple.rb index 964bdfb02f..828dff10f5 100644 --- a/lib/msf/core/db_manager/import/nexpose/simple.rb +++ b/lib/msf/core/db_manager/import/nexpose/simple.rb @@ -1,3 +1,5 @@ +require 'rex/parser/nexpose_simple_nokogiri' + module Msf::DBManager::Import::Nexpose::Simple def import_nexpose_noko_stream(args, &block) if block