DigitalOcean API Test
ID: api-digitalocean
Severity: info
Author: geeknik
Tags: token-spray,digitalocean
Description
Section titled “Description”YAML Source
Section titled “YAML Source”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: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-digitalocean.yaml"