Skip to main content

A Tool to find an Easy Bounty - Open Redirect

Project description

Open Redirect Vulnerability Checker

Description

The Open Redirect Vulnerability Checker is a Python tool designed to check URLs for potential open redirect vulnerabilities. This tool allows users to check a single URL or a list of URLs from a file, and it can notify the user via WhatsApp if any URLs are found to be vulnerable.

Features

  • Check single or multiple URLs for open redirect vulnerabilities.
  • Validate URLs to ensure they are properly formatted.
  • Send notifications via WhatsApp if any URLs are found to be vulnerable.
  • Optionally save the results to an output file.

Installation

  1. Clone the repository:

    git clone https://github.com/YASHRVY7/openredirect7.git
    cd openredirect7
    
  2. Install the required dependencies:

    pip install twilio
    pip install argparse
    pip install urllib3 
    pip install requests 
    pip install validators 
    pip install colorama 
    
  3. Fill Twilio credentials: Open main.py and add your Twilio credentials:

    # Twilio credentials
    TWILIO_SID = "your_twilio_sid"
    TWILIO_AUTH_TOKEN = "your_twilio_auth_token"
    TWILIO_FROM_WHATSAPP = "your_twilio_whatsapp_number"
    TWILIO_TO_WHATSAPP = "your_whatsapp_number"
    

Usage

Command Line Arguments

  • -u, --url: URL to check for open redirect vulnerability.
  • -i, --input: File containing URLs to check.
  • -o, --output: File to save the output results.
  • -p, --payloads: Additional payloads to test for open redirect.
  • -b, --blog: Open the blog to read about the bug.

Examples

  1. Check a single URL:

    python main.py -u "https://example.com"
    
  2. Check URLs from a file:

    python main.py -i urls.txt
    
  3. Save results to an output file:

    python main.py -u "https://example.com" -o results.txt
    
  4. Check a URL with additional payloads:

    python main.py -u "https://example.com" -p "add site"
    
  5. Open the blog:

    python main.py -b
    

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

openredirect7-1.17.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file openredirect7-1.17.tar.gz.

File metadata

  • Download URL: openredirect7-1.17.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.10

File hashes

Hashes for openredirect7-1.17.tar.gz
Algorithm Hash digest
SHA256 3b456135723511fb4059c4f3addd6bf885afb9727edbd7528f961002ce89568f
MD5 352c13d784ee7e5efebda9c373d880f8
BLAKE2b-256 5f06a81a09b4618e1a9e6cd700e5124ecdc8581e0674a535299c86e69d38fcd5

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