Skip to content

Commit ff26381

Browse files
committed
Fix msftidy warnings
Remove explicitly loading msf/core and self.class from the register_ functions.
1 parent f8fb036 commit ff26381

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/exploits/windows/local/ps_wmi_exec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def initialize(info={})
4949
OptString.new('PASSWORD', [false, "Password to authenticate with"]),
5050
OptString.new('DOMAIN', [false, "Domain or machine name"]),
5151

52-
], self.class)
52+
])
5353

5454
register_advanced_options(
5555
[
@@ -60,7 +60,7 @@ def initialize(info={})
6060
false
6161
]),
6262

63-
], self.class)
63+
])
6464

6565
end
6666

0 commit comments

Comments
 (0)