Merge pull request #2565 from geeknik/patch-25

Update php-errors.yaml
patch-1
Sandeep Singh 2021-09-04 00:43:26 +05:30 committed by GitHub
commit d10439c29f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 21 deletions

View File

@ -2,31 +2,39 @@ id: php_errors
info: info:
name: PHP errors name: PHP errors
author: w4cky_ author: w4cky_,geeknik
severity: info severity: info
tags: debug tags: debug,php
requests: requests:
- method: GET - method: GET
path: path:
- "{{BaseURL}}" - "{{BaseURL}}"
matchers: extractors:
- type: word - type: regex
words: regex:
- "Fatal error" - '(?i)Fatal error'
- "Call to undefined method" - '(?i)Call to undefined method'
- "You have an error in your SQL syntax;" - '(?i)You have an error in your SQL syntax'
- "MySQL server version for the right syntax to use near" - '(?i)MySQL server version for the right syntax to use near'
- "PHP Warning" - '(?i)MySQL cannot create a temporary file'
- "PHP Error" - '(?i)PHP (Warning|Error)'
- "Warning: mysql_connect():" - '(?i)Warning\: (pg|mysql)_(query|connect)\(\)'
- "Warning: mysql_query()" - '(?i)failed to open stream\:'
- "Warning: pg_connect():" - '(?i)SAFE MODE Restriction in effect'
- "failed to open stream: HTTP request failed" - '(?i)Cannot modify header information'
- "SAFE MODE Restriction in effect." - '(?i)ORA-00921\: unexpected end of SQL command'
- "Cannot modify header information" - '(?i)ORA-00933\: SQL command not properly ended'
- "ORA-00921: unexpected end of SQL command" - '(?i)ORA-00936\: missing expression'
- "ORA-00933: SQL command not properly ended" - '(?i)ORA-12541\: TNS\:no listener'
- "ORA-00936: missing expression" - '(?i)uncaught exception'
- "ORA-12541: TNS:no listener" - '(?i)include_path'
- '(?i)undefined index'
- '(?i)undefined variable\:'
- '(?i)stack trace\:'
- '(?i)expects parameter [0-9]*'
- '(?i)Debug Trace'
- '(?i)(syntax|parse) error'
- '(?i)Allowed Memory Size of \d* Bytes Exhausted'
- '(?i)Maximum execution time of \d* seconds exceeded'