Skip to content

Commit b509ac8

Browse files
committed
Crawler mixin: Dirbusting opt moved to advanced
1 parent b474cda commit b509ac8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/auxiliary/crawler.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ def initialize(info = {})
2020
OptString.new('VHOST', [ false, "HTTP server virtual host" ]),
2121
OptString.new('URI', [ true, "The starting page to crawl", "/"]),
2222
Opt::Proxies,
23-
OptBool.new('RUN_DIRBUSTER', [ false, 'The maximum number of pages to crawl per URL', true]),
2423
OptInt.new('MAX_PAGES', [ true, 'The maximum number of pages to crawl per URL', 500]),
2524
OptInt.new('MAX_MINUTES', [ true, 'The maximum number of minutes to spend on each URL', 5]),
2625
OptInt.new('MAX_THREADS', [ true, 'The maximum number of concurrent requests', 4]),
@@ -33,6 +32,7 @@ def initialize(info = {})
3332

3433
register_advanced_options(
3534
[
35+
OptBool.new('RUN_DIRBUSTER', [ false, 'The maximum number of pages to crawl per URL', 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]),

0 commit comments

Comments
 (0)