id: jwt-token

info:
  name: JWT Token Disclosure
  author: Ice3man
  severity: unknown
  metadata:
    max-request: 1
  tags: exposure,token,generic

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

    extractors:
      - type: regex
        part: body
        regex:
          - 'eyJ[a-zA-Z0-9]{10,}\.eyJ[a-zA-Z0-9]{10,}\.[a-zA-Z0-9_\-]{10,}'
# digest: 4a0a0047304502206834083674f9a3cbbc21193d5e2abd3c521100ec5bf4648f7699bcd16af16594022100be12a6830184a0c5a120ade3149eecd71dd4e5d2eaadc756a747623dce5af03c:922c64590222798bb761d5b6d8e72950