Handle spaces in non-standard response headers

patch-1
Manuel Bua 2020-06-22 10:55:52 +02:00
parent 4ec258bd16
commit c7262c3ee7
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -16,5 +16,5 @@ requests:
matchers:
- type: regex
regex:
- '(?:Location:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_]*\.)?evil\.com'
- '(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_]*\.)?evil\.com'
part: header