dirsearch

Dirsearch is a command-line tool designed to brute-force directories and files on web servers. It is widely used in penetration testing to uncover hidden resources within web applications.

Installation

Dirsearch can be installed using multiple methods:

git clone https://github.com/maurosoria/dirsearch.git --depth 1

This clones the repository with minimal history, reducing download size.

2. Install via ZIP File

Download the ZIP file from the official repository and extract it manually.

3. Install via Docker

docker build -t "dirsearch:v0.4.3" .

For more details, refer to the official documentation.

4. Install via PyPi

pip3 install dirsearch

OR

pip install dirsearch

5. Install via Kali Linux (Deprecated)

sudo apt-get install dirsearch

This method is no longer recommended due to outdated versions.

Usage

To perform a basic scan on a target URL:

dirsearch -u http://domain/endpoint

Additional Options

Dirsearch provides multiple options for customization. To view all available options:

dirsearch -h

References

Last updated