2021-04-07 17:39:24 +00:00
|
|
|
id: yii-debugger
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: View Yii Debugger Information
|
|
|
|
author: geeknik
|
2021-09-09 13:38:13 +00:00
|
|
|
severity: low
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://yii2-framework.readthedocs.io/en/stable/guide/tool-debugger/
|
2021-09-09 13:38:13 +00:00
|
|
|
tags: yii,debug,exposure
|
2021-04-07 17:39:24 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/debug/default/view.html"
|
|
|
|
- "{{BaseURL}}/debug/default/view"
|
|
|
|
- "{{BaseURL}}/frontend/web/debug/default/view"
|
|
|
|
- "{{BaseURL}}/web/debug/default/view"
|
|
|
|
- "{{BaseURL}}/sapi/debug/default/view"
|
|
|
|
|
|
|
|
redirects: true
|
2021-09-09 13:38:13 +00:00
|
|
|
max-redirects: 2
|
|
|
|
stop-at-first-match: true
|
2021-04-07 17:39:24 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2021-09-09 13:38:13 +00:00
|
|
|
|
2021-04-07 17:39:24 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "<title>Yii Debugger</title>"
|
|
|
|
- "Status"
|
|
|
|
- "Route"
|
|
|
|
- "Log"
|
|
|
|
- "Time"
|
|
|
|
- "Memory"
|
|
|
|
- "DB"
|
|
|
|
condition: and
|