nuclei-templates/http/token-spray/api-adafruit-io.yaml

31 lines
683 B
YAML
Raw Normal View History

2021-10-25 00:29:54 +00:00
id: api-adafruit-io
info:
name: Adafruit IO API Test
author: dwisiswant0
severity: info
reference:
- https://io.adafruit.com/api/docs/
metadata:
max-request: 1
2023-10-14 11:27:55 +00:00
tags: token-spray,adafruit
2021-10-25 00:29:54 +00:00
self-contained: true
2023-10-14 11:27:55 +00:00
http:
2021-10-25 00:29:54 +00:00
- method: GET
path:
- "https://io.adafruit.com/api/v2/user"
2023-10-14 11:27:55 +00:00
2021-10-25 00:29:54 +00:00
headers:
X-AIO-Key: "{{token}}"
matchers:
- type: word
part: body
words:
2021-11-01 12:22:18 +00:00
- '"username":'
- '"id":'
2023-10-14 11:27:55 +00:00
condition: and
# digest: 4a0a00473045022100bd2cde5742fc5e144ec6165cbc4dac66a0c51f4c574e845586f7ad8a47b196cb02206243f827c0ea95f3c051255499e838a938ac1a03275a636a90746a583327cd9e:922c64590222798bb761d5b6d8e72950