Browse Source

More style cleanup

Jon Hart 4 years ago
parent
commit
ab91d1cc92
No account linked to committer's email address
1 changed files with 9 additions and 7 deletions
  1. 9
    7
      lib/msf/core/auxiliary/llmnr.rb

+ 9
- 7
lib/msf/core/auxiliary/llmnr.rb View File

@@ -10,13 +10,15 @@ module Msf
10 10
     def initialize(info = {})
11 11
       super
12 12
       register_options(
13
-      [
14
-        OptAddressRange.new('RHOSTS', [true, 'The multicast address or CIDR range of targets to query', '224.0.0.252']),
15
-        Opt::RPORT(5355),
16
-        # TODO: allow more than one
17
-        OptString.new('NAME', [true, 'The name to query', 'localhost']),
18
-        OptString.new('TYPE', [true, 'The query type (name, # or TYPE#)', 'A']),
19
-      ], self.class)
13
+        [
14
+          OptAddressRange.new('RHOSTS', [true, 'The multicast address or CIDR range of targets to query', '224.0.0.252']),
15
+          Opt::RPORT(5355),
16
+          # TODO: allow more than one
17
+          OptString.new('NAME', [true, 'The name to query', 'localhost']),
18
+          OptString.new('TYPE', [true, 'The query type (name, # or TYPE#)', 'A'])
19
+        ],
20
+        self.class
21
+      )
20 22
     end
21 23
   end
22 24
 end

Loading…
Cancel
Save