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

How Web Application Firewalls (WAFs) Work

General Working of a Web Application Firewall (WAF) A Web Application Firewall (WAF) acts as…

5 days ago

How to Send POST Requests Using curl in Linux

How to Send POST Requests Using curl in Linux If you work with APIs, servers,…

5 days ago

What Does chmod 777 Mean in Linux

If you are a Linux user, you have probably seen commands like chmod 777 while…

5 days ago

How to Undo and Redo in Vim or Vi

Vim and Vi are among the most powerful text editors in the Linux world. They…

5 days ago

How to Unzip and Extract Files in Linux

Working with compressed files is a common task for any Linux user. Whether you are…

5 days ago

Free Email Lookup Tools and Reverse Email Search Resources

In the digital era, an email address can reveal much more than just a contact…

5 days ago