Dirsearch
Advanced web path brute-forcing tool with recursive scanning
Methods10 commands
#bruteforce#directory#discovery#web
Installation
1Clone the repository
2Install Python dependencies
3Verify installation
# Clone repository
git clone https://github.com/maurosoria/dirsearch.git
# Install dependencies
cd dirsearch && pip install -r requirements.txt
# Run
python3 dirsearch.py -u https://target.comBasic Usage
Brute-force directories and files on web servers
# Basic scan
python3 dirsearch.py -u https://target.com
# Specific extensions
python3 dirsearch.py -u https://target.com -e php,html
# Multiple targets from file
python3 dirsearch.py -l targets.txtCommand Reference
10 commands
1Target URL
-u2File with list of URLs
-l3Extensions to check
-e4Exclude status codes
-x5Custom wordlist
-w6Recursive scan
-r7Recursion depth
-R8Number of threads
-t9Proxy for requests
--proxy10Cookies for authentication
--cookiesWhen to Use
1
Directory discovery on web applications2
Finding hidden files and backup files3
Exposed API endpoints discovery4
Recursive scanning of found directories5
Web application asset mappingNotes & Tips
1
Use -r for recursive scanning through discovered directories2
Supports many file extensions with -e flag3
Pair with SecLists for comprehensive wordlistsCommon Errors & Solutions
No results
Try a larger wordlist or more extensions
False positives
Filter by status codes with -x flag
Blocked by WAF
Reduce threads with -t flag or add delays