Fix msftidy warnings
Remove explicitly loading msf/core and self.class from the register_ functions.bug/bundler_fix
parent
f8fb03682a
commit
ff263812fc
|
@ -49,7 +49,7 @@ class MetasploitModule < Msf::Exploit::Local
|
||||||
OptString.new('PASSWORD', [false, "Password to authenticate with"]),
|
OptString.new('PASSWORD', [false, "Password to authenticate with"]),
|
||||||
OptString.new('DOMAIN', [false, "Domain or machine name"]),
|
OptString.new('DOMAIN', [false, "Domain or machine name"]),
|
||||||
|
|
||||||
], self.class)
|
])
|
||||||
|
|
||||||
register_advanced_options(
|
register_advanced_options(
|
||||||
[
|
[
|
||||||
|
@ -60,7 +60,7 @@ class MetasploitModule < Msf::Exploit::Local
|
||||||
false
|
false
|
||||||
]),
|
]),
|
||||||
|
|
||||||
], self.class)
|
])
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue