Files
nuclei-templates/http/token-spray/api-digitalocean.yaml
2024-12-01 13:57:55 +00:00

29 lines
738 B
YAML

id: api-digitalocean
info:
name: DigitalOcean API Test
author: geeknik
severity: info
reference:
- https://docs.digitalocean.com/reference/api/
metadata:
max-request: 1
tags: token-spray,digitalocean
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
# digest: 4a0a0047304502203427cb57a50960ecbd0a06dfc88bf9fece8ac4ba84fd565425292757bc8a9fa20221008666673b7d2d237de0f1b8c51c812383c1f419f26fc99d91b2b4db45d30eedb5:922c64590222798bb761d5b6d8e72950