Skip to content

Instantly share code, notes, and snippets.

@wowkster
Created October 24, 2021 01:42
Show Gist options
  • Save wowkster/dda454074b8162f709972e9039ae4075 to your computer and use it in GitHub Desktop.
Save wowkster/dda454074b8162f709972e9039ae4075 to your computer and use it in GitHub Desktop.
Discord Phishing Site Request Spammer
/**
* Request Spammer for https://discordhalloween.co.uk/
* (And presumably other discord pishing sites)
*
* How to use: Just copy paste this script into the concole on https://discordhalloween.co.uk/
*
* @author Wowkster#0001 (github.com/wowkster)
*/
(async () => {
var NUMBER_OF_REQUESTS = 1_000; // CHANGE THIS IF YOU WANT
function randomEmail() {
return new RandExp(/[A-Za-z\d]{8,16}/).gen() + "@gmail.com";
}
function randomPassword() {
return new RandExp(/[A-Za-z\d]{8,16}/).gen();
}
function randomId() {
return new RandExp(/[\d]{16,19}/).gen();
}
function randomToken() {
return new RandExp(/[MN][A-Za-z\d]{23}\.[\w-]{6}\.[\w-]{27}/).gen();
}
function insertDeps() {
$.getScript("https://github.com/fent/randexp.js/releases/download/v0.4.3/randexp.min.js");
}
function main(socket) {
for (let i = 0; i < NUMBER_OF_REQUESTS; i++) {
socket.emit("login", {
email: randomEmail(),
password: randomPassword(),
token: randomToken(),
id: randomId(),
});
console.log(`Sent request`);
}
}
// Insert Dependency into DOM
insertDeps();
// Initialize Socket and wait for it to load
var socket = io();
await new Promise((r) => setTimeout(r, 1000));
main(socket);
})();
@SeizureSaladd
Copy link

funny haha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment