Skip to main content

A tool to identify potential open redirect vulnerabilities in URLs.

Project description

Open Redirect Scanner

Open Redirect Scanner is a Python tool designed to identify potential open redirect vulnerabilities in URLs. It supports scanning single URLs or multiple URLs from a file with various payloads to detect vulnerabilities.

Features

  • Check if a URL is alive.
  • Add request headers and verify if redirected.
  • Brute force payloads to find open redirects.
  • Read URLs and payloads from files.
  • Provide payloads directly through the command line.

Prerequisites

Python 3.x

requests library

Install the requests library using pip:

pip install requests

Project Structure

openredirect/
├── includes/
│   ├── scanning.py
│   ├── url_reader.py
│   └── write_and_read.py
├── utils/
│   ├── banner.py
│   └── internet_check.py
├── main.py
├── urls.txt
└── payloads.txt

Usage

Running the Script

1. To process URLs from a file and payloads from a file:

python main.py -f "urls.txt" -p "payloads.txt"

2. To process a single URL with payloads from a file:

python main.py -u "http://example.com" -p "payloads.txt"

3. To process a single URL with payloads directly from the command line:

python main.py -u "http://example.com" -pl "payload1,payload2,payload3"

Command Line Arguments

  • -u, --url : URL to be processed.
  • -f, --file : File location of URLs to be processed.
  • -p, --payload : File location of payloads to be used.

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

bharath_openredirect-0.1.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

bharath_openredirect-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file bharath_openredirect-0.1.0.tar.gz.

File metadata

  • Download URL: bharath_openredirect-0.1.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.1

File hashes

Hashes for bharath_openredirect-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bac95a8de6b8f3412f2ca2a8e54389ac7b850ce3c70958b0c3560ad05a8dbbf7
MD5 6b85162fc6361c174dfd1bc4cc179fae
BLAKE2b-256 8532763454a9195bbd5481f6f35f4b298e77a9bfc9bff06f4ef46588a9ed8a7d

See more details on using hashes here.

File details

Details for the file bharath_openredirect-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for bharath_openredirect-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 82e590917ae14f035948ddc22ba4792f48c25ad2de930c481e264a117c84f8db
MD5 dd8ecce792b6de5d2508e04d1956249b
BLAKE2b-256 1421749252d67b3ae17a5fe63602f2abfcfc74680b0aaa19f81f3cf83308a697

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