Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to get discord token #259

Open
6leonardo opened this issue Mar 4, 2024 · 2 comments
Open

Not able to get discord token #259

6leonardo opened this issue Mar 4, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@6leonardo
Copy link

the code that reproduces this issue or a replay of the bug

the client could be use anymore or is changed che method to authenticate

Describe the bug

window.webpackChunkdiscord_app.push([
[Math.random()],
{},
(req) => {
for (const m of Object.keys(req.c)
.map((x) => req.c[x].exports)
.filter((x) => x)) {
if (m.default && m.default.getToken !== undefined) {
return copy(m.default.getToken());
}
if (m.getToken !== undefined) {
return copy(m.getToken());
}
}
},
]);
console.log("%cWorked!", "font-size: 50px");
console.log(%cYou now have your token in the clipboard!, "font-size: 16px");

give error e dont return the token.

searching in the local storage for token give no result.

i am not able to retrive my token

error log

VM298:5 Uncaught TypeError: Cannot convert undefined or null to object
at Function.keys ()
at :5:28
at t (sentry.9a203313dddc8dd3f049.js:1:6757)
at :1:32
(anonymous) @ VM298:5
t @ sentry.9a203313dddc8dd3f049.js:1
(anonymous) @ VM298:1

@6leonardo 6leonardo added the bug Something isn't working label Mar 4, 2024
@E-toolmaster
Copy link

use this:
(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()

@ideepankarsharma2003
Copy link

Thi

use this: (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()

This doesn't work anymore either, just go to network tab and check for Authorization headers in the 'https://discord.com/api/v9/science' , API calls in general, there you have it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants