25 lines
503 B
YAML
25 lines
503 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
|
|
metadata:
|
|
max-request: 1
|
|
|
|
http:
|
|
- 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 |