Add zap-api-detect (#5255)
* Add zap-api-detect Signed-off-by: hahwul <hahwul@gmail.com> * matchers simplified Signed-off-by: hahwul <hahwul@gmail.com> Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>patch-1
parent
cce6abaebf
commit
51d185dd73
|
@ -0,0 +1,23 @@
|
||||||
|
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
|
Loading…
Reference in New Issue