2023-07-14 11:42:53 +00:00
|
|
|
id: discord-token
|
2023-07-04 09:09:14 +00:00
|
|
|
|
|
|
|
info:
|
2023-07-14 11:42:53 +00:00
|
|
|
name: Discord API Token
|
2023-07-04 09:09:14 +00:00
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: info
|
|
|
|
reference:
|
2023-07-14 11:42:53 +00:00
|
|
|
- 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
|
2023-07-04 09:09:14 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 1
|
2023-07-14 11:42:53 +00:00
|
|
|
tags: discord,exposure,tokens
|
2023-07-04 09:09:14 +00:00
|
|
|
|
|
|
|
http:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
2023-10-14 11:27:55 +00:00
|
|
|
- (?i)(?:discord)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:=|\|\|:|<=|=>|:)(?:'|\"|\s|=|\x60){0,5}([a-f0-9]{64})(?:['|\"|\n|\r|\s|\x60|;]|$)
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022100d74bbea199fb3772ff5c39b700c69f28afcbddd43ca7b3dafa549fe835cdbcb1022066a92e076a77d68882971830a89a0ecf28d0f1cc21b5a3326e52bd5f1e924f3f:922c64590222798bb761d5b6d8e72950
|