-
Notifications
You must be signed in to change notification settings - Fork 331
/
Copy pathdianxin.js
2575 lines (2572 loc) · 113 KB
/
dianxin.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// 非青龙下在文件开头添加账号配置,
//process.env.chinaTelecomAccount = `
//13454545457#123456
//13454545457#456789
//`.trim();
//变量格式: 手机号#服务密码
//多号创建多个变量或者换行、&隔开
(function (_0x1398c0) {
process.env.NODE_OPTIONS = "--max-old-space-size=4096 --openssl-legacy-provider";
process.env.NODE_OPTIONS += " --tls-cipher-list=DEFAULT@SECLEVEL=0";
const {
"DOMParser": _0x3f8ba3
} = require("xmldom");
delete __filename;
delete __dirname;
var _0x3b0b0e = new _0x3f8ba3({
"locator": {},
"errorHandler": {
"warning": function (_0x43074f) {},
"error": function (_0x4b694d) {},
"fatalError": function (_0x5172b4) {}
}
});
_0x1398c0 = 7;
const _0x1a907b = _0xf189dd("电信营业厅"),
_0x221366 = require("got"),
_0x7c8459 = require("path"),
{
"exec": _0x1a8673
} = require("child_process"),
_0x4c9506 = require("fs"),
_0x150775 = require("crypto-js"),
_0xd3111e = "moceleTanihc".split("").reverse().join(""),
_0xed67c1 = new RegExp("[\\n\\&\\@]", ""),
_0x5dcb01 = [_0xd3111e + "Account"],
_0x18914c = 30000,
_0x80a14f = 3,
_0x1104ee = _0xd3111e + "cpR".split("").reverse().join(""),
_0x51e8a6 = process.env[_0x1104ee],
_0x2a1f65 = 6.02,
_0x26154c = "moceleTanihc".split("").reverse().join(""),
_0x14c4e5 = "https://leafxcy.coding.net/api/user/leafxcy/project/validcode/shared-depot/validCode/git/blob/master/code.json",
_0x4b73f5 = "JinDouMall";
let _0x4f8ac1 = {};
const _0x15d9a8 = "./chinaTelecom_cache.json",
_0x932305 = "Mozilla/5.0 (Linux; U; Android 12; zh-cn; ONEPLUS A9000 Build/QKQ1.190716.003) AppleWebKit/533.1 (KHTML, like Gecko) Version/5.0 Mobile Safari/533.1",
_0x49b65a = "34d7cb0bcdf07523",
_0x53d03f = "swedrftghyuiok09`7654321".split("").reverse().join(""),
_0x36ee2c = "\0\0\0\0\0\0\0\0",
_0x5d0e03 = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDBkLT15ThVgz6/NOl6s8GNPofdWzWbCkWnkaAm7O2LjkM1H7dMvzkiqdxU02jamGRHLX/ZNMCXHnPcW/sDhiFCBN18qFvy8g6VYb9QtroI09e176s+ZCtiv7hbin2cCTj99iUpnEloZm19lwHyo69u5UMiPMpq0/XKBO8lYhN/gwIDAQAB",
_0x5de718 = "\n-----YEK CILBUP NIGEB-----".split("").reverse().join("") + _0x5d0e03 + "\n-----END PUBLIC KEY-----",
_0xe715f9 = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC+ugG5A8cZ3FqUKDwM57GM4io6JGcStivT8UdGt67PEOihLZTw3P7371+N47PrmsCpnTRzbTgcupKtUv8ImZalYk65dU8rjC/ridwhw9ffW2LBwvkEnDkkKKRi2liWIItDftJVBiWOh17o6gfbPoNrWORcAdcbpk2L+udld5kZNwIDAQAB",
_0x35f8a5 = "-----BEGIN PUBLIC KEY-----\n" + _0xe715f9 + "\n-----END PUBLIC KEY-----",
_0x23ffb7 = "BAQADIwry6othbBwEfpYLPbk3Boa5/NunPU8NsXm0ZtqES1tZyzMKA+K6quE36W8o59OoqJpolcJAEKLX5Hcezws1DEhbiNzMAYiOIKHJPsUxI4HSal98qQKlqmyFZwvEWmcplcy+8C6UbEcd/BJ4TyvEkYsSE+xrvFplTs4p6sjtHOPIDQgBKQiBCDANG4AAUQABEQD3bISGqSCG0AMfGIM".split("").reverse().join(""),
_0x5bd516 = "-----BEGIN PUBLIC KEY-----\n" + _0x23ffb7 + "\n-----END PUBLIC KEY-----",
_0x53ed7d = require("node-rsa");
let _0x253d66 = new _0x53ed7d(_0x5de718);
const _0x9eb7bd = {
"encryptionScheme": "pkcs1"
};
_0x253d66.setOptions(_0x9eb7bd);
let _0x40e903 = new _0x53ed7d(_0x35f8a5);
const _0x370ad7 = {
"encryptionScheme": "pkcs1"
};
_0x40e903.setOptions(_0x370ad7);
let _0x30d16a = new _0x53ed7d(_0x5bd516);
const _0x4f845c = {
"encryptionScheme": "pkcs1"
};
_0x30d16a.setOptions(_0x4f845c);
const _0x59860f = [202201, 202202, 202203],
_0x503087 = 5;
function _0x164663(_0x4a6465, _0x375482, _0x35afe0, _0xa2a707, _0x136543, _0x13f587) {
return _0x150775[_0x4a6465].encrypt(_0x150775.enc.Utf8.parse(_0xa2a707), _0x150775.enc.Utf8.parse(_0x136543), {
"mode": _0x150775.mode[_0x375482],
"padding": _0x150775.pad[_0x35afe0],
"iv": _0x150775.enc.Utf8.parse(_0x13f587)
}).ciphertext.toString(_0x150775.enc.Hex);
}
function _0x134cec(_0x26c7d5, _0x463040, _0x4a6336, _0x35c8a7, _0x199ce3, _0x423a3f) {
return _0x150775[_0x26c7d5].decrypt({
"ciphertext": _0x150775.enc.Hex.parse(_0x35c8a7)
}, _0x150775.enc.Utf8.parse(_0x199ce3), {
"mode": _0x150775.mode[_0x463040],
"padding": _0x150775.pad[_0x4a6336],
"iv": _0x150775.enc.Utf8.parse(_0x423a3f)
}).toString(_0x150775.enc.Utf8);
}
function _0x592882() {
try {
_0x4c9506.writeFileSync(_0x15d9a8, JSON.stringify(_0x4f8ac1, null, 4), "8-ftu".split("").reverse().join(""));
} catch (_0x3fef2f) {
console.log("错出存缓存保".split("").reverse().join(""));
}
}
function _0x5c3daa() {
try {
_0x4f8ac1 = JSON.parse(_0x4c9506.readFileSync(_0x15d9a8, "8-ftu".split("").reverse().join("")));
} catch (_0x149e2f) {
console.log("存缓nekot个一建新 ,错出存缓取读".split("").reverse().join(""));
_0x592882();
}
}
let _0x1ae409 = 0,
_0x2668bb = 0;
function _0xebac22() {
{
_0x2668bb = 1;
process.on("SIGTERM", () => {
_0x2668bb = 2;
process.exit(0);
});
const _0x1990e8 = _0x7c8459.basename(process.argv[1]),
_0x45daf2 = ["bash", "timeout", "grep"];
let _0x2275af = ["ps afx"];
_0x2275af.push("grep " + _0x1990e8);
_0x2275af = _0x2275af.concat(_0x45daf2.map(_0x24fde1 => "grep -v \"" + _0x24fde1 + "\" ".split("").reverse().join("")));
_0x2275af.push("l- cw".split("").reverse().join(""));
const _0x1fce35 = _0x2275af.join("|"),
_0x290fca = () => {
_0x1a8673(_0x1fce35, (_0x2a6abb, _0x1d3b15, _0x2bdb23) => {
if (_0x2a6abb || _0x2bdb23) {
return;
}
_0x1ae409 = parseInt(_0x1d3b15.trim(), 10);
});
_0x2668bb == 1 && setTimeout(_0x290fca, 2000);
};
_0x290fca();
}
}
class _0x252e78 {
constructor() {
this.index = _0x1a907b.userIdx++;
this.name = "";
this.valid = false;
const _0x4c8c9 = {
"limit": 0
},
_0x220c3a = {
"Connection": "keep-alive"
},
_0xc0d89d = {
"retry": _0x4c8c9,
"timeout": _0x18914c,
"followRedirect": false,
"ignoreInvalidCookies": true,
"headers": _0x220c3a
};
this.got = _0x221366.extend(_0xc0d89d);
_0x2668bb == 0 && _0xebac22();
}
["log"](_0x1b8189, _0x9c4426 = {}) {
var _0x1ac632 = "",
_0xad7cd9 = _0x1a907b.userCount.toString().length;
this.index && (_0x1ac632 += "[号账".split("").reverse().join("") + _0x1a907b.padStr(this.index, _0xad7cd9) + "]");
this.name && (_0x1ac632 += "[" + this.name.slice(0, 3) + "****".split("").reverse().join("") + this.name.slice(-4) + "]");
_0x1a907b.log(_0x1ac632 + _0x1b8189, _0x9c4426);
}
["get_rscode"](_0x4681d6, _0x41b5cd, _0x4ecab9, _0x1ff39b) {
let _0x138011,
_0x17a8be = "\n null_function = function () {}\n content=\"" + _0x4681d6 + "\";\n tsID=\"" + _0x1ff39b + "\"\n delete __dirname \n delete __filename \n ActiveXObject = undefined;\n \n Window = null_function\n window = self = parent = top = globalThis;\n addEventListener = null_function\n \n attachEvent = null_function\n navigator = {userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36'}\n HTMLCollection = []\n HTMLCollection.length = 0\n div = {\n getElementsByTagName() {\n return HTMLCollection\n },\n innerHTML: '',\n \n }\n getAttribute = function () {\n if (arguments[0] == 'r') {\n return 'm'\n }\n }\n meta = {\n content: \"text/html; charset=utf-8\",\n http_Equiv: \"Content-Type\",\n id:tsID,\n getAttribute: function (arg) {\n if (arg === 'r') {\n return 'm'\n }\n },\n parentNode: {\n removeChild: function () {}\n }\n }\n getElementsByTagNameObj = {}\n metav={\n id:tsID,\n content:content,\n r:\"m\",\n getAttribute: function (arg) {\n if (arg === 'r') {\n return 'm'\n }\n },\n parentNode: {\n removeChild: null_function\n }\n }\n \n documentElement = {\n addEventListener: addEventListener\n }\n document = {\n characterSet: 'UTF-8',\n charset: 'UTF-8',\n createElement() {\n if (arguments[0] === 'div') {\n return div\n }\n return {}\n },\n getElementsByTagName: function (arg) {\n if (arg === 'script') {\n return {}\n }\n if (arg === 'base') {\n return {length: 0}\n }\n },\n documentElement: documentElement,\n addEventListener: addEventListener,\n attachEvent: attachEvent,\n getElementById: function () {\n if (arguments[0] === tsID) {\n return metav\n }\n if (arguments[0] == 'root-hammerhead-shadow-ui') {\n return null\n }\n return {}\n },\n appendChild:null_function,\n removeChild: null_function\n }\n location={\n \"href\": \"https://\",\n \"origin\": \"\",\n \"protocol\": \"\",\n \"host\": \"\",\n \"hostname\": \"\",\n \"port\": \"\",\n \"pathname\": \"\",\n \"search\": \"\",\n \"hash\": \"\"\n }\n //setTimeout = null_function\n setInterval = null_function\n " + _0x41b5cd + "\n " + _0x4ecab9 + "\n function getck() {\n return document.cookie\n }\n return {getck};\n ";
_0x138011 = 13;
const _0x16483e = new Function(_0x17a8be),
_0x26187b = _0x16483e();
var _0x16bc4c = 14;
const _0x5b8c01 = _0x26187b.getck();
_0x16bc4c = 10;
this.rsFun = _0x16483e;
this.getrsCk = _0x5b8c01;
return _0x16483e;
}
async ["parseCookies"](_0x1ece13, _0x3c1e28) {
{
let _0x4cba26 = {},
_0x2ea51f = _0x1ece13.split(";");
_0x2ea51f.forEach(_0x167de8 => {
_0x167de8 = _0x167de8.trim();
if (_0x167de8.includes("=")) {
let [_0x15b1dc, _0x59adc6] = _0x167de8.split("=", 2);
!_0x15b1dc.toLowerCase().includes("path") && !_0x15b1dc.toLowerCase().includes("seripxe".split("").reverse().join("")) && !_0x15b1dc.toLowerCase().includes("eruces".split("").reverse().join("")) && !_0x15b1dc.toLowerCase().includes("etisemas".split("").reverse().join("")) && (_0x4cba26[_0x15b1dc] = _0x59adc6);
}
});
if (_0x3c1e28) {
_0x4cba26.yiUIIlbdQT3fO = _0x3c1e28.split("=")[1];
}
return _0x4cba26;
}
}
async ["request"](_0x190a2b) {
{
let _0x25513b = _0x190a2b?.["ckvalue"] || "";
const _0xb9ee29 = ["ECONNRESET", "EADDRINUSE", "DNUOFTONE".split("").reverse().join(""), "EAI_AGAIN"],
_0x268e93 = ["TimeoutError"],
_0x45beb9 = ["EPROTO"],
_0x53d45c = [];
var _0x1983cd = null,
_0x3192a9 = 0,
_0x4dd0e7 = _0x190a2b.fn || _0x190a2b.url;
let _0x4a98af = _0x1a907b.get(_0x190a2b, "valid_code", _0x53d45c);
_0x190a2b.method = _0x190a2b?.["dohtem".split("").reverse().join("")]?.["esaCreppUot".split("").reverse().join("")]() || "TEG".split("").reverse().join("");
_0x190a2b?.["ckvalue"] && (_0x190a2b.headers = _0x190a2b?.["headers"] || {
"Cookie": "=Pf3TQdblIIUiy".split("").reverse().join("") + (_0x25513b.yiUIIlbdQT3fP || "") + "; yiUIIlbdQT3fO=" + (_0x25513b.yiUIIlbdQT3fO || "")
});
let _0x16d92d, _0x3dc0a8;
while (_0x3192a9 < _0x80a14f) {
try {
{
_0x3192a9++;
_0x16d92d = "";
_0x3dc0a8 = "";
let _0x194be3 = null,
_0x34816a = _0x190a2b?.["tuoemit".split("").reverse().join("")] || this.got?.["stluafed".split("").reverse().join("")]?.["options"]?.["timeout"]?.["request"] || _0x18914c,
_0x247d00 = false,
_0x57a0dd = Math.max(this.index - 2, 0),
_0x118618 = Math.min(Math.max(this.index - 3, 1), 3),
_0x5e0eab = Math.min(Math.max(this.index - 4, 1), 4),
_0x5003fd = _0x57a0dd * _0x118618 * _0x5e0eab * 400,
_0x177928 = _0x57a0dd * _0x118618 * _0x5e0eab * 1800,
_0x31d3fb = _0x5003fd + Math.floor(Math.random() * _0x177928),
_0x5845c2 = _0x1ae409 * (_0x1ae409 - 1) * 2000,
_0x2396f5 = (_0x1ae409 - 1) * (_0x1ae409 - 1) * 2000,
_0x5da990 = _0x5845c2 + Math.floor(Math.random() * _0x2396f5),
_0x4d75f1 = Math.max(_0x1a907b.userCount - 2, 0),
_0x529ee2 = Math.max(_0x1a907b.userCount - 3, 0),
_0x43dcc1 = _0x4d75f1 * 200,
_0x5873a4 = _0x529ee2 * 400,
_0x3a27f6 = _0x43dcc1 + Math.floor(Math.random() * _0x5873a4),
_0x2473ec = _0x31d3fb + _0x5da990 + _0x3a27f6;
await new Promise(async _0x1e79c1 => {
{
setTimeout(() => {
_0x247d00 = true;
_0x1e79c1();
}, _0x34816a);
var _0x22e3f1 = 9;
let _0xd1fef1 = _0x1e79c1?.["ckvalue"] || "";
_0x22e3f1 = 17;
_0x190a2b?.["ckvalue"] && (_0x190a2b.headers = _0x190a2b?.["sredaeh".split("").reverse().join("")] || {
"Cookie": "=Pf3TQdblIIUiy".split("").reverse().join("") + (_0xd1fef1.yiUIIlbdQT3fP || "") + "; yiUIIlbdQT3fO=" + (_0xd1fef1.yiUIIlbdQT3fO || "")
});
try {
var _0x301943 = 17;
const _0x51b7d4 = await this.got(_0x190a2b);
_0x301943 = "gcepbq".split("").reverse().join("");
_0x1983cd = _0x51b7d4;
} catch (_0x154715) {
if (_0x154715.response?.["statusCode"] == 412) {
{
const {
"contentCODE": _0x5516eb,
"tsCODE": _0x47e590,
"srcAttribute": _0x4b6a23,
"tsID": _0x3373ed
} = _0x1a907b.get(_0x154715, "resoultCode", _0x154715.response?.["statusCode"]);
var _0x2812fb = 4;
const _0x5e923a = {
"fn": "getrs",
"method": "get",
"url": "https://wappark.189.cn" + _0x4b6a23
};
_0x2812fb = 9;
let {
"result": _0x3ebf1f,
"statusCode": _0x2ead5e
} = await this.request(_0x5e923a);
var _0x376a46 = 6;
let _0x2ec177 = "";
_0x376a46 = 11;
if (_0x154715.response && _0x154715.response.headers) {
var _0x594dfa = 10;
const _0x5cc77d = _0x154715.response.headers["set-cookie"];
_0x594dfa = 13;
Array.isArray(_0x5cc77d) && (_0x2ec177 = _0x5cc77d.map(_0x259e52 => _0x259e52.split(";")[0]).join("; "));
}
this.get_rscode(_0x5516eb, _0x47e590, _0x3ebf1f, _0x3373ed);
var _0x3471a2 = 6;
let _0x411b9a = this.getrsCk;
_0x3471a2 = "chleng".split("").reverse().join("");
_0x411b9a = this.rsFun().getck();
_0xd1fef1 = await this.parseCookies(_0x411b9a, _0x2ec177);
if (_0xd1fef1) {
{
_0x190a2b.headers = {
"Cookie": "yiUIIlbdQT3fP=" + (_0xd1fef1.yiUIIlbdQT3fP || "") + "=Of3TQdblIIUiy ;".split("").reverse().join("") + (_0xd1fef1.yiUIIlbdQT3fO || "")
};
try {
let _0x1a0f23;
const _0x16f9e8 = await this.got(_0x190a2b);
_0x1a0f23 = 4;
_0x1983cd = _0x16f9e8;
} catch (_0x21ba32) {
_0x194be3 = _0x21ba32;
_0x1983cd = _0x21ba32.response;
_0x16d92d = _0x21ba32.response?.["code"] || "";
_0x3dc0a8 = _0x21ba32.response?.["name"] || "";
console.log(_0x16d92d, "deliaf yrteR".split("").reverse().join(""));
}
}
}
}
} else _0x194be3 = _0x154715, _0x1983cd = _0x154715.response, _0x16d92d = _0x154715.response?.["code"] || "", _0x3dc0a8 = _0x154715.response?.["name"] || "";
}
_0x1e79c1();
}
});
if (_0x247d00) this.log("[" + _0x4dd0e7 + "(时超求请]".split("").reverse().join("") + _0x34816a / 1000 + "第试重,)秒".split("").reverse().join("") + _0x3192a9 + "次");else {
if (_0x45beb9.includes(_0x16d92d)) {
this.log("[" + _0x4dd0e7 + "[误错求请]".split("").reverse().join("") + _0x16d92d + "[]".split("").reverse().join("") + _0x3dc0a8 + "]");
_0x194be3?.["message"] && console.log(_0x194be3.message);
break;
} else {
if (_0x268e93.includes(_0x3dc0a8)) this.log("[" + _0x4dd0e7 + "[误错求请]".split("").reverse().join("") + _0x16d92d + "][" + _0x3dc0a8 + "第试重,]".split("").reverse().join("") + _0x3192a9 + "次");else {
if (_0xb9ee29.includes(_0x16d92d)) this.log("[" + _0x4dd0e7 + "[误错求请]".split("").reverse().join("") + _0x16d92d + "][" + _0x3dc0a8 + "],重试第" + _0x3192a9 + "次");else {
{
if (_0x1983cd?.["edoCsutats".split("").reverse().join("")] == 412) break;
let _0x1ebbf7 = _0x1983cd?.["edoCsutats".split("").reverse().join("")] || "",
_0x359dc7 = _0x1ebbf7 / 100 | 0;
if (_0x1ebbf7) {
_0x359dc7 > 3 && !_0x4a98af.includes(_0x1ebbf7) && (_0x1ebbf7 ? this.log("[求请".split("").reverse().join("") + _0x4dd0e7 + "]返回[" + _0x1ebbf7 + "]") : this.log("请求[" + _0x4dd0e7 + "[误错]".split("").reverse().join("") + _0x16d92d + "][" + _0x3dc0a8 + "]"));
if (_0x359dc7 <= 4) break;
} else this.log("请求[" + _0x4dd0e7 + "]错误[" + _0x16d92d + "][" + _0x3dc0a8 + "]");
}
}
}
}
}
}
} catch (_0x1b27b0) {
_0x1b27b0.name == "rorrEtuoemiT".split("").reverse().join("") ? this.log("[" + _0x4dd0e7 + "第试重,时超求请]".split("").reverse().join("") + _0x3192a9 + "次") : this.log("[" + _0x4dd0e7 + "(误错求请]".split("").reverse().join("") + _0x1b27b0.message + "第试重,)".split("").reverse().join("") + _0x3192a9 + "次");
}
}
const _0x5c5b0c = {
"statusCode": _0x16d92d || -1,
"headers": null,
"result": null
};
if (_0x1983cd == null) return Promise.resolve(_0x5c5b0c);
let {
"statusCode": _0x253af7,
"headers": _0x40c367,
"body": _0x2369c1
} = _0x1983cd;
if (_0x2369c1) try {
_0x2369c1 = JSON.parse(_0x2369c1);
} catch {}
const _0x2fc606 = {
"statusCode": _0x253af7,
"headers": _0x40c367,
"result": _0x2369c1
};
return Promise.resolve(_0x2fc606);
}
}
}
let _0x2ecb9a = _0x252e78;
try {
let _0x345d48 = require("./LocalBasic");
_0x2ecb9a = _0x345d48;
} catch {}
let _0x42ec34 = new _0x2ecb9a(_0x1a907b);
class _0x173a90 extends _0x2ecb9a {
constructor(_0x8df40d) {
{
super(_0x1a907b);
let _0x547fe0 = _0x8df40d.split("#");
this.name = _0x547fe0[0];
this.passwd = _0x547fe0?.[1] || "";
this.uuid = [_0x1a907b.randomPattern("xxxxxxxx"), _0x1a907b.randomPattern("xxxx"), _0x1a907b.randomPattern("xxx4".split("").reverse().join("")), _0x1a907b.randomPattern("xxxx"), _0x1a907b.randomPattern("xxxxxxxxxxxx".split("").reverse().join(""))];
this.can_feed = true;
this.jml_tokenFlag = "";
this.mall_token = "";
const _0x25e486 = {
"Connection": "keep-alive",
"User-Agent": _0x932305,
"123456789": "987654321"
};
}
}
["load_token"]() {
{
let _0x40ebac = false;
_0x4f8ac1[this.name] && (this.userId = _0x4f8ac1[this.name].userId, this.token = _0x4f8ac1[this.name].token, this.log("nekot存缓到取读".split("").reverse().join("")), _0x40ebac = true);
return _0x40ebac;
}
}
["encode_phone"]() {
let _0x5c8413 = this.name.split("");
for (let _0x4fd72e in _0x5c8413) {
_0x5c8413[_0x4fd72e] = String.fromCharCode(_0x5c8413[_0x4fd72e].charCodeAt(0) + 2);
}
return _0x5c8413.join("");
}
["encode_aes"](_0x3613e9) {
return _0x164663("SEA".split("").reverse().join(""), "ECB", "Pkcs7", _0x3613e9, _0x49b65a, 0);
}
["get_mall_headers"]() {
return {
"Content-Type": "application/json;charset=utf-8",
"Accept": "application/json, text/javascript, */*; q=0.01",
"Authorization": this.mall_token ? "Bearer " + this.mall_token : "",
"X-Requested-With": "XMLHttpRequest"
};
}
async ["rsCk"](_0x17c90e, _0x2ba627) {
{
const _0x240960 = await rs(_0x17c90e, _0x2ba627);
console.log(_0x240960);
}
}
async ["login"](_0x5d1438 = {}) {
{
let _0x440c66 = false;
try {
let _0x57e9cb = _0x1a907b.time("yyyyMMddhhmmss"),
_0x1d01a9 = "iPhone 14 15.4." + this.uuid.slice(0, 2).join("") + this.name + _0x57e9cb + this.passwd + "0$$$0.",
_0x2f95b7 = {
"fn": "login",
"method": "post",
"url": "https://appgologin.189.cn:9031/login/client/userLoginNormal",
"json": {
"headerInfos": {
"code": "userLoginNormal",
"timestamp": _0x57e9cb,
"broadAccount": "",
"broadToken": "",
"clientType": "#9.6.1#channel50#iPhone 14 Pro Max#",
"shopId": "20002",
"source": "110003",
"sourcePassword": "Sid98s",
"token": "",
"userLoginName": this.name
},
"content": {
"attach": "test",
"fieldData": {
"loginType": "4",
"accountType": "",
"loginAuthCipherAsymmertric": _0x253d66.encrypt(_0x1d01a9, "46esab".split("").reverse().join("")),
"deviceUid": this.uuid.slice(0, 3).join(""),
"phoneNum": this.encode_phone(),
"isChinatelecom": "0",
"systemVersion": "15.4.0",
"authentication": this.passwd
}
}
}
},
{
"result": _0x544bd4,
"statusCode": _0x16ceb3
} = await this.request(_0x2f95b7),
_0x166f37 = _0x1a907b.get(_0x544bd4?.["ataDesnopser".split("").reverse().join("")], "resultCode", -1);
if (_0x166f37 == "0000") {
{
let {
"userId": _0x3484c5 = "",
"token": _0x249f1a = ""
} = _0x544bd4?.["ataDesnopser".split("").reverse().join("")]?.["data"]?.["loginSuccessResult"] || {};
this.userId = _0x3484c5;
this.token = _0x249f1a;
this.log("功成录登码密务服用使".split("").reverse().join(""));
_0x4f8ac1[this.name] = {
"token": _0x249f1a,
"userId": _0x3484c5,
"t": Date.now()
};
_0x592882();
_0x440c66 = true;
}
} else {
{
let _0x5807dc = _0x544bd4?.["gsm".split("").reverse().join("")] || _0x544bd4?.["responseData"]?.["cseDtluser".split("").reverse().join("")] || _0x544bd4?.["headerInfos"]?.["nosaer".split("").reverse().join("")] || "";
this.log("服务密码登录失败[" + _0x166f37 + " :]".split("").reverse().join("") + _0x5807dc);
}
}
} catch (_0x143d05) {
console.log(_0x143d05);
} finally {
return _0x440c66;
}
}
}
async ["get_ticket"](_0x3407e5 = {}) {
let _0x3dbd0c = "";
try {
{
let _0x44f191 = "\n <Request>\n <HeaderInfos>\n <Code>getSingle</Code>\n <Timestamp>" + _0x1a907b.time("yyyyMMddhhmmss") + ">nekoT< \n>drowssaPecruoS/<s89diS>drowssaPecruoS< \n>ecruoS/<300011>ecruoS< \n>dIpohS/<20002>dIpohS< \n>epyTtneilC/<#xaM orP 41 enohPi#05lennahc#1.6.9#>epyTtneilC< \n>nekoTdaorB/<>nekoTdaorB< \n>tnuoccAdaorB/<>tnuoccAdaorB< \n>pmatsemiT/<".split("").reverse().join("") + this.token + "</Token>\n <UserLoginName>" + this.name + "</UserLoginName>\n </HeaderInfos>\n <Content>\n <Attach>test</Attach>\n <FieldData>\n <TargetId>" + _0x164663("TripleDES", "CBC", "7sckP".split("").reverse().join(""), this.userId, _0x53d03f, _0x36ee2c) + ">tseuqeR/< \n>tnetnoC/< \n>ataDdleiF/< \n>lrU/<154b5384722686a4>lrU< \n>dItegraT/<".split("").reverse().join("");
const _0x425216 = {
"fn": "get_ticket",
"method": "post",
"url": "https://appgologin.189.cn:9031/map/clientXML",
"body": _0x44f191
};
let {
"result": _0x4d1ded,
"statusCode": _0x61cf7a
} = await this.request(_0x425216);
if (_0x4d1ded) {
let _0x1c2c31 = _0x4d1ded.match(new RegExp(">\\tekciT/\\<\\)+w\\(>\\tekciT<\\".split("").reverse().join(""), ""));
if (_0x1c2c31) {
let _0x2b9602 = _0x1c2c31[1];
_0x3dbd0c = _0x134cec("SEDelpirT".split("").reverse().join(""), "CBC", "Pkcs7", _0x2b9602, _0x53d03f, _0x36ee2c);
this.ticket = _0x3dbd0c;
}
}
!_0x3dbd0c && (!_0x3407e5.retry && (await this.login()) ? (_0x3407e5.retry = true, _0x3dbd0c = await this.get_ticket(_0x3407e5)) : (this.log("没有获取到ticket[" + _0x61cf7a + "]: "), _0x4d1ded && this.log(" :".split("").reverse().join("") + JSON.stringify(_0x4d1ded))));
}
} catch (_0x47f1aa) {
console.log(_0x47f1aa);
} finally {
return _0x3dbd0c;
}
}
async ["get_sign"](_0x1ed70f = {}) {
var _0x5f50b2 = 12;
let _0x1cb2f1 = this.rsCkk;
_0x5f50b2 = "ejjogf";
let _0x2d6db1 = false;
try {
const _0xc6d6af = {
"ticket": this.ticket
},
_0x438f3f = {
"ckvalue": _0x1cb2f1,
"fn": "login",
"method": "get",
"url": "https://wappark.189.cn/jt-sign/ssoHomLogin",
"searchParams": _0xc6d6af
};
let {
"result": _0x48a0a2,
"statusCode": _0x44aa12
} = await this.request(_0x438f3f),
_0x22cc7a = _0x1a907b.get(_0x48a0a2, "resoultCode", _0x44aa12);
_0x22cc7a == 0 ? (_0x2d6db1 = _0x48a0a2?.["ngis".split("").reverse().join("")], this.sign = _0x2d6db1, this.got = this.got.extend({
"headers": {
"sign": this.sign
}
})) : this.log("[败失ngis取获".split("").reverse().join("") + _0x22cc7a + "]: " + _0x48a0a2);
} catch (_0x15ece2) {
console.log(_0x15ece2);
} finally {
return _0x2d6db1;
}
}
async ["get_rsValue"](_0x293dc9 = {}) {
{
let _0x1bf8ad,
_0x494487 = false;
_0x1bf8ad = "dginpe".split("").reverse().join("");
try {
const _0xc2eba5 = {
"fn": "login",
"method": "get",
"url": _0x293dc9
};
let {
"result": _0x10ffd4,
"statusCode": _0x58dbfc,
"headers": _0x45a4fc
} = await this.request(_0xc2eba5);
const {
"contentCODE": _0x32104d,
"tsCODE": _0x204130,
"srcAttribute": _0x34e10d,
"tsID": _0x48a003
} = _0x1a907b.get(_0x10ffd4, "resoultCode", _0x58dbfc);
var _0x5711e3 = 14;
const _0x4a2e01 = {
"fn": "getrs",
"method": "get",
"url": "https://wappark.189.cn" + _0x34e10d
};
_0x5711e3 = 8;
let {
"result": _0x117052,
"statusCode": _0x316dce
} = await this.request(_0x4a2e01);
var _0x7c56cc = 3;
let _0x13bf8e = "";
_0x7c56cc = 0;
if (_0x45a4fc && _0x45a4fc["set-cookie"]) {
const _0x5e227b = _0x45a4fc["set-cookie"];
Array.isArray(_0x5e227b) && (_0x13bf8e = _0x5e227b.map(_0x13a5c4 => _0x13a5c4.split(";")[0]).join("; "));
}
this.get_rscode(_0x32104d, _0x204130, _0x117052, _0x48a003);
this.rsCkk = _0x13bf8e;
} catch (_0x127d3f) {
console.log(_0x127d3f);
} finally {
return _0x494487;
}
}
}
async ["get_rs"](_0x95f64d = {}) {
ck = await rs();
console.log(ck);
}
["encrypt_para"](_0x52a9fe) {
let _0x5c49d9 = typeof _0x52a9fe == "gnirts".split("").reverse().join("") ? _0x52a9fe : JSON.stringify(_0x52a9fe);
return _0x40e903.encrypt(_0x5c49d9, "xeh".split("").reverse().join(""));
}
async ["userCoinInfo"](_0x24b368 = false, _0x3ed9c1 = {}) {
var _0x5458f0 = 2;
let _0x2f5510 = this.rsCkk;
_0x5458f0 = 2;
var _0x171c9f = 8;
let _0x3eafc4 = this.getrsCk;
_0x171c9f = 2;
_0x3eafc4 = this.rsFun().getck();
_0x2f5510 = await this.parseCookies(_0x3eafc4, _0x2f5510);
try {
{
const _0xf92b01 = {
"phone": this.name
};
let _0x981fd5 = {
"ckvalue": _0x2f5510,
"fn": "userCoinInfo",
"method": "post",
"url": "https://wappark.189.cn/jt-sign/api/home/userCoinInfo",
"json": {
"para": this.encrypt_para(_0xf92b01)
}
},
{
"result": _0x1ee9d7,
"statusCode": _0x405522
} = await this.request(_0x981fd5),
_0x590219 = _0x1a907b.get(_0x1ee9d7, "edoCtluoser".split("").reverse().join(""), _0x405522);
if (_0x590219 == 0) {
this.coin = _0x1ee9d7?.["totalCoin"] || 0;
if (_0x24b368) {
{
const _0x3adef5 = {
"notify": true
};
this.log("金豆余额: " + this.coin, _0x3adef5);
if (_0x1ee9d7.amountEx) {
{
let _0x3bf5ea = _0x1a907b.time("yyyy-MM-dd", _0x1ee9d7.expireDate);
const _0x441a4c = {
"notify": true
};
_0x1a907b.log("-- [" + _0x3bf5ea + "期过将]".split("").reverse().join("") + _0x1ee9d7.amountEx + "金豆", _0x441a4c);
}
}
}
}
} else {
let _0x1ad282 = _0x1ee9d7?.["msg"] || _0x1ee9d7?.["gsMtluoser".split("").reverse().join("")] || _0x1ee9d7?.["error"] || "";
this.log("查询账户金豆余额错误[" + _0x590219 + "]: " + _0x1ad282);
}
}
} catch (_0xcf41e0) {
console.log(_0xcf41e0);
}
}
async ["userStatusInfo"](_0x5dea2e = {}) {
{
var _0x38b7d4 = 7;
let _0x5b8aeb = this.rsCkk;
_0x38b7d4 = 7;
let _0x43091c = this.getrsCk;
_0x43091c = this.rsFun().getck();
_0x5b8aeb = await this.parseCookies(_0x43091c, _0x5b8aeb);
try {
const _0x31d8c6 = {
"phone": this.name
};
let _0x360cee = {
"ckvalue": _0x5b8aeb,
"fn": "userStatusInfo",
"method": "post",
"url": "https://wappark.189.cn/jt-sign/api/home/userStatusInfo",
"json": {
"para": this.encrypt_para(_0x31d8c6)
}
};
{
let {
"result": _0x29b4d0,
"statusCode": _0x593323
} = await this.request(_0x1a907b.copy(_0x360cee)),
_0x1d75ff = _0x1a907b.get(_0x29b4d0, "resoultCode", _0x593323);
if (_0x1d75ff == 0) {
let {
"isSign": _0x79ff71
} = _0x29b4d0?.["data"];
_0x79ff71 ? this.log("到签已天今".split("").reverse().join("")) : await this.doSign();
} else {
{
let _0x354719 = _0x29b4d0?.["msg"] || _0x29b4d0?.["resoultMsg"] || _0x29b4d0?.["rorre".split("").reverse().join("")] || "";
this.log("查询账户签到状态错误[" + _0x1d75ff + "]: " + _0x354719);
}
}
}
{
{
let {
"result": _0xa88b12,
"statusCode": _0x4030ee
} = await this.request(_0x1a907b.copy(_0x360cee)),
_0x5beae4 = _0x1a907b.get(_0xa88b12, "edoCtluoser".split("").reverse().join(""), _0x4030ee);
if (_0x5beae4 == 0) {
let {
"continuousDay": _0x2871e0,
"signDay": _0x972416,
"isSeven": _0x1869b5
} = _0xa88b12?.["data"];
this.log("到签已".split("").reverse().join("") + _0x972416 + "天, 连签" + _0x2871e0 + "天");
_0x1869b5 && (await this.exchangePrize());
} else {
let _0x113594 = _0xa88b12?.["msg"] || _0xa88b12?.["resoultMsg"] || _0xa88b12?.["error"] || "";
this.log("查询账户签到状态错误[" + _0x5beae4 + " :]".split("").reverse().join("") + _0x113594);
}
}
}
} catch (_0x5a3227) {
console.log(_0x5a3227);
}
}
}
async ["continueSignDays"](_0x420f05 = {}) {
{
let _0x4b17f = this.rsCkk,
_0x254853 = this.getrsCk;
_0x254853 = this.rsFun().getck();
_0x4b17f = await this.parseCookies(_0x254853, _0x4b17f);
try {
const _0x219e1a = {
"phone": this.name
};
let _0x250b6a = {
"ckvalue": _0x4b17f,
"fn": "continueSignDays",
"method": "post",
"url": "https://wappark.189.cn/jt-sign/webSign/continueSignDays",
"json": {
"para": this.encrypt_para(_0x219e1a)
}
},
{
"result": _0x2141a4,
"statusCode": _0x56a2fc
} = await this.request(_0x250b6a),
_0x5bfa03 = _0x1a907b.get(_0x2141a4, "resoultCode", _0x56a2fc);
if (_0x5bfa03 == 0) {
{
this.log("抽奖连签天数: " + (_0x2141a4?.["continueSignDays"] || 0) + "天");
if (_0x2141a4?.["continueSignDays"] == 15) {
const _0x119e49 = {
"type": "15"
};
await this.exchangePrize(_0x119e49);
} else {
if (_0x2141a4?.["continueSignDays"] == 28) {
const _0x27728a = {
"type": "28"
};
await this.exchangePrize(_0x27728a);
}
}
}
} else {
{
let _0x581494 = _0x2141a4?.["msg"] || _0x2141a4?.["resoultMsg"] || _0x2141a4?.["rorre".split("").reverse().join("")] || "";
this.log("[误错数天签连奖抽询查".split("").reverse().join("") + _0x5bfa03 + "]: " + _0x581494);
}
}
} catch (_0x5473b9) {
console.log(_0x5473b9);
}
}
}
async ["continueSignRecords"](_0x56e506 = {}) {
{
let _0x10265a,
_0x3c00be = this.rsCkk;
_0x10265a = 5;
let _0x334d0c = this.getrsCk;
_0x334d0c = this.rsFun().getck();
_0x3c00be = await this.parseCookies(_0x334d0c, _0x3c00be);
try {
{
const _0x5df56a = {
"phone": this.name
};
let _0x43cd99 = {
"ckvalue": _0x3c00be,
"fn": "continueSignRecords",
"method": "post",
"url": "https://wappark.189.cn/jt-sign/webSign/continueSignRecords",
"json": {
"para": this.encrypt_para(_0x5df56a)
}
},
{
"result": _0x359bd8,
"statusCode": _0xe30af6
} = await this.request(_0x43cd99),
_0x25608a = _0x1a907b.get(_0x359bd8, "edoCtluoser".split("").reverse().join(""), _0xe30af6);
if (_0x25608a == 0) {
if (_0x359bd8?.["tsiL51eunitnoc".split("").reverse().join("")]?.["htgnel".split("").reverse().join("")]) {
const _0x3bf060 = {
"type": "15"
};
await this.exchangePrize(_0x3bf060);
}
if (_0x359bd8?.["continue28List"]?.["htgnel".split("").reverse().join("")]) {
const _0x29bedf = {
"type": "28"
};
await this.exchangePrize(_0x29bedf);
}
} else {
{
let _0x534645 = _0x359bd8?.["msg"] || _0x359bd8?.["gsMtluoser".split("").reverse().join("")] || _0x359bd8?.["error"] || "";
this.log("查询连签抽奖状态错误[" + _0x25608a + "]: " + _0x534645);
}
}
}
} catch (_0x10aad9) {
console.log(_0x10aad9);
}
}
}
async ["doSign"](_0x4825b4 = {}) {
let _0x31122f = this.rsCkk;
var _0x2c67f2 = 8;
let _0x4217db = this.getrsCk;
_0x2c67f2 = 1;
_0x4217db = this.rsFun().getck();
_0x31122f = await this.parseCookies(_0x4217db, _0x31122f);
try {
let _0x218f39 = {
"phone": this.name,
"date": Date.now(),
"sysType": "20002"
},
_0x4662df = {
"ckvalue": _0x31122f,
"fn": "doSign",
"method": "post",
"url": "https://wappark.189.cn/jt-sign/webSign/sign",
"json": {
"encode": this.encode_aes(JSON.stringify(_0x218f39))
}
},
{
"result": _0x55f042,
"statusCode": _0x4e5989
} = await this.request(_0x4662df),
_0x104d49 = _0x1a907b.get(_0x55f042, "edoCtluoser".split("").reverse().join(""), _0x4e5989);
if (_0x104d49 == 0) {
{
let _0xc95937 = _0x1a907b.get(_0x55f042?.["atad".split("").reverse().join("")], "code", -1);
if (_0xc95937 == 1) {
{
const _0x1d08e3 = {
"notify": true
};
this.log("签到成功,获得" + (_0x55f042?.["data"]?.["coin"] || 0) + "豆金".split("").reverse().join(""), _0x1d08e3);
await this.userStatusInfo();
}
} else {
{
const _0x14ef4a = {
"notify": true
};
this.log("[败失到签".split("").reverse().join("") + _0xc95937 + "]: " + _0x55f042.data.msg, _0x14ef4a);
}
}
}
} else {
let _0x541039 = _0x55f042?.["msg"] || _0x55f042?.["gsMtluoser".split("").reverse().join("")] || _0x55f042?.["error"] || "";
this.log("[误错到签".split("").reverse().join("") + _0x104d49 + "]: " + _0x541039);
}
} catch (_0x1d9780) {
console.log(_0x1d9780);
}
}
async ["exchangePrize"](_0x51d651 = {}) {
let _0x400dc7,
_0x10e174 = this.rsCkk;
_0x400dc7 = 11;
let _0x315800 = this.getrsCk;
_0x315800 = this.rsFun().getck();
_0x10e174 = await this.parseCookies(_0x315800, _0x10e174);
try {
let _0x5571bc = _0x1a907b.pop(_0x51d651, "epyt".split("").reverse().join(""), "7");
const _0x1f9f9e = {
"phone": this.name,
"type": _0x5571bc
};
let _0x77c0eb = {
"ckvalue": _0x10e174,
"fn": "exchangePrize",
"method": "post",
"url": "https://wappark.189.cn/jt-sign/webSign/exchangePrize",
"json": {
"para": this.encrypt_para(_0x1f9f9e)
}
},
{
"result": _0xccdcfb,
"statusCode": _0x2c0e72
} = await this.request(_0x77c0eb),
_0x220066 = _0x1a907b.get(_0xccdcfb, "resoultCode", _0x2c0e72);
if (_0x220066 == 0) {
{
let _0x1a8342 = _0x1a907b.get(_0xccdcfb?.["liateDezirp".split("").reverse().join("")], "edoc".split("").reverse().join(""), -1);
if (_0x1a8342 == 0) {
{
const _0x30dfec = {
"notify": true
};
this.log("连签" + _0x5571bc + "天抽奖: " + _0xccdcfb?.["prizeDetail"]?.["biz"]?.["eltiTniw".split("").reverse().join("")], _0x30dfec);
}
} else {
let _0x32bcbc = _0xccdcfb?.["liateDezirp".split("").reverse().join("")]?.["rre".split("").reverse().join("")] || "";
const _0x3544f2 = {
"notify": true
};
this.log("连签" + _0x5571bc + "天抽奖失败[" + _0x1a8342 + "]: " + _0x32bcbc, _0x3544f2);
}
}
} else {
{
let _0x474fe0 = _0xccdcfb?.["gsm".split("").reverse().join("")] || _0xccdcfb?.["resoultMsg"] || _0xccdcfb?.["error"] || "";
this.log("连签" + _0x5571bc + "[误错奖抽天".split("").reverse().join("") + _0x220066 + " :]".split("").reverse().join("") + _0x474fe0);
}
}
} catch (_0x220e9d) {
console.log(_0x220e9d);
}
}
async ["homepage"](_0x12d2b5, _0x5240fc = {}) {
var _0x2f987c = 14;
let _0xe6f98c = this.rsCkk;
_0x2f987c = "lidkch".split("").reverse().join("");
var _0xb98d87 = 9;
let _0xbd2bb4 = this.getrsCk;
_0xb98d87 = "hiamhj";
_0xbd2bb4 = this.rsFun().getck();
_0xe6f98c = await this.parseCookies(_0xbd2bb4, _0xe6f98c);
try {
const _0x389651 = {
"phone": this.name,
"shopId": "20001",
"type": _0x12d2b5
};
let _0x3c9174 = {
"ckvalue": _0xe6f98c,
"fn": "homepage",
"method": "post",
"url": "https://wappark.189.cn/jt-sign/webSign/homepage",
"json": {
"para": this.encrypt_para(_0x389651)
}
},
{
"result": _0x49f4fc,
"statusCode": _0x116999
} = await this.request(_0x3c9174),
_0x107703 = _0x1a907b.get(_0x49f4fc, "resoultCode", _0x116999);
if (_0x107703 == 0) {
let _0xe52288 = _0x1a907b.get(_0x49f4fc?.["atad".split("").reverse().join("")]?.["daeh".split("").reverse().join("")], "code", -1);
if (_0xe52288 == 0) for (let _0x16bb06 of _0x49f4fc?.["atad".split("").reverse().join("")]?.["zib".split("").reverse().join("")]?.["adItems"] || []) {
if (["0", "1"].includes(_0x16bb06?.["taskState"])) {
switch (_0x16bb06.contentOne) {
case "3":
{
{
_0x16bb06?.["dIdrawer".split("").reverse().join("")] && (await this.receiveReward(_0x16bb06));
break;
}
}
case "5":
{
await this.openMsg(_0x16bb06);
break;
}
case "6":
{
await this.sharingGetGold();
break;
}
case "10":
case "31".split("").reverse().join(""):
{
!this.xtoken && (await this.get_usercode());
this.xtoken && (await this.watchLiveInit());
break;
}