mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-03 01:03:34 +08:00
30 lines
757 B
YAML
30 lines
757 B
YAML
id: api-spotify
|
|
|
|
info:
|
|
name: Spotify API Test
|
|
author: zzeitlin
|
|
severity: info
|
|
reference:
|
|
- https://developer.spotify.com/documentation/general/guides/authorization-guide/
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,spotify
|
|
|
|
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
|
|
# digest: 490a00463044022039b8f5e53f38fe5a4ebed804869c95a134dd74d86cbbe5efda5ba02baa22e6990220058186ac0e084554e35f4bef3ff4dfd82c2a84abcc6e90edac9c2e13e689e579:922c64590222798bb761d5b6d8e72950 |