2021-09-17 07:29:34 +00:00
|
|
|
id: php-errors
|
2020-10-07 20:19:13 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
name: PHP errors
|
2021-10-21 08:33:49 +00:00
|
|
|
author: w4cky_,geeknik,dhiyaneshDK
|
2022-04-22 10:38:41 +00:00
|
|
|
severity: info
|
2022-07-04 08:46:15 +00:00
|
|
|
metadata:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 1
|
2022-07-04 08:46:15 +00:00
|
|
|
shodan-query: http.title:"PHP warning" || "Fatal error"
|
2021-09-03 16:28:42 +00:00
|
|
|
tags: debug,php
|
2020-10-07 20:19:13 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2020-10-07 20:19:13 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
2021-01-13 07:31:46 +00:00
|
|
|
- "{{BaseURL}}"
|
2020-10-07 20:19:13 +00:00
|
|
|
|
2021-09-03 16:28:42 +00:00
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- '(?i)Fatal error'
|
|
|
|
- '(?i)Call to undefined method'
|
|
|
|
- '(?i)You have an error in your SQL syntax'
|
|
|
|
- '(?i)MySQL server version for the right syntax to use near'
|
2021-09-03 17:09:59 +00:00
|
|
|
- '(?i)MySQL cannot create a temporary file'
|
2021-09-03 16:28:42 +00:00
|
|
|
- '(?i)PHP (Warning|Error)'
|
2021-10-21 08:33:49 +00:00
|
|
|
- '(?m)^<title>([a-z /A-Z.(0-9):]+)?PHP warning([a-z /A-Z.(0-9):]+)?<\/title>$'
|
2021-09-03 16:28:42 +00:00
|
|
|
- '(?i)Warning\: (pg|mysql)_(query|connect)\(\)'
|
|
|
|
- '(?i)failed to open stream\:'
|
|
|
|
- '(?i)SAFE MODE Restriction in effect'
|
|
|
|
- '(?i)Cannot modify header information'
|
|
|
|
- '(?i)ORA-00921\: unexpected end of SQL command'
|
|
|
|
- '(?i)ORA-00933\: SQL command not properly ended'
|
|
|
|
- '(?i)ORA-00936\: missing expression'
|
|
|
|
- '(?i)ORA-12541\: TNS\:no listener'
|
|
|
|
- '(?i)uncaught exception'
|
|
|
|
- '(?i)include_path'
|
|
|
|
- '(?i)undefined index'
|
|
|
|
- '(?i)undefined variable\:'
|
|
|
|
- '(?i)stack trace\:'
|
|
|
|
- '(?i)expects parameter [0-9]*'
|
|
|
|
- '(?i)Debug Trace'
|
2022-11-10 10:30:24 +00:00
|
|
|
- '(?i)<b>Parse error</b>'
|
|
|
|
- '(?i)syntax error, unexpected'
|
2021-09-03 17:09:59 +00:00
|
|
|
- '(?i)Allowed Memory Size of \d* Bytes Exhausted'
|
|
|
|
- '(?i)Maximum execution time of \d* seconds exceeded'
|