dirsearch - Web Path Discovery
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.inireference. - 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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dirsearch-0.5.0.tar.gz | 199.3 kB | Without provenance | Details for dirsearch-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dirsearch-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for dirsearch-0.5.0-py3-none-any.whl |
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
|
Security for dirsearch 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.