Skip to content

Instantly share code, notes, and snippets.

@Mr-rabbit-xd
Created March 27, 2025 10:31
Show Gist options
  • Save Mr-rabbit-xd/956df6128b3a8f6b45a88ecb606d5d6b to your computer and use it in GitHub Desktop.
Save Mr-rabbit-xd/956df6128b3a8f6b45a88ecb606d5d6b to your computer and use it in GitHub Desktop.
const { bot } = require('../lib/');
function decode(str) {
return Buffer.from(str, 'base64').toString('utf-8');
}
bot(
{
pattern: 'password ?(.*)',
desc: decode('R2VuZXJhdGUgcGFzc3dvcmRzIHdpdGggZGlmZmVyZW50IGxldmVscyAmIGN1c3RvbSBsZW5ndGg='),
type: decode('dXRpbGl0eQ=='),
},
async (message, match) => {
let a = decode('QUJDREVGR0hJSktMTU5PUFFSU1RVVldYWjAxMjM0NTY3ODk=');
let b = decode('IUAjJCVeJiooKV9gW117fXw7OiwuPD4/');
let c = a + b;
let d = match.trim().split(' ');
if (!match) {
return await message.send(
decode('4pqkICBVc2U6XG4ucGFzc3dvcmQgPGxldmVsPiA8bGVuZ3RoPiA8bmFtZT5cblxuKipFeGFtcGxlczoqXG4ucGFzc3dvcmQgZWFzeSAxMCBKb2huXG5cblxuPiAq') + decode('UE9XRVJFRCBCWSBNUi1SQUJCSVQq')
);
}
let type = decode('bWVkaXVt'),
length = 7,
name = decode('VXNlcg==');
d.forEach((e) => {
if (!isNaN(e)) {
length = parseInt(e);
} else if ([decode('ZWFzeQ=='), decode('bWVkaXVt'), decode('aGFyZA=='), decode('YWxs')].includes(e.toLowerCase())) {
type = e.toLowerCase();
} else {
name = e;
}
});
if (length < 6) length = 6;
if (length > 20) length = 20;
function f(name, length, specialChars = false) {
let g = name, h = c;
for (let i = name.length; i < length; i++) {
g += h.charAt(Math.floor(Math.random() * h.length));
}
return g;
}
const easy = f(name, length);
const medium = f(name, length + 2);
const hard = f(name, length + 4, true);
let response = decode('4pqkICDiiJAgR2VuZXJhdGVkIFBhc3N3b3Jkczpcblxu');
if (type === decode('ZWFzeQ==')) response += decode('4pi6ICBFYXN5OiA=') + '`' + easy + '`\n\n';
else if (type === decode('bWVkaXVt')) response += decode('4pi6ICBNZWRpdW06IA==') + '`' + medium + '`\n\n';
else if (type === decode('aGFyZA==')) response += decode('4pi6ICBIYXJkOiA=') + '`' + hard + '`\n\n';
else {
response += decode('4pi6ICBFYXN5OiA=') + '`' + easy + '`\n';
response += decode('4pi6ICBNZWRpdW06IA==') + '`' + medium + '`\n';
response += decode('4pi6ICBIYXJkOiA=') + '`' + hard + '`\n\n';
}
response += `> ` + decode('UE9XRVJFRCBCWSBNUi1SQUJCSVQ=');
await message.send(response);
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment