id: artifactory-api-password

info:
  name: Artifactory Password Disclosure
  author: Ice3man
  severity: info
  reference:
    - https://jfrog.com/help/r/jfrog-rest-apis/introduction-to-the-artifactory-rest-apis
  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: 4a0a00473045022100e50826acc8176b6bf178954135070df04a446c6c43d91745eb9c1eb9618c87ff02200ba8a7dc9f07c2b10c7711229e823805038244e5bd2299ea4d6624f55bbb0609:922c64590222798bb761d5b6d8e72950