Fix msftidy warnings

Remove explicitly loading msf/core and self.class from the register_
functions.
bug/bundler_fix
Brandon Knight 2017-04-28 21:26:53 -04:00
parent f8fb03682a
commit ff263812fc
1 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ class MetasploitModule < Msf::Exploit::Local
OptString.new('PASSWORD', [false, "Password to authenticate with"]),
OptString.new('DOMAIN', [false, "Domain or machine name"]),
], self.class)
])
register_advanced_options(
[
@ -60,7 +60,7 @@ class MetasploitModule < Msf::Exploit::Local
false
]),
], self.class)
])
end