Spotify API Test
ID: api-spotify
Severity: info
Author: zzeitlin
Tags: token-spray,spotify
Description
Section titled “Description”YAML Source
Section titled “YAML Source”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:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/token-spray/api-spotify.yaml"