RoboFinder is a lightweight Python script that fetches a target's robots.txt file and extracts all Disallowed URLs. It's useful for security researchers, bug bounty hunters, and web developers to quickly identify restricted paths.
Clone the repository and install dependencies:
git clone https://github.com/yourusername/RoboFinder.git
cd RoboFinderNote: This script uses only Python standard libraries. You don't need to install anything. Usage
python3 robofinder.py -d example.comSave results to a file and run silently:
python3 robofinder.py -d example.com -s -o results.txtShow help:
python3 robofinder.py -hOptions
-h, --help show this help message and exit
-d DOMAIN, --domain Enter the target domain (e.g., example.com or https://example.com)
-s, --silent Run silently (no console output except errors)
-o OUTPUT, --output Save Disallow URLs to a file
Example Output
[*] Fetch Robots txt http://example.com ...
[*] Disallow Path ...
[*] Build Full URLs ...
--- Disallow URLs ---
http://example.com/private/
http://example.com/admin
- The script constructs the robots.txt URL from the given domain (adds http:// if no protocol specified).
- Downloads the robots.txt file.
- Parses lines starting with Disallow: and extracts the paths.
- Converts each path to a full URL using the domain.
- Prints or saves the resulting URLs.
- π Fetch historical
robots.txtfiles from Wayback Machine - π§΅ Add multi-threaded requests for historical
robots.txt - π Extract URLs containing parameters
- β»οΈ Keep output clean and unique