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

30 lines
622 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
tags: token-spray,aniapi
metadata:
max-request: 1
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