Byp4Xx : Simple Bash Script To Bypass “403 Forbidden” Messages

Byp4Xx is a bash script to bypass “403 Forbidden” responses with well-known methods discussed in #bugbountytips.

Installation

git clone https://github.com/lobuhi/byp4xx.git
cd byp4xx
chmod u+x byp4xx.sh

Usage: Start URL with http or https.

./byp4xx.sh [OPTIONS] http(s)://url/path

OPTIONS:
-c Return the entire curl command if response is 200
-r Redirects if the response is 3XX

Example:

./byp4xx.sh https://www.google.es/test

Features:

  • Multiple HTTP verbs/methods
  • Multiple methods mentioned in #bugbountytips
  • Multiple headers: Referer, X-Custom-IP-Authorization…
  • Allow redirects
  • Return the entire curl command if response is 200

Tips:

  • You can add proxychains to use with BurpSuite
  • Interlace is a good option for multithreading multiples URLs
R K

Recent Posts

Bash Scripting Best Practices Every Beginner Should Know

Introduction Bash scripting is a powerful way to automate Linux tasks, but writing a script…

2 hours ago

How To Create A Self-Signed SSL Certificate Using Bash And OpenSSL

Introduction A self-signed SSL certificate is a certificate that is created and signed by the…

3 hours ago

How To Debug Bash Scripts Using bash -x And set Commands

Introduction Debugging is an important part of Bash scripting. When a script does not work…

7 hours ago

How To Use Cron Jobs With Bash Scripts For Automation

Introduction Cron jobs are used in Linux to run commands or Bash scripts automatically at…

8 hours ago

How To Use Pipes In Bash Scripts For Command Chaining

Introduction Pipes are an important feature in Linux and Bash scripting. A pipe allows you…

9 hours ago

How To Use grep, awk, And sed In Bash Scripts

Introduction The grep, awk, and sed commands are powerful text-processing tools in Linux. They are…

10 hours ago