Update cache-poisoning.yaml

patch-1
sandeep 2021-04-02 19:19:50 +05:30
parent 5eb1e78503
commit 3daa03c799
1 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
id: cache-poisoning id: cache-poisoning
info: info:
name: Cache Poisoning name: Cache Poisoning
@ -10,9 +10,9 @@ requests:
- raw: - raw:
- | - |
GET /?mel=9 HTTP/1.1 GET /?mel=9 HTTP/1.1
X-Forwarded-Prefix: cache.melbadry9.com X-Forwarded-Prefix: cache.example.com
X-Forwarded-Host: cache.melbadry9.com X-Forwarded-Host: cache.example.com
X-Forwarded-For: cache.melbadry9.com X-Forwarded-For: cache.example.com
- | - |
GET /?mel=9 HTTP/1.1 GET /?mel=9 HTTP/1.1
@ -21,4 +21,4 @@ requests:
matchers: matchers:
- type: dsl - type: dsl
dsl: dsl:
- 'contains(body_2, "cache.melbadry9.com") == true' - 'contains(body_2, "cache.example.com")'