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

28 lines
564 B
YAML

id: api-spotify
info:
name: Spotify API Test
author: zzeitlin
severity: info
reference:
- https://developer.spotify.com/documentation/general/guides/authorization-guide/
tags: token-spray,spotify
metadata:
max-request: 1
self-contained: true
http:
- method: GET
path:
- "https://api.spotify.com/v1/me/player/devices"
headers:
Authorization: Bearer {{token}}
matchers:
- type: word
part: body
words:
- '"devices":'
- '"id":'
- '"is_active":'
condition: and