upload
Browse files- Dockerfile +25 -0
- README.md +1 -3
- config.json +31 -0
- data/ranges.json +519 -0
- index.js +0 -0
- package.json +20 -0
- test.js +63 -0
Dockerfile
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM node:20-slim
|
| 2 |
+
|
| 3 |
+
RUN apt update && apt install -y \
|
| 4 |
+
wget gnupg ca-certificates xvfb \
|
| 5 |
+
fonts-liberation libappindicator3-1 libasound2 libatk-bridge2.0-0 \
|
| 6 |
+
libatk1.0-0 libxss1 libnss3 libxcomposite1 libxdamage1 libxrandr2 libgbm1 \
|
| 7 |
+
&& wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
|
| 8 |
+
&& apt install -y ./google-chrome-stable_current_amd64.deb \
|
| 9 |
+
&& rm google-chrome-stable_current_amd64.deb
|
| 10 |
+
|
| 11 |
+
WORKDIR /app
|
| 12 |
+
|
| 13 |
+
RUN mkdir -p /app/data
|
| 14 |
+
|
| 15 |
+
COPY package*.json ./
|
| 16 |
+
RUN npm install
|
| 17 |
+
|
| 18 |
+
COPY . .
|
| 19 |
+
|
| 20 |
+
EXPOSE 3000
|
| 21 |
+
|
| 22 |
+
CMD rm -f /tmp/.X99-lock && \
|
| 23 |
+
Xvfb :99 -screen 0 1024x768x24 & \
|
| 24 |
+
export DISPLAY=:99 && \
|
| 25 |
+
node index.js
|
README.md
CHANGED
|
@@ -3,9 +3,7 @@ title: Tele
|
|
| 3 |
emoji: 🏢
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: blue
|
| 6 |
-
sdk:
|
| 7 |
-
sdk_version: 6.5.1
|
| 8 |
-
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: apache-2.0
|
| 11 |
short_description: bot tele
|
|
|
|
| 3 |
emoji: 🏢
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: blue
|
| 6 |
+
sdk: docker
|
|
|
|
|
|
|
| 7 |
pinned: false
|
| 8 |
license: apache-2.0
|
| 9 |
short_description: bot tele
|
config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bot_token": "8570915227:AAFyjS3NspIQWVHfe8HdtTQ_GJb3cXpGc9s",
|
| 3 |
+
"admin_ids": [
|
| 4 |
+
"7754777405"
|
| 5 |
+
],
|
| 6 |
+
"admin_usernames": [
|
| 7 |
+
"fourstore1"
|
| 8 |
+
],
|
| 9 |
+
"group_chat_id": "-1003554711107",
|
| 10 |
+
"web_email": "gamingmukulff@gmail.com",
|
| 11 |
+
"web_password": "Munir@@2255++",
|
| 12 |
+
"send_to_group": true,
|
| 13 |
+
"check_interval": 5000,
|
| 14 |
+
"timeout_minutes": 30,
|
| 15 |
+
"auto_start_console_monitor": false,
|
| 16 |
+
"auto_start_global_monitor": true,
|
| 17 |
+
"express_port": 3000,
|
| 18 |
+
"enable_ping": true,
|
| 19 |
+
"required_groups": [
|
| 20 |
+
{
|
| 21 |
+
"chat_id": "@fourstore_gacha",
|
| 22 |
+
"invite_link": "https://t.me/fourstore_gacha",
|
| 23 |
+
"name": "Fourstore Gacha"
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"chat_id": "@kuramav2",
|
| 27 |
+
"invite_link": "https://t.me/kuramav2",
|
| 28 |
+
"name": "Kurama V2"
|
| 29 |
+
}
|
| 30 |
+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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"1768193393703": {
|
| 3 |
+
"id": "1768193393703",
|
| 4 |
+
"name": "pakistan wa",
|
| 5 |
+
"country": "Auto",
|
| 6 |
+
"service": "WhatsApp",
|
| 7 |
+
"range": "923354049XXX",
|
| 8 |
+
"xCount": 3,
|
| 9 |
+
"enabled": true,
|
| 10 |
+
"created": "2026-01-12T04:49:53.703Z",
|
| 11 |
+
"createdBy": "fourstore1"
|
| 12 |
+
},
|
| 13 |
+
"1768194377142": {
|
| 14 |
+
"id": "1768194377142",
|
| 15 |
+
"name": "FB",
|
| 16 |
+
"country": "Auto",
|
| 17 |
+
"service": "Facebook",
|
| 18 |
+
"range": "959755033XXX",
|
| 19 |
+
"xCount": 3,
|
| 20 |
+
"enabled": true,
|
| 21 |
+
"created": "2026-01-12T05:06:17.142Z",
|
| 22 |
+
"createdBy": "fourstore1"
|
| 23 |
+
},
|
| 24 |
+
"1768280373133": {
|
| 25 |
+
"id": "1768280373133",
|
| 26 |
+
"name": "ivory wa",
|
| 27 |
+
"country": "Ivory Coast",
|
| 28 |
+
"service": "WhatsApp",
|
| 29 |
+
"range": "2250712448XXX",
|
| 30 |
+
"xCount": 3,
|
| 31 |
+
"enabled": true,
|
| 32 |
+
"created": "2026-01-13T04:59:33.133Z",
|
| 33 |
+
"createdBy": "fourstore1"
|
| 34 |
+
},
|
| 35 |
+
"1768280381737": {
|
| 36 |
+
"id": "1768280381737",
|
| 37 |
+
"name": "ivory wa",
|
| 38 |
+
"country": "Ivory Coast",
|
| 39 |
+
"service": "WhatsApp",
|
| 40 |
+
"range": "2250788667XXX",
|
| 41 |
+
"xCount": 3,
|
| 42 |
+
"enabled": true,
|
| 43 |
+
"created": "2026-01-13T04:59:41.737Z",
|
| 44 |
+
"createdBy": "fourstore1"
|
| 45 |
+
},
|
| 46 |
+
"1768450399831": {
|
| 47 |
+
"id": "1768450399831",
|
| 48 |
+
"name": "WA",
|
| 49 |
+
"country": "Auto",
|
| 50 |
+
"service": "WhatsApp",
|
| 51 |
+
"range": "31657157XXX",
|
| 52 |
+
"xCount": 3,
|
| 53 |
+
"enabled": true,
|
| 54 |
+
"created": "2026-01-15T04:13:19.831Z",
|
| 55 |
+
"createdBy": "fourstore1"
|
| 56 |
+
},
|
| 57 |
+
"1768452210443": {
|
| 58 |
+
"id": "1768452210443",
|
| 59 |
+
"name": "WA",
|
| 60 |
+
"country": "USA",
|
| 61 |
+
"service": "WhatsApp",
|
| 62 |
+
"range": "12425547XXX",
|
| 63 |
+
"xCount": 3,
|
| 64 |
+
"enabled": true,
|
| 65 |
+
"created": "2026-01-15T04:43:30.443Z",
|
| 66 |
+
"createdBy": "fourstore1"
|
| 67 |
+
},
|
| 68 |
+
"1768460263848": {
|
| 69 |
+
"id": "1768460263848",
|
| 70 |
+
"name": "FB",
|
| 71 |
+
"country": "Auto",
|
| 72 |
+
"service": "Facebook",
|
| 73 |
+
"range": "99291848XXX",
|
| 74 |
+
"xCount": 3,
|
| 75 |
+
"enabled": true,
|
| 76 |
+
"created": "2026-01-15T06:57:43.848Z",
|
| 77 |
+
"createdBy": "fourstore1"
|
| 78 |
+
},
|
| 79 |
+
"1768460336154": {
|
| 80 |
+
"id": "1768460336154",
|
| 81 |
+
"name": "FB",
|
| 82 |
+
"country": "Auto",
|
| 83 |
+
"service": "Facebook",
|
| 84 |
+
"range": "23672143XXX",
|
| 85 |
+
"xCount": 3,
|
| 86 |
+
"enabled": true,
|
| 87 |
+
"created": "2026-01-15T06:58:56.154Z",
|
| 88 |
+
"createdBy": "fourstore1"
|
| 89 |
+
},
|
| 90 |
+
"1768460452942": {
|
| 91 |
+
"id": "1768460452942",
|
| 92 |
+
"name": "FB",
|
| 93 |
+
"country": "Auto",
|
| 94 |
+
"service": "Facebook",
|
| 95 |
+
"range": "23672886XXX",
|
| 96 |
+
"xCount": 3,
|
| 97 |
+
"enabled": true,
|
| 98 |
+
"created": "2026-01-15T07:00:52.942Z",
|
| 99 |
+
"createdBy": "fourstore1"
|
| 100 |
+
},
|
| 101 |
+
"1768565866442": {
|
| 102 |
+
"id": "1768565866442",
|
| 103 |
+
"name": "wa",
|
| 104 |
+
"country": "Ivory Coast",
|
| 105 |
+
"service": "WhatsApp",
|
| 106 |
+
"range": "2250767769XXX",
|
| 107 |
+
"xCount": 3,
|
| 108 |
+
"enabled": true,
|
| 109 |
+
"created": "2026-01-16T12:17:46.442Z",
|
| 110 |
+
"createdBy": "fourstore1"
|
| 111 |
+
},
|
| 112 |
+
"1768611358005": {
|
| 113 |
+
"id": "1768611358005",
|
| 114 |
+
"name": "wa",
|
| 115 |
+
"country": "USA",
|
| 116 |
+
"service": "WhatsApp",
|
| 117 |
+
"range": "1242553XXX",
|
| 118 |
+
"xCount": 3,
|
| 119 |
+
"enabled": true,
|
| 120 |
+
"created": "2026-01-17T00:55:58.005Z",
|
| 121 |
+
"createdBy": "fourstore1"
|
| 122 |
+
},
|
| 123 |
+
"1768611367587": {
|
| 124 |
+
"id": "1768611367587",
|
| 125 |
+
"name": "FB",
|
| 126 |
+
"country": "Ivory Coast",
|
| 127 |
+
"service": "Facebook",
|
| 128 |
+
"range": "2250140823XXX",
|
| 129 |
+
"xCount": 3,
|
| 130 |
+
"enabled": true,
|
| 131 |
+
"created": "2026-01-17T00:56:07.587Z",
|
| 132 |
+
"createdBy": "fourstore1"
|
| 133 |
+
},
|
| 134 |
+
"1768611377213": {
|
| 135 |
+
"id": "1768611377213",
|
| 136 |
+
"name": "fb",
|
| 137 |
+
"country": "Auto",
|
| 138 |
+
"service": "Facebook",
|
| 139 |
+
"range": "994552452XXX",
|
| 140 |
+
"xCount": 3,
|
| 141 |
+
"enabled": true,
|
| 142 |
+
"created": "2026-01-17T00:56:17.213Z",
|
| 143 |
+
"createdBy": "fourstore1"
|
| 144 |
+
},
|
| 145 |
+
"1768613505331": {
|
| 146 |
+
"id": "1768613505331",
|
| 147 |
+
"name": "wa",
|
| 148 |
+
"country": "Auto",
|
| 149 |
+
"service": "WhatsApp",
|
| 150 |
+
"range": "994552929XXX",
|
| 151 |
+
"xCount": 3,
|
| 152 |
+
"enabled": true,
|
| 153 |
+
"created": "2026-01-17T01:31:45.331Z",
|
| 154 |
+
"createdBy": "fourstore1"
|
| 155 |
+
},
|
| 156 |
+
"1768736380279": {
|
| 157 |
+
"id": "1768736380279",
|
| 158 |
+
"name": "wa",
|
| 159 |
+
"country": "Auto",
|
| 160 |
+
"service": "WhatsApp",
|
| 161 |
+
"range": "60169370XXX",
|
| 162 |
+
"xCount": 3,
|
| 163 |
+
"enabled": true,
|
| 164 |
+
"created": "2026-01-18T11:39:40.279Z",
|
| 165 |
+
"createdBy": "fourstore1"
|
| 166 |
+
},
|
| 167 |
+
"1769428214703": {
|
| 168 |
+
"id": "1769428214703",
|
| 169 |
+
"name": "wa",
|
| 170 |
+
"country": "Auto",
|
| 171 |
+
"service": "WhatsApp",
|
| 172 |
+
"range": "5977667XXX",
|
| 173 |
+
"xCount": 3,
|
| 174 |
+
"enabled": true,
|
| 175 |
+
"created": "2026-01-26T11:50:14.703Z",
|
| 176 |
+
"createdBy": "fourstore1"
|
| 177 |
+
},
|
| 178 |
+
"1769494268021": {
|
| 179 |
+
"id": "1769494268021",
|
| 180 |
+
"name": "Myanmar YT",
|
| 181 |
+
"country": "Auto",
|
| 182 |
+
"service": "Auto",
|
| 183 |
+
"range": "95978400XXXX",
|
| 184 |
+
"xCount": 4,
|
| 185 |
+
"enabled": true,
|
| 186 |
+
"created": "2026-01-27T06:11:08.021Z",
|
| 187 |
+
"createdBy": "fourstore1"
|
| 188 |
+
},
|
| 189 |
+
"1769494280127": {
|
| 190 |
+
"id": "1769494280127",
|
| 191 |
+
"name": "tele",
|
| 192 |
+
"country": "Auto",
|
| 193 |
+
"service": "Auto",
|
| 194 |
+
"range": "85531911XXXX",
|
| 195 |
+
"xCount": 4,
|
| 196 |
+
"enabled": true,
|
| 197 |
+
"created": "2026-01-27T06:11:20.127Z",
|
| 198 |
+
"createdBy": "fourstore1"
|
| 199 |
+
},
|
| 200 |
+
"1769500079251": {
|
| 201 |
+
"id": "1769500079251",
|
| 202 |
+
"name": "WA",
|
| 203 |
+
"country": "Auto",
|
| 204 |
+
"service": "WhatsApp",
|
| 205 |
+
"range": "97797462XXX",
|
| 206 |
+
"xCount": 3,
|
| 207 |
+
"enabled": true,
|
| 208 |
+
"created": "2026-01-27T07:47:59.251Z",
|
| 209 |
+
"createdBy": "fourstore1"
|
| 210 |
+
},
|
| 211 |
+
"1769531517362": {
|
| 212 |
+
"id": "1769531517362",
|
| 213 |
+
"name": "wa",
|
| 214 |
+
"country": "Auto",
|
| 215 |
+
"service": "WhatsApp",
|
| 216 |
+
"range": "3752950XXX",
|
| 217 |
+
"xCount": 3,
|
| 218 |
+
"enabled": true,
|
| 219 |
+
"created": "2026-01-27T16:31:57.362Z",
|
| 220 |
+
"createdBy": "fourstore1"
|
| 221 |
+
},
|
| 222 |
+
"1769574146615": {
|
| 223 |
+
"id": "1769574146615",
|
| 224 |
+
"name": "WA",
|
| 225 |
+
"country": "Auto",
|
| 226 |
+
"service": "WhatsApp",
|
| 227 |
+
"range": "245957625XXX",
|
| 228 |
+
"xCount": 3,
|
| 229 |
+
"enabled": true,
|
| 230 |
+
"created": "2026-01-28T04:22:26.615Z",
|
| 231 |
+
"createdBy": "fourstore1"
|
| 232 |
+
},
|
| 233 |
+
"1769679467623": {
|
| 234 |
+
"id": "1769679467623",
|
| 235 |
+
"name": "wa",
|
| 236 |
+
"country": "Auto",
|
| 237 |
+
"service": "WhatsApp",
|
| 238 |
+
"range": "9929439XXX",
|
| 239 |
+
"xCount": 3,
|
| 240 |
+
"enabled": true,
|
| 241 |
+
"created": "2026-01-29T09:37:47.623Z",
|
| 242 |
+
"createdBy": "fourstore1"
|
| 243 |
+
},
|
| 244 |
+
"1769679473184": {
|
| 245 |
+
"id": "1769679473184",
|
| 246 |
+
"name": "wa",
|
| 247 |
+
"country": "Auto",
|
| 248 |
+
"service": "WhatsApp",
|
| 249 |
+
"range": "9929374XXX",
|
| 250 |
+
"xCount": 3,
|
| 251 |
+
"enabled": true,
|
| 252 |
+
"created": "2026-01-29T09:37:53.184Z",
|
| 253 |
+
"createdBy": "fourstore1"
|
| 254 |
+
},
|
| 255 |
+
"1769679484279": {
|
| 256 |
+
"id": "1769679484279",
|
| 257 |
+
"name": "wa",
|
| 258 |
+
"country": "Auto",
|
| 259 |
+
"service": "WhatsApp",
|
| 260 |
+
"range": "97797444XXX",
|
| 261 |
+
"xCount": 3,
|
| 262 |
+
"enabled": true,
|
| 263 |
+
"created": "2026-01-29T09:38:04.279Z",
|
| 264 |
+
"createdBy": "fourstore1"
|
| 265 |
+
},
|
| 266 |
+
"1769680132711": {
|
| 267 |
+
"id": "1769680132711",
|
| 268 |
+
"name": "wa",
|
| 269 |
+
"country": "Auto",
|
| 270 |
+
"service": "WhatsApp",
|
| 271 |
+
"range": "9929852XXX",
|
| 272 |
+
"xCount": 3,
|
| 273 |
+
"enabled": true,
|
| 274 |
+
"created": "2026-01-29T09:48:52.711Z",
|
| 275 |
+
"createdBy": "fourstore1"
|
| 276 |
+
},
|
| 277 |
+
"1769680145672": {
|
| 278 |
+
"id": "1769680145672",
|
| 279 |
+
"name": "wa",
|
| 280 |
+
"country": "Auto",
|
| 281 |
+
"service": "WhatsApp",
|
| 282 |
+
"range": "9929359XXX",
|
| 283 |
+
"xCount": 3,
|
| 284 |
+
"enabled": true,
|
| 285 |
+
"created": "2026-01-29T09:49:05.672Z",
|
| 286 |
+
"createdBy": "fourstore1"
|
| 287 |
+
},
|
| 288 |
+
"1769689533369": {
|
| 289 |
+
"id": "1769689533369",
|
| 290 |
+
"name": "WA",
|
| 291 |
+
"country": "Auto",
|
| 292 |
+
"service": "WhatsApp",
|
| 293 |
+
"range": "9929278XXX",
|
| 294 |
+
"xCount": 3,
|
| 295 |
+
"enabled": true,
|
| 296 |
+
"created": "2026-01-29T12:25:33.369Z",
|
| 297 |
+
"createdBy": "fourstore1"
|
| 298 |
+
},
|
| 299 |
+
"1769689539478": {
|
| 300 |
+
"id": "1769689539478",
|
| 301 |
+
"name": "wa",
|
| 302 |
+
"country": "Auto",
|
| 303 |
+
"service": "WhatsApp",
|
| 304 |
+
"range": "9929392XXX",
|
| 305 |
+
"xCount": 3,
|
| 306 |
+
"enabled": true,
|
| 307 |
+
"created": "2026-01-29T12:25:39.478Z",
|
| 308 |
+
"createdBy": "fourstore1"
|
| 309 |
+
},
|
| 310 |
+
"1769689560103": {
|
| 311 |
+
"id": "1769689560103",
|
| 312 |
+
"name": "wa",
|
| 313 |
+
"country": "Auto",
|
| 314 |
+
"service": "WhatsApp",
|
| 315 |
+
"range": "9921110XXX",
|
| 316 |
+
"xCount": 3,
|
| 317 |
+
"enabled": true,
|
| 318 |
+
"created": "2026-01-29T12:26:00.103Z",
|
| 319 |
+
"createdBy": "fourstore1"
|
| 320 |
+
},
|
| 321 |
+
"1769689835861": {
|
| 322 |
+
"id": "1769689835861",
|
| 323 |
+
"name": "wa",
|
| 324 |
+
"country": "Auto",
|
| 325 |
+
"service": "WhatsApp",
|
| 326 |
+
"range": "9922009XXX",
|
| 327 |
+
"xCount": 3,
|
| 328 |
+
"enabled": true,
|
| 329 |
+
"created": "2026-01-29T12:30:35.861Z",
|
| 330 |
+
"createdBy": "fourstore1"
|
| 331 |
+
},
|
| 332 |
+
"1769689842533": {
|
| 333 |
+
"id": "1769689842533",
|
| 334 |
+
"name": "wa",
|
| 335 |
+
"country": "Auto",
|
| 336 |
+
"service": "WhatsApp",
|
| 337 |
+
"range": "9922036XXX",
|
| 338 |
+
"xCount": 3,
|
| 339 |
+
"enabled": true,
|
| 340 |
+
"created": "2026-01-29T12:30:42.533Z",
|
| 341 |
+
"createdBy": "fourstore1"
|
| 342 |
+
},
|
| 343 |
+
"1769689869782": {
|
| 344 |
+
"id": "1769689869782",
|
| 345 |
+
"name": "wa",
|
| 346 |
+
"country": "Auto",
|
| 347 |
+
"service": "WhatsApp",
|
| 348 |
+
"range": "9927511XXX",
|
| 349 |
+
"xCount": 3,
|
| 350 |
+
"enabled": true,
|
| 351 |
+
"created": "2026-01-29T12:31:09.782Z",
|
| 352 |
+
"createdBy": "fourstore1"
|
| 353 |
+
},
|
| 354 |
+
"1769691118247": {
|
| 355 |
+
"id": "1769691118247",
|
| 356 |
+
"name": "wa",
|
| 357 |
+
"country": "Auto",
|
| 358 |
+
"service": "WhatsApp",
|
| 359 |
+
"range": "9921113XXX",
|
| 360 |
+
"xCount": 3,
|
| 361 |
+
"enabled": true,
|
| 362 |
+
"created": "2026-01-29T12:51:58.247Z",
|
| 363 |
+
"createdBy": "fourstore1"
|
| 364 |
+
},
|
| 365 |
+
"1769691123784": {
|
| 366 |
+
"id": "1769691123784",
|
| 367 |
+
"name": "wa",
|
| 368 |
+
"country": "Auto",
|
| 369 |
+
"service": "WhatsApp",
|
| 370 |
+
"range": "9929331XXX",
|
| 371 |
+
"xCount": 3,
|
| 372 |
+
"enabled": true,
|
| 373 |
+
"created": "2026-01-29T12:52:03.784Z",
|
| 374 |
+
"createdBy": "fourstore1"
|
| 375 |
+
},
|
| 376 |
+
"1769691132206": {
|
| 377 |
+
"id": "1769691132206",
|
| 378 |
+
"name": "wa",
|
| 379 |
+
"country": "Auto",
|
| 380 |
+
"service": "WhatsApp",
|
| 381 |
+
"range": "9929351XXX",
|
| 382 |
+
"xCount": 3,
|
| 383 |
+
"enabled": true,
|
| 384 |
+
"created": "2026-01-29T12:52:12.206Z",
|
| 385 |
+
"createdBy": "fourstore1"
|
| 386 |
+
},
|
| 387 |
+
"1769692439610": {
|
| 388 |
+
"id": "1769692439610",
|
| 389 |
+
"name": "wa",
|
| 390 |
+
"country": "Auto",
|
| 391 |
+
"service": "WhatsApp",
|
| 392 |
+
"range": "9927111XXX",
|
| 393 |
+
"xCount": 3,
|
| 394 |
+
"enabled": true,
|
| 395 |
+
"created": "2026-01-29T13:13:59.610Z",
|
| 396 |
+
"createdBy": "fourstore1"
|
| 397 |
+
},
|
| 398 |
+
"1769692446970": {
|
| 399 |
+
"id": "1769692446970",
|
| 400 |
+
"name": "wa",
|
| 401 |
+
"country": "Auto",
|
| 402 |
+
"service": "WhatsApp",
|
| 403 |
+
"range": "9927100XXX",
|
| 404 |
+
"xCount": 3,
|
| 405 |
+
"enabled": true,
|
| 406 |
+
"created": "2026-01-29T13:14:06.970Z",
|
| 407 |
+
"createdBy": "fourstore1"
|
| 408 |
+
},
|
| 409 |
+
"1769693608616": {
|
| 410 |
+
"id": "1769693608616",
|
| 411 |
+
"name": "wa",
|
| 412 |
+
"country": "Auto",
|
| 413 |
+
"service": "WhatsApp",
|
| 414 |
+
"range": "22897174XXX",
|
| 415 |
+
"xCount": 3,
|
| 416 |
+
"enabled": true,
|
| 417 |
+
"created": "2026-01-29T13:33:28.617Z",
|
| 418 |
+
"createdBy": "fourstore1"
|
| 419 |
+
},
|
| 420 |
+
"1769693614777": {
|
| 421 |
+
"id": "1769693614777",
|
| 422 |
+
"name": "wa",
|
| 423 |
+
"country": "Auto",
|
| 424 |
+
"service": "WhatsApp",
|
| 425 |
+
"range": "59164350XXX",
|
| 426 |
+
"xCount": 3,
|
| 427 |
+
"enabled": true,
|
| 428 |
+
"created": "2026-01-29T13:33:34.777Z",
|
| 429 |
+
"createdBy": "fourstore1"
|
| 430 |
+
},
|
| 431 |
+
"1769695932047": {
|
| 432 |
+
"id": "1769695932047",
|
| 433 |
+
"name": "wa",
|
| 434 |
+
"country": "Auto",
|
| 435 |
+
"service": "WhatsApp",
|
| 436 |
+
"range": "5917422XXX",
|
| 437 |
+
"xCount": 3,
|
| 438 |
+
"enabled": true,
|
| 439 |
+
"created": "2026-01-29T14:12:12.047Z",
|
| 440 |
+
"createdBy": "fourstore1"
|
| 441 |
+
},
|
| 442 |
+
"1769695951556": {
|
| 443 |
+
"id": "1769695951556",
|
| 444 |
+
"name": "wa",
|
| 445 |
+
"country": "Auto",
|
| 446 |
+
"service": "WhatsApp",
|
| 447 |
+
"range": "591740XXXX",
|
| 448 |
+
"xCount": 4,
|
| 449 |
+
"enabled": true,
|
| 450 |
+
"created": "2026-01-29T14:12:31.556Z",
|
| 451 |
+
"createdBy": "fourstore1"
|
| 452 |
+
},
|
| 453 |
+
"1769697618320": {
|
| 454 |
+
"id": "1769697618320",
|
| 455 |
+
"name": "wa",
|
| 456 |
+
"country": "Auto",
|
| 457 |
+
"service": "WhatsApp",
|
| 458 |
+
"range": "2289140XXXX",
|
| 459 |
+
"xCount": 4,
|
| 460 |
+
"enabled": true,
|
| 461 |
+
"created": "2026-01-29T14:40:18.320Z",
|
| 462 |
+
"createdBy": "fourstore1"
|
| 463 |
+
},
|
| 464 |
+
"1769700485178": {
|
| 465 |
+
"id": "1769700485178",
|
| 466 |
+
"name": "WA",
|
| 467 |
+
"country": "Auto",
|
| 468 |
+
"service": "WhatsApp",
|
| 469 |
+
"range": "2289259XXXX",
|
| 470 |
+
"xCount": 4,
|
| 471 |
+
"enabled": true,
|
| 472 |
+
"created": "2026-01-29T15:28:05.178Z",
|
| 473 |
+
"createdBy": "fourstore1"
|
| 474 |
+
},
|
| 475 |
+
"1769741153263": {
|
| 476 |
+
"id": "1769741153263",
|
| 477 |
+
"name": "wa",
|
| 478 |
+
"country": "USA",
|
| 479 |
+
"service": "WhatsApp",
|
| 480 |
+
"range": "1242554XXX",
|
| 481 |
+
"xCount": 3,
|
| 482 |
+
"enabled": true,
|
| 483 |
+
"created": "2026-01-30T02:45:53.263Z",
|
| 484 |
+
"createdBy": "fourstore1"
|
| 485 |
+
},
|
| 486 |
+
"1769749532502": {
|
| 487 |
+
"id": "1769749532502",
|
| 488 |
+
"name": "WA",
|
| 489 |
+
"country": "Auto",
|
| 490 |
+
"service": "WhatsApp",
|
| 491 |
+
"range": "5916075XXXX",
|
| 492 |
+
"xCount": 4,
|
| 493 |
+
"enabled": true,
|
| 494 |
+
"created": "2026-01-30T05:05:32.502Z",
|
| 495 |
+
"createdBy": "fourstore1"
|
| 496 |
+
},
|
| 497 |
+
"1769768471771": {
|
| 498 |
+
"id": "1769768471771",
|
| 499 |
+
"name": "wa",
|
| 500 |
+
"country": "Auto",
|
| 501 |
+
"service": "WhatsApp",
|
| 502 |
+
"range": "261383XXXX",
|
| 503 |
+
"xCount": 4,
|
| 504 |
+
"enabled": true,
|
| 505 |
+
"created": "2026-01-30T10:21:11.771Z",
|
| 506 |
+
"createdBy": "fourstore1"
|
| 507 |
+
},
|
| 508 |
+
"1769779627910": {
|
| 509 |
+
"id": "1769779627910",
|
| 510 |
+
"name": "WA",
|
| 511 |
+
"country": "Auto",
|
| 512 |
+
"service": "WhatsApp",
|
| 513 |
+
"range": "9929393XXX",
|
| 514 |
+
"xCount": 3,
|
| 515 |
+
"enabled": true,
|
| 516 |
+
"created": "2026-01-30T13:27:07.910Z",
|
| 517 |
+
"createdBy": "fourstore1"
|
| 518 |
+
}
|
| 519 |
+
}
|
index.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
package.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "telebot",
|
| 3 |
+
"version": "1.0.0",
|
| 4 |
+
"description": "",
|
| 5 |
+
"main": "index.js",
|
| 6 |
+
"scripts": {
|
| 7 |
+
"test": "echo \"Error: no test specified\" && exit 1"
|
| 8 |
+
},
|
| 9 |
+
"keywords": [],
|
| 10 |
+
"author": "",
|
| 11 |
+
"license": "ISC",
|
| 12 |
+
"type": "commonjs",
|
| 13 |
+
"dependencies": {
|
| 14 |
+
"axios": "^1.13.2",
|
| 15 |
+
"express": "^5.2.1",
|
| 16 |
+
"fs": "^0.0.1-security",
|
| 17 |
+
"node-cron": "^4.2.1",
|
| 18 |
+
"telegraf": "^4.16.3"
|
| 19 |
+
}
|
| 20 |
+
}
|
test.js
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
const axios = require('axios');
|
| 2 |
+
const fs = require('fs').promises;
|
| 3 |
+
const path = require('path');
|
| 4 |
+
|
| 5 |
+
async function loginAndSave() {
|
| 6 |
+
const config = require('./config.json');
|
| 7 |
+
const loginData = {
|
| 8 |
+
email: config.web_email,
|
| 9 |
+
password: config.web_password
|
| 10 |
+
};
|
| 11 |
+
|
| 12 |
+
const headers = {
|
| 13 |
+
'host': 'x.mnitnetwork.com',
|
| 14 |
+
'sec-ch-ua-platform': '"Android"',
|
| 15 |
+
'user-agent': 'Mozilla/5.0 (Linux; Android 14; CPH2641 Build/UP1A.231005.007) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.7499.34 Mobile Safari/537.36',
|
| 16 |
+
'accept': 'application/json, text/plain, */*',
|
| 17 |
+
'sec-ch-ua': '"Android WebView";v="143", "Chromium";v="143", "Not A(Brand";v="24"',
|
| 18 |
+
'content-type': 'application/json',
|
| 19 |
+
'sec-ch-ua-mobile': '?1',
|
| 20 |
+
'origin': 'https://x.mnitnetwork.com',
|
| 21 |
+
'x-requested-with': 'mark.via.gp',
|
| 22 |
+
'sec-fetch-site': 'same-origin',
|
| 23 |
+
'sec-fetch-mode': 'cors',
|
| 24 |
+
'sec-fetch-dest': 'empty',
|
| 25 |
+
'referer': 'https://x.mnitnetwork.com/mauth/login',
|
| 26 |
+
'accept-language': 'id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7',
|
| 27 |
+
'priority': 'u=1, i'
|
| 28 |
+
};
|
| 29 |
+
|
| 30 |
+
try {
|
| 31 |
+
console.log('🔐 Logging in...');
|
| 32 |
+
const response = await axios.post(
|
| 33 |
+
'https://x.mnitnetwork.com/mapi/v1/mauth/login',
|
| 34 |
+
loginData,
|
| 35 |
+
{ headers, decompress: true }
|
| 36 |
+
);
|
| 37 |
+
|
| 38 |
+
if (response.data.meta.code === 200) {
|
| 39 |
+
const token = response.data.data.token;
|
| 40 |
+
const sessionData = {
|
| 41 |
+
email: response.data.data.user.email,
|
| 42 |
+
username: response.data.data.user.username,
|
| 43 |
+
uid: response.data.data.user.uid,
|
| 44 |
+
balance: response.data.data.user.balance,
|
| 45 |
+
token: token,
|
| 46 |
+
expiry: new Date(new Date().getTime() + 24 * 60 * 60 * 1000).toISOString(),
|
| 47 |
+
cookie: `mauthtoken=${token}`,
|
| 48 |
+
lastLogin: new Date().toISOString()
|
| 49 |
+
};
|
| 50 |
+
|
| 51 |
+
await fs.mkdir('./data', { recursive: true });
|
| 52 |
+
await fs.writeFile('./data/session.json', JSON.stringify(sessionData, null, 2));
|
| 53 |
+
console.log('✅ Session saved to data/session.json');
|
| 54 |
+
console.log('👤 User:', sessionData.username);
|
| 55 |
+
console.log('💰 Balance:', sessionData.balance);
|
| 56 |
+
console.log('⏰ Expires:', sessionData.expiry);
|
| 57 |
+
}
|
| 58 |
+
} catch (error) {
|
| 59 |
+
console.log('❌ Login error:', error.message);
|
| 60 |
+
}
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
loginAndSave();
|