id: api-sslmate

info:
  name: SSLMate API Test
  author: 0ri2N
  severity: info
  reference:
    - https://sslmate.com
    - https://sslmate.com/help/
    - https://sslmate.com/help/reference/apiv2
  metadata:
    max-request: 1
  tags: recon,sslmate,token-spray

self-contained: true

http:
  - method: GET
    path:
      - https://sslmate.com/api/v2/certs/interact.sh?expand=current.crt

    headers:
      Authorization: Bearer {{token}}
    matchers:
      - type: word
        part: body
        words:
          - '"exists"'
          - '"wildcard"'
          - '"auto_renew"'
        condition: and
# digest: 4a0a00473045022100ac602bb62a5d7bb33bb7bb996108e1ce7fc1588cf4b324f308a4d86b0ae0fc7002202ada89060e12b5dbc1ef005943c80a1eefb18b963f52d416d7bdbb221f51f3f9:922c64590222798bb761d5b6d8e72950