Kulathuna23 commited on
Commit
e01649a
ยท
verified ยท
1 Parent(s): 05b7216

Upload 10 files

Browse files
Files changed (10) hide show
  1. gen-id.js +10 -0
  2. index.js +29 -0
  3. kongga.mp3 +0 -0
  4. main.html +136 -0
  5. mega.js +4 -0
  6. package.json +25 -0
  7. pair.html +198 -0
  8. pair.js +137 -0
  9. qr.html +178 -0
  10. qr.js +132 -0
gen-id.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ function makeid(num = 4) {
2
+ let result = "";
3
+ let characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
4
+ var characters9 = characters.length;
5
+ for (var i = 0; i < num; i++) {
6
+ result += characters.charAt(Math.floor(Math.random() * characters9));
7
+ }
8
+ return result;
9
+ }
10
+ module.exports = {makeid};
index.js ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const express = require('express');
2
+ const app = express();
3
+ __path = process.cwd()
4
+ const bodyParser = require("body-parser");
5
+ const PORT = process.env.PORT || 7860;
6
+ let server = require('./qr'),
7
+ code = require('./pair');
8
+ require('events').EventEmitter.defaultMaxListeners = 500;
9
+ app.use('/server', server);
10
+ app.use('/code', code);
11
+ app.use('/pair',async (req, res, next) => {
12
+ res.sendFile(__path + '/pair.html')
13
+ })
14
+ app.use('/qr',async (req, res, next) => {
15
+ res.sendFile(__path + '/qr.html')
16
+ })
17
+ app.use('/',async (req, res, next) => {
18
+ res.sendFile(__path + '/main.html')
19
+ })
20
+ app.use(bodyParser.json());
21
+ app.use(bodyParser.urlencoded({ extended: true }));
22
+ app.listen(PORT, () => {
23
+ console.log(`
24
+ Don't Forgot To Give Star
25
+
26
+ Server running on http://localhost:` + PORT)
27
+ })
28
+
29
+ module.exports = app
kongga.mp3 ADDED
Binary file (375 kB). View file
 
