26 lines
504 B
YAML
26 lines
504 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/
|
|
metadata:
|
|
max-request: 1
|
|
tags: zap,tech
|
|
|
|
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
|