Skip to main content

This tool do a passive recon using Wayback Machine

Project description

WaybackRecon

WaybackRecon is a tool designed to fetch and categorize URLs from the Wayback Machine, allowing users to identify and highlight specific patterns, potential leaks, and other important information from archived web content. This tool supports outputting results to JSON and SQLite databases and offers easy searching and categorization.

Features

  • Fetch URLs: Retrieve URLs from the Wayback Machine for a specified target domain.
  • Categorization: Categorize URLs based on patterns such as APIs, leaks, file extensions, and CMS identifiers.
  • Highlighting: Highlight keywords in URLs to easily identify important information.
  • Output: Save results to JSON and SQLite databases.
  • Search: Search and display specific categories of URLs.

Installation

pip install wayback-recon

Usage

Command-line Arguments

  • -t, --target: Target domain to fetch URLs for (required).
  • -p, --pattern-file: Path to the pattern config JSON file (default: pattern_config.json).
  • -o, --output-file: Output file name for the JSON results.
  • -s, --search: Search and display specific categories (e.g., apis, leaks, extensions, cms).
  • --status-code: Filter by status codes (e.g., 200, 301, 302).

Examples

  1. Fetch and categorize URLs for a target domain:

    wayback-recon -t example.com
    
  2. Search for specific categories in the results:

    wayback-recon -s apis leaks
    
  3. Specify a custom pattern configuration file:

    wayback-recon -t example.com -p custom_pattern_config.json
    
  4. Output results to a specific JSON file:

    wayback-recon -t example.com -o results.json
    
  5. Filter URLs by status codes:

    wayback-recon -t example.com --status-code 200,301
    

Configuration

The pattern configuration is stored in a JSON file (pattern_config.json) and can be customized to include different patterns for categorization. The default configuration includes patterns for APIs, leaks, file extensions, and CMS identifiers.

Default Configuration

{
    "apis": ["/api", "/v1", "/v2", "/services", "/rest", "/graphql", "/json"],
    "leaks": ["aws", "apikey", "secret", "password", "auth", "token", "key", "access", "credential", "jwt", "kong", "kong-key", "AIza"],
    "extensions": [".js", ".css", ".html", ".php", ".asp", ".aspx", ".jsp", ".json", ".xml", ".txt", ".csv"],
    "cms": ["wp-", "wordpress", "joomla", "drupal", "magento", "typo3", "shopify", "prestashop"]
}

You can add or remove strings to be filtered.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wayback_recon-0.2.2.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wayback_recon-0.2.2-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file wayback_recon-0.2.2.tar.gz.

File metadata

  • Download URL: wayback_recon-0.2.2.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for wayback_recon-0.2.2.tar.gz
Algorithm Hash digest
SHA256 f0be38925e67472b31eb7d6346075badd8e89bde6042e77d2549b1ce079d1c5c
MD5 520f86e9b2891f8f2e317b77484b8a9f
BLAKE2b-256 bdf05573db318c90caa75bb1303e68261737f05ac22026474fb2ca1d58c883ea

See more details on using hashes here.

File details

Details for the file wayback_recon-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: wayback_recon-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for wayback_recon-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1052d75428f4e5166c0edabd831eec782c4d51665da8bdf0128c2b67d27aae90
MD5 4fbae4a84d7008d387665f5326ab484a
BLAKE2b-256 bc5d7a4db7417565f1a249139142c63efd30d92ea57f94374024a9e91a816199

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page