23 lines
476 B
YAML
23 lines
476 B
YAML
|
id: zap-rest-api-detect
|
||
|
|
||
|
info:
|
||
|
name: ZAP Rest API Server Running
|
||
|
author: hahwul
|
||
|
severity: info
|
||
|
reference:
|
||
|
- https://www.zaproxy.org/docs/api/
|
||
|
tags: zap,tech
|
||
|
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "{{BaseURL}}"
|
||
|
|
||
|
matchers:
|
||
|
- type: word
|
||
|
part: response
|
||
|
words:
|
||
|
- '<title>ZAP API UI</title>'
|
||
|
- 'Welcome to the OWASP Zed Attack Proxy (ZAP)'
|
||
|
- 'Access-Control-Allow-Headers: ZAP-Header'
|
||
|
condition: or
|