nuclei-templates/http/token-spray/api-onyphe.yaml

47 lines
1.0 KiB
YAML
Raw Permalink Normal View History

2023-10-21 14:28:04 +00:00
id: api-onyphe
info:
name: Onyphe API Test
author: 0xpugazh
severity: info
description: Cyber Defense Search Engine and Attack Surface Management
reference:
- https://www.onyphe.io/docs
metadata:
2023-10-25 10:32:48 +00:00
verified: true
max-request: 1
2023-10-21 14:28:04 +00:00
tags: token-spray,onyphe
self-contained: true
http:
- method: GET
path:
- "https://www.onyphe.io/api/v2/user"
headers:
Authorization: Bearer {{token}}
Content-Type: application/json
2023-10-25 10:32:48 +00:00
matchers-condition: and
2023-10-21 14:28:04 +00:00
matchers:
- type: word
part: body
words:
2023-10-25 10:32:48 +00:00
- '"apikey":"'
- '"apis":'
- '"@timestamp":'
2023-10-25 17:31:06 +00:00
- '"@category":'
2023-10-21 14:28:04 +00:00
condition: and
2023-10-25 10:32:48 +00:00
- type: word
part: header
words:
- 'application/json'
- type: status
status:
- 200
# digest: 4b0a004830460221009fbed819ee5f0de6054a6047d01ebacb9d75d95720706390d43f106acab4f6dd022100fe6c8c822772b3c74bbdbda483facd2f7b9f791c446871c3de34417474affd3c:922c64590222798bb761d5b6d8e72950