id: artifactory-api-token

info:
  name: Artifactory API Token Disclosure
  author: Ice3man
  severity: info
  metadata:
    max-request: 1
  tags: exposure,token,artifactory

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

    extractors:
      - type: regex
        part: body
        regex:
          - '(?:\s|=|:|"|^)AKC[a-zA-Z0-9]{10,}'
# digest: 490a00463044022057f2abef417c4f17a166a91bd5f7336423d4f4ab045580cf1592fff3151cdd3802207b9392d25be5f2eacc3ae681fff8a383a1e7e85db8b561605ce000efc96d7bb6:922c64590222798bb761d5b6d8e72950