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

27 lines
926 B
YAML

id: discord-clientsecret
info:
name: Discord Client Secret
author: DhiyaneshDK
severity: info
reference:
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/discord-client-secret.yaml
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/discord-client-secret.go
metadata:
verified: true
max-request: 1
tags: discord,exposure,tokens,clientid
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-z0-9=_\-]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)
# digest: 4a0a00473045022009175d099a60db1efd2880c796a297455ee588c6feb0b2a4ba31096a45360492022100f1ecc0ef1fa8dca0ae90f82a8e8e442ea607550167969e671995e93c29b85411:922c64590222798bb761d5b6d8e72950