π΅οΈ Hidden Directory Finder (Python)
A simple and effective Python tool for discovering hidden directories and endpoints on a target web server. This project is built for ethical hacking and web penetration testing.
This tool is intended for educational purposes and authorized testing only.
Do not use this tool without proper permission from the system owner.
The script performs directory brute-forcing by:
- Taking a base URL and a wordlist file containing potential directory names.
- Sending HTTP requests to each possible path.
- Logging and printing discovered (i.e., valid) directories.
- Python 3.x
requestslibrary
Install the required library:
pip install requestspython hidden_directory_finder.pyYou will be prompted to enter:
[*] Enter Target URL:e.g.,example.com[*] Enter Name Of The File Containing Directories:e.g.,common.txt
[*] Enter Target URL: example.com
[*] Enter Name Of The File Containing Directories: dirs.txt
[*] Discovered Directory At This Path: http://example.com/admin
[*] Discovered Directory At This Path: http://example.com/uploads
.
βββ hidden_directory_finder.py # Main script
βββ dirs.txt # Sample wordlist (not included)
βββ README.md
MIT License β free to use for educational and authorized purposes.
- [Daniyal Khan]
- GitHub Profile