Merge pull request #8659 from projectdiscovery/princechaddha-patch-4

Fixed FP - CVE-2021-40149
patch-1
Ritik Chaddha 2023-11-23 13:15:03 +05:30 committed by GitHub
commit 0c39e6c757
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 5 deletions

View File

@ -36,14 +36,19 @@ http:
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- '(?m)^-----BEGIN PRIVATE KEY-----'
- type: word
part: header
words:
- "-----BEGIN RSA PRIVATE KEY-----"
- "-----END RSA PRIVATE KEY----"
- "application/json"
- "application/html"
condition: and
negative: true
- type: status
status:
- 200
# digest: 4a0a00473045022100b6f8878ceddc4552858eae76829f51df35d0a5a2cd83a6e424da428a878e9d0c022021a436b631fbd10d282389c10d6e6dd4342bccfc13258547d135969c048a0e64:922c64590222798bb761d5b6d8e72950
- 200