Skip to content

felipecaon/403bypass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

403bypass

A tool that automates 403 bypassing techniques. The script ignores responses where the status code is equal to 404 ot 403, because of that, the output can be a bit a large.

Usage

echo "https://target.com/this/is/a/403/page" | 403bypass
cat urls.txt | 403bypass

Installation

1 - Install httpx (https://github.com/projectdiscovery/httpx) (used for http validaton and status code/response size grabbing)

2 - curl https://raw.githubusercontent.com/felipecaon/403bypass/main/403bypass.sh > /usr/local/bin/403bypass

3 - chmod +x /usr/local/bin/403bypass

Workflow

Generates a list of known payloads:

http://example.com
http://example.com/.
http://example.com/./
http://example.com/*
http://example.com..;/
http://example.com;/
http://example.com/%20
http://example.com/%2e
http://example.com/~
http://example.com/%09
http://example.com/.json
http://example.com/<encoded>
http://example.com.json
http://<domain-api>.com
http://example.com/.;/
http://example.com/#
http://example.com/?gg
http://example.com/%20/
http://example.com/%2e/
http://example.com/./
http://example.com//
https://example.com

The payloads above are requested using GET, POST and PUT methods. Additionaly, every request is made using a potentially vulnerable header from the list:

Headers:

X-Forwarded-For
X-Forwarded-Host
X-Custom-IP-Authorization
X-Custom-IP-Authorization+..;/
X-Original-URL
X-Rewrite-URL
X-Originating-IP
X-Remote-IP
X-Client-IP
X-Host
X-Remote-Addr

Contributing

Feel free to open issue or PR with additional payloads.

Credits

Main structure is made by Raywando, https://github.com/Raywando/4xxbypass For a more complete set, go to https://github.com/cyal1/bypass-40x

About

A tool that automates 403 bypassing techniques.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages