TOOL TUTORIAL · Web Application Security Testing

How to install and use Dirsearch

Dirsearch is a command-line tool designed for brute-forcing directories and files on web servers. It is commonly used by penetration testers and security professionals to discover hidden files and directories on a web server, which might be useful for identifying potential vulne…

Quick install: git clone https://github.com/maurosoria/dirsearch.git

Installation steps

  1. Open a terminal and make sure Python 3 is installed with python3 --version
  2. Run git clone https://github.com/maurosoria/dirsearch.git to download it
  3. Change into the folder with cd dirsearch
  4. Install requirements with pip install -r requirements.txt
  5. Run python3 dirsearch.py --help to confirm it works

See the full Dirsearch reference →