dirsearch -u https://example.comPerforms a standard directory brute-force scan on a single target URL using default settings.
A web path scanner that brute-forces directories and files with smart extension handling, recursion and filtering.
sudo apt install dirsearchdirsearch -u https://example.comPerforms a standard directory brute-force scan on a single target URL using default settings.
dirsearch -u https://example.com/Runs a scan ensuring the target URL includes a trailing slash for root directory enumeration.
dirsearch -u https://example.com/adminTargets a specific subdirectory path to begin the enumeration process.
dirsearch -u https://example.com -e phpScans for files with the specific .php extension along with directories.
dirsearch -u https://example.com -e php,html,jsEnumerates files matching multiple extensions separated by commas.
dirsearch -u https://example.com -e *Forces the tool to fuzz with all extensions found in the selected wordlist.
dirsearch -u https://example.com -X phpExcludes specific file extensions from the scan results to reduce noise.
dirsearch -u https://example.com -rEnables recursive scanning to brute-force subdirectories found during the initial scan.
dirsearch -u https://example.com -r --recursion-depth 3Limits the recursive scan to a maximum depth of 3 directory levels.
dirsearch -u https://example.com -r --recursion-status 200-399Only triggers recursion on paths that return status codes between 200 and 399.
dirsearch -u https://example.com --deep-recursiveForces deep recursion on all found paths regardless of status code heuristics.
dirsearch -u https://example.com -w /path/to/wordlist.txtSpecifies a custom dictionary file instead of using the built-in default wordlist.
Example
dirsearch -u https://example.com -w /usr/share/wordlists/dirb/common.txtdirsearch -u https://example.com --prefixes .adminAdds a custom prefix to all wordlist entries during the scan.
dirsearch -u https://example.com --suffixes .bakAppends a custom suffix to all wordlist entries to find backup files.
dirsearch -u https://example.com --uppercaseMutates the wordlist to use uppercase characters for case-sensitive servers.
dirsearch -u https://example.com --auth "user:password"Uses Basic Authentication credentials for protected endpoints.
Example
dirsearch -u https://example.com --auth "admin:secret"dirsearch -u https://example.com --auth-type digest --auth "user:password"Specifies Digest authentication method instead of the default Basic auth.
Example
dirsearch -u https://example.com --auth-type digest --auth "admin:secret"dirsearch -u https://example.com --proxy 127.0.0.1:8080Routes all traffic through an HTTP proxy like Burp Suite or OWASP ZAP.
dirsearch -u https://example.com --proxy socks5://127.0.0.1:9050Routes scan traffic through a SOCKS5 proxy such as Tor.
dirsearch -u https://example.com --proxy-auth "user:pass"Provides credentials for authenticating with an upstream proxy server.
dirsearch -u https://example.com --scheme httpsForces the scanner to use HTTPS if the protocol was not specified in the URL.
Example
dirsearch -u example.com --scheme httpsdirsearch -u https://example.com -i 200,301Includes only specific status codes (e.g., 200 OK and 301 Redirect) in the output.
dirsearch -u https://example.com -x 404,500Excludes specific status codes (e.g., 404 Not Found) from the results.
dirsearch -u https://example.com --exclude-status 403,401An alternative long-form flag to hide Forbidden and Unauthorized responses.
dirsearch -u https://example.com --exclude-sizes 0B,123BFilters out responses based on specific content lengths in bytes.
dirsearch -u https://example.com --exclude-text "Not Found"Excludes responses containing a specific text string in the body.
dirsearch -u https://example.com --minimal 200Only reports responses that are larger than the specified size in bytes.
dirsearch -u https://example.com --maximal 5000Only reports responses that are smaller than the specified size in bytes.
dirsearch -u https://example.com --delay 0.5Adds a half-second delay between requests to be stealthier.
dirsearch -u https://example.com --timeout 10Sets the maximum time to wait for a server response to 10 seconds.
dirsearch -u https://example.com --retries 3Retries failed requests up to 3 times before giving up on a path.
dirsearch -u https://example.com --format json -o report.jsonSaves the scan results in a structured JSON file for parsing.
dirsearch -u https://example.com --format csv -o report.csvExports the findings to a CSV file for spreadsheet analysis.
dirsearch -u https://example.com --format simple -o report.txtSaves results in a simple, human-readable text format.
dirsearch -u https://example.com --quietSuppresses the banner and standard output, showing only successful findings.
Example
dirsearch -u https://example.com -qdirsearch -u https://example.com --full-urlDisplays the full URL in the output instead of just the path.
dirsearch -u https://example.com --no-colorDisables colored output, useful for logging to files or terminals without color support.
dirsearch -u https://example.com --exit-on-errorForces the tool to exit immediately if an error occurs, useful in automated scripts.
dirsearch -u https://example.com -r -e php,aspx,jsp --exclude-status 404 --random-agentA combined command for stealthy, recursive discovery of dynamic application files.
dirsearch -u https://example.com --header "X-Forwarded-For: 127.0.0.1" -e conf,config,bakAttempts to bypass access controls while hunting for sensitive configuration backups.
dirsearch -u https://example.com -m POST --data "debug=true"Sends POST requests with specific data payload to trigger debug responses.
dirsearch -u https://example.com -w sensitive_files.txt --include-status 200Validates if a specific list of sensitive files is publicly accessible (Status 200).
dirsearch -u https://example.com --exclude-sizes 0-500 --format json -o internal_audit.jsonGenerates an audit report of potentially non-empty exposed endpoints.
dirsearch -u https://example.com -t 100 --random-agent -e php --exclude-status 403,404,500Aggressive, high-thread php file discovery filtering out common error codes.
dirsearch -u https://example.com --crawlEnables the experimental crawling mode to discover paths via links in responses.
dirsearch -u https://example.com --remove-extensionsRemoves extensions from wordlist entries, useful for modern REST API endpoint discovery.
dirsearch -u https://example.com --overwrite-extensionsReplaces any extensions in the wordlist with the one specified in the -e flag.
Example
dirsearch -u https://example.com -e php --overwrite-extensionsdirsearch -u https://example.com --force-extensionsForces the appending of extensions to every wordlist entry, even if one exists.
Example
dirsearch -u https://example.com -e php --force-extensionsdirsearch -u https://example.com --suppress-emptyHides results that return an empty response body.
dirsearch -u https://example.com --calibrationPerforms calibration on non-existent paths to automatically determine filters.
dirsearch -u https://example.com --min-response-size 1000Filters out any responses smaller than 1KB, often removing default error pages.
dirsearch -u https://example.com --max-response-size 100000Filters out large responses, useful for skipping large media files.
dirsearch -u https://example.com --request-by-hostnameForces the tool to request by hostname rather than IP, critical for virtual hosts.
dirsearch -u https://example.com --ip 192.168.1.1Resolves the target domain to a specific IP address manually.
dirsearch -u https://example.com --exclude-content /error.htmlExcludes pages that look like the content of the specified file path.
dirsearch -u https://example.com --raw-http-request /path/to/req.txtLoads a raw HTTP request from a file to perform scanning with exact headers.
Example
dirsearch -u https://example.com --raw-http-request /tmp/request.txt“Fuzz Faster U Fool” — a very fast web fuzzer for directories, parameters, virtual hosts and POST data, with flexible matching and filtering.
Brute-forces URIs, DNS subdomains, virtual hosts and cloud buckets. Simple, fast and written in Go.
A Python web fuzzer that replaces the FUZZ keyword in any part of a request — paths, parameters, headers or cookies — with payloads.
A fast, recursive content-discovery tool in Rust: brute-force directories and files with rich filtering, recursion and resume support.