2021-01-10 13:11:25 +00:00
|
|
|
id: opcache-status-exposure
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: OPcache Status Exposure
|
2021-01-10 14:15:36 +00:00
|
|
|
author: pd-team
|
2021-01-10 13:11:25 +00:00
|
|
|
severity: low
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/opcache-status/"
|
|
|
|
- "{{BaseURL}}/php-opcache-status/"
|
|
|
|
- "{{BaseURL}}/opcache-status/opcache.php"
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "<th>opcache_enabled</th>"
|
|
|
|
- "<th>opcache_hit_rate</th>"
|
|
|
|
condition: and
|
|
|
|
part: body
|