Land #8230, Sum the results of the module loaders
commit
bb64f5d7e3
|
@ -116,7 +116,9 @@ module Msf::ModuleManager::Loading
|
|||
|
||||
loaders.each do |loader|
|
||||
if loader.loadable?(path)
|
||||
count_by_type = loader.load_modules(path, options)
|
||||
count_by_type.merge!(loader.load_modules(path, options)) do |key, old, new|
|
||||
old + new
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue