id: zenscrape-api-key

info:
  name: Zenscrape API Key
  author: ritikchaddha
  severity: info
  reference:
    - https://github.com/trufflesecurity/trufflehog/blob/main/pkg/detectors/zenscrape/zenscrape.go
  metadata:
    max-request: 1
  tags: exposure,token,zenscrape,apikey

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

    matchers:
      - type: word
        part: body
        words:
          - "zenscrape"

    extractors:
      - type: regex
        part: body
        regex:
          - '([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})'

# digest: 4a0a00473045022100db70380bdd6e4ae6e2e299c0628a14f256926eb45acf456662a5f467a6d1e53f022042629404d6366dc779d7de7cb63406a5823fb12027e7a5571d265c40e774c74e:922c64590222798bb761d5b6d8e72950
