nuclei-templates/http/exposures/tokens/gitter/gitter-token.yaml

27 lines
893 B
YAML

id: gitter-token
info:
name: Gitter Access Token
author: DhiyaneshDK
severity: info
reference:
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/gitter-access-token.yaml
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/gitter-access-token.go
metadata:
verified: true
max-request: 1
tags: gitter,file,keys
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- (?i)(?:gitter)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:=|\|\|:|<=|=>|:)(?:'|\"|\s|=|\x60){0,5}([a-z0-9_-]{40})(?:['|\"|\n|\r|\s|\x60|;]|$)
# digest: 4a0a0047304502201f5ab7c36f51f925c791da04e38e5e91e46565cca10f35c67be9325db7acdf56022100c46a42dd6a9c599ad1ff966c987183a753ae250db0eecb4c1d511a7be1b8bb5c:922c64590222798bb761d5b6d8e72950