Skip to content

Commit d341b82

Browse files
author
Tod Beardsley
committed
Rename dirbust option to conform to style
1 parent 2971e50 commit d341b82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/msf/core/auxiliary/crawler.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def initialize(info = {})
3232

3333
register_advanced_options(
3434
[
35-
OptBool.new('RUN_DIRBUSTER', [ false, 'The maximum number of pages to crawl per URL', true]),
35+
OptBool.new('DirBust', [ false, 'Bruteforce common URL paths', true]),
3636
OptInt.new('RequestTimeout', [false, 'The maximum number of seconds to wait for a reply', 15]),
3737
OptInt.new('RedirectLimit', [false, 'The maximum number of redirects for a single request', 5]),
3838
OptInt.new('RetryLimit', [false, 'The maximum number of attempts for a single request', 5]),
@@ -175,7 +175,7 @@ def max_crawl_threads
175175
end
176176

177177
def dirbust?
178-
datastore['RUN_DIRBUSTER']
178+
datastore['DirBust']
179179
end
180180

181181
# Scrub links that end in these extensions. If more or less is

0 commit comments

Comments
 (0)