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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bac95a8de6b8f3412f2ca2a8e54389ac7b850ce3c70958b0c3560ad05a8dbbf7
|
|
| MD5 |
6b85162fc6361c174dfd1bc4cc179fae
|
|
| BLAKE2b-256 |
8532763454a9195bbd5481f6f35f4b298e77a9bfc9bff06f4ef46588a9ed8a7d
|
File details
Details for the file bharath_openredirect-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bharath_openredirect-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82e590917ae14f035948ddc22ba4792f48c25ad2de930c481e264a117c84f8db
|
|
| MD5 |
dd8ecce792b6de5d2508e04d1956249b
|
|
| BLAKE2b-256 |
1421749252d67b3ae17a5fe63602f2abfcfc74680b0aaa19f81f3cf83308a697
|