id: jotform-api-key

info:
  name: Jotform API Key
  author: Shankar Acharya
  severity: info
  reference:
    - https://www.jotform.com/help/253-how-to-create-a-jotform-api-key/
  metadata:
    verified: "true"
    max-request: 1
  tags: token,exposure,jotform

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "jotform"
          - "api"
        condition: and

      - type: regex
        part: body
        regex:
          - "[0-9a-fA-F]{32}"

    extractors:
      - type: regex
        part: body
        regex:
          - "[0-9a-fA-F]{32}"
# digest: 4a0a004730450220377f1a9a5b6a42e28d70ca8733b2c3c34e3dbd94162c1d1c39545a9346aa1967022100fe86393efd365cbdedea5681c4cced4d29318e44870e053b96164f0f37c36da5:922c64590222798bb761d5b6d8e72950