Switch to multiline matching to avoid false positives

patch-1
Manuel Bua 2020-06-22 12:26:30 +02:00
parent c7262c3ee7
commit 15fa8f2244
2 changed files with 2 additions and 2 deletions

View File

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

View File

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