Skip to main content
dirsearch logo (light) dirsearch logo (dark)

dirsearch - Web Path Discovery

Build License Stars Release Sponsors Discord Twitter

An advanced web path brute-forcer

dirsearch is being actively developed by @maurosoria and @shelld3v.

Join the Discord server to communicate with the team.

Quick Start

dirsearch requires Python 3.11 or higher.

git clone https://github.com/maurosoria/dirsearch.git --depth 1
cd dirsearch
python3 dirsearch.py -u https://example.com -e php,html,js

You can also install the latest Python stack directly from GitHub with pip:

pip3 install git+https://github.com/maurosoria/dirsearch.git
dirsearch -u https://example.com -e php,html,js

The Rust native backend is opt-in for source installs; see Installation for the native build steps.

Pre-built PyInstaller binaries and portable folder archives are available on the Releases page.

Documentation

The full documentation now lives in docs/:

  • Installation: supported platforms, Python install, release artifacts, and Docker.
  • Usage Guide: common scans, recursion, filters, proxies, raw requests, reports, and tips.
  • Wordlists: %EXT%, categories, templates, prefixes, suffixes, and transformations.
  • CLI Options: complete command-line reference.
  • Configuration: config.ini reference.
  • Sessions: save, list, and resume scan sessions.
  • Python API: importable API examples.
  • Building: PyInstaller, portable builds, Docker images, and GitHub Actions.
  • References: external tutorials and articles.

Minimal Examples

python3 dirsearch.py -u https://target
python3 dirsearch.py -u https://target -e php,html,js
python3 dirsearch.py -u https://target -e php,html,js -w /path/to/wordlist
python3 dirsearch.py -u https://target -r --max-recursion-depth 3

Use python3 dirsearch.py -h for the full CLI help.

Python API

dirsearch can also be used from Python code for local automation, MCP servers, REST wrappers, and agent-controlled scans. The importable API keeps its configuration in FuzzerConfig, so callers do not need to parse CLI flags or mutate CLI globals.

See Python API for examples covering templates, custom wordlists, callbacks, authenticated sessions, and agent-oriented scan recipes.

Contributing

Pull requests and feature requests are welcome. See CONTRIBUTORS.md for the people who have helped improve dirsearch.

License

Copyright (C) Mauro Soria (maurosoria@gmail.com)

License: GNU General Public License, version 2.

Metadata

Release files for dirsearch 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dirsearch 0.5.0
File Size Uploaded
dirsearch-0.5.0.tar.gz 199.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dirsearch 0.5.0
File Interpreter ABI Platform
dirsearch-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 438.7 kB

Release files / dirsearch-0.5.0.tar.gz

Download URL dirsearch-0.5.0.tar.gz
Size 199.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8295dcf154c9c42bf01c0e41a743d1677fb80ff424906f7de5c1ac05aaaa79ee
BLAKE2b-256 checksum
How to use checksums
1245aa4aad4b6f7fe7d337d9656ce57412e37ff696f52a05739ed10c5ffa6adf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.2

Release files / dirsearch-0.5.0-py3-none-any.whl

Download URL dirsearch-0.5.0-py3-none-any.whl
Size 239.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10dc3476fdc9e71d7a0f41b2745b2261f3a1833f4f8c9db9b3b9c6dfe41c9597
BLAKE2b-256 checksum
How to use checksums
d74bd23f83a36dec918d7c14eafb9cde19e38d054e7bfea453901f55030a2ead
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.3

3 release files

0.4.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page