disable warnings for now, to be reenabled when the module base class is updated
parent
659af68b16
commit
5a0bec81cb
|
@ -147,10 +147,11 @@ class Msf::Modules::Loader::Base
|
|||
|
||||
if namespace_module.const_defined?('Metasploit3', false)
|
||||
klass = namespace_module.const_get('Metasploit3', false)
|
||||
load_warning(module_path, 'Please change the modules class name from Metasploit3 to Metasploit')
|
||||
# We are not quite yet ready for the warnings to bubble to the user
|
||||
# load_warning(module_path, 'Please change the modules class name from Metasploit3 to Metasploit')
|
||||
elsif namespace_module.const_defined?('Metasploit4', false)
|
||||
klass = namespace_module.const_get('Metasploit4', false)
|
||||
load_warning(module_path, 'Please change the modules class name from Metasploit4 to Metasploit')
|
||||
# load_warning(module_path, 'Please change the modules class name from Metasploit4 to Metasploit')
|
||||
elsif namespace_module.const_defined?('Metasploit', false)
|
||||
klass = namespace_module.const_get('Metasploit', false)
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue