-
-
Save m-Phoenix852/d63d869f16e40dac623c9aa347e8641a to your computer and use it in GitHub Desktop.
// ==UserScript== | |
// @name Discord Token Login | |
// @namespace https://gist.github.com/m-Phoenix852/d63d869f16e40dac623c9aa347e8641a/ | |
// @version 1.1 | |
// @description Taking over discord's tokens! | |
// @author Phoenix852 | |
// @match *://discord.com/login | |
// @updateURL https://gist.github.com/m-Phoenix852/d63d869f16e40dac623c9aa347e8641a/raw/6d1ee63df17685e4ea06018bd8b47541d4261b82/index.user.js | |
// @grant none | |
// @iconURL https://i.imgur.com/rI8GsTz.png | |
// @run-at document-start | |
// ==/UserScript== | |
(function(){ | |
console.log("Dicord Token Login ready!"); | |
function login(token) { | |
setInterval(() => { | |
document.body.appendChild(document.createElement `iframe`).contentWindow.localStorage.token = `"${token}"` | |
}, 50); | |
setTimeout(() => { | |
location.reload(); | |
}, 2500); | |
} | |
document.addEventListener("keydown", (event) => { | |
if(event.shiftKey && event.keyCode === 84) { | |
if(!["https://discord.com/login", "http://discord.com/login"].includes(window.location.href)) return; | |
console.log("Prompting for token..."); | |
let token = prompt("Give the token"); | |
if(!token) { console.log("No token provided. Aborting!"); return; } | |
login(token); | |
} | |
}); | |
})(); |
How do I get the token?
I decoded the user ID of an abusive user to get in their account but it only gives half the token. How do I get the other half??
after putting the token and pressing ok. it loads then comes back to the login page.. i opened ispect and it shows this: (Pasting anything in here could give attackers access to your Discord account.) is there any new way to log in?
after putting the token and pressing ok. it loads then comes back to the login page.. i opened ispect and it shows this: (Pasting anything in here could give attackers access to your Discord account.) is there any new way to log in?
You're looking at it, just get the tampermonkey extension and copy this code in and follow the instructions to use it, if it doesn't work try a different token, else it's probably an expired token
Nice worked like a charm