Kali Linux

Ipsourcebypass : This Python Script Can Be Used To Bypass IP Source Restrictions Using HTTP Headers

Ipsourcebypass is a Python script that can be used to bypass IP source restrictions using HTTP headers.

Features

  • 17 HTTP headers.
  • Multithreading.
  • JSON export with --json outputfile.json.
  • Auto-detecting most successful bypasses.

Usage

$ ./ipsourcebypass.py -h
[~] IP source bypass using HTTP headers, v1.2
usage: ipsourcebypass.py [-h] [-v] -i IP [-t THREADS] [-x PROXY] [-k] [-L] [-j JSONFILE] [-C] [-H HEADERS] [-S] url
This Python script can be used to test for IP source bypass using HTTP headers
positional arguments:
url e.g. https://example.com:port/path
optional arguments:
-h, –help show this help message and exit
-v, –verbose arg1 help message
-i IP, –ip IP IP to spoof.
-t THREADS, –threads THREADS
Number of threads (default: 5)
-x PROXY, –proxy PROXY
Specify a proxy to use for requests (e.g., http://localhost:8080)
-k, –insecure Allow insecure server connections when using SSL (default: False)
-L, –location Follow redirects (default: False)
-j JSONFILE, –jsonfile JSONFILE
Save results to specified JSON file.
-C, –curl Generate curl commands for each request.
-H HEADERS, –header HEADERS
arg1 help message
-S, –save Save all HTML responses.

Auto-detecting responses that stands out

Results are sorted by uniqueness of their response’s length. This means that the results with unique response length will be on top, and results with response’s length occurring multiple times at the bottom:

R K

Recent Posts

Comments in Bash Scripts

What Are Bash Comments? In Bash scripting, comments are notes in your code that the…

2 hours ago

Shebang (#!) in Bash Script

When you write a Bash script in Linux, you want it to run correctly every…

22 hours ago

Bash String Concatenation – Bash Scripting

Introduction If you’re new to Bash scripting, one of the first skills you’ll need is…

1 day ago

Learn Bash Scripting: How to Create and Run Shell Scripts for Beginners

What is Bash Scripting? Bash scripting allows you to save multiple Linux commands in a file and…

2 days ago

Bash if…else Statement – Bash Scripting

When it comes to automating tasks on Linux, Bash scripting is an essential skill for both beginners…

2 days ago

Bash Functions Explained: Syntax, Examples, and Best Practices

Learn how to create and use Bash functions with this complete tutorial. Includes syntax, arguments,…

4 days ago