Merge pull request #126 from projectdiscovery/iceman-regex-fix
Regex issues fix by simplifying and fixing some edge casespatch-1
commit
e9c23dffe0
|
@ -13,5 +13,5 @@ requests:
|
|||
matchers:
|
||||
- type: regex
|
||||
regex:
|
||||
- "(^Set-Cookie:|;(| ))( |)crlfinjection=crlfinjection($|;)"
|
||||
- '(?m)^(?:Set-Cookie\s*?:(?:\s*?|.*?;\s*?))(crlfinjection=crlfinjection)(?:\s*?)(?:$|;)'
|
||||
part: header
|
||||
|
|
|
@ -16,5 +16,5 @@ requests:
|
|||
matchers:
|
||||
- type: regex
|
||||
regex:
|
||||
- "^Location\\:(| *| (http|https)\\:\\/\\/| *\\/\\/| [a-zA-Z]*\\.| (http|https)\\:\\/\\/[a-zA-Z]*\\.)evil\\.com"
|
||||
- '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)?(?:[a-zA-Z0-9\-_]*\.)?evil\.com(?:\s*?)$'
|
||||
part: header
|
||||
|
|
Loading…
Reference in New Issue