mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-01-31 15:53:33 +08:00
50 lines
1.8 KiB
YAML
50 lines
1.8 KiB
YAML
id: php-errors
|
|
|
|
info:
|
|
name: PHP errors
|
|
author: w4cky_,geeknik,dhiyaneshDK
|
|
severity: info
|
|
classification:
|
|
cpe: cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: php
|
|
product: php
|
|
shodan-query: http.title:"PHP warning" || "Fatal error"
|
|
tags: debug,php,misconfig,vuln
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
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'
|
|
- '(?i)MySQL cannot create a temporary file'
|
|
- '(?i)PHP (Warning|Error)'
|
|
- '(?m)^<title>([a-z /A-Z.(0-9):]+)?PHP warning([a-z /A-Z.(0-9):]+)?<\/title>$'
|
|
- '(?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'
|
|
- '(?i)<b>Parse error</b>'
|
|
- '(?i)syntax error, unexpected'
|
|
- '(?i)Allowed Memory Size of \d* Bytes Exhausted'
|
|
- '(?i)Maximum execution time of \d* seconds exceeded'
|
|
# digest: 4a0a004730450220068143e3ad4d81aa5661a11f491a699c0298a2627f015767c021dde58212ca740221008b835009ba0dd37e7eee528ca6323b59371589b9da350c837ea611a9ebfd2291:922c64590222798bb761d5b6d8e72950 |