Web path brute-forcer for finding hidden files and directories on a site
open sourceGPL-2.0-or-laterfree
dirsearch is an open source web path scanner in Python that brute-forces a website's paths from wordlists to find hidden files and directories, used in penetration tests and bug bounties. It scans with extensions, recursion to a set depth, filters, proxies, raw requests and reports, keeps wordlist templates and transformations, and saves and resumes scan sessions. It also has an importable Python API for automation, MCP servers and agent-controlled scans, an opt-in Rust backend, pre-built binaries and a Docker image.
Ways to install
Package managers
Problems it solves
- find hidden directories and files on a website during a pentest
- brute-force web paths with a wordlist
- discover admin pages and backups left on a web server I'm testing
Features
- wordlist-based web path brute-forcing
- recursive scans
- filters, proxies and raw requests
- saved and resumable sessions
- Python API for automation and agents
- Docker image and pre-built binaries
Limitations
- Needs Python 3.11 or later.2
Alternatives
The same job
These do what dirsearch does.
- gobuster Directory/File, DNS and VHost busting tool written in Go
- ffuf Fuzz Faster U Fool: a fast web fuzzer written in Go
- feroxbuster Fast, recursive content discovery tool for forced browsing, written in Rust
- SecLists The security tester's collection of wordlists, payloads and patterns
- BloodHound Find and remove identity attack paths in Active Directory, Entra ID and beyond