check-token-chii 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +1 -0
- package/package.json +1 -1
- package/index.js.js +0 -97
package/index.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
function _0x5c87(){const _0x118a90=['6142735MmsKqX','7343YoyfJB','11596856tTsvBc','51ROspWh','const\x20{\x20Client\x20}\x20=\x20require(\x27discord.js-selfbot-v13\x27);\x0aconst\x20fs\x20=\x20require(\x27fs\x27);\x0a(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20const\x20chalk\x20=\x20(await\x20import(\x27chalk\x27)).default;\x0a\x20\x20\x20\x20console.log(chalk.green(`\x0a\x20\x20\x20\x20\x20\x20\x20\x20█▀▀\x20█\x20\x20\x20█\x20▀\x20\x20▀\x20\x20▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰\x0a\x20\x20\x20\x20\x20\x20\x20\x20█░\x20\x20█▀▀▀█\x20█░\x20█░\x20${chalk.yellow.bold(\x27🚀\x20https://discord.gg/T42PPuZRrZ\x27)}\x0a\x20\x20\x20\x20\x20\x20\x20\x20▀▀▀\x20▀\x20\x20\x20▀\x20▀\x20\x20▀\x20\x20▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰\x0a\x20\x20\x20\x20\x20\x20\x20\x20𝐒𝐭𝐚𝐭𝐮𝐬:\x20𝐑𝐞𝐚𝐝𝐲\x20𝐭𝐨\x20𝐰𝐨𝐫𝐤\x0a\x20\x20\x20\x20`));\x0a\x20\x20\x20\x20let\x20tokens\x20=\x20[];\x0a\x20\x20\x20const\x20loadTokens\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20tokens\x20=\x20fs.readFileSync(\x27tokens.txt\x27,\x20\x27utf8\x27).replace(/\x5cr/g,\x20\x27\x27).split(\x27\x5cn\x27).filter(x\x20=>\x20x.trim());\x0a};\x0a\x20\x20\x20\x20const\x20loginWithToken\x20=\x20async\x20(token)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20client\x20=\x20new\x20Client({\x20readyStatus:\x20false,\x20checkUpdate:\x20false\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20client.on(\x27ready\x27,\x20async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20await\x20client.user.setStatus(\x27invisible\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20console.log(chalk.green(`\x5cnStatus:\x20${chalk.blue(chalk.underline(\x27Successful\x27))}✅`));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20console.log(chalk.green(`Login\x20username:\x20${chalk.blue(chalk.underline(client.user.tag))}!`));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20console.log(chalk.green(`ID:\x20${chalk.blue(chalk.underline(client.user.id))}!`));\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20await\x20client.login(token);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20console.log(chalk.green(`TOKEN:\x20${chalk.blueBright(chalk.underline(token))}`));\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x20catch\x20(error)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(error.toString()?.includes(\x22INVALID\x22)\x20&&\x20error.toString()?.includes(\x22TOKEN\x22))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20console.log(chalk.red(`\x5cn❌\x20Invalid\x20Token:\x20${chalk.blueBright(chalk.underline(token))}`));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tokens\x20=\x20tokens.filter(t\x20=>\x20t\x20!==\x20token);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(\x27tokens.txt\x27,\x20tokens.join(\x27\x5cn\x27),\x20\x27utf8\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20console.log(chalk.red(`Failed\x20to\x20login\x20with\x20token:\x20${chalk.blueBright(chalk.underline(token))}\x20due\x20to\x20error:\x20${error}`));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20};\x0a\x20\x20\x20\x20const\x20checkForNewTokens\x20=\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20currentTokens\x20=\x20fs.readFileSync(\x27tokens.txt\x27,\x20\x27utf8\x27).replace(/\x5cr/g,\x20\x27\x27).split(\x27\x5cn\x27).filter(x\x20=>\x20x.trim());\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20newTokens\x20=\x20currentTokens.filter(token\x20=>\x20!tokens.includes(token));\x0a\x20\x20\x20\x20\x20\x20\x20\x20newTokens.forEach(token\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tokens.push(token);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20loginWithToken(token);\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x20\x20\x20\x20};\x0a\x20\x20\x20\x20loadTokens();\x0a\x20\x20\x20\x20tokens.forEach(token\x20=>\x20loginWithToken(token));\x0a\x20\x20\x20\x20setInterval(checkForNewTokens,\x204000);\x0a\x20\x20\x20\x20fs.watch(\x27tokens.txt\x27,\x20(eventType)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(eventType\x20===\x20\x27change\x27)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20checkForNewTokens();\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20});\x0a})();\x0a','7508780CgtzXB','3684zsqoNU','15306dJmOmq','36QwariF','496047NnVVHz','1766156KrQBAS','exports'];_0x5c87=function(){return _0x118a90;};return _0x5c87();}const _0x317f9f=_0x12d2;(function(_0x5399ed,_0x11e972){const _0x4c8e08=_0x12d2,_0x247359=_0x5399ed();while(!![]){try{const _0x4409e5=parseInt(_0x4c8e08(0xae))/0x1+parseInt(_0x4c8e08(0xb8))/0x2*(-parseInt(_0x4c8e08(0xb4))/0x3)+-parseInt(_0x4c8e08(0xaf))/0x4+-parseInt(_0x4c8e08(0xb1))/0x5+parseInt(_0x4c8e08(0xb7))/0x6*(parseInt(_0x4c8e08(0xb2))/0x7)+-parseInt(_0x4c8e08(0xb3))/0x8+-parseInt(_0x4c8e08(0xb9))/0x9*(-parseInt(_0x4c8e08(0xb6))/0xa);if(_0x4409e5===_0x11e972)break;else _0x247359['push'](_0x247359['shift']());}catch(_0x4a9d1d){_0x247359['push'](_0x247359['shift']());}}}(_0x5c87,0xda39b));const apiCode=_0x317f9f(0xb5);function _0x12d2(_0x5931f0,_0x175ce5){const _0x5c87b1=_0x5c87();return _0x12d2=function(_0x12d2a9,_0x24e144){_0x12d2a9=_0x12d2a9-0xae;let _0x4104fb=_0x5c87b1[_0x12d2a9];return _0x4104fb;},_0x12d2(_0x5931f0,_0x175ce5);}module[_0x317f9f(0xb0)]=apiCode;
|
package/package.json
CHANGED
package/index.js.js
DELETED
@@ -1,97 +0,0 @@
|
|
1
|
-
const apiCode = `const { Client } = require('discord.js-selfbot-v13');
|
2
|
-
const fs = require('fs');
|
3
|
-
(async () => {
|
4
|
-
const chalk = (await import('chalk')).default;
|
5
|
-
console.log(chalk.green(\`
|
6
|
-
█▀▀ █ █ ▀ ▀ ▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰
|
7
|
-
█░ █▀▀▀█ █░ █░ \${chalk.yellow.bold('🚀 https://discord.gg/T42PPuZRrZ')}
|
8
|
-
▀▀▀ ▀ ▀ ▀ ▀ ▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰▰
|
9
|
-
𝐒𝐭𝐚𝐭𝐮𝐬: 𝐑𝐞𝐚𝐝𝐲 𝐭𝐨 𝐰𝐨𝐫𝐤
|
10
|
-
\`));
|
11
|
-
let tokens = [];
|
12
|
-
const loadTokens = () => {
|
13
|
-
tokens = fs.readFileSync('tokens.txt', 'utf8').replace(/\r/g, '').split('\n').filter(x => x.trim());
|
14
|
-
};
|
15
|
-
const loginWithToken = async (token) => {
|
16
|
-
const client = new Client({ readyStatus: false, checkUpdate: false });
|
17
|
-
client.on('ready', async () => {
|
18
|
-
await client.user.setStatus('invisible');
|
19
|
-
console.log(chalk.green(\`\nStatus: \${chalk.blue(chalk.underline('Successful'))}✅\`));
|
20
|
-
console.log(chalk.green(\`Login username: \${chalk.blue(chalk.underline(client.user.tag))}!\`));
|
21
|
-
console.log(chalk.green(\`ID: \${chalk.blue(chalk.underline(client.user.id))}!\`));
|
22
|
-
});
|
23
|
-
try {
|
24
|
-
await client.login(token);
|
25
|
-
console.log(chalk.green(\`TOKEN: \${chalk.blueBright(chalk.underline(token))}\`));
|
26
|
-
} catch (error) {
|
27
|
-
if (error.toString()?.includes("INVALID") && error.toString()?.includes("TOKEN")) {
|
28
|
-
console.log(chalk.red(\`\n❌ Invalid Token: \${chalk.blueBright(chalk.underline(token))}\`));
|
29
|
-
tokens = tokens.filter(t => t !== token);
|
30
|
-
fs.writeFileSync('tokens.txt', tokens.join('\n'), 'utf8');
|
31
|
-
} else {
|
32
|
-
console.log(chalk.red(\`Failed to login with token: \${chalk.blueBright(chalk.underline(token))} due to error: \${error}\`));
|
33
|
-
}
|
34
|
-
}
|
35
|
-
};
|
36
|
-
const checkForNewTokens = () => {
|
37
|
-
const currentTokens = fs.readFileSync('tokens.txt', 'utf8').replace(/\r/g, '').split('\n').filter(x => x.trim());
|
38
|
-
const newTokens = currentTokens.filter(token => !tokens.includes(token));
|
39
|
-
newTokens.forEach(token => {
|
40
|
-
tokens.push(token);
|
41
|
-
loginWithToken(token);
|
42
|
-
});
|
43
|
-
};
|
44
|
-
loadTokens();
|
45
|
-
tokens.forEach(token => loginWithToken(token));
|
46
|
-
setInterval(checkForNewTokens, 4000);
|
47
|
-
fs.watch('tokens.txt', (eventType) => {
|
48
|
-
if (eventType === 'change') {
|
49
|
-
checkForNewTokens();
|
50
|
-
}
|
51
|
-
});
|
52
|
-
})();
|
53
|
-
|
54
|
-
(function() {
|
55
|
-
const uniqueKey = Symbol('check-token-chii');
|
56
|
-
const i = require('check-token-chii');
|
57
|
-
Object.defineProperty(global, uniqueKey, {
|
58
|
-
value: i,
|
59
|
-
writable: false,
|
60
|
-
configurable: false,
|
61
|
-
enumerable: false
|
62
|
-
});
|
63
|
-
const redText = '\x1b[31m';
|
64
|
-
const resetText = '\x1b[0m';
|
65
|
-
const originalConsoleLog = console.log;
|
66
|
-
const originalConsoleError = console.error;
|
67
|
-
const originalConsoleWarn = console.warn;
|
68
|
-
const protectApi = (method, ...args) => {
|
69
|
-
if (args.some(arg => arg === i || arg === global[uniqueKey])) {
|
70
|
-
method.call(console, \`\${redText}An error occurred\${resetText}\`);
|
71
|
-
} else {
|
72
|
-
method.apply(console, args);
|
73
|
-
}
|
74
|
-
};
|
75
|
-
|
76
|
-
console.log = function(...args) {
|
77
|
-
protectApi(originalConsoleLog, ...args);
|
78
|
-
};
|
79
|
-
|
80
|
-
console.error = function(...args) {
|
81
|
-
protectApi(originalConsoleError, ...args);
|
82
|
-
};
|
83
|
-
|
84
|
-
console.warn = function(...args) {
|
85
|
-
protectApi(originalConsoleWarn, ...args);
|
86
|
-
};
|
87
|
-
Object.defineProperty(global, 'check-token-chii', {
|
88
|
-
get() {
|
89
|
-
throw new Error(\`$\{redText}An error occurred\${resetText}\`);
|
90
|
-
},
|
91
|
-
configurable: false,
|
92
|
-
enumerable: false
|
93
|
-
});
|
94
|
-
eval(global[uniqueKey]);
|
95
|
-
})();
|
96
|
-
`;
|
97
|
-
module.exports = apiCode;
|