Skip to content

Commit f879295

Browse files
author
Brent Cook
committed
fix one module for testing
1 parent df306c1 commit f879295

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

modules/auxiliary/scanner/http/brute_dirs.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
# Current source: https://github.com/rapid7/metasploit-framework
44
##
55

6-
7-
require 'msf/core'
86
require 'enumerable'
97

108
class MetasploitModule < Msf::Auxiliary
@@ -29,7 +27,7 @@ def initialize(info = {})
2927
[
3028
OptString.new('PATH', [ true, "The path to identify directories", '/']),
3129
OptString.new('FORMAT', [ true, "The expected directory format (a alpha, d digit, A upperalpha)", 'a,aa,aaa'])
32-
], self.class)
30+
])
3331

3432
register_advanced_options(
3533
[
@@ -40,7 +38,7 @@ def initialize(info = {})
4038
),
4139
OptBool.new('NoDetailMessages', [ false, "Do not display detailed test messages", true ]),
4240
OptInt.new('TestThreads', [ true, "Number of test threads", 25])
43-
], self.class)
41+
])
4442

4543
end
4644

0 commit comments

Comments
 (0)