Better regex for CRLF injection that catches whitespaces

patch-1
Ice3man 2020-05-27 21:38:40 +05:30 committed by GitHub
parent 386b4b0f07
commit 0ae2fe3c85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -13,5 +13,5 @@ requests:
matchers:
- type: regex
regex:
- "(^Set-Cookie:|;(| ))( |)crlfinjection=crlfinjection($|;)"
- "^(?:Set-Cookie\s?:|;)\s?crlfinjection=crlfinjection(?:$|;)"
part: header