Skip to content

Commit 2b4ace9

Browse files
committed
convert to "screaming snake"
1 parent f70b402 commit 2b4ace9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/exploits/windows/iis/iis_webdav_scstoragepathfromurl.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,17 +71,17 @@ def initialize(info = {})
7171
register_options(
7272
[
7373
OptString.new('TARGETURI', [ true, 'Path of IIS 6 web application', '/']),
74-
OptInt.new('MinPathLength', [ true, 'Start of physical path brute force', 3 ]),
75-
OptInt.new('MaxPathLength', [ true, 'End of physical path brute force', 60 ]),
74+
OptInt.new('MINPATHLENGTH', [ true, 'Start of physical path brute force', 3 ]),
75+
OptInt.new('MAXPATHLENGTH', [ true, 'End of physical path brute force', 60 ]),
7676
])
7777
end
7878

7979
def min_path_len
80-
datastore['MinPathLength']
80+
datastore['MINPATHLENGTH']
8181
end
8282

8383
def max_path_len
84-
datastore['MaxPathLength']
84+
datastore['MAXPATHLENGTH']
8585
end
8686

8787
def supports_webdav?(headers)

0 commit comments

Comments
 (0)