mirror of
https://github.com/System-End/Discord-Bot.git
synced 2026-04-19 16:28:26 +00:00
130 lines
No EOL
5 KiB
JavaScript
130 lines
No EOL
5 KiB
JavaScript
const fetch = require("node-fetch");
|
|
const generator = require('generate-password');
|
|
|
|
module.exports = async (client, interaction, args) => {
|
|
|
|
const password = generator.generate({
|
|
length: 10,
|
|
symbols: true,
|
|
numbers: true
|
|
});
|
|
|
|
const user = interaction.options.getUser('user');
|
|
|
|
if (!user) return client.errUsage({ usage: "hack [mention user]", type: 'editreply' }, interaction)
|
|
|
|
function wait(ms) {
|
|
let start = new Date().getTime();
|
|
let end = start;
|
|
while (end < start + ms) {
|
|
end = new Date().getTime();
|
|
}
|
|
}
|
|
|
|
client.embed({
|
|
title: '💻・Hacking',
|
|
desc: `The hack on ${user} started...`,
|
|
type: 'editreply'
|
|
}, interaction).then(msg => {
|
|
|
|
wait(140);
|
|
client.embed({
|
|
title: '💻・Hacking',
|
|
desc: `Searching for user information..`,
|
|
type: 'edit',
|
|
}, msg).then(i => {
|
|
|
|
wait(133);
|
|
client.embed({
|
|
title: '💻・Hacking',
|
|
desc: `Searching for IP address...`,
|
|
type: 'edit',
|
|
}, msg).then(i => {
|
|
|
|
wait(140);
|
|
client.embed({
|
|
title: '💻・Hacking',
|
|
desc: `The users ip address was found!`,
|
|
fields: [
|
|
{
|
|
name: '🔗┆IP Adress',
|
|
value: `\`\`\`127.0.0.1\`\`\``,
|
|
inline: true,
|
|
}
|
|
],
|
|
type: 'edit',
|
|
}, msg).then(i => {
|
|
|
|
wait(60);
|
|
client.embed({
|
|
title: '💻・Hacking',
|
|
desc: `Searching for Discord login...`,
|
|
type: 'edit',
|
|
}, msg).then(i => {
|
|
|
|
wait(230);
|
|
client.embed({
|
|
title: '💻・Hacking',
|
|
desc: `The users discord login was found!`,
|
|
fields: [
|
|
{
|
|
name: '📨┆Email',
|
|
value: `\`\`\`${user.username}isCoolXD@gmail.com\`\`\``
|
|
},
|
|
{
|
|
name: '🔑┆Password',
|
|
value: `\`\`\`${password}\`\`\``
|
|
}
|
|
],
|
|
type: 'edit',
|
|
}, msg).then(i => {
|
|
|
|
wait(200);
|
|
client.embed({
|
|
title: '💻・Hacking',
|
|
desc: `Search for Discord token...`,
|
|
type: 'edit'
|
|
}, msg).then(i => {
|
|
|
|
wait(200);
|
|
fetch(`https://some-random-api.ml/bottoken`).then((res) => res.json()).catch({}).then(async (json) => {
|
|
client.embed({
|
|
title: '💻・Hacking',
|
|
desc: `The users discord account token was found!`,
|
|
fields: [
|
|
{
|
|
name: '🔧┆Token',
|
|
value: `\`\`\`${json.token}\`\`\``,
|
|
inline: true
|
|
}
|
|
],
|
|
type: 'edit',
|
|
}, msg).then(i => {
|
|
|
|
wait(140);
|
|
client.embed({
|
|
title: '💻・Hacking',
|
|
desc: `Reporting account to Discord for breaking TOS...`,
|
|
type: 'edit',
|
|
}, msg).then(i => {
|
|
|
|
wait(180);
|
|
client.succNormal({ text: `${user} is succesfully hacked.All the user's information was send to your dm`, type: 'edit' }, msg);
|
|
client.embed({
|
|
title: '😂・Pranked',
|
|
image: "https://media1.tenor.com/images/05006ed09075a0d6965383797c3cea00/tenor.gif?itemid=17987788",
|
|
}, interaction.user)
|
|
})
|
|
})
|
|
}).catch({})
|
|
})
|
|
})
|
|
})
|
|
})
|
|
})
|
|
})
|
|
})
|
|
|
|
}
|
|
|
|
|