id: digitalocean-refresh

info:
  name: DigitalOcean Refresh Token
  author: DhiyaneshDK
  severity: info
  reference:
    - https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/rules/digitalocean.yml
    - https://docs.digitalocean.com/reference/api/
  metadata:
    verified: true
    max-request: 1
  tags: digitalocean,exposure,token

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    extractors:
      - type: regex
        part: body
        regex:
          - (?i)\b(dor_v1_[a-f0-9]{64})\b
# digest: 4a0a00473045022100b7554bd34df0b9f3ad80342580c23a71fc79068003e597fabd01b38ace0fa40b02201c0fb70e3bd37babe80a8821a7dbdb722eded9845b99b7660138e2c60e668371:922c64590222798bb761d5b6d8e72950