id: zenserp-api-key

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

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

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

    extractors:
      - type: regex
        part: body
        regex:
          - '([0-9a-z-]{36})'

# digest: 490a00463044022042ad9f8109a37dd49c46a31b6fbec43bc7fd138ea7f1dff4652e50e303e1bc850220277526b5fa66f10374a1f6df7d070577113dd8013eb62dce9f4676db4d9b22f9:922c64590222798bb761d5b6d8e72950
