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

33 lines
816 B
YAML
Raw Permalink Normal View History

2021-10-29 11:24:17 +00:00
id: api-aniapi
info:
name: AniAPI API Test
author: daffainfo
severity: info
description: Anime discovery, streaming & syncing with trackers
2021-11-06 04:40:49 +00:00
reference:
- https://aniapi.com/docs/authentication
- https://github.com/daffainfo/all-about-apikey/tree/main/aniapi
metadata:
max-request: 1
2023-10-14 11:27:55 +00:00
tags: token-spray,aniapi
2021-10-29 11:24:17 +00:00
self-contained: true
2023-10-14 11:27:55 +00:00
http:
2021-10-29 11:24:17 +00:00
- method: GET
path:
- "https://api.aniapi.com/v1/auth/me"
2023-10-14 11:27:55 +00:00
2021-10-29 11:24:17 +00:00
headers:
Authorization: Bearer {{token}}
matchers:
2021-10-29 17:18:54 +00:00
- type: word
part: body
words:
- '"username":'
- '"data":'
condition: and
# digest: 490a0046304402207fd6f9ca29fbe362d7d003e43aa9d0d3cc66ac8650ce9f7c34c713f95fcbdb97022047d75033a2bc0b14c554c3b36818c7287dbaa61d80362885be7bb81da5e92b59:922c64590222798bb761d5b6d8e72950