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

28 lines
544 B
YAML

id: api-digitalocean
info:
name: DigitalOcean API Test
author: geeknik
severity: info
reference:
- https://docs.digitalocean.com/reference/api/
tags: token-spray,digitalocean
metadata:
max-request: 1
self-contained: true
http:
- raw:
- |
GET https://api.digitalocean.com/v2/droplets HTTP/1.1
Host: api.digitalocean.com
Authorization: Bearer {{token}}
matchers:
- type: word
part: body
words:
- '"droplets":'
- '"meta":'
condition: and