Merge pull request #1228 from geeknik/patch-65

Create yii-debugger.yaml
patch-1
PD-Team 2021-04-08 22:09:14 +05:30 committed by GitHub
commit 465f55f801
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,33 @@
id: yii-debugger
info:
name: View Yii Debugger Information
author: geeknik
reference: https://yii2-framework.readthedocs.io/en/stable/guide/tool-debugger/
severity: info
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
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- "<title>Yii Debugger</title>"
- "Status"
- "Route"
- "Log"
- "Time"
- "Memory"
- "DB"
condition: and