Remove vestiges of ModuleManager's ModuleSet origins
parent
79918d1ba1
commit
d7f6b0c373
|
@ -21,9 +21,6 @@ module Msf::ModuleManager::Reloading
|
|||
#
|
||||
# @return (see Msf::ModuleManager::Loading#load_modules)
|
||||
def reload_modules
|
||||
self.module_history = {}
|
||||
self.clear
|
||||
|
||||
self.enablement_by_type.each_key do |type|
|
||||
module_set_by_type[type].clear
|
||||
init_module_set(type)
|
||||
|
@ -45,4 +42,4 @@ module Msf::ModuleManager::Reloading
|
|||
|
||||
count_by_type
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -305,7 +305,6 @@ class Msf::ModuleSet < Hash
|
|||
#
|
||||
# @return [String] type of modules
|
||||
attr_writer :module_type
|
||||
attr_accessor :module_history
|
||||
|
||||
# Ranks modules based on their constant rank value, if they have one. Modules without a Rank are treated as if they
|
||||
# had {Msf::NormalRanking} for Rank.
|
||||
|
|
Loading…
Reference in New Issue