Skip to content

Instantly share code, notes, and snippets.

@Corex24
Created July 14, 2025 01:02
Show Gist options
  • Select an option

  • Save Corex24/863635506079b229614aa6b229b8ac02 to your computer and use it in GitHub Desktop.

Select an option

Save Corex24/863635506079b229614aa6b229b8ac02 to your computer and use it in GitHub Desktop.
Just fun
const { bot } = require('../lib');
const cooldown = new Map();
bot(
{
pattern: 'hack ?(.*)',
desc: 'โš ๏ธ Simulates a cool hacking prank',
type: 'fun',
},
async (message, match) => {
const target = match || 'Unknown User';
const sender = message.sender;
// 5-minute cooldown per user
if (cooldown.has(sender)) {
return await message.send('*โณ Please wait before running another hack.*');
}
cooldown.set(sender, true);
setTimeout(() => cooldown.delete(sender), 5 * 60 * 1000); // 5 mins
const delay = (ms) => new Promise(res => setTimeout(res, ms));
const send = async (txt) => await message.send(txt);
await send('*๐Ÿ’ป Initializing hack protocol v3.9...*');
await delay(1500);
await send(`*๐Ÿง  Targeting:* \`${target}\``);
await delay(1300);
await send('*๐Ÿ”Œ Establishing secure connection to NSA mainframe...*');
await delay(2000);
await send('*๐Ÿ›ก Deploying stealth modules...*');
await displayProgressBar(message, 'Module Injection', 5);
await send('*๐Ÿ”“ Breaching firewall layers...*');
await delay(1000);
await animateEditor(message, 'firewall_config.json');
await delay(1500);
await send('*๐Ÿงฌ Injecting trojan worm into cloud cluster...*');
await displayProgressBar(message, 'Worm Deployment', 6);
await send('*๐Ÿ” Cracking SHA-256 encryption...*');
await displayProgressBar(message, 'Decrypting', 8);
await send('*๐Ÿ“ฅ Downloading classified files...*');
await displayFakeDownload(message);
await send('*๐ŸŒ Uploading files to dark web marketplace...*');
await displayProgressBar(message, 'Dark Web Transfer', 5);
await send(`*๐Ÿ’ฅ Hack successful! ๐ŸŽฏ Target "${target}" compromised.*`);
await delay(1000);
await send('*๐Ÿ“ Logs will be auto-deleted in 3s...*');
await delay(3000);
await send('*๐Ÿงน Logs deleted. Session closed.*\n*๐Ÿ˜ˆ Youโ€™ve been pranked ๐Ÿ’€*');
}
);
// Editable animation
async function animateEditor(message, fileName) {
const frames = [
`[ ${fileName} ] โžค opening...`,
`[ ${fileName} ] โžค editing lines 1-25...`,
`[ ${fileName} ] โžค injecting payload ๐Ÿ”ฅ`,
`[ ${fileName} ] โžค saving changes โœ”`,
`[ ${fileName} ] โžค closing...`
];
for (const frame of frames) {
await message.send(`\`\`\`${frame}\`\`\``);
await new Promise(res => setTimeout(res, 1200));
}
}
// Progress bar animation
const displayProgressBar = async (message, taskName, steps) => {
const barLen = 20;
for (let i = 1; i <= steps; i++) {
const progress = Math.round((i / steps) * barLen);
const bar = 'โ–ˆ'.repeat(progress) + 'โ–‘'.repeat(barLen - progress);
await message.send(`*${taskName}:* [${bar}]`);
await new Promise(res => setTimeout(res, 1000));
}
};
// Fake file download list
async function displayFakeDownload(message) {
const files = [
'credentials_backup.zip',
'photos/private_001.jpg',
'messages.db',
'vault/crypto_keys.pem',
'passwords.txt',
'keystrokes.log',
'webcam_snapshot.png',
];
for (const file of files) {
await message.send(`๐Ÿ“ Downloaded: *${file}*`);
await new Promise(res => setTimeout(res, 700));
}
}
@Allenbizz
Copy link

๐—•๐—ฟ๐—ผ ๐—ฐ๐—ฎ๐—ป ๐˜†๐—ผ๐˜‚ ๐—บ๐—ฎ๐—ธ๐—ฒ ๐—Ÿ๐—ถ๐˜ƒ๐—ฒ๐˜€๐—ฐ๐—ผ๐—ฟ๐—ฒ ๐—ฝ๐—น๐˜‚๐—ด๐—ถ๐—ป ๐—ณ๐—ผ๐—ฟ ๐—ณ๐—ผ๐—ผ๐˜๐—ฏ๐—ฎ๐—น๐—น ๐—น๐—ถ๐˜ƒ๐—ฒ๐˜€๐—ฐ๐—ผ๐—ฟ๐—ฒ ๐—ฟ๐—ฒ๐˜€๐˜‚๐—น๐˜๐˜€. ๐—Ÿ๐—ถ๐—ธ๐—ฒ ๐—ณ๐—ผ๐—ฟ ๐—ฝ๐—ฟ๐—ฒ๐—บ๐—ถ๐—ฒ๐—ฟ ๐—น๐—ฒ๐—ฎ๐—ด๐˜‚๐—ฒ, ๐—น๐—ฎ๐—น๐—ถ๐—ด๐—ฎ ๐—ฎ๐—ป๐—ฑ ๐—ฐ๐—ต๐—ฎ๐—บ๐—ฝ๐—ถ๐—ผ๐—ป๐˜€ ๐—น๐—ฒ๐—ฎ๐—ด๐˜‚๐—ฒ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment