Skip to content

Commit

Permalink
Fixes WMAP plugin loading failures
Browse files Browse the repository at this point in the history
  • Loading branch information
cgranleese-r7 committed Mar 25, 2024
1 parent 685a2e9 commit d325104
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/msf/core/module_set.rb
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,10 @@ def each_module_list(ary, opts, &block)
# Custom filtering
next if (each_module_filter(opts, name, entry) == true)

block.call(name, self[name])
mod = self[name]
next if mod.nil?

block.call(name, mod)
end
end

Expand Down

0 comments on commit d325104

Please sign in to comment.