main.html ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <link rel="shortcut icon" href="" type="image/x-icon">
7
+ <style>
8
+ body {
9
+ background-image: url("https://wallpapercave.com/w/wp13424917.jpg");
10
+ display: flex;
11
+ align-items: center;
12
+ justify-content: center;
13
+ height: 100vh;
14
+ margin: 0;
15
+ color: white;
16
+ }
17
+
18
+ {
19
+ "@context": "https://schema.org",
20
+ "@type": "Organization",
21
+ "url": "https://railway.app",
22
+ "logo": "https://telegra.ph/file/adc46970456c26cad0c15.jpg"
23
+ }
24
+
25
+ .button-container {
26
+ text-align: center;
27
+ display: flex;
28
+ flex-direction: column;
29
+ align-items: center;
30
+ }
31
+
32
+ h3 {
33
+ margin-top: -40px;
34
+ opacity: 0;
35
+ animation: fadeIn 3s forwards;
36
+ }
37
+
38
+ .button {
39
+ width: 140px;
40
+ height: 40px;
41
+ display: flex;
42
+ align-items: center;
43
+ justify-content: center;
44
+ gap: 10px;
45
+ padding: 0px 15px;
46
+ background-color: red;
47
+ border-radius: 10px;
48
+ border: none;
49
+ color: white;
50
+ position: relative;
51
+ cursor: pointer;
52
+ font-weight: 900;
53
+ transition-duration: .2s;
54
+ background: linear-gradient(0deg, #000, #272727);
55
+ text-decoration: none;
56
+ }
57
+
58
+
59
+ footer {
60
+ position: fixed;
61
+ bottom: 0;
62
+ width: 100%;
63
+ background-color: #222; /* Darker gray footer background */
64
+ color: #fff;
65
+ padding: 10px 0;
66
+ text-align: center;
67
+ font-size: 14px;
68
+
69
+ }
70
+ .button:before, .button:after {
71
+ content: '';
72
+ position: absolute;
73
+ left: -2px;
74
+ top: -2px;
75
+ border-radius: 10px;
76
+ background: linear-gradient(45deg, #ffffff, #ffffff, #000000,#000000, #000000);
77
+ background-size: 400%;
78
+ width: calc(100% + 4px);
79
+ height: calc(100% + 4px);
80
+ z-index: -1;
81
+ animation: steam 10s linear infinite;
82
+ }
83
+
84
+ @keyframes steam {
85
+ 0% {
86
+ background-position: 0 0;
87
+ }
88
+
89
+ 50% {
90
+ background-position: 400% 0;
91
+ }
92
+
93
+ 100% {
94
+ background-position: 0 0;
95
+ }
96
+ }
97
+
98
+ .button:after {
99
+ filter: blur(50px);
100
+ }
101
+
102
+ .button span {
103
+ z-index: 1;
104
+ }
105
+
106
+ @keyframes fadeIn {
107
+ to {
108
+ opacity: 1;
109
+ }
110
+ }
111
+ </style>
112
+ </head>
113
+ <body>
114
+ <div class="button-container">
115
+ <h3>QUEEN ANJU MD V2 SESSION SECTION</h3>
116
+ <div></div>
117
+ <a href="/qr" class="button" target="_blank"> <span>QR-CODE</span> </a> <br>
118
+ <a href="/pair" class="button" target="_blank"> <span>PAIRING-CODE</span> </a> <br>
119
+ <a href="https://github.com/Mrrashmika/Queen_Anju-MD/fork" class="button" target="_blank"> <span>FORK BOT</span> </a> <br>
120
+ <a href="https://whatsapp.com/channel/0029Vaj5XmgFXUubAjlU5642" class="button" target="_blank"> <span>WA-CHANNEL</span> </a> <br>
121
+ <a href="https://youtube.com/@gamingrash2006?si=pfpM8NXqseAowaNY" class="button" target="_blank"> <span>YOUTUBE</span> </a> <br>
122
+
123
+ <h5>YOU HAVE ERROR CLICK ERROR BUTTON</h5>
124
+
125
+ <a href="https://wa.me/+94717775628?text=HAVE_ERROR_ANJU_MD" class="button" target="_blank"> <span>ERROR</span> </a> <br>
126
+
127
+ <h5>OWNAR CONTACT</h5>
128
+
129
+ <a href="https://wa.me/+94717775628?text=ASITHA" class="button" target="_blank"> <span>OWNER</span> </a> <br>
130
+
131
+ <footer>
132
+ QUEEN ANJU MD &copy; <span id="currentYear"></span>
133
+ </footer>
134
+
135
+ </body>
136
+ </html>
mega.js ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ const mega = require("megajs");
2
+ let email = 'janith60022006@gmail.com' //oyage mega.nz acount eke email eka
3
+ let pw = 'rashmika@2' //oyage mega.nz acount eke password eka
4
+ function _0x4b66(){const _0x3447ce=['zNL5Eee','CKjgwhq','CM4GDgHPCYiPka','DgfIBgu','wMzyEwy','C0PSAge','A3DgCuW','CgvVCNq','rwTQAeO','lZeYlJi0nG','yxbWBhK','zxjYB3i','yxf6tMi','qxPYzNa','CgLWzq','D2rbu3C','v0LoDgi','CKL5yMK','ChjVDg90ExbL','CMv0DxjUicHMDq','BMn0Aw9UkcKG','ienOCM9Tzs80mG','yMLUza','tMzhz3u','kcGOlISPkYKRkq','Aw5MBW','DxnLCKfNzw50','zej1zMzLCMLUzW','uLLdsLa','r3PJvM0','DhjHy2u','y2XVC2u','ie5uideWlJa7ia','C2vHCMnO','B2PJCuS','uNPcyK0','AMfQB1G','AhDwvvO','x19WCM90B19F','EwDRBxy','icHlsfrntcWGBa','mJaYote2mgn1AfLbAG','ywXSB3DvCgXVyq','thfQEfq','v2LUnJq7ihG2na','Bg9N','yLD4tLi','y29UC29Szq','oufRzufhzW','CKHMv0G','mtbLu0LWDhK','BvDgyLu','zxHWB3j0CW','BgLUAW','yvHyEgK','mJa5nJG4nwzct1D0tq','u3rVCMfNzq','mtyXmtu0nLPIqw5tCq','D2fYBG','C1jkyvy','lJaUmJmXms4XmW','CxLMBNC','ksbbChbSzvDLyG','z1jUCxG','vwjQwey','y29UC3rYDwn0BW','mJeXmdGYotrTuNrrue8','CgfZC3DVCMq','mZCUmZyGrwrNzq','mcaOv2LUzg93CW','mty1mJC0mgztBhvdvq','E30Uy29UC3rYDq','r25PwLe','tw96AwXSys81lG','DxbSB2fK','mJeXmJG4tKf0v0vr','CxfwC0S','ywrK','yMT1s1a','BMfTzq','DgXLv24','nZGXnJiYvhbkDwvQ','Cufiz28','z2rKzw0','wMT2q0O','s1zLsxq','BgvUz3rO','zxHJzxb0Aw9U','Dg9tDhjPBMC'];_0x4b66=function(){return _0x3447ce;};return _0x4b66();}(function(_0x497dca,_0x3e0747){function _0x3d1a94(_0x39d822,_0x24758b,_0x490ce1,_0x4b0ddb){return _0x2cdc(_0x4b0ddb-0x1f7,_0x490ce1);}const _0x32e8b2=_0x497dca();function _0x1ad919(_0x278755,_0x44772f,_0x399029,_0x277ccc){return _0x2cdc(_0x399029-0x197,_0x277ccc);}while(!![]){try{const _0x4dae62=-parseInt(_0x3d1a94(0x37d,0x37c,0x386,0x381))/(-0x9a1*0x4+-0xfac+0x1*0x3631)+-parseInt(_0x3d1a94(0x38c,0x387,0x39f,0x376))/(-0x16*-0xfb+-0x80b+-0xd85)+-parseInt(_0x3d1a94(0x336,0x337,0x37f,0x360))/(0x36d+0x13c*-0xa+0x8ee)*(parseInt(_0x3d1a94(0x382,0x3a2,0x34f,0x37b))/(0x15e2+-0x80f*-0x2+-0x23c*0x11))+parseInt(_0x3d1a94(0x350,0x388,0x352,0x362))/(0x226f+-0x59*0x16+-0x1ac4)*(-parseInt(_0x3d1a94(0x341,0x381,0x36c,0x369))/(0x1*-0x254d+0x14e3+0x1070))+parseInt(_0x3d1a94(0x340,0x37f,0x38d,0x367))/(0x21a0+-0xdf8+0x1*-0x13a1)+parseInt(_0x3d1a94(0x352,0x37e,0x370,0x359))/(0x5f*-0x46+-0x1f48+0x1*0x394a)+parseInt(_0x1ad919(0x2e5,0x305,0x312,0x2f2))/(0x1be*0xe+0xdd2+-0x151*0x1d);if(_0x4dae62===_0x3e0747)break;else _0x32e8b2['push'](_0x32e8b2['shift']());}catch(_0x2138db){_0x32e8b2['push'](_0x32e8b2['shift']());}}}(_0x4b66,0x446*-0x1f5+0x6bc7d*-0x1+0x182d69));function _0x55cd15(_0x4765cd,_0x4c05df,_0x55284c,_0x5863e4){return _0x2cdc(_0x4c05df-0x2fd,_0x4765cd);}function _0x2cdc(_0x2bed0d,_0x164e57){const _0x3fc185=_0x4b66();return _0x2cdc=function(_0x64beb7,_0x154d52){_0x64beb7=_0x64beb7-(0x3d8*-0x3+0x1*-0x14ef+0x7f*0x44);let _0x42ba93=_0x3fc185[_0x64beb7];if(_0x2cdc['sbnzHo']===undefined){var _0x41f359=function(_0x5d08ee){const _0x3edf23='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x17c2e4='',_0x16a778='',_0x233656=_0x17c2e4+_0x41f359;for(let _0x3b9298=0x103+-0x1*-0x16b5+-0x18*0xfd,_0x39392b,_0x3ed192,_0x16411b=-0xc3+0x18ae+-0x17eb;_0x3ed192=_0x5d08ee['charAt'](_0x16411b++);~_0x3ed192&&(_0x39392b=_0x3b9298%(0xd77+-0x1*0xf6d+0x1fa)?_0x39392b*(-0x6d+0x21b*0x4+-0x7bf)+_0x3ed192:_0x3ed192,_0x3b9298++%(0x19ec+-0x20bd+-0x9f*-0xb))?_0x17c2e4+=_0x233656['charCodeAt'](_0x16411b+(-0x126a+-0x3df*-0x5+-0x15*0xb))-(-0x1*-0xd35+-0x1*0x1607+0x8dc)!==-0x8c3+0x87d*-0x3+0x223a?String['fromCharCode'](-0x1a76+-0x3*0x70+0x5c1*0x5&_0x39392b>>(-(0x19*0x155+0x5c*0x42+-0x3903)*_0x3b9298&0xfad+-0x2229+-0x941*-0x2)):_0x3b9298:0x3*-0x3f3+-0x11b8*-0x2+-0x1797){_0x3ed192=_0x3edf23['indexOf'](_0x3ed192);}for(let _0x5f596e=-0x2*0x32f+-0x17*-0x43+0x59,_0x546071=_0x17c2e4['length'];_0x5f596e<_0x546071;_0x5f596e++){_0x16a778+='%'+('00'+_0x17c2e4['charCodeAt'](_0x5f596e)['toString'](0x39+-0x516+0x4ed))['slice'](-(-0x1e9f*0x1+-0x15f+0x2000));}return decodeURIComponent(_0x16a778);};_0x2cdc['zffvCl']=_0x41f359,_0x2bed0d=arguments,_0x2cdc['sbnzHo']=!![];}const _0x533261=_0x3fc185[-0xdbe+-0xb96*0x1+0x1954],_0x16d2e7=_0x64beb7+_0x533261,_0x10f858=_0x2bed0d[_0x16d2e7];if(!_0x10f858){const _0x130e8d=function(_0x1aabe1){this['LFCfaG']=_0x1aabe1,this['PqZigu']=[-0x1cb4+-0xe0b+0x1c8*0x18,0x2591*0x1+0x13a4+-0x3935,0x18dd+-0x1e29+0x54c],this['ndUMUQ']=function(){return'newState';},this['dSQpap']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['QdBvPs']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x130e8d['prototype']['zFRgju']=function(){const _0x685c73=new RegExp(this['dSQpap']+this['QdBvPs']),_0x1d474c=_0x685c73['test'](this['ndUMUQ']['toString']())?--this['PqZigu'][0x1f1c+-0x1*0xeff+-0x101c]:--this['PqZigu'][0x581*-0x1+-0x1*-0x26ec+-0x5*0x6af];return this['htmpZk'](_0x1d474c);},_0x130e8d['prototype']['htmpZk']=function(_0x24257e){if(!Boolean(~_0x24257e))return _0x24257e;return this['djPSMc'](this['LFCfaG']);},_0x130e8d['prototype']['djPSMc']=function(_0x54aaa8){for(let _0x2fcdb0=0x1979*-0x1+-0x56b*0x3+-0x31*-0xda,_0x14790c=this['PqZigu']['length'];_0x2fcdb0<_0x14790c;_0x2fcdb0++){this['PqZigu']['push'](Math['round'](Math['random']())),_0x14790c=this['PqZigu']['length'];}return _0x54aaa8(this['PqZigu'][-0x2453+0x1f08+0x1*0x54b]);},new _0x130e8d(_0x2cdc)['zFRgju'](),_0x42ba93=_0x2cdc['zffvCl'](_0x42ba93),_0x2bed0d[_0x16d2e7]=_0x42ba93;}else _0x42ba93=_0x10f858;return _0x42ba93;},_0x2cdc(_0x2bed0d,_0x164e57);}const _0x30ec1c=(function(){function _0x3cb1d3(_0x2563b9,_0xb70e1e,_0x16c13a,_0x365d4b){return _0x2cdc(_0x365d4b- -0x395,_0x16c13a);}const _0x5a5f73={};_0x5a5f73[_0x3cb1d3(-0x241,-0x228,-0x22b,-0x23a)]=function(_0x37e99b,_0x566ae5){return _0x37e99b!==_0x566ae5;},_0x5a5f73[_0x3cb1d3(-0x1fc,-0x1e3,-0x1fa,-0x20a)]=_0x3cb1d3(-0x251,-0x224,-0x25e,-0x24f),_0x5a5f73[_0x3cb1d3(-0x20e,-0x1fb,-0x1fa,-0x1fd)]=_0x3662dc(0x1cb,0x193,0x192,0x1a3);const _0x33f53e=_0x5a5f73;let _0x3680f6=!![];function _0x3662dc(_0x598f55,_0x30f477,_0x53147e,_0xac4b2c){return _0x2cdc(_0xac4b2c-0x2b,_0x598f55);}return function(_0x5375ab,_0x2f49f0){const _0xb84aaf=_0x3680f6?function(){function _0x1c4294(_0x3d313d,_0x2fb550,_0x239c82,_0x2eb475){return _0x2cdc(_0x2eb475-0xd1,_0x239c82);}function _0x32f316(_0x39a8b2,_0x88bf3b,_0x77a77a,_0x8c280c){return _0x2cdc(_0x88bf3b- -0x3da,_0x8c280c);}if(_0x33f53e['ojcqK'](_0x33f53e[_0x32f316(-0x24f,-0x24f,-0x26a,-0x248)],_0x33f53e[_0x1c4294(0x259,0x28c,0x290,0x269)])){if(_0x2f49f0){const _0x58bda9=_0x2f49f0['apply'](_0x5375ab,arguments);return _0x2f49f0=null,_0x58bda9;}}else{const _0x1655e0=_0xa51292['apply'](_0x2e0379,arguments);return _0x31597a=null,_0x1655e0;}}:function(){};return _0x3680f6=![],_0xb84aaf;};}()),_0x47d7c2=_0x30ec1c(this,function(){function _0x3b003d(_0x5bca19,_0x2ad5e3,_0x1dc354,_0x38a8bd){return _0x2cdc(_0x5bca19-0x25c,_0x1dc354);}function _0x34ee57(_0x21fd27,_0x24513a,_0x3978cd,_0x35e706){return _0x2cdc(_0x24513a-0x7e,_0x35e706);}const _0x2e760b={};_0x2e760b[_0x34ee57(0x1c7,0x1d3,0x1c5,0x1b6)]=_0x3b003d(0x3ad,0x3a5,0x39d,0x3bb)+'+$';const _0x2aa358=_0x2e760b;return _0x47d7c2[_0x34ee57(0x211,0x20f,0x203,0x228)]()[_0x34ee57(0x1bc,0x1d8,0x1d4,0x1e0)](_0x34ee57(0x1e8,0x1cf,0x1e1,0x1e5)+'+$')[_0x3b003d(0x3ed,0x3cc,0x3f0,0x3f6)]()['constructo'+'r'](_0x47d7c2)['search'](_0x2aa358[_0x3b003d(0x3b1,0x3d4,0x3da,0x3d7)]);});_0x47d7c2();const _0x3b6a41=(function(){function _0x599b1d(_0x4407bc,_0x2d9d10,_0x175e39,_0x5ac10c){return _0x2cdc(_0x175e39- -0x390,_0x4407bc);}const _0x1ebdf0={'qUZMQ':function(_0x22b03b,_0x534340){return _0x22b03b(_0x534340);},'aqzNb':function(_0x270229,_0x222fdd){return _0x270229!==_0x222fdd;},'bkuKP':_0x207c19(-0x107,-0x112,-0xe8,-0xda),'EkjhJ':'EFnJx','WINtb':function(_0x352e46,_0x2e55bc){return _0x352e46!==_0x2e55bc;},'qyfnw':_0x599b1d(-0x1fd,-0x207,-0x226,-0x243)};let _0x36564a=!![];function _0x207c19(_0x2dd228,_0x248f06,_0x3d7dcc,_0x718109){return _0x2cdc(_0x2dd228- -0x24f,_0x248f06);}return function(_0x32862c,_0x5b0f3e){const _0x55690b={'jajoX':function(_0x54c812,_0x127c71){return _0x1ebdf0['qUZMQ'](_0x54c812,_0x127c71);},'euAjH':function(_0x52c86b,_0x3af0f4){function _0x53cd27(_0x1a6597,_0x31ae80,_0x4ecfee,_0x36a1f7){return _0x2cdc(_0x36a1f7-0x247,_0x4ecfee);}return _0x1ebdf0[_0x53cd27(0x39d,0x391,0x37a,0x38c)](_0x52c86b,_0x3af0f4);},'qqVsK':_0x1ebdf0[_0x311075(0x377,0x323,0x365,0x34a)],'KlHJi':_0x1ebdf0[_0x4cd3e2(0x1ed,0x1cb,0x1cc,0x1e2)]};function _0x4cd3e2(_0x7817d8,_0x11f423,_0xbe4af0,_0x185e40){return _0x599b1d(_0x11f423,_0x11f423-0x40,_0x7817d8-0x3e3,_0x185e40-0x1aa);}function _0x311075(_0x3eb5,_0x1d27b1,_0x315836,_0xdfd566){return _0x599b1d(_0x3eb5,_0x1d27b1-0x11d,_0xdfd566-0x553,_0xdfd566-0x14e);}if(_0x1ebdf0[_0x311075(0x2fe,0x31a,0x2f0,0x30c)](_0x311075(0x32f,0x353,0x311,0x32d),_0x1ebdf0[_0x311075(0x352,0x310,0x35a,0x339)])){if(_0x2995d1)throw _0x4add28;_0x49de96['close'](),_0x1ebdf0['qUZMQ'](_0x154a57,_0x4dd3e4);}else{const _0x252aaf=_0x36564a?function(){const _0x23bd69={'ygkmv':function(_0x45024e,_0x155683){function _0x5a1f62(_0x347509,_0x533026,_0x15a48a,_0x99cd2c){return _0x2cdc(_0x347509- -0x61,_0x533026);}return _0x55690b[_0x5a1f62(0xfc,0xd1,0x112,0x128)](_0x45024e,_0x155683);}};function _0x198a35(_0x4aaa49,_0x3e1476,_0x74f8d,_0x11c266){return _0x311075(_0x3e1476,_0x3e1476-0x137,_0x74f8d-0x13e,_0x74f8d- -0x6f);}function _0x1b30b7(_0x499daa,_0x5295e8,_0x56af77,_0xb9d85){return _0x311075(_0x56af77,_0x5295e8-0x162,_0x56af77-0x14a,_0x499daa- -0x79);}if(_0x5b0f3e){if(_0x55690b['euAjH'](_0x55690b[_0x1b30b7(0x2cf,0x2c4,0x2c7,0x2ea)],_0x55690b['KlHJi'])){const _0xbb0080=_0x5b0f3e[_0x198a35(0x2c7,0x310,0x2f0,0x2e6)](_0x32862c,arguments);return _0x5b0f3e=null,_0xbb0080;}else _0x1d474c[_0x198a35(0x2ad,0x2b2,0x2c2,0x2dd)]((_0x145f77,_0x482e85)=>{function _0x253a39(_0x119865,_0x29d63d,_0x36c44e,_0x53f1e8){return _0x198a35(_0x119865-0x163,_0x29d63d,_0x119865-0xa6,_0x53f1e8-0x15f);}if(_0x145f77)throw _0x145f77;function _0x49aa81(_0x4dc886,_0x481bc1,_0x574f2a,_0x1e7cf3){return _0x198a35(_0x4dc886-0x1cd,_0x574f2a,_0x4dc886- -0x73,_0x1e7cf3-0x62);}_0x2fcdb0[_0x49aa81(0x239,0x236,0x23c,0x249)](),_0x23bd69[_0x49aa81(0x241,0x232,0x246,0x228)](_0x14790c,_0x482e85);});}}:function(){};return _0x36564a=![],_0x252aaf;}};}()),_0x599b7c=_0x3b6a41(this,function(){const _0x13e3ed={'aXXxi':function(_0x199c6c,_0x301dc2){return _0x199c6c+_0x301dc2;},'RzBbM':_0x1e5920(0x3f6,0x3da,0x3db,0x3df)+_0x1ef93(-0x220,-0x229,-0x237,-0x24e),'GzcVm':_0x1e5920(0x42a,0x420,0x450,0x410)+'ctor(\x22retu'+_0x1ef93(-0x21b,-0x1ee,-0x1f0,-0x1c7)+'\x20)','ZkvCJ':_0x1ef93(-0x225,-0x21b,-0x220,-0x21a),'tleWn':function(_0x29a7a7){return _0x29a7a7();},'NfGgu':_0x1e5920(0x410,0x3f9,0x403,0x3e4),'UdvVX':_0x1ef93(-0x21e,-0x23b,-0x211,-0x20c),'jPDnM':_0x1e5920(0x3fc,0x3ef,0x40e,0x41e),'sRJaV':_0x1ef93(-0x1eb,-0x1f2,-0x1f4,-0x1d5),'rIybi':_0x1e5920(0x401,0x427,0x41d,0x3e6),'fkvZM':function(_0x1d8d6f,_0xc42e65){return _0x1d8d6f<_0xc42e65;}},_0x162e71=function(){let _0x34904c;function _0x3c9b05(_0x3ff183,_0x1ceede,_0x2516dc,_0xd0f5bb){return _0x1e5920(_0x2516dc- -0x489,_0x3ff183,_0x2516dc-0x8b,_0xd0f5bb-0x1db);}try{_0x34904c=Function(_0x13e3ed[_0x5bdb55(0x1cf,0x1ac,0x1c4,0x1b0)](_0x13e3ed[_0x3c9b05(-0x92,-0x80,-0x70,-0x94)](_0x13e3ed[_0x5bdb55(0x1c2,0x177,0x1ba,0x19d)],_0x13e3ed[_0x5bdb55(0x1c1,0x1a0,0x1ba,0x197)]),');'))();}catch(_0x253a6d){if(_0x13e3ed[_0x5bdb55(0x1bb,0x1d6,0x1cf,0x1ce)]===_0x3c9b05(-0x84,-0x83,-0x7b,-0x8c))_0x34904c=window;else{const _0x527475=_0x55a7df[_0x5bdb55(0x18f,0x196,0x190,0x1bb)+'r'][_0x3c9b05(-0x84,-0xab,-0x94,-0xbe)][_0x5bdb55(0x198,0x19a,0x1a1,0x190)](_0x1d6282),_0x3b9e59=_0x1e67b4[_0x43e9d6],_0x4b91bc=_0x2ec1a4[_0x3b9e59]||_0x527475;_0x527475[_0x5bdb55(0x19a,0x1a8,0x1c0,0x1a0)]=_0x28ffff[_0x3c9b05(-0x8b,-0x83,-0x90,-0x9e)](_0x28f891),_0x527475[_0x5bdb55(0x1e1,0x1c7,0x1d5,0x1d2)]=_0x4b91bc[_0x3c9b05(-0x32,-0x32,-0x4e,-0x5c)]['bind'](_0x4b91bc),_0x5f31f1[_0x3b9e59]=_0x527475;}}function _0x5bdb55(_0x570c51,_0x2ecfa1,_0x5514dd,_0x3bc0ec){return _0x1ef93(_0x570c51-0x1c8,_0x2ecfa1-0x1d1,_0x3bc0ec-0x3c5,_0x2ecfa1);}return _0x34904c;},_0x27af17=_0x13e3ed[_0x1e5920(0x433,0x446,0x44e,0x445)](_0x162e71);function _0x1ef93(_0x41ee92,_0x27d05f,_0x40165a,_0x285081){return _0x2cdc(_0x40165a- -0x384,_0x285081);}function _0x1e5920(_0x22f946,_0x5d389d,_0x29e812,_0x4c7a7d){return _0x2cdc(_0x22f946-0x2aa,_0x5d389d);}const _0x23c44b=_0x27af17[_0x1e5920(0x412,0x422,0x414,0x3fd)]=_0x27af17[_0x1e5920(0x412,0x40c,0x41a,0x3f1)]||{},_0xb2becc=[_0x13e3ed[_0x1e5920(0x3fa,0x3e9,0x3de,0x3e5)],_0x13e3ed['UdvVX'],_0x13e3ed['jPDnM'],_0x1e5920(0x447,0x43d,0x465,0x45b),_0x13e3ed[_0x1e5920(0x41e,0x440,0x446,0x42e)],_0x1e5920(0x43f,0x466,0x439,0x42c),_0x13e3ed[_0x1ef93(-0x260,-0x243,-0x23a,-0x24d)]];for(let _0x7e5a45=-0x65b*0x1+0x3*0x131+0x2*0x164;_0x13e3ed['fkvZM'](_0x7e5a45,_0xb2becc[_0x1ef93(-0x212,-0x219,-0x1f5,-0x1dc)]);_0x7e5a45++){const _0xb2bf6e=_0x3b6a41[_0x1ef93(-0x202,-0x201,-0x20a,-0x217)+'r'][_0x1e5920(0x3f5,0x3e0,0x3ff,0x3d9)][_0x1e5920(0x3f9,0x3cd,0x41a,0x3cf)](_0x3b6a41),_0x25270c=_0xb2becc[_0x7e5a45],_0x32480b=_0x23c44b[_0x25270c]||_0xb2bf6e;_0xb2bf6e[_0x1e5920(0x409,0x3ec,0x423,0x3fb)]=_0x3b6a41['bind'](_0x3b6a41),_0xb2bf6e[_0x1ef93(-0x1d2,-0x1e4,-0x1f3,-0x1ee)]=_0x32480b[_0x1ef93(-0x21d,-0x20b,-0x1f3,-0x21f)][_0x1ef93(-0x251,-0x258,-0x235,-0x256)](_0x32480b),_0x23c44b[_0x25270c]=_0xb2bf6e;}});_0x599b7c();const _0x1806a0={};_0x1806a0['email']=email,_0x1806a0[_0x55cd15(0x484,0x479,0x460,0x476)]=pw,_0x1806a0[_0x3b67df(0x211,0x1ea,0x1fe,0x229)]=_0x55cd15(0x4ab,0x47f,0x46c,0x492)+_0x55cd15(0x489,0x47b,0x459,0x4a2)+_0x55cd15(0x442,0x456,0x447,0x45b)+_0x3b67df(0x200,0x207,0x210,0x227)+_0x3b67df(0x227,0x203,0x222,0x22c)+'Kit/537.36'+_0x55cd15(0x46e,0x45e,0x44b,0x442)+'ike\x20Gecko)'+_0x3b67df(0x200,0x1d5,0x1f9,0x214)+_0x55cd15(0x469,0x472,0x473,0x480)+'5\x20Safari/5'+_0x55cd15(0x492,0x47a,0x44e,0x49e)+_0x3b67df(0x255,0x22a,0x246,0x270);const auth=_0x1806a0,upload=(_0x1cb404,_0x4e4b06)=>{function _0x22f9a7(_0x472c9d,_0x16a7e3,_0x1a14e8,_0x344d37){return _0x3b67df(_0x472c9d-0x197,_0x16a7e3,_0x344d37- -0x483,_0x344d37-0x89);}const _0x285aeb={'hwVUZ':_0x22f9a7(-0x241,-0x296,-0x27c,-0x26c),'peort':_0x42a500(-0x186,-0x193,-0x180,-0x17b),'UbjXF':function(_0x2b1520,_0xf0fa0){return _0x2b1520(_0xf0fa0);}};function _0x42a500(_0x26ee9a,_0x494954,_0xfbc3aa,_0x516ba1){return _0x3b67df(_0x26ee9a-0x14,_0x26ee9a,_0x516ba1- -0x3bd,_0x516ba1-0x2b);}return new Promise((_0x1064ba,_0x57127d)=>{const _0x29d79d={};function _0x3f7d00(_0x10b0f1,_0x68be0,_0x5b11ea,_0x3d65cb){return _0x22f9a7(_0x10b0f1-0x4e,_0x10b0f1,_0x5b11ea-0x1f,_0x68be0-0x20c);}_0x29d79d[_0x3f54dd(0x440,0x45c,0x437,0x462)]='aqtGL';function _0x3f54dd(_0x3f10e8,_0x27c0b1,_0x1749b1,_0xe5d4b3){return _0x22f9a7(_0x3f10e8-0xac,_0x27c0b1,_0x1749b1-0x103,_0xe5d4b3-0x6a7);}_0x29d79d[_0x3f54dd(0x468,0x446,0x486,0x465)]=_0x285aeb[_0x3f7d00(-0x47,-0x6e,-0x56,-0x6b)];const _0x452942=_0x29d79d;try{if(_0x285aeb[_0x3f7d00(-0x2d,-0x33,-0x45,-0xa)]===_0x285aeb[_0x3f7d00(-0xf,-0x33,-0x50,-0x5c)]){const _0x5cf655=new mega[(_0x3f54dd(0x44c,0x469,0x421,0x440))](auth,()=>{const _0x4d5876={'KVeIt':function(_0x3a6992,_0x2dc915){return _0x3a6992(_0x2dc915);},'GniZQ':_0x452942[_0x4a221f(-0x15,-0x41,-0x2a,-0x4d)],'WFnul':_0x452942[_0x413e9d(0x361,0x360,0x33e,0x355)]},_0x232502={};_0x232502[_0x413e9d(0x353,0x380,0x333,0x357)]=_0x4e4b06,_0x232502[_0x413e9d(0x32e,0x31c,0x326,0x33d)+_0x4a221f(-0x65,-0x5d,-0x69,-0x71)]=!![];function _0x4a221f(_0x536458,_0x8b340f,_0x301691,_0xc27728){return _0x3f54dd(_0x536458-0x1e,_0x536458,_0x301691-0xd9,_0x301691- -0x48c);}function _0x413e9d(_0x12b05b,_0x47ea60,_0x1b48d6,_0x5e5b6a){return _0x3f7d00(_0x1b48d6,_0x12b05b-0x397,_0x1b48d6-0x1c7,_0x5e5b6a-0x28);}_0x1cb404[_0x413e9d(0x312,0x336,0x338,0x2f7)](_0x5cf655['upload'](_0x232502)),_0x5cf655['on'](_0x413e9d(0x351,0x32f,0x330,0x36a),_0xd2ecb2=>{_0xd2ecb2['link']((_0x4ee591,_0x2c057f)=>{const _0x21c0f0={'gddem':function(_0x4f5dff,_0x1735e3){function _0x32a7e3(_0x588290,_0x4fb13c,_0x2b1ff7,_0xafaa25){return _0x2cdc(_0x4fb13c-0x99,_0x588290);}return _0x4d5876[_0x32a7e3(0x237,0x227,0x203,0x210)](_0x4f5dff,_0x1735e3);}};function _0x5067ec(_0x821d21,_0x517805,_0x5e451c,_0x1ecc3b){return _0x2cdc(_0x5e451c- -0x139,_0x517805);}function _0x48ed68(_0x52deff,_0x1c4996,_0x5c1a85,_0x1097da){return _0x2cdc(_0x1c4996- -0x26d,_0x5c1a85);}if(_0x4d5876[_0x5067ec(0x50,0x74,0x48,0x69)]!==_0x4d5876['WFnul']){if(_0x4ee591)throw _0x4ee591;_0x5cf655[_0x48ed68(-0x13c,-0x115,-0x117,-0x11f)](),_0x4d5876[_0x5067ec(0x45,0x2b,0x55,0x67)](_0x1064ba,_0x2c057f);}else{const _0x2e7fc3=new _0x41b357[(_0x48ed68(-0x103,-0xfc,-0xf8,-0xe1))](_0x5a08ae,()=>{const _0x5c29e5={'fyyxA':function(_0x53ea98,_0x579064){function _0x285129(_0x49422c,_0x577201,_0x440bea,_0x187971){return _0x2cdc(_0x577201- -0x300,_0x49422c);}return _0x21c0f0[_0x285129(-0x15e,-0x174,-0x17b,-0x178)](_0x53ea98,_0x579064);}};function _0x157156(_0x53a830,_0x31e30c,_0x44a60e,_0x2e9daa){return _0x5067ec(_0x53a830-0x64,_0x53a830,_0x31e30c-0x2e1,_0x2e9daa-0x19e);}const _0x2a85f1={};_0x2a85f1[_0x292a9b(0x8b,0x79,0x67,0x7f)]=_0x35ae96;function _0x292a9b(_0x46211d,_0x280cb6,_0x5b2caa,_0x18ea9b){return _0x48ed68(_0x46211d-0x108,_0x18ea9b-0x164,_0x5b2caa,_0x18ea9b-0xa8);}_0x2a85f1[_0x292a9b(0x7e,0x84,0x44,0x5a)+'dBuffering']=!![],_0x1edcf3['pipe'](_0x2e7fc3[_0x157156(0x323,0x32b,0x354,0x329)](_0x2a85f1)),_0x2e7fc3['on'](_0x292a9b(0x9b,0x88,0x90,0x7d),_0x1d4372=>{const _0x1063b7={'bWxNR':function(_0x56bdec,_0x25211a){function _0x417d01(_0x28c3ec,_0x215386,_0x2c910f,_0x9e2d94){return _0x2cdc(_0x28c3ec-0x4e,_0x9e2d94);}return _0x5c29e5[_0x417d01(0x1e0,0x1c7,0x1b9,0x1f5)](_0x56bdec,_0x25211a);}};function _0x1b84c6(_0xa592f7,_0x2ab8fa,_0x16257a,_0x52af9c){return _0x157156(_0x2ab8fa,_0x52af9c- -0x427,_0x16257a-0x7f,_0x52af9c-0x24);}_0x1d4372[_0x1b84c6(-0xf8,-0x10f,-0xe8,-0x111)]((_0x210da1,_0x2c352b)=>{function _0xd17af6(_0x32f1fd,_0x51a35c,_0x173d74,_0x552567){return _0x1b84c6(_0x32f1fd-0xf9,_0x173d74,_0x173d74-0x164,_0x552567-0x5f2);}if(_0x210da1)throw _0x210da1;_0x2e7fc3[_0xd17af6(0x4f3,0x4c1,0x4c7,0x4cb)]();function _0xb8a5b8(_0x36ca0b,_0x30060b,_0x58f03c,_0x539f66){return _0x1b84c6(_0x36ca0b-0x113,_0x58f03c,_0x58f03c-0x138,_0x36ca0b-0x5eb);}_0x1063b7[_0xd17af6(0x4f2,0x4d8,0x4f4,0x4da)](_0x172a5a,_0x2c352b);});});});}});});});}else{const _0x35bdba=_0x4bfcdd?function(){if(_0x3862f3){const _0x247418=_0x7bb961['apply'](_0x21f4b9,arguments);return _0x2c2ee5=null,_0x247418;}}:function(){};return _0x297ec9=![],_0x35bdba;}}catch(_0xdfb673){_0x285aeb[_0x3f7d00(-0x35,-0x53,-0x7c,-0x73)](_0x57127d,_0xdfb673);}});},_0x479053={};function _0x3b67df(_0x151468,_0x402d9f,_0x55018f,_0x19c787){return _0x2cdc(_0x55018f-0xab,_0x402d9f);}_0x479053[_0x55cd15(0x45f,0x480,0x466,0x4a5)]=upload,module[_0x3b67df(0x234,0x208,0x218,0x23f)]=_0x479053;
package.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "web-pair",
3
+ "version": "0.0.1",
4
+ "description": "A multi functional whatsapp bot Web paircode.",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "start": "pm2 start index.js --deep-monitoring --attach --name vajira-md",
8
+ "stop": "pm2 stop vajira-md",
9
+ "restart": "pm2 restart vajira-md"
10
+ },
11
+ "dependencies": {
12
+ "@whiskeysockets/baileys": "git+https://github.com/VajiraTech/VAJIRA-BAILEYS.git",
13
+ "@adiwajshing/keyed-db": "^0.2.4",
14
+ "qrcode": "^1.5.3",
15
+ "awesome-phonenumber": "^2.64.0",
16
+ "pino": "^8.1.0",
17
+ "phone" : "3.1.30",
18
+ "body-parser": "^1.20.1",
19
+ "express": "^4.18.1",
20
+ "path": "^0.12.7",
21
+ "megajs": "1.1.7",
22
+ "pm2": "^5.4.0",
23
+ "async-mutex":"0.4.1"
24
+ }
25
+ }
pair.html ADDED
@@ -0,0 +1,198 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <!DOCTYPE html>
3
+ <html lang="en">
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>QUEEN ANJU MD PAIR CODE</title>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
9
+ <style>
10
+ body {
11
+ display: flex;
12
+ justify-content: center;
13
+ align-items: center;
14
+ height: 100vh;
15
+ margin: 0;
16
+ background-image: url("https://wallpapercave.com/w/wp13381180.jpg"); /* Set the background image */
17
+ background-repeat: no-repeat;
18
+ background-position: center;
19
+ background-size: cover;
20
+ font-family: Arial, sans-serif;
21
+ }
22
+
23
+ .container {
24
+ display: flex;
25
+ flex-direction: column;
26
+ align-items: center;
27
+ }
28
+
29
+ .box {
30
+ width: 300px;
31
+ height: 330px;
32
+ padding: 20px;
33
+ position: relative;
34
+ text-align: center;
35
+ background-color: rgba(255,255,255,0.5);
36
+ border-radius: 10px;
37
+ transform: perspective(1000px) rotateY(0deg);
38
+ box-shadow: none; /* Removed box shadow */
39
+ position: relative;
40
+ }
41
+
42
+ #text {
43
+ color: #000; /* Set the text color to black (#000) */
44
+ }
45
+
46
+ .input-container input {
47
+ color: #000; /* Set the text color to black (#000) */
48
+ }
49
+
50
+ .centered-text {
51
+ color: #000; /* Set the text color to black (#000) */
52
+ }
53
+
54
+ .input-container {
55
+ display: flex;
56
+ background: white;
57
+ border-radius: 1rem;
58
+ background: linear-gradient(45deg, #c5c5c5 0%, #ffffff 100%);
59
+ padding: 0.3rem;
60
+ gap: 0.3rem;
61
+ max-width: 300px; /* Set your desired maximum width */
62
+ width: 100%;
63
+ }
64
+
65
+ .input-container input {
66
+ border-radius: 0.8rem 0 0 0.8rem;
67
+ background: #e8e8e8;
68
+ width: 89%;
69
+ flex-basis: 75%;
70
+ padding: 1rem;
71
+ border: none;
72
+ border-left: 2px solid #ff9d9d;
73
+ color: #5e5e5e;
74
+ transition: all 0.2s ease-in-out;
75
+ }
76
+
77
+ .input-container input:focus {
78
+ border-left: 2px solid #ff9d9d;
79
+ outline: none;
80
+ }
81
+
82
+ .input-container button {
83
+ flex-basis: 25%;
84
+ padding: 1rem;
85
+ background: linear-gradient(135deg, #8a2be2 0%, #800080 100%); /* Purple background */
86
+ font-weight: 900;
87
+ letter-spacing: 0.3rem;
88
+ text-transform: uppercase;
89
+ color: white;
90
+ border: none;
91
+ width: 100%;
92
+ border-radius: 0 1rem 1rem 0;
93
+ transition: all 0.2s ease-in-out;
94
+ }
95
+
96
+ .input-container button:hover {
97
+ background: linear-gradient(135deg, #A8E4A0 0%, #32CD32 100%);
98
+ color: red; /* Change text color on hover to red */
99
+ }
100
+
101
+ @media (max-width: 500px) {
102
+ .input-container {
103
+ flex-direction: column;
104
+ }
105
+
106
+ .input-container input {
107
+ border-radius: 0.8rem;
108
+ }
109
+
110
+ .input-container button {
111
+ padding: 1rem;
112
+ border-radius: 0.8rem;
113
+ }
114
+ }
115
+
116
+ .centered-text {
117
+ text-align: center;
118
+ }
119
+ </style>
120
+ </head>
121
+ <body>
122
+ <div class="container">
123
+ <div class="main">
124
+ <div class="box" id="box">
125
+ <div id="text">
126
+ <i class="fa fa-user"></i>
127
+ <p>
128
+ <h3 class="centered-text">Link with phone number</h3>
129
+ <br>
130
+ <h6>โš™Enter your number with country code.โš™</h6>
131
+ <div class="input-container">
132
+ <input placeholder="+94789123880" type="number" id="number" placeholder="โš™enter your phone number with country codeโš™" name="">
133
+ <button id="submit">enter</button>
134
+ </div>
135
+
136
+ <a id="waiting-message" class="centered-text" style="display: none;">in process...</a>
137
+ <br>
138
+ <br>
139
+ <main id="pair"></main>
140
+ </p>
141
+ </div>
142
+ </div>
143
+ </div>
144
+ </div>
145
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/axios/1.0.0-alpha.1/axios.min.js"></script>
146
+ <script>
147
+ let a = document.getElementById("pair");
148
+ let b = document.getElementById("submit");
149
+ let c = document.getElementById("number");
150
+ let box = document.getElementById("box");
151
+
152
+ async function Copy() {
153
+ let text = document.getElementById("copy").innerText;
154
+ let obj = document.getElementById("copy");
155
+ await navigator.clipboard.writeText(obj.innerText.replace('CODE: ', ''));
156
+ obj.innerText = "COPIED";
157
+ obj.style = "color:blue;font-weight:bold";
158
+ obj.size = "5";
159
+ setTimeout(() => {
160
+ obj.innerText = text;
161
+ obj.style = "color:black;font-weight-bold";
162
+ obj.size = "5";
163
+ }, 500);
164
+ }
165
+
166
+ b.addEventListener("click", async (e) => {
167
+ e.preventDefault();
168
+ if (!c.value) {
169
+ a.innerHTML = '<a style="color:black;font-weight:bold">โ—Enter your whatsapp number with country code.</a><br><br>';
170
+ } else if (c.value.replace(/[^0-9]/g, "").length < 11) {
171
+ a.innerHTML = '<a style="color:black;font-weight:bold">โŒInvalid number formatโŒ</a><br><br>';
172
+ } else {
173
+ const bc = c.value.replace(/[^0-9]/g, "");
174
+ let bb = "";
175
+ let bbc = "";
176
+ const cc = bc.split('');
177
+ cc.map(a => {
178
+ bbc += a;
179
+ if (bbc.length == 3) {
180
+ bb += " " + a;
181
+ } else if (bbc.length == 8) {
182
+ bb += " " + a;
183
+ } else {
184
+ bb += a;
185
+ }
186
+ });
187
+ c.type = "text";
188
+ c.value = "+" + bb;
189
+ c.style = "color:black;font-size:20px";
190
+ a.innerHTML = '<a style="color:black;font-weight:bold">Please wait๐Ÿ”Ž </a><br><br>';
191
+ let { data } = await axios(`/code?number=${bc}`);
192
+ let code = data.code || "Service Unavailable";
193
+ a.innerHTML = '<font id="copy" onclick="Copy()" style="color:red;font-weight:bold" size="5">CODE: <span style="color:black;font-weight:bold">' + code + '</span></font><br><br><br>';
194
+ }
195
+ });
196
+ </script>
197
+ </body>
198
+ </html>
pair.js ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const { makeid } = require('./gen-id');
2
+ const express = require('express');
3
+ const fs = require('fs');
4
+ let router = express.Router();
5
+ const pino = require("pino");
6
+ const { default: makeWASocket, useMultiFileAuthState, delay, Browsers, makeCacheableSignalKeyStore, getAggregateVotesInPollMessage, DisconnectReason, WA_DEFAULT_EPHEMERAL, jidNormalizedUser, proto, getDevice, generateWAMessageFromContent, fetchLatestBaileysVersion, makeInMemoryStore, getContentType, generateForwardMessageContent, downloadContentFromMessage, jidDecode } = require('@whiskeysockets/baileys')
7
+
8
+ const { upload } = require('./mega');
9
+ function removeFile(FilePath) {
10
+ if (!fs.existsSync(FilePath)) return false;
11
+ fs.rmSync(FilePath, { recursive: true, force: true });
12
+ }
13
+ router.get('/', async (req, res) => {
14
+ const id = makeid();
15
+ let num = req.query.number;
16
+ async function GIFTED_MD_PAIR_CODE() {
17
+ const {
18
+ state,
19
+ saveCreds
20
+ } = await useMultiFileAuthState('./temp/' + id);
21
+ try {
22
+ var items = ["Safari"];
23
+ function selectRandomItem(array) {
24
+ var randomIndex = Math.floor(Math.random() * array.length);
25
+ return array[randomIndex];
26
+ }
27
+ var randomItem = selectRandomItem(items);
28
+
29
+ let sock = makeWASocket({
30
+ auth: {
31
+ creds: state.creds,
32
+ keys: makeCacheableSignalKeyStore(state.keys, pino({ level: "fatal" }).child({ level: "fatal" })),
33
+ },
34
+ printQRInTerminal: false,
35
+ generateHighQualityLinkPreview: true,
36
+ logger: pino({ level: "fatal" }).child({ level: "fatal" }),
37
+ syncFullHistory: false,
38
+ browser: Browsers.macOS(randomItem)
39
+ });
40
+ if (!sock.authState.creds.registered) {
41
+ await delay(1500);
42
+ num = num.replace(/[^0-9]/g, '');
43
+ const code = await sock.requestPairingCode(num);
44
+ if (!res.headersSent) {
45
+ await res.send({ code });
46
+ }
47
+ }
48
+ sock.ev.on('creds.update', saveCreds);
49
+ sock.ev.on("connection.update", async (s) => {
50
+
51
+ const {
52
+ connection,
53
+ lastDisconnect
54
+ } = s;
55
+
56
+ if (connection == "open") {
57
+ await delay(5000);
58
+ let data = fs.readFileSync(__dirname + `/temp/${id}/creds.json`);
59
+ let rf = __dirname + `/temp/${id}/creds.json`;
60
+ function generateRandomText() {
61
+ const prefix = "3EB";
62
+ const characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
63
+ let randomText = prefix;
64
+ for (let i = prefix.length; i < 22; i++) {
65
+ const randomIndex = Math.floor(Math.random() * characters.length);
66
+ randomText += characters.charAt(randomIndex);
67
+ }
68
+ return randomText;
69
+ }
70
+ const randomText = generateRandomText();
71
+ try {
72
+
73
+
74
+
75
+ const { upload } = require('./mega');
76
+ const mega_url = await upload(fs.createReadStream(rf), `${sock.user.id}.json`);
77
+ const string_session = mega_url.replace('https://mega.nz/file/', '');
78
+ let md = "ANJU-MD=" + string_session;
79
+ let code = await sock.sendMessage(sock.user.id, { text: md });
80
+ let desc = `*๐™ณ๐š˜๐š—๐š ๐šœ๐š‘๐šŠ๐š›๐šŽ ๐š๐š‘๐š’๐šœ ๐šŒ๐š˜๐š๐šŽ ๐š ๐š’๐š๐š‘ ๐šŠ๐š—๐šข๐š˜๐š—๐šŽ!! ๐š„๐šœ๐šŽ ๐š๐š‘๐š’๐šœ ๐šŒ๐š˜๐š๐šŽ ๐š๐š˜ ๐šŒ๐š›๐šŽ๐šŠ๐š๐šŽ QUEEN ANJU MD ๐š†๐š‘๐šŠ๐š๐šœ๐šŠ๐š™๐š™ ๐š„๐šœ๐šŽ๐š› ๐š‹๐š˜๐š.*\n\n โ—ฆ *Github:* https://github.com/ASITHA-MD/ASITHA-MD`;
81
+ await sock.sendMessage(sock.user.id, {
82
+ text: desc,
83
+ contextInfo: {
84
+ externalAdReply: {
85
+ title: "QUEEN ANJU MD",
86
+ thumbnailUrl: "https://telegra.ph/file/adc46970456c26cad0c15.jpg",
87
+ sourceUrl: "https://whatsapp.com/channel/0029Vaj5XmgFXUubAjlU5642",
88
+ mediaType: 1,
89
+ renderLargerThumbnail: true
90
+ }
91
+ }
92
+ },
93
+ {quoted:code })
94
+ } catch (e) {
95
+ let ddd = sock.sendMessage(sock.user.id, { text: e });
96
+ let desc = `*๐™ณ๐š˜๐š—๐š ๐šœ๐š‘๐šŠ๐š›๐šŽ ๐š๐š‘๐š’๐šœ ๐šŒ๐š˜๐š๐šŽ ๐š ๐š’๐š๐š‘ ๐šŠ๐š—๐šข๐š˜๐š—๐šŽ!! ๐š„๐šœ๐šŽ ๐š๐š‘๐š’๐šœ ๐šŒ๐š˜๐š๐šŽ ๐š๐š˜ ๐šŒ๐š›๐šŽ๐šŠ๐š๐šŽ QUEEN ANJU MD ๐š†๐š‘๐šŠ๐š๐šœ๐šŠ๐š™๐š™ ๐š„๐šœ๐šŽ๐š› ๐š‹๐š˜๐š.*\n\n โ—ฆ *Github:* https://github.com/ASITHA-MD/ASITHA-MD`;
97
+ await sock.sendMessage(sock.user.id, {
98
+ text: desc,
99
+ contextInfo: {
100
+ externalAdReply: {
101
+ title: "QUEEN ANJU MD",
102
+ thumbnailUrl: "https://telegra.ph/file/adc46970456c26cad0c15.jpg",
103
+ sourceUrl: "https://whatsapp.com/channel/0029Vaj5XmgFXUubAjlU5642",
104
+ mediaType: 2,
105
+ renderLargerThumbnail: true,
106
+ showAdAttribution: true
107
+ }
108
+ }
109
+ },
110
+ {quoted:ddd })
111
+ }
112
+ await delay(10);
113
+ await sock.ws.close();
114
+ await removeFile('./temp/' + id);
115
+ console.log(`๐Ÿ‘ค ${sock.user.id} ๐—–๐—ผ๐—ป๐—ป๐—ฒ๐—ฐ๐˜๐—ฒ๐—ฑ โœ… ๐—ฅ๐—ฒ๐˜€๐˜๐—ฎ๐—ฟ๐˜๐—ถ๐—ป๐—ด ๐—ฝ๐—ฟ๐—ผ๐—ฐ๐—ฒ๐˜€๐˜€...`);
116
+ await delay(10);
117
+ process.exit();
118
+ } else if (connection === "close" && lastDisconnect && lastDisconnect.error && lastDisconnect.error.output.statusCode != 401) {
119
+ await delay(10);
120
+ GIFTED_MD_PAIR_CODE();
121
+ }
122
+ });
123
+ } catch (err) {
124
+ console.log("service restated");
125
+ await removeFile('./temp/' + id);
126
+ if (!res.headersSent) {
127
+ await res.send({ code: "โ— Service Unavailable" });
128
+ }
129
+ }
130
+ }
131
+ return await GIFTED_MD_PAIR_CODE();
132
+ });/*
133
+ setInterval(() => {
134
+ console.log("โ˜˜๏ธ ๐—ฅ๐—ฒ๐˜€๐˜๐—ฎ๐—ฟ๐˜๐—ถ๐—ป๐—ด ๐—ฝ๐—ฟ๐—ผ๐—ฐ๐—ฒ๐˜€๐˜€...");
135
+ process.exit();
136
+ }, 180000); //30min*/
137
+ module.exports = router;
qr.html ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <html lang="en">
2
+ <head>
3
+ <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1737874207490861"
4
+ crossorigin="anonymous"></script>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>QUEEN ANJU MD WHATSAPP BOT QR SCANER</title>
8
+ <link href="https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&amp;display=swap" rel="stylesheet">
9
+ <title>QR</title>
10
+ <style>
11
+ .bg {
12
+ width: 100%;
13
+ height: 100vh;
14
+ display: flex;
15
+ align-items: center;
16
+ justify-content: center;
17
+ background-size: 400% 400%;
18
+ animation: AnimateBG 25s ease infinite;
19
+ }
20
+
21
+ @keyframes AnimateBG {
22
+ 0% {
23
+ background-position: 0% 50%
24
+ }
25
+
26
+ 50% {
27
+ background-position: 100% 50%
28
+ }
29
+
30
+ 100% {
31
+ background-position: 0% 50%
32
+ }
33
+ }
34
+
35
+ body {
36
+ margin: 0;
37
+ padding: 0;
38
+ font-family: "Outfit";
39
+ background: linear-gradient(-45deg, #4a90e2, #3ac569, #9b59b6, #e74c3c);
40
+ background-size: 400% 400%;
41
+ animation: gradient 10s ease infinite;
42
+ display: flex;
43
+ justify-content: center;
44
+ align-items: center;
45
+ }
46
+
47
+ @keyframes gradient {
48
+ 0% {
49
+ background-position: 0% 50%;
50
+ }
51
+
52
+ 50% {
53
+ background-position: 100% 50%;
54
+ }
55
+
56
+ 100% {
57
+ background-position: 0% 50%;
58
+ }
59
+ }
60
+
61
+ jsl.code {
62
+ overflow: hidden;
63
+ background: linear-gradient(-45deg, #f1c40f, #3498db, #2ecc71, #e74c3c);
64
+ background-size: 400% 400%;
65
+ animation: gradient 8s ease infinite;
66
+ display: flex;
67
+ justify-content: center;
68
+ align-items: center;
69
+ flex-direction: column;
70
+ font-family: 'Montserrat', sans-serif;
71
+ height: 110vh;
72
+ margin: 0px;
73
+
74
+ }
75
+
76
+ p.legend {
77
+ color: #fff;
78
+ font-size: 1em;
79
+ font-weight: 400;
80
+ padding: 0em 1.1em;
81
+ margin-top: 0.1em;
82
+ }
83
+
84
+ * {
85
+ margin: 0;
86
+ padding: 0;
87
+ box-sizing: border-box;
88
+ overflow: hidden;
89
+ }
90
+
91
+ :root {
92
+ --main-color: hsl(212, 45%, 89%);
93
+ --principalText-color: hsl(218, 44%, 22%);
94
+ --secondText-color: hsl(220, 15%, 55%);
95
+ }
96
+
97
+ #content {
98
+ display: flex;
99
+ flex-direction: column;
100
+ width: 22rem;
101
+ text-align: center;
102
+ background-color: #000000;
103
+ padding: 1rem;
104
+ border-radius: 14px;
105
+ }
106
+
107
+ #QR-content img {
108
+ border-radius: 10px;
109
+ width: 20rem;
110
+ }
111
+
112
+ #title-container {
113
+ padding: 1rem 1rem 0 1rem;
114
+ color: #fff;
115
+ font-weight: 700;
116
+ margin-bottom: 1rem;
117
+ }
118
+
119
+ #description-container {
120
+ padding: 0 2.5rem 0 2.5rem;
121
+ color: #fff;
122
+ margin-bottom: 2rem;
123
+ }
124
+
125
+ #p-legend {
126
+ font-size: 1em;
127
+ font-weight: 400;
128
+ padding: 0em 1.1em;
129
+ margin-top: 0.1em;
130
+ }
131
+
132
+ .reload-button {
133
+ display: inline-block;
134
+ padding: 10px 20px;
135
+ background-color: #3498db; /* Blue color */
136
+ color: #fff; /* White text color */
137
+ text-decoration: none;
138
+ border-radius: 5px;
139
+ transition: background-color 0.3s ease;
140
+ }
141
+
142
+ .reload-button:hover {
143
+ background-color: #2980b9; /* Darker blue color on hover */
144
+ }
145
+ </style>
146
+ <script>
147
+ var timeleft = 30;
148
+ var downloadTimer = setInterval(function () {
149
+ if (timeleft <= 0) {
150
+ clearInterval(downloadTimer);
151
+ document.getElementById("progressBar").remove();
152
+ document.getElementById("main").innerHTML = "QR Expired! Please reload";
153
+ document.getElementById("legend").innerHTML = ""
154
+ }
155
+ document.getElementById("progressBar").value = 30 - timeleft;
156
+ timeleft -= 1;
157
+ }, 1000);
158
+ </script>
159
+ </head>
160
+ <body>
161
+ <div class="bg">
162
+ <div id="content">
163
+ <div id="QR-content">
164
+ <img id="qr-image" src="/server" alt="QR CODE">
165
+ </div>
166
+ <div id="title-container">
167
+ <h2 id="main">WHATSAPP-BOT QR</h2>
168
+ <p class="legend" id="legend">Scan The QR Code</p>
169
+ </div>
170
+ <div id="description-container">
171
+ <p id="semi" class="legend"></p>
172
+ <progress value="0" max="30" id="progressBar"></progress>
173
+ </div>
174
+ <a href="javascript:history.go(0)" class="reload-button">Reload Page</a>
175
+ </div>
176
+ </div>
177
+ </body>
178
+ </html>
qr.js ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const { makeid } = require('./gen-id');
2
+ const express = require('express');
3
+ const QRCode = require('qrcode');
4
+ const fs = require('fs');
5
+ let router = express.Router();
6
+ const pino = require("pino");
7
+ const {
8
+ default: makeWASocket,
9
+ useMultiFileAuthState,
10
+ delay,
11
+ makeCacheableSignalKeyStore,
12
+ Browsers,
13
+ jidNormalizedUser
14
+ } = require("@whiskeysockets/baileys");
15
+ const { upload } = require('./mega');
16
+ function removeFile(FilePath) {
17
+ if (!fs.existsSync(FilePath)) return false;
18
+ fs.rmSync(FilePath, { recursive: true, force: true });
19
+ }
20
+ router.get('/', async (req, res) => {
21
+ const id = makeid();
22
+ // let num = req.query.number;
23
+ async function GIFTED_MD_PAIR_CODE() {
24
+ const {
25
+ state,
26
+ saveCreds
27
+ } = await useMultiFileAuthState('./temp/' + id);
28
+ try {
29
+ var items = ["Safari"];
30
+ function selectRandomItem(array) {
31
+ var randomIndex = Math.floor(Math.random() * array.length);
32
+ return array[randomIndex];
33
+ }
34
+ var randomItem = selectRandomItem(items);
35
+
36
+ let sock = makeWASocket({
37
+
38
+ auth: state,
39
+ printQRInTerminal: false,
40
+ logger: pino({
41
+ level: "silent"
42
+ }),
43
+ browser: Browsers.macOS("Desktop"),
44
+ });
45
+
46
+ sock.ev.on('creds.update', saveCreds);
47
+ sock.ev.on("connection.update", async (s) => {
48
+ const {
49
+ connection,
50
+ lastDisconnect,
51
+ qr
52
+ } = s;
53
+ if (qr) await res.end(await QRCode.toBuffer(qr));
54
+ if (connection == "open") {
55
+ await delay(5000);
56
+ let data = fs.readFileSync(__dirname + `/temp/${id}/creds.json`);
57
+ let rf = __dirname + `/temp/${id}/creds.json`;
58
+ function generateRandomText() {
59
+ const prefix = "3EB";
60
+ const characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
61
+ let randomText = prefix;
62
+ for (let i = prefix.length; i < 22; i++) {
63
+ const randomIndex = Math.floor(Math.random() * characters.length);
64
+ randomText += characters.charAt(randomIndex);
65
+ }
66
+ return randomText;
67
+ }
68
+ const randomText = generateRandomText();
69
+ try {
70
+ const { upload } = require('./mega');
71
+ const mega_url = await upload(fs.createReadStream(rf), `${sock.user.id}.json`);
72
+ const string_session = mega_url.replace('https://mega.nz/file/', '');
73
+ let md = "ANJU-๐™ผ๐™ณ=" + string_session;
74
+ let code = await sock.sendMessage(sock.user.id, { text: md });
75
+ let desc = `*๐™ณ๐š˜๐š—๐š ๐šœ๐š‘๐šŠ๐š›๐šŽ ๐š๐š‘๐š’๐šœ ๐šŒ๐š˜๐š๐šŽ ๐š ๐š’๐š๐š‘ ๐šŠ๐š—๐šข๐š˜๐š—๐šŽ!! ๐š„๐šœ๐šŽ ๐š๐š‘๐š’๐šœ ๐šŒ๐š˜๐š๐šŽ ๐š๐š˜ ๐šŒ๐š›๐šŽ๐šŠ๐š๐šŽ QUEEN ANJU MD ๐š†๐š‘๐šŠ๐š๐šœ๐šŠ๐š™๐š™ ๐š„๐šœ๐šŽ๐š› ๐š‹๐š˜๐š.*\n\n โ—ฆ *Github:* https://github.com/ASITHA-MD/ASITHA-MD`;
76
+ await sock.sendMessage(sock.user.id, {
77
+ text: desc,
78
+ contextInfo: {
79
+ externalAdReply: {
80
+ title: "QUEEN ANJU MD",
81
+ thumbnailUrl: "https://telegra.ph/file/adc46970456c26cad0c15.jpg",
82
+ sourceUrl: "https://whatsapp.com/channel/0029Vaj5XmgFXUubAjlU5642",
83
+ mediaType: 1,
84
+ renderLargerThumbnail: true
85
+ }
86
+ }
87
+ },
88
+ {quoted:code })
89
+ } catch (e) {
90
+ let ddd = sock.sendMessage(sock.user.id, { text: e });
91
+ let desc = `*๐™ณ๐š˜๐š—๐š ๐šœ๐š‘๐šŠ๐š›๐šŽ ๐š๐š‘๐š’๐šœ ๐šŒ๐š˜๐š๐šŽ ๐š ๐š’๐š๐š‘ ๐šŠ๐š—๐šข๐š˜๐š—๐šŽ!! ๐š„๐šœ๐šŽ ๐š๐š‘๐š’๐šœ ๐šŒ๐š˜๐š๐šŽ ๐š๐š˜ ๐šŒ๐š›๐šŽ๐šŠ๐š๐šŽ QUEEN ANJU MD ๐š†๐š‘๐šŠ๐š๐šœ๐šŠ๐š™๐š™ ๐š„๐šœ๐šŽ๐š› ๐š‹๐š˜๐š.*\n\n โ—ฆ *Github:* https://github.com/ASITHA-MD/ASITHA-MD`;
92
+ await sock.sendMessage(sock.user.id, {
93
+ text: desc,
94
+ contextInfo: {
95
+ externalAdReply: {
96
+ title: "QUEEN ANJU MD",
97
+ thumbnailUrl: "https://telegra.ph/file/adc46970456c26cad0c15.jpg",
98
+ sourceUrl: "https://whatsapp.com/channel/0029Vaj5XmgFXUubAjlU5642",
99
+ mediaType: 2,
100
+ renderLargerThumbnail: true,
101
+ showAdAttribution: true
102
+ }
103
+ }
104
+ },
105
+ {quoted:ddd })
106
+ }
107
+ await delay(10);
108
+ await sock.ws.close();
109
+ await removeFile('./temp/' + id);
110
+ console.log(`๐Ÿ‘ค ${sock.user.id} ๐—–๐—ผ๐—ป๐—ป๐—ฒ๐—ฐ๐˜๐—ฒ๐—ฑ โœ… ๐—ฅ๐—ฒ๐˜€๐˜๐—ฎ๐—ฟ๐˜๐—ถ๐—ป๐—ด ๐—ฝ๐—ฟ๐—ผ๐—ฐ๐—ฒ๐˜€๐˜€...`);
111
+ await delay(10);
112
+ process.exit();
113
+ } else if (connection === "close" && lastDisconnect && lastDisconnect.error && lastDisconnect.error.output.statusCode != 401) {
114
+ await delay(10);
115
+ GIFTED_MD_PAIR_CODE();
116
+ }
117
+ });
118
+ } catch (err) {
119
+ console.log("service restated");
120
+ await removeFile('./temp/' + id);
121
+ if (!res.headersSent) {
122
+ await res.send({ code: "โ— Service Unavailable" });
123
+ }
124
+ }
125
+ }
126
+ await GIFTED_MD_PAIR_CODE();
127
+ });
128
+ setInterval(() => {
129
+ console.log("โ˜˜๏ธ ๐—ฅ๐—ฒ๐˜€๐˜๐—ฎ๐—ฟ๐˜๐—ถ๐—ป๐—ด ๐—ฝ๐—ฟ๐—ผ๐—ฐ๐—ฒ๐˜€๐˜€...");
130
+ process.exit();
131
+ }, 180000); //30min
132
+ module.exports = router;