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

27 lines
903 B
YAML

id: discord-clientid
info:
name: Discord Client ID
author: DhiyaneshDK
severity: info
reference:
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/discord-client-id.yaml
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/discord-client-id.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}([0-9]{18})(?:['|\"|\n|\r|\s|\x60|;]|$)
# digest: 4a0a00473045022009b49fc632e76994e4d5778b296cb6d1b2bb17a11f3d53fa6fe659f85a916a8402210083f45d30e1c3998a3e584083a06f3293ec41f058635bfe05d48a4052901bb4fd:922c64590222798bb761d5b6d8e72950