Merge pull request #1213 from geeknik/patch-63

Update laravel-log-file.yaml
patch-1
PD-Team 2021-04-07 18:00:45 +05:30 committed by GitHub
commit 314bb011a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 3 deletions

View File

@ -2,7 +2,7 @@ id: laravel-log-file
info:
name: Laravel log file publicly accessible
author: sheikhrishad
author: sheikhrishad & geeknik
severity: low
tags: laravel,log,exposure
@ -14,10 +14,19 @@ requests:
matchers-condition: and
matchers:
- type: word
part: body
words:
- "InvalidArgumentException"
condition: and
- "local.ERROR"
- "ErrorException"
- "syntax error"
condition: or
- type: word
part: header
words:
- "text/plain"
- "text/x-log"
condition: or
- type: status
status:
- 200