00xNetrunner / waybackurls.py

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Waybackurls πŸ•°οΈ

Waybackurls is a Python script that retrieves URLs from the Wayback Machine for one or more hosts. It allows you to search for URLs with or without subdomains and saves the results as TEXT files. πŸ“

Original Creator πŸ™Œ

This script is based on the work of mhmdiaa. The original version of the script can be found in their GitHub Gists.

Features ✨

  • πŸ” Retrieve URLs from the Wayback Machine for multiple hosts concurrently
  • 🌐 Option to include or exclude subdomains in the search
  • πŸ“ Customizable output directory for the JSON files
  • πŸš€ Adjustable number of concurrent threads for faster processing
  • ℹ️ Detailed output and timing information

Requirements πŸ“‹

  • Python 3.6 or higher 🐍
  • requests library πŸ”—

Installation πŸ“₯

  1. Clone the repository:

    git clone https://github.com/your-username/waybackurls.git
    
  2. Change to the project directory:

    cd waybackurls
    
  3. Install the required dependencies:

    pip install -r requirements.txt
    

Usage πŸ’»

python waybackurls.py [-h] [-s] [-o OUTPUT] [-t THREADS] hosts [hosts ...]
  • hosts: One or more hosts to retrieve URLs for (required) 🌐
  • -s, --subdomains: Include subdomains in the search (optional) πŸ”
  • -o OUTPUT, --output OUTPUT: Output directory for the JSON files (default: results) πŸ“
  • -t THREADS, --threads THREADS: Number of concurrent threads (default: 5) πŸš€

Examples πŸ’‘

  1. Retrieve URLs for a single host:

    python waybackurls.py example.com
    
  2. Retrieve URLs for multiple hosts:

    python waybackurls.py example.com example.org
    
  3. Include subdomains in the search:

    python waybackurls.py -s example.com
    
  4. Specify the output directory:

    python waybackurls.py -o results/example example.com
    
  5. Adjust the number of concurrent threads:

    python waybackurls.py -t 10 example.com
    

Results πŸ“Š

The script saves the retrieved URLs as JSON files in the specified output directory. Each JSON file is named after the corresponding host, e.g., example.com-waybackurls.json.

Contributing 🀝

Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request.

License βš–οΈ

This project is licensed under the MIT License.

About

License:MIT License


Languages

Language:Python 100.0%