Remove nesting in Msf::DBManager::ImportMsfXml
MSP-11124 Don't use nested modules to prevent Msf::DBManager::ImportMsfXml from being the declaring location for Msf::DBManager.
This commit is contained in:
parent
ef04261686
commit
b8ea44235b
|
@ -15,7 +15,6 @@ require 'msf/base/config'
|
|||
require 'msf/core'
|
||||
require 'msf/core/database_event'
|
||||
require 'msf/core/db_import_error'
|
||||
require 'msf/core/db_manager/import_msf_xml'
|
||||
require 'msf/core/db_manager/migration'
|
||||
require 'msf/core/host_state'
|
||||
require 'msf/core/service_state'
|
||||
|
@ -37,6 +36,7 @@ class Msf::DBManager
|
|||
autoload :HostDetail, 'msf/core/db_manager/host_detail'
|
||||
autoload :HostTag, 'msf/core/db_manager/host_tag'
|
||||
autoload :Import, 'msf/core/db_manager/import'
|
||||
autoload :ImportMsfXml, 'msf/core/db_manager/import_msf_xml'
|
||||
autoload :IPAddress, 'msf/core/db_manager/ip_address'
|
||||
autoload :Loot, 'msf/core/db_manager/loot'
|
||||
autoload :ModuleCache, 'msf/core/db_manager/module_cache'
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue