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:
|
|
|
|
max-request: 1
|
2023-10-25 10:32:48 +00:00
|
|
|
verified: true
|
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-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
|