Make sure module_reference is able to continue loading rb modules

GSoC/Meterpreter_Web_Console
Wei Chen 2018-07-06 14:58:43 -05:00
parent 545e91af00
commit 922081d87e
1 changed files with 5 additions and 0 deletions

View File

@ -212,6 +212,11 @@ tbl = Rex::Text::Table.new(
bad_refs_count = 0
$framework.modules.each { |name, mod|
if mod.nil?
elog("module_reference.rb is unable to load #{name}")
next
end
next if match and not name =~ match
x = mod.new