DirChecker_Java is a powerful and sleek Java-based directory brute force scanner 🔍. Inspired by classic tools like dirb and dirbuster, this project allows you to scan web hosts for hidden directories with customizable wordlists and color-coded console output for better readability.
- ✅ Fast Directory Scanning using multi-threaded requests
- 🎨 Color-coded console output for status codes (200, 404, 401, 500, etc.)
- 📝 Custom wordlist support
- 🌐 Protocol support: HTTP & HTTPS
- 💥 Clean & Readable UI in the terminal
- 🔗 Dynamic URL handling with proper error checks
-
Clone the repo:
git clone https://github.com/grayshader3020/DirChecker_Java.git cd DirChecker_Java
-
Compile the Java code:
javac dirbScanner.java
-
Run the tool:
java dirbScanner
-
Provide input:
- When prompted, enter the target URL (with protocol):
https://example.com
- When prompted, enter the target URL (with protocol):
-
Output Example:
[+] Wordlist read. Starting the dirb process...[*] Scanning: https://example.com/robots.txt \u001B[32m[200 OK] Found: robots.txt\u001B[0m Scanning: https://example.com/admin \u001B[31m[404 Not Found] Dir Not available: admin\u001B[0m
- Reads a custom wordlist (
common.txt
by default). - Iteratively appends each entry to the base URL.
- Sends HTTP GET requests using
HttpURLConnection
. - Displays color-coded results based on HTTP status codes.
Status Code | Meaning | Color |
---|---|---|
200 | OK (Directory Found) | 🟩 Green |
404 | Not Found | 🟥 Red |
401 | Unauthorized | 🟨 Yellow |
500 | Internal Server Error | 🟦 Blue |
Others | Other Response | 🟦 Cyan |
Pull requests are welcome! 🚀 For major changes, please open an issue first to discuss what you would like to change.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a pull request
Distributed under the MIT License. See LICENSE
for more information.
👨💻 Grayshader3020
🔗 GitHub Profile
If you like this project:
- ⭐ Star the repo
- 🍴 Fork it
- 📝 Share feedback and suggestions
"Code, Scan, Discover – Let no directory remain hidden!" 🚀