Metadata-Version: 2.1
Name: bharath_openredirect
Version: 0.1.0
Summary: A tool to identify potential open redirect vulnerabilities in URLs.
Home-page: 
Author: Y
Author-email: your.email@example.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: requests

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>

<h1>Open Redirect Scanner</h1>

<p>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.</p>

<h2>Features</h2>
<ul>
    <li>Check if a URL is alive.</li>
    <li>Add request headers and verify if redirected.</li>
    <li>Brute force payloads to find open redirects.</li>
    <li>Read URLs and payloads from files.</li>
    <li>Provide payloads directly through the command line.</li>
</ul>

<h2>Prerequisites</h2>
<p>Python 3.x</p>
<p><code>requests</code> library</p>

<p>Install the <code>requests</code> library using pip:</p>
<pre><code>pip install requests</code></pre>

<h2>Project Structure</h2>
<pre><code>openredirect/
â”œâ”€â”€ includes/
â”‚   â”œâ”€â”€ scanning.py
â”‚   â”œâ”€â”€ url_reader.py
â”‚   â””â”€â”€ write_and_read.py
â”œâ”€â”€ utils/
â”‚   â”œâ”€â”€ banner.py
â”‚   â””â”€â”€ internet_check.py
â”œâ”€â”€ main.py
â”œâ”€â”€ urls.txt
â””â”€â”€ payloads.txt
</code></pre>

<h2>Usage</h2>

<h3>Running the Script</h3>

<p>1. <strong>To process URLs from a file and payloads from a file:</strong></p>
<pre><code>python main.py -f "urls.txt" -p "payloads.txt"</code></pre>

<p>2. <strong>To process a single URL with payloads from a file:</strong></p>
<pre><code>python main.py -u "http://example.com" -p "payloads.txt"</code></pre>

<p>3. <strong>To process a single URL with payloads directly from the command line:</strong></p>
<pre><code>python main.py -u "http://example.com" -pl "payload1,payload2,payload3"</code></pre>

<h3>Command Line Arguments</h3>
<ul>
    <li><code>-u</code>, <code>--url</code> : URL to be processed.</li>
    <li><code>-f</code>, <code>--file</code> : File location of URLs to be processed.</li>
    <li><code>-p</code>, <code>--payload</code> : File location of payloads to be used.</li>
   
</ul>

</body>
</html>
