Skip to content

Discord Client ID

ID: discord-clientid

Severity: info

Author: DhiyaneshDK

Tags: discord,exposure,tokens,clientid

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: 4b0a004830460221008cdf578cbbcb2b13bac8f559cd1947deb7b7a269173050ad635c5e6a18e0c7e5022100ab6a1a277cecb8ca3e52985caabd349f22a56fc32724864556a45970b72b5a1d:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/exposures/tokens/discord/discord-clientid.yaml"

View on Github