Give warning on module load
parent
58ee2ccd6e
commit
5218ca4d89
|
@ -70,6 +70,11 @@ module Msf::Module::Deprecated
|
||||||
print_warning("*"*72)
|
print_warning("*"*72)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def init_ui(input = nil, output = nil)
|
||||||
|
super(input, output)
|
||||||
|
print_deprecation_warning
|
||||||
|
end
|
||||||
|
|
||||||
def generate
|
def generate
|
||||||
print_deprecation_warning
|
print_deprecation_warning
|
||||||
super
|
super
|
||||||
|
|
Loading…
Reference in New Issue