Merge pull request #3905 from projectdiscovery/CVE-2022-23779-fix

Fix for CVE-2022-23779
patch-1
Sandeep Singh 2022-03-15 02:04:32 +05:30 committed by GitHub
commit b191e07e64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 3 deletions

View File

@ -36,9 +36,20 @@ requests:
- 'text/html'
condition: and
- type: dsl
dsl:
- '!contains(location,host)'
- type: word
part: location
words:
- '{{Host}}'
negative: true
- type: word
words:
- '<center><h1>301 Moved Permanently</h1></center>'
- type: regex
part: header
regex:
- 'https?:\/\/(.*):'
extractors:
- type: regex