Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
82
rated 0 times [  85] [ 3]  / answers: 1 / hits: 25426  / 3 Years ago, sat, may 1, 2021, 12:00:00

Is there any way to see my discord token in the dev console with any javascript code?


More From » discord

 Answers
51

Sadly, the method posted by Scoooolzs stopped working after a recent webpack update.

Here's the new working code:


(webpackChunkdiscord_app.push([[''],{},e=>{m=[];for(let c in e.c)m.push(e.c[c])}]),m).find(m=>m?.exports?.default?.getToken!==void 0).exports.default.getToken()

You can find a library in this repo to hook into Discord clients' functions.


(Community edit:)

Prettified:


(
webpackChunkdiscord_app.push(
[
[''],
{},
e => {
m=[];
for(let c in e.c)
m.push(e.c[c])
}
]
),
m
).find(
m => m?.exports?.default?.getToken !== void 0
).exports.default.getToken()

[#50301] Sunday, April 4, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
bryantc

Total Points: 455
Total Questions: 96
Total Answers: 110

Location: San Marino
Member since Thu, Jun 30, 2022
2 Years ago
bryantc questions
Fri, Aug 13, 21, 00:00, 3 Years ago
Tue, Mar 30, 21, 00:00, 3 Years ago
Fri, Jun 5, 20, 00:00, 4 Years ago
Wed, May 27, 20, 00:00, 4 Years ago
;