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

25 lines
454 B
YAML
Raw Normal View History

2021-10-29 11:24:17 +00:00
id: api-aniapi
info:
name: AniAPI API Test
author: daffainfo
severity: info
2021-10-29 17:18:54 +00:00
reference: https://aniapi.com/docs/authentication
2021-10-29 11:24:17 +00:00
tags: token-spray,aniapi
self-contained: true
requests:
- method: GET
path:
- "https://api.aniapi.com/v1/auth/me"
headers:
Authorization: Bearer {{token}}
matchers:
2021-10-29 17:18:54 +00:00
- type: word
part: body
words:
- '"username":'
- '"data":'
condition: and