A lightweight, automated web reconnaissance script written in Python. It is designed for penetration testers, bug bounty hunters, and ethical hackers to discover hidden paths, files, and directories on a target web server using a dictionary-based brute-force approach.
- HTTP Status Auditing: Dynamically detects and alerts on
200 OK(accessible paths) and403 Forbidden(restricted/protected directories). - Clean Terminal UI: Suppresses disruptive SSL/TLS warnings (
InsecureRequestWarning) for a noise-free auditing experience. - Resilient & Safe Scanning: Implements connection timeouts and structured pacing delays (
time.sleep) to prevent target server flooding or script hanging. - Cross-Platform Compatibility: Runs flawlessly across Linux, macOS, Windows Terminals, and Android mobile environments (via Termux).
-
Clone the repository:
git clone https://github.com cd Web-Directory-Buster -
Install dependencies: Make sure you have the
requestslibrary installed.pip install requests
-
Run the script:
python dir_buster.py
-
Input the Target: When prompted, enter your target domain (e.g.,
example.comorgoogle.com).
The script takes a target URL and appends directory names from a built-in cryptographic wordlist (e.g., admin, .env, backup). It fires structured HTTP requests to each path. By evaluating the server's response headers, it immediately highlights active or hidden resources that developers might have mistakenly left exposed to the public web.
This tool is strictly intended for educational and authorized security auditing purposes only. Do not scan websites or targets without explicit legal permission from the owner. The developer assumes no liability for misuse or unauthorized actions.
This project is open-source and available under the MIT License.
