| 1 |
# If you want to edit dirsearch default configurations, you can |
| 2 |
# edit values in this file. Everything after `#` is a comment |
| 3 |
# and won't be applied |
| 4 |
|
| 5 |
[general] |
| 6 |
threads = 25 |
| 7 |
async = False |
| 8 |
recursive = False |
| 9 |
deep-recursive = False |
| 10 |
force-recursive = False |
| 11 |
recursion-status = 200-399,401,403 |
| 12 |
max-recursion-depth = 0 |
| 13 |
exclude-subdirs = %%ff/,.;/,..;/,;/,./,../,%%2e/,%%2e%%2e/ |
| 14 |
random-user-agents = False |
| 15 |
max-time = 0 |
| 16 |
target-max-time = 0 |
| 17 |
exit-on-error = False |
| 18 |
skip-on-status = 429 |
| 19 |
#filter-threshold = 10 |
| 20 |
#subdirs = /,api/ |
| 21 |
#include-status = 200-299,401 |
| 22 |
#exclude-status = 400,500-999 |
| 23 |
#exclude-sizes = 0b,123gb |
| 24 |
#exclude-texts = [ |
| 25 |
# "Not found", |
| 26 |
# "404" |
| 27 |
#] |
| 28 |
#exclude-regex = "^403$" |
| 29 |
#exclude-redirect = "*/error.html" |
| 30 |
#exclude-response = 404.html |
| 31 |
|
| 32 |
[dictionary] |
| 33 |
default-extensions = php,asp,aspx,jsp,html,htm |
| 34 |
force-extensions = False |
| 35 |
overwrite-extensions = False |
| 36 |
lowercase = False |
| 37 |
uppercase = False |
| 38 |
capital = False |
| 39 |
#exclude-extensions = old,log |
| 40 |
#prefixes = .,admin |
| 41 |
#suffixes = ~,.bak |
| 42 |
#wordlists = /path/to/wordlist1.txt,/path/to/wordlist2.txt |
| 43 |
#wordlist-categories = common,conf,web |
| 44 |
|
| 45 |
[request] |
| 46 |
http-method = get |
| 47 |
follow-redirects = False |
| 48 |
#headers = [ |
| 49 |
# "Header1: Value", |
| 50 |
# "Header2: Value" |
| 51 |
#] |
| 52 |
#headers-file = /path/to/headers.txt |
| 53 |
#user-agent = MyUserAgent |
| 54 |
#cookie = SESSIONID=123 |
| 55 |
|
| 56 |
[connection] |
| 57 |
timeout = 7.5 |
| 58 |
delay = 0 |
| 59 |
max-rate = 0 |
| 60 |
max-retries = 1 |
| 61 |
# By disabling `scheme` variable, dirsearch will automatically identify the URI scheme |
| 62 |
#scheme = http |
| 63 |
#proxies = ["localhost:8080"] |
| 64 |
#proxies-file = /path/to/proxies.txt |
| 65 |
#replay-proxy = localhost:8000 |
| 66 |
#network-interface = eth0 |
| 67 |
|
| 68 |
[advanced] |
| 69 |
crawl = False |
| 70 |
|
| 71 |
[view] |
| 72 |
full-url = False |
| 73 |
quiet-mode = False |
| 74 |
color = True |
| 75 |
show-redirects-history = False |
| 76 |
disable-cli = False |
| 77 |
|
| 78 |
[output] |
| 79 |
# Available: simple, plain, json, xml, md, csv, html, sqlite |
| 80 |
output-formats = plain |
| 81 |
# Supported variables for 'output-file' and 'output-sql-table': |
| 82 |
# - {extension}: File extension of the report, for 'output-file' only (e.g. txt, json) |
| 83 |
# - {format}: Output format (e.g. plain, simple, xml) |
| 84 |
# - {host}: Target hostname or IP (e.g. example.com) |
| 85 |
# - {scheme}: URI scheme (http or https) |
| 86 |
# - {port}: Port number (e.g. 443) |
| 87 |
# - {date}: Scan date, format: DD-MM-YYYY (e.g. 07-10-2022) |
| 88 |
# - {datetime}: Scan datetime, format: DD-MM-YYYY_HH-MM-SS (e.g. 2025-01-23_14:32:27) |
| 89 |
#output-file = reports/{host}/{scheme}_{port}.{extension} |
| 90 |
#mysql-url = mysql://user:password@localhost/database |
| 91 |
#postgres-url = postgres://user:password@localhost/database |
| 92 |
# Table to be used for SQL output (SQLite, MySQL, PostgreSQL) |
| 93 |
output-sql-table = {scheme}_{host}:{port} |
| 94 |
#log-file = /path/to/dirsearch.log |
| 95 |
#log-file-size = 50000000 |