id: artifactory-api-password

info:
  name: Artifactory Password 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|=|:|"|^)AP[\dABCDEF][a-zA-Z0-9]{8,}$'
# digest: 4b0a00483046022100de2bfb364726b84cb997c03e102e04c1d66c9afcad8354c0b8cfaca06964d65b022100f7aef13d85d5615a6bda692305d6a21959733760f5debf64fb187b7443d32973:922c64590222798bb761d5b6d8e72950