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

32 lines
716 B
YAML

id: api-netlify
info:
name: Netlify API Test
author: dwisiswant0
severity: info
reference:
- https://docs.netlify.com/api/get-started/
metadata:
max-request: 1
tags: token-spray,netlify
self-contained: true
http:
- method: GET
path:
- "https://api.netlify.com/api/v1/sites"
headers:
Authorization: Bearer {{token}}
matchers:
- type: word
part: body
words:
- '"id":'
- '"premium":'
- '"claimed":'
condition: and
# digest: 4a0a0047304502207e42d56f08b8711aa9e2dc68c1f03484bcbffd91ca75cb894339fcf576a0f8b3022100b30d2ae584362d29f0e05772a69ed14161d80a266266ac43269a1be95e9eb013:922c64590222798bb761d5b6d8e72950