Created
July 14, 2025 01:02
-
-
Save Corex24/863635506079b229614aa6b229b8ac02 to your computer and use it in GitHub Desktop.
Just fun
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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)); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
๐๐ฟ๐ผ ๐ฐ๐ฎ๐ป ๐๐ผ๐ ๐บ๐ฎ๐ธ๐ฒ ๐๐ถ๐๐ฒ๐๐ฐ๐ผ๐ฟ๐ฒ ๐ฝ๐น๐๐ด๐ถ๐ป ๐ณ๐ผ๐ฟ ๐ณ๐ผ๐ผ๐๐ฏ๐ฎ๐น๐น ๐น๐ถ๐๐ฒ๐๐ฐ๐ผ๐ฟ๐ฒ ๐ฟ๐ฒ๐๐๐น๐๐. ๐๐ถ๐ธ๐ฒ ๐ณ๐ผ๐ฟ ๐ฝ๐ฟ๐ฒ๐บ๐ถ๐ฒ๐ฟ ๐น๐ฒ๐ฎ๐ด๐๐ฒ, ๐น๐ฎ๐น๐ถ๐ด๐ฎ ๐ฎ๐ป๐ฑ ๐ฐ๐ต๐ฎ๐บ๐ฝ๐ถ๐ผ๐ป๐ ๐น๐ฒ๐ฎ๐ด๐๐ฒ