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

31 lines
623 B
YAML

id: api-aniapi
info:
name: AniAPI API Test
author: daffainfo
severity: info
description: Anime discovery, streaming & syncing with trackers
reference:
- https://aniapi.com/docs/authentication
- https://github.com/daffainfo/all-about-apikey/tree/main/aniapi
metadata:
max-request: 1
tags: token-spray,aniapi
self-contained: true
http:
- method: GET
path:
- "https://api.aniapi.com/v1/auth/me"
headers:
Authorization: Bearer {{token}}
matchers:
- type: word
part: body
words:
- '"username":'
- '"data":'
condition: and