Create Bypass 304.md

This commit is contained in:
Muhammad Daffa 2021-03-12 08:46:29 +07:00 committed by GitHub
parent 1d466b1133
commit ecb57dcbb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

29
Bypass/Bypass 304.md Normal file
View File

@ -0,0 +1,29 @@
# 304 Not Modified Bypass
1. Delete "If-None-Match" header
```
GET /admin HTTP/1.1
Host: target.com
If-None-Match: W/"32-IuK7rSIJ92ka0c92kld"
```
Try this to bypass
```
GET /admin HTTP/1.1
Host: target.com
```
2. Adding random character in the end of "If-None-Match" header
```
GET /admin HTTP/1.1
Host: target.com
If-None-Match: W/"32-IuK7rSIJ92ka0c92kld"
```
Try this to bypass
```
GET /admin HTTP/1.1
Host: target.com
Host: target.com
If-None-Match: W/"32-IuK7rSIJ92ka0c92kld" b
```
Source: [https://anggigunawan17.medium.com/tips-bypass-etag-if-none-match-e1f0e650a521](https://anggigunawan17.medium.com/tips-bypass-etag-if-none-match-e1f0e650a521)