id: sonarqube-token

info:
  name: SonarQube Token Disclosure
  author: Ice3man
  severity: info
  metadata:
    max-request: 1
  tags: exposure,token,sonarqube

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

    extractors:
      - type: regex
        part: body
        regex:
          - "sonar.{0,50}(?:\"|'|`)?[0-9a-f]{40}(?:\"|'|`)?"
# digest: 4a0a00473045022100fd7807343988bffa41b6b1300d5b807f1be0d8ad15810092055d525ca1ed96920220367fc8e0bcd5718ed74260f0356735c7d20e3d1fb235826490aaadcf1786908a:922c64590222798bb761d5b6d8e72950