let token = "your token"; | |
function login(token) { | |
setInterval(() => { | |
document.body.appendChild(document.createElement `iframe`).contentWindow.localStorage.token = `"${token}"` | |
}, 50); | |
setTimeout(() => { | |
location.reload(); | |
}, 2500); | |
} | |
login(token); |
i've seen this in pastebin before. https://pastebin.com/GuDC58Bh
Who cares?
ok
It is still working?
For some reason, it don't work for me
is there a similar method for instagram?
@laith00x use cookies
I must have alzheimer‘s, cuz i dont remember asking 🥱
alright ill delete my comment
this comment section makes me laugh lmfao, its not a logger for taking tokens its a way to log in with a token, its not patched i literally tested it today, and just the fact that you ppl are having a hard time copy and pasting some js into the console is sad lmao
it's not work anymore, ithink it's patched plz update the script...
nah u just dont know how to use it
Hi guys, thanks for the order but I have a problem, discord asks me to verify my number (I can't do it at all even with other numbers, the assistant at discord told me there was no solution...) do you know how I could bypass it?
it doesnt work it keeps showing 400 errors
Token might be wrong.
I don't think this method of logging in works anymore, it was patched sometime in August 2021, as far as I can tell
Yes, I thought to myself! Only blocks Firefox the process, not Discord itself!
Can i then do it whit chrome or do i need vpn or something
this comment section makes me laugh lmfao, its not a logger for taking tokens its a way to log in with a token, its not patched i literally tested it today, and just the fact that you ppl are having a hard time copy and pasting some js into the console is sad lmao
HOW DO U DO IT SEND ME UR SCRIPT AND WHAT BROWSER DO U USE
works. 4/2022 (non mfa token)
Uncaught TypeError: document.body.appendChild(...) is undefined
It is still working? For some reason, it don't work for me
come discord I'll explain u cz#9999
I don't think this is an issue of not pasting the code correctly since that's a task everyone should be able to do, many people get the same 401 error message, I read somewhere that this might be a firewall blocking the log in, I have the same issues, did anybody fix it?
I don't think this is an issue of not pasting the code correctly since that's a task everyone should be able to do, many people get the same 401 error message, I read somewhere that this might be a firewall blocking the log in, I have the same issues, did anybody fix it?
401 == Invalid Token, the script is working fine the issue is on your end
Well I was just testing this by my own, and I used my own token that I copied just a few seconds before I tried to log in with it, while I was logged in on web, under the application tab in the dev-tools. I am pretty sure that is the most valid way to get your token, since you are literally logged in with it
Is there any way to reset the password of an account you’re logged into? Lost my 2FA account and can’t remember my password to look at backup codes, and of course discord is no help at all even though I can provide proof I own the account — :) so I'm basically a crash away from losing my account.
Is there any way to reset the password of an account you’re logged into? Lost my 2FA account and can’t remember my password to look at backup codes, and of course discord is no help at all even though I can provide proof I own the account — :) so I'm basically a crash away from losing my account.
whats why you can download them
Is there any way to reset the password of an account you’re logged into? Lost my 2FA account and can’t remember my password to look at backup codes, and of course discord is no help at all even though I can provide proof I own the account — :) so I'm basically a crash away from losing my account.
whats why you can download them
I was dumb and didn’t do it when I set up 2FA, assumed I’d probably never need it. And now of course I can’t look at or download them without my password — that I can’t seem to remember :’)
Does it still work? It keeps saying "invalid" with no code before or after whenever I try, could anyone help me out?
you could just change your token in your local storage and refresh
i believe webpack pushed an update and your token is no longer in localstorage, can anyone confirm?
@its-pablo believe so too, it says version nine or smth and has a red code, build weird since i could get thee token but could not use to login
waiting on any new methods.
@crowwd lmao i must be stupid how did i not see it sorry lol
@crowwd even with that technique i'm unable to connect on my acc, it just keeps refreshing without anything happenning, maybe i'm doing it wrong ?
@crowwd even with that technique i'm unable to connect on my acc, it just keeps refreshing without anything happenning, maybe i'm doing it wrong ?
did you managed to edit it and save in the token field?
Idc why do people use this script just use LiveBot! Aking54 @.> schrieb am Mi., 6. Juli 2022, 21:15:
…
@.* commented on this gist. ------------------------------ @crowwd https://github.com/crowwd even with that technique i'm unable to connect on my acc, it just keeps refreshing without anything happenning, maybe i'm doing it wrong ? — Reply to this email directly, view it on GitHub https://gist.github.com/b47fffb0fd579bc210420cedbda30b61#gistcomment-4223408, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVWXRXJZGZ5MPJKPV3M64KTVSXLNJANCNFSM4QLQLDAA . You are receiving this because you commented.Message ID: @.***>
This script helps you log in as a user, not as a bot.
@crowwd yeah I even tried with 3 tokens, I save the token and then refresh but it really does not seem to work (Sometimes it puts me back on the login page after the refresh). If you're willing to help, that's my discord : Pascal#2895
Really sorry for the inconvenience (and sorry for the bad english too)
Its not working for me?
I confirm that it doesn't work anymore even with a correct token
Its working for me, how are you sure that its a correct token @Milloper ?
for me its working not aswell.
It worked for me. Remember, discord regenerated and changed the token generation a while back and the process to getting it is different now
Discord changed it so you get a one time token every time you login, so you have to be connected to the token somewhere else already for it to work
https://www.androidauthority.com/get-discord-token-3149920/
this seems to work for me in conjunction with the script
also, the first few characters of the localStorage
token value, before the colon for me, is the id for never gonna give you up lmao
yall are just retarded
yall are just retarded
“joined 5 days ago”
yall are just retarded
lmao stfu kid
i cant login aswell. This is the error message:
discord.client: logging in using static token
discord.gateway: Shard ID None has connected to Gateway
if someone have the solution please
i cant login any tokken from this script
I have been using this token login script for nearly a year now with no issues. However, over the past month or so I have been having the same issue as everyone else here.
You use the token to login, it proceeds to try to login, goes temporarily to discord.com/app but then refreshes back to the login page as if nothing happened.
And yes, I checked to make sure the tokens are right. Really not sure what is causing this.
just a note to everyone: you can get your token by completing an action such as sending a message, going to the network panel, going to the lowest entry, and getting the authentication or authorization (can't remember which) header from the REQUEST HEADERS(!)
its mad easy yall just retarded use your brain lmao
Show us then.
just a note to everyone: you can get your token by completing an action such as sending a message, going to the network panel, going to the lowest entry, and getting the authentication or authorization (can't remember which) header from the REQUEST HEADERS(!)
this code also works, also copies it to your clipboard:
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');
yep it does, but I'm not quite used to webpackChunkdiscord_app
thanks for this. Discord has been really stupid and doesn't allow me to change my email. This is good for the time being after I extracted the seemingly never expiring token from the app
yep it does, but I'm not quite used to
webpackChunkdiscord_app
same heree...
@SuperHarmony910 man I wish someone would document this. Also is the copy function defined in internal discord?
Is this supposed to work when pasting in console ?
Is this supposed to work when pasting in console ?
yeah, but you can also add that into a bookmark on firefox
Yeah nah, doesn't work anymore
I use it daily. It works.
It literally does. No clue what you are doing.
Are you trying this in the web app or the desktop client? Web works for me, and I haven't tested the app
xav#0666 for help
yall are just retarded
use your brain
xav#0666 for help
@xavierskids no one is going to ask you for help lmfao
Does not work for me, it just signed me out of all accounts. Seems like the token
store does no longer exist because of Account Switcher, so this script no longer works.
Still works (on the web client at least). I don't get why you are all having issues, it works like a charm.
I know that for me, I have to put the token into the webclient and then spam the command as in this README file
https://github.com/passedout/Discord-Token-Login-Script#discord-token-login-script
Have been trying everything on this thread and can't get a single login to work
y'all are using invalid tokens lmao
it doesnt work lol
Works for me
I know that for me, I have to put the token into the webclient and then spam the command as in this README file
github.com/passedout/Discord-Token-Login-Script#discord-token-login-script
Doesn't work
nah none of this shit is working for me
Please stop emailing me github (it isnt letting me unsubscribe)I've been getting 12 year old kids trying to hack their friends emailing me since pandemic started...Sent from my iPhoneOn Jan 12, 2023, at 8:46 PM, MisterBullet @.> wrote:Re: @. commented on this gist.nah none of this shit is working for me—Reply to this email directly, view it on GitHub or unsubscribe.You are receiving this email because you commented on the thread.Triage notifications on the go with GitHub Mobile for iOS or Android.
...open the webpage on computer if you can since it's obv not working for you on phone, and press the button in the top right that says Unsubscribe
- is it really that hard to figure it out for yourself bro
It doesn't work anymore guys. I check the dev tools an saw that each time you paste the token in and refresh instead of it log you in it redirect you back to the login page. Each time you refresh even if you paste the token in the "local storage" but if you refresh it will automatically run another thing it's
+-----------------+---------------------------------+
| tokens | {"user_id_cache": "your token"} |
+-----------------+---------------------------------+
| user_id_cache: | "your_user_id" |
-------------------+---------------------------------+
| token | "your_token" |
+-----------------+---------------------------------+
But even i paste these two value in, each time you reload it just empty the token --> refresher -->
token: {} --> back to the login page
just go to inspect > applications > local storage > discord.com, then click mobile icon on top right of inspect and search "token" in the filter then change the value to your token
please can you help me with it ? add me on discord it’s super urgent Wiwi#0402
please i need your help add me on discord Wiwi#0402 it’s super urgent please
It doesn't work anymore guys. I check the dev tools an saw that each time you paste the token in and refresh instead of it log you in it redirect you back to the login page. Each time you refresh even if you paste the token in the "local storage" but if you refresh it will automatically run another thing it's
+-----------------+---------------------------------+
| tokens | {"user_id_cache": "your token"} |
+-----------------+---------------------------------+
| user_id_cache: | "your_user_id" |
-------------------+---------------------------------+
| token | "your_token" |
+-----------------+---------------------------------+
But even i paste these two value in, each time you reload it just empty the token --> refresher -->
token: {} --> back to the login page
nah none of this shit is working for me
mine works lol
@biscuitlol please can you help me with it ? add me on discord Wiwi#0402
it’s important to me
please i need your help add me on discord Wiwi#0402 it’s super urgent please
It doesn't work anymore guys. I check the dev tools an saw that each time you paste the token in and refresh instead of it log you in it redirect you back to the login page. Each time you refresh even if you paste the token in the "local storage" but if you refresh it will automatically run another thing it's
+-----------------+---------------------------------+
| tokens | {"user_id_cache": "your token"} |
+-----------------+---------------------------------+
| user_id_cache: | "your_user_id" |
-------------------+---------------------------------+
| token | "your_token" |
+-----------------+---------------------------------+
But even i paste these two value in, each time you reload it just empty the token --> refresher -->
token: {} --> back to the login page
Added
It work
It works depance the pc you have, i have a cromebook and it works
how ??
…
On Tue 21 Mar 2023 at 11:22, DracoGamer2 @.> wrote: @.* commented on this gist. ------------------------------ It work — Reply to this email directly, view it on GitHub https://gist.github.com/m-Phoenix852/b47fffb0fd579bc210420cedbda30b61#gistcomment-4510322 or unsubscribe https://github.com/notifications/unsubscribe-auth/A6P2VGFAK4YDNEPTXR2L6JTW5F6NVBFKMF2HI4TJMJ2XIZLTSKBKK5TBNR2WLJDHNFZXJJDOMFWWLK3UNBZGKYLEL52HS4DFQKSXMYLMOVS2I5DSOVS2I3TBNVS3W5DIOJSWCZC7OBQXE5DJMNUXAYLOORPWCY3UNF3GS5DZVRZXKYTKMVRXIX3UPFYGLK2HNFZXIQ3PNVWWK3TUUZ2G64DJMNZZDAVEOR4XAZNEM5UXG5FFOZQWY5LFVEYTANJQGUZDINBQU52HE2LHM5SXFJTDOJSWC5DF . You are receiving this email because you commented on the thread. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .
With my computer works
Can anyone explain me how to get it work as well?
yeah I already got it to work, I even made it work for tokens that are 2fa verified aswell, As they require a different approach
I things it work sometime
before the QR CODE LOGIN IS REFRESHING add some console command in it and wait around 120 sec for the QR CODE refreshing
boom! it's works!!!!
but not 100% work all the times i think u can do a trick in command for get it for 100% work.
I use this command : :+1:
let token = "ur token";
function login(token) {
setInterval(() => {
document.body.appendChild(document.createElement iframe
).contentWindow.localStorage.token = "${token}"
}, 50);
}
login(token);
the problem is the waiting period, you need to set it to 100 instead of 50, and then for me it works 99% of the time
yeah I already got it to work, I even made it work for tokens that are 2fa verified aswell, As they require a different approach
What are you talking about 2fa it doesn't matter 2fa or not you just get in with token? Can u explain
so this code did not work for me on my alt, 2fa tokens are 70 characters whereas phone verified are like 59 characters or something, so to make it work for tokens that have 2fa verification set up, I had to use a different method. So now I use this method for 59 characters and my own method for 2fa verified tokens
Could someone help me with this my discords !Jackson!#5719
could someone help me ? my discord opay432#7032
Not sure if this'll work but try this :
(function() {
let token = "YOUR_DISCORD_TOKEN";
let ws = new WebSocket("wss://gateway.discord.gg/?v=6&encoding=json");
ws.onopen = function() {
ws.send(
JSON.stringify({
op: 2,
d: {
token: token,
properties: {
$os: "Windows",
$browser: "Chrome",
$device: "Desktop",
},
},
})
);
};
ws.onmessage = function(event) {
let data = JSON.parse(event.data);
if (data.op === 10) {
let interval = data.d.heartbeat_interval;
setInterval(function() {
ws.send(JSON.stringify({ op: 1, d: null }));
}, interval);
}
};
})();
None of these methods work. Can anyone pls find a solution to this.
This code works, just spam it in console and it works. Also use a working token
please i need your help add me on discord Wiwi#0402 it’s super urgent please
It doesn't work anymore guys. I check the dev tools an saw that each time you paste the token in and refresh instead of it log you in it redirect you back to the login page. Each time you refresh even if you paste the token in the "local storage" but if you refresh it will automatically run another thing it's
+-----------------+---------------------------------+
| tokens | {"user_id_cache": "your token"} |
+-----------------+---------------------------------+
| user_id_cache: | "your_user_id" |
-------------------+---------------------------------+
| token | "your_token" |
+-----------------+---------------------------------+
But even i paste these two value in, each time you reload it just empty the token --> refresher -->
token: {} --> back to the login pageAdded
Can you add me on discord for help me pls ? JeiLys.
please i need your help add me on discord Wiwi#0402 it’s super urgent please
It doesn't work anymore guys. I check the dev tools an saw that each time you paste the token in and refresh instead of it log you in it redirect you back to the login page. Each time you refresh even if you paste the token in the "local storage" but if you refresh it will automatically run another thing it's
+-----------------+---------------------------------+
| tokens | {"user_id_cache": "your token"} |
+-----------------+---------------------------------+
| user_id_cache: | "your_user_id" |
-------------------+---------------------------------+
| token | "your_token" |
+-----------------+---------------------------------+
But even i paste these two value in, each time you reload it just empty the token --> refresher -->
token: {} --> back to the login pageAdded
Can you add me on discord for help me pls ? JeiLys.
I sent an invite
does anyone know how to do it 2023 august i cant find any working tutorials and ima ure my token is positive.
hello I would need help I lost my discord account and the A2F is connected to it despite the fact that I have sent several times emails to discore they do not want to help me recover it could help me please please
document.body.appendChild(document.createElement("iframe")).contentWindow.localStorage.setItem("token", "\"token.here\"");
setTimeout(() => location.reload(), 1000);
should work :D
could I get some help pls?
could I get some help pls?
do you suffer from the stupid @wolfy402
need help. tried every single one and none works
need help. tried every single one and none works
are you acoustic
Yes, paste this as it is
it erases the token and reloads