Skip to content

Discord API Token

ID: discord-api-token

Severity: info

Author: DhiyaneshDK

Tags: file,keys,discord,token

id: discord-api-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
tags: file,keys,discord,token
file:
- extensions:
- all
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: 4a0a004730450220288db8da7a7d8ff5f4331d8054282b2571242fb02abd7607ce26102538e77946022100bd66908f3cf393a2c9683721cafe492ed42f6ca277ebdee964460661746f9549: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 "file/keys/discord/discord-api-token.yaml"

View on Github