Improved matchers
parent
4aac0fbfae
commit
19fac7242e
|
@ -2,20 +2,29 @@ id: php-debug-bar
|
|||
info:
|
||||
name: PHP Debug bar
|
||||
author: dhiyaneshDk
|
||||
severity: High
|
||||
tags: debug,logs
|
||||
severity: high
|
||||
tags: debug,logs,exposure
|
||||
|
||||
requests:
|
||||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}/_debugbar/open?max=20&offset=0"
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
||||
|
||||
- type: word
|
||||
words:
|
||||
- '{"id":"'
|
||||
part: body
|
||||
- '"id":"'
|
||||
- '"datetime":'
|
||||
- '"method"'
|
||||
condition: and
|
||||
part: body
|
||||
|
||||
- type: word
|
||||
words:
|
||||
- "application/json"
|
||||
part: header
|
Loading…
Reference in New Issue