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

27 lines
894 B
YAML

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