mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-04 09:43:40 +08:00
39 lines
967 B
YAML
39 lines
967 B
YAML
id: api-delighted
|
|
|
|
info:
|
|
name: Delighted API Test
|
|
author: 0xpugal
|
|
severity: info
|
|
description: Collect customer feedback in minutes
|
|
reference:
|
|
- https://app.delighted.com/docs/api
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,delighted
|
|
|
|
self-contained: true
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "https://api.delighted.com/v1/metrics.json"
|
|
|
|
headers:
|
|
Content-Type: application/json
|
|
Authorization: Basic {{base64(token)}}
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"nps"'
|
|
- '"promoter_count"'
|
|
- '"promoter_percent"'
|
|
- '"passive_count"'
|
|
- '"response_count"'
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4a0a0047304502202c52e5f9259c0c146541c9b377d81644609e66a103da3b8199e2add5be627d10022100e88d9b38e39a6f9fc6f26d155f3878712128e90e6071f57c51ff0b4e32a09c1f:922c64590222798bb761d5b6d8e72950 |