Dirsearch
How to Find Hidden Web Directories with Dirsearch
Features of Dirsearch Tool:
Dirsearch perform Recursive brute forcing
Dirsearch perform Target enumeration from an IP range
Dirsearch perform Sub-directories brute forcing
Dirsearch is Easy and simple to use
Dirsearch is Multithreading
Dirsearch has Support for every HTTP method
Dirsearch has Quiet mode
Dirsearch has Debug mode
Installation of Dirsearch Tool in Kali Linux:
git clone https://github.com/maurosoria/dirsearch.git
pip3 install -r requirements.txt
python3 dirsearch.py --help
Working with Dirsearch Tool:
Example 1: Simple Usage
python3 dirsearch.py -u https://example.com
Extensions (php,html,js):**
python3 dirsearch.py -e php,html,js -u https://example.com
Using Wordlist:
python3 dirsearch.py -e php,html,js -u https://example.com -w /usr/share/wordlists/dirb/common.txt
Example 2: Recursive Scanning
Simple Recursive Scan:**
python3 dirsearch.py -e php,html,js -u https://geeksforgeeks.org -r
Max Recursion Depth:**
python3 dirsearch.py -e php,html,js -u https://geeksforgeeks.org -r -R 3
Threads
Using Threads:
python3 dirsearch.py -e php,htm,js,bak,zip,tgz,txt -u https://geeksforgeeks.org -t 30
Prefixes / Suffixes
Prefixes:
python3 dirsearch.py -e php -u https://geeksforgeeks.org –prefixes .,admin,_,~
Suffixes:
python3 dirsearch.py -e php -u https://geeksforgeeks.org –suffixes ~,/
Exclude extensions
Excluding Extensions:
python3 dirsearch.py -e asp,aspx,htm,js -u https://geeksforgeeks.org -X php,jsp,jspx
Filters
python3 dirsearch.py -e php,html,js -u https://geeksforgeeks.org -i 200,204,400,403 -x 500,502,429
Scan sub-directories
python3 dirsearch.py -e php,html,js -u https://geeksforgeeks.org –subdirs admin/,folder/,/
Using Proxy Server
python3 dirsearch.py -e php,html,js -u https://geeksforgeeks.org –proxy 127.0.0.1:8080
Saving Results
python3 dirsearch.py -e php -u https://geeksforgeeks.org -o report.tx
Last updated