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,vuln

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: 4a0a00473045022100e95db304ab2588c50ca16a7122e34baa03ae77f0751d275a0ce981a78c1fa83c022029e564119582603201bd6bdd57863ceaaea2a46f5e1a7b7ebd29ff04561838fe:922c64590222798bb761d5b6d8e72950