In this new post we are going to install dirsearch from the GitHub repository, currently this is the most recommended way to install it.
This package contains is a command-line tool designed to brute force directories and files in webservers.
As a feature-rich tool, dirsearch gives users the opportunity to perform a complex web content discovering, with many vectors for the wordlist, high accuracy, impressive performance, advanced connection/request settings, modern brute-force techniques and nice output.
git clone https://github.com/maurosoria/dirsearch.git --depth 1
.....
Cloning into 'dirsearch'...
remote: Enumerating objects: 112, done.
remote: Counting objects: 100% (112/112), done.
remote: Compressing objects: 100% (106/106), done.
remote: Total 112 (delta 25), reused 43 (delta 3), pack-reused 0
Receiving objects: 100% (112/112), 235.32 KiB | 1.54 MiB/s, done.
Resolving deltas: 100% (25/25), done.
cd dirsearch
pip3 install -r requirements.txt
python3 dirsearch.py -u http://example.com/ --exclude-status=400-499,500-599 --http-method=POST
For Example