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

26 lines
537 B
YAML
Raw Normal View History

2021-10-01 14:33:51 +00:00
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
2021-10-01 14:33:51 +00:00
2021-10-20 08:46:18 +00:00
self-contained: true
2021-10-01 14:33:51 +00:00
requests:
- method: GET
path:
2021-11-02 05:19:21 +00:00
- "https://api.spotify.com/v1/me/player/devices"
2021-10-01 14:33:51 +00:00
headers:
Authorization: Bearer {{token}}
2021-10-01 20:46:16 +00:00
2021-10-01 14:33:51 +00:00
matchers:
2021-11-02 05:19:21 +00:00
- type: word
part: body
words:
- '"devices":'
- '"id":'
- '"is_active":'
condition: and