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: 4a0a00473045022100eb91170e90ed77b1179afbab93c4c1abc51434e912808a9d6851305193d3b59502203ae3393066488aee8d2c8a083f2eb9d541eed9fed62dad3f5382deb5d4a77806:922c64590222798bb761d5b6d8e72950
