We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b92d0d commit 8b5a146Copy full SHA for 8b5a146
lib/msf/core/db_manager.rb
@@ -399,7 +399,7 @@ def update_all_module_details
399
['nop', framework.nops]
400
].each do |mt|
401
mt[1].keys.sort.each do |mn|
402
- next if skipped.include?([mt[0], mn])
+ next if skip?(skipped, [mt[0], mn])
403
obj = mt[1].create(mn)
404
next if not obj
405
begin
@@ -419,6 +419,10 @@ def update_all_module_details
419
self.framework.cache_thread = nil
420
end
421
422
+ def skip?(skipped, entry)
423
+ skipped.include?(entry)
424
+ end
425
+
426
# Creates an Mdm::Module::Detail from a module instance.
427
#
428
# @param module_instance [Msf::Module] a metasploit module instance.
0 commit comments