Create a script that attempts to discover hidden directories or files on a target website by appending paths from a wordlist to the base URL. The script should check each path and report which ones return a valid response.
Expected Behavior
- Input: base URL and wordlist file
- Output: print discovered directories or files with status codes
- Ignore responses like 404 or 403 unless explicitly asked to include them
- Handle slow servers with a delay option
Example Usage
python dirbrute.py -u http://example.com -w wordlist.txt -d 1