DirectoryBuster is a GUI-based directory brute-forcing tool designed to help penetration testers and security researchers discover hidden directories and files on web servers. By testing a target URL against a wordlist of potential directory and file names, it identifies accessible resources that may pose security risks.
- Easy-to-Use Interface: Simple and user-friendly GUI.
- Custom Wordlist: Choose your own wordlist for scanning.
- Supports File Extensions: Check for files with extensions like
.php, .html, .js
. - Save Results: Option to save founded results to a file.
- Clickable Links: Open found URLs directly in a browser.
- Live Updates:See the scanning progress in real-time.
- Fast Scanning:Uses multi-threading for better performance.
- Start & Stop Anytime: Control the scan with start and stop buttons.
- Error Handling:Handles network issues without crashing.
- Python 3.x
- requests (for sending HTTP requests)
- tkinter (for the GUI)
- threading
- webbrowser
- Clone the repository to your local machine
git clone https://github.com/s-r-e-e-r-a-j/DirectoryBuster.git
- Navigate to the DirectoryBuster directory
cd DirectoryBuster
- Install the required dependencies:
pip3 install -r requirements.txt
- Navigate to the DIRECTORYBUSTER directory
cd DIRECTORYBUSTER
- Install the tool
sudo python3 install.py
Then enter y
for install
- Run the Tool:
directorybuster
-
Enter Target URL
- Example:
https://example.com
- Example:
-
Select a Wordlist
- Click the "Browse" button and choose a
.txt
file containing directory names
- Click the "Browse" button and choose a
-
(Optional) Add File Extensions
- Example:
.php,.html,.js
(comma-separated).
- Example:
-
(Optional) Enable Save Results
- Check the "Save found results" box and select a file to save the output.
-
Start Scanning
- Click the "Start" button to begin the scan.
- The Tool will Test each word in the wordlist without extensions.
- The Tool will Test each word in the wordlist with each extension (if added).
- Show the results in real-time.
-
Open Found Links
- Click on any found URL to open it in your default browser.
-
Stop Scanning
- Click the "Stop" button to cancel the scan at any time.
-
Enter the Target URL:
Type the website URL you want to scan, for example:https://example.com
. -
Choose a Wordlist File:
Click the "Browse" button and select a wordlist file (e.g.,common-directories.txt
). -
Add Extensions (Optional):
If you want to test specific file types, type the extensions separated by commas (e.g.,.js,.php,.html
). -
Save Results (Optional):
Check the "Save found results" box and click "Select Save File" to choose where to save the results. -
Start Scanning:
Click the "Start" button. The tool will:- Test each word in the wordlist without extensions.
- Test each word in the wordlist with each extension (if added).
- Show the results in real-time.
-
View Found Results:
Founded results will appear in the "Found Results" section. Click on any URL to open it in your browser. -
Stop Scanning:
Click the "Stop" button anytime to stop the scanning process.
cd DirectoryBuster
cd DIRECTORYBUSTER
sudo python3 install.py
Then Enter n
for uninstall
-
Error: No wordlist selected Ensure that you have selected a valid wordlist file by clicking the "Browse" button.
-
Error: No target URL entered Enter the target URL before clicking "Start".
-
Error: Cannot save results Ensure that you have selected a valid file path to save the results.
This tool is licensed under the MIT License. See LICENSE for more details.