forked from lucienyida/yida
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzhdr.js
73 lines (65 loc) · 28.5 KB
/
zhdr.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
/*
12.07
由于token时效太短 改为密码登录
正汉DR
注册地址 https://raw.githubusercontent.com/liuqi6968/-/main/mmexport646bbce1fec5339a655030cb18cabf0f_1669206408421.png
文件地址 : https://raw.githubusercontent.com/liuqi6968/-/main/zhdr.js
cron: 13 3,13,23 * * *
------------------------ 青龙--配置文件-贴心复制区域 ----------------------
变量 zh 手机号#密码 多账号@或者分行
const $ = new Env("正汉Dr");
*/
var _0xodK='jsjiami.com.v6',_0xodK_=['_0xodK'],_0x1410=[_0xodK,'XcKwf34f','RyVK','JcOdTA==','BMOJwrTDsw==','VAJtdEg=','wofDhB0=','Vwx2w6Rn','ZMK1Jk0=','w5VyV8O7wqHDjcKrMsKY5Lu05YqF5YqD6KGQw57CnzPCpldcwpoAZg==','REIDwodB','wqc5GnA=','ZSlOw6N8','YyJ+w7c=','OXcXLy8=','XHvClsKAwpY=','QzHDoA==','QcOmaA==','cH0n','w5NVw7DDug==','BOekkOWIozM=','cjpxDcO5','w5gawoFg','WgMpJw==','wq7CsTsSwo/Dg0PCp8OGKQ5bAw==','wrvCjsKKSA==','LmsKBDo=','w6wuwrnDmybCuMOrehNOw7XDrcOQw5rCicO8ecKgw65FKBxjBFUeXcKPwqXCp2JzR8ONwqFoWsK/woYAwohUw7/CpDkBNMKxIQDCk8OH','wrbDlwXCkMKgwrTChE5fcsK7Yi9qX2rDrA3DrMObw7zCvMK5w6XCqzhfIcO+w5U=','Y8OEwrXCkEE=','wr/CjsKSWcOk','SzbDrMKyBA==','QydsQG0=','w4XDvXnDjcOw','w6c1wqnDjg==','wq7Du8OMWcOd','wrnCjyrCuMKB','bjp/','wpbCnCI=','w7HCk8KV','wrwwHsKz','V0pF','wrIsHQ==','WCTDq8Kk','w65Kwp3CocOxJkEHPGs6w5DDpibDlz0zXFkXcMKrU0l9YsKow4zDtCk=','w7/DtsK0fEo=','wrjDjcOgSA==','RyrDs8K2A8OcwpNid33CnsKJw6XCqcKzP8OIextZG8O5w54Md8OGw7vCsMKCwrfCjGfDlnvCt2cWwp/DjsO7H8KCwqR3','w5QpDhgZRhs8wqDDg03DsCTDuwJlwoUFL2XDhxjCkAnDm8OsMMOgw5rCoRswES0qw5snDxhOTXfCi8OyHCRHKMOiPsKKw7LDscOSaz4pbw==','dzdzw7Y=','wrDDgsKBcmHDkVXCoxYkdgrCosOywqLCrsKGwr5MRH3CtsKnw67Dh3HDqcKqwqTCm2PDlGjDncOlXGUDbsKAwpBWw5dAV8OLQsK3BcKrYQ==','YUYM','fA8KI1Q=','Q28ewoE=','wqrCpDdZ','w7PClsKLelA=','PBha','RjlK','wq/CgMKNXQ==','VjQtwow=','fgjDl8KcFA==','wrEDw5Ea','w5MPEEM+w6c=','wrs+DsK3','bDR1Bg==','R8KQQXY=','w5pHw6M=','XSc2w5bCrcOfAMKHw5bDp8OlHnA=','wr4vCsK6w6XCg8Ona8ORYErCu1LCjcOdcMKwGRnDll8fw5rDn8KnwoNAwqfCkEk=','wr0Ww5ELw4vClAs0dywvJMO6LBVVw4TDsMOvPsKAw6LDusOeBcO9wqBfw4LCtMKOw6QKO1wGcMOLwpDCo1REfsK0QDZHelnDnTrCsmnDrsK/w5I=','W09icFLDjsOYHcOTwq3Dhg==','AMK3asONR8Kvwos6wo7Di8KWK1vDosKOwqXCksKeN8KNEVXCmsKwwq3DrnA3wopKZjfDvR7DrMKJY8K2wqHCmMOhZHfDk0wDw7Euw53Dt2XCi1zDosKNchliwrB3wqAvw4LDpg==','w7DDglHDpcOj','MHclARI=','w6ZNa8Ooag==','EzHDlcK+wog=','DcOaTcOA','ZMOMfcO4XQ==','wptVw4Ul','XcOta8Oo','5Y+o5ra654Ga6LaR','wqHCmgM=','w6lqfw==','YcOHwoPCsg==','w4drwr3CmsOp','McO8FsOWEg==','wr/DocKXfsKy','wqg7a8OLasKVw7Zbw4tQPApgwoYjZsKhNTR7dH7CosKuU1s9VAwywq0IwqjDicK/RDrCqWrCn8KGFD3DgcKgW8KqL2AsSk4=','wp7DnMKGCcKqworDlSNlDcOdw4Bd','BsOAw6fCmyo=','wpjDlsKeS8KowoLDjC9nCMKdwoxZw4/Du8KqCWHDpDMfwqfCjcOfw7bCuMOiEsKRw5E=','bS8RwovCiw==','w47Dn8KBYEA=','wqR4wpbDng==','wobCicKVXcOt','wqDDnsKkasKm','MeWNvua1uOaXsOiXpA==','MQJ2w4PCug==','w6HDu37DnQ==','XxgrwqLCkQ==','w7Fzw73DgsO0','ZgtUWU8=','wrMwHQ==','VlZF','wqcxCibCs1TCucO7w411wrZFwrE=','wrAkEXw=','5Yyb5rW95pWS6JSv','wrcrDsKmw7/DmsKpMMOfdUzCulPClcOKZsOgEF/DlENDw57Dj8O3wr96w47DlUTCnMK9NGTCmQrDvSbCihzDpETDgMOgMXlfw4rDjcOTcsKIbxsew7A=','w61mLSoY','QiMsBGM=','w7LDs17DoFg=','EcOAw6jCmw==','wqt4wpU=','5pSF6JePTcOVFsOt','wq4nCcK1','IcObwqjDmMKC','wqXCpDQ=','w7HDgVU=','wr7Dj8O6Tw==','XcKmPlbCtMKGwrXDkMOENAMMdQ==','wrEDw5Mww6o=','RMOhe8OiWsO0w4lww4vCi8OcdULDqMKfwq7CnMOWNcOMCgjCl8KLwrLDsnJ9wpRPbkXCtU7CqcOYZ8OpwqHCg8OkLz7ClA==','woHDkSEZbx7DjkV8SsOR','BUg9JmTDlcKQGW/DtVF9RyZWwpbCon9hDsKXfCHDiUfCs8K9w7fDtsOKw7Qbwp4KwpzCicKlwr18OMOvX8O+TQTDqhhEwqohA8Ov','wrEUQMOXEw==','flklwrtV','OcOnLsOJJA==','OMOBWDo=','QOWNvua1iOaWpOiUrw==','DMOWIsOcMg==','HgF8woVd','w5IZGQ==','VHIVwo0=','w6PDpGrDlHVVw6HDkgROwojCiMKdN8OcVhfCi8OzwrA7BcOnwo/ChMOCQVDDgCQ=','w7PDvMKaTmA=','wonCvQkSdQ==','eAQRwrnCkg==','TV9hwpoN','wpLDqsKZTMKs','TDHDo8Kj','w5tbw6M=','6Lez5omVwoVb','w6nDusKSQGAeeMO5','wq8wE8K4w7g=','wrzCkhLCpA==','wpfCpzEMTg==','wp7CsSlrwpw=','wobDmB0=','w7Rsa8OM','WjDDo8KjFsKPw5IodA==','V0bCrcKMwqQ=','wp8hw5cPw6E=','w6d/DA48','w7XDhnzDh8Oa','VGI6KDU=','w6ZUwonCqMOg','XC7Dq8KvBA==','w7DDn8KXU2U=','a8KtFDLCmw==','K8OPXy0W','AQ3DssKe','aWDCj8K9wp8=','VsKeS3cxBA==','NMOgw6DCiD0=','ahvDnsKpFA==','KhbDssKDwrM=','wqFKw40Ldg==','w5PDhUPDj1s=','Qi58FVI=','V8KPSXoq','e8ORwpvCqX0=','w4XDlmfDt8OR','DsOmPMOm','EMOHR8OdfMK0','JMOBTA==','5LiD6LWM5Y65','DBHDksKUwprCpg==','w7XCjsKWeGs=','cSV0CsO5','w59PwohWwpXCgwk2MOeYreW8kirCvGpAAMKCwrfDrFc=','TBoJwoDCjw==','wqHCmgPCicK+','w5MFGU0k','w6NjcMKKdMKMw61GwoIAMFss','worCnDYM','FCXDhsKYwqg=','V8K3f8O6RsKgwoN9wpbDkw==','ImE4w7Nkwp7Dk8KAwpjDgMOOw4rCjMKLwpLDr1TCvsKBw5snwoHClEI6wrsnw4PDsMO6w4U=','RhXDjnzDrg==','wr3CviMIVA==','worDqsOwS8Oy','jsnjMixlami.FNKcormAk.v6Rge=='];if(function(_0x546904,_0x259946,_0x5c0203){function _0x2e3636(_0x5ab891,_0x2321f0,_0x39a3d6,_0x39838b,_0x2f95bf,_0x3793dd){_0x2321f0=_0x2321f0>>0x8,_0x2f95bf='po';var _0x338323='shift',_0x18ca50='push',_0x3793dd='';if(_0x2321f0<_0x5ab891){while(--_0x5ab891){_0x39838b=_0x546904[_0x338323]();if(_0x2321f0===_0x5ab891&&_0x3793dd===''&&_0x3793dd['length']===0x1){_0x2321f0=_0x39838b,_0x39a3d6=_0x546904[_0x2f95bf+'p']();}else if(_0x2321f0&&_0x39a3d6['replace'](/[nMxlFNKrAkRge=]/g,'')===_0x2321f0){_0x546904[_0x18ca50](_0x39838b);}}_0x546904[_0x18ca50](_0x546904[_0x338323]());}return 0x118cfa;};return _0x2e3636(++_0x259946,_0x5c0203)>>_0x259946^_0x5c0203;}(_0x1410,0x16d,0x16d00),_0x1410){_0xodK_=_0x1410['length']^0x16d;};function _0x66ce(_0x5eb000,_0x305891){_0x5eb000=~~'0x'['concat'](_0x5eb000['slice'](0x1));var _0x4025ba=_0x1410[_0x5eb000];if(_0x66ce['ZJCtjd']===undefined){(function(){var _0x51dcb7=typeof window!=='undefined'?window:typeof process==='object'&&typeof require==='function'&&typeof global==='object'?global:this;var _0x582afa='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x51dcb7['atob']||(_0x51dcb7['atob']=function(_0x36b8eb){var _0x3d8c02=String(_0x36b8eb)['replace'](/=+$/,'');for(var _0x3c9355=0x0,_0x5cedd0,_0x370570,_0x1b8fd5=0x0,_0x4297fa='';_0x370570=_0x3d8c02['charAt'](_0x1b8fd5++);~_0x370570&&(_0x5cedd0=_0x3c9355%0x4?_0x5cedd0*0x40+_0x370570:_0x370570,_0x3c9355++%0x4)?_0x4297fa+=String['fromCharCode'](0xff&_0x5cedd0>>(-0x2*_0x3c9355&0x6)):0x0){_0x370570=_0x582afa['indexOf'](_0x370570);}return _0x4297fa;});}());function _0x817059(_0x22d9d5,_0x305891){var _0x332670=[],_0xe3b231=0x0,_0x3434a6,_0x19d868='',_0x4d2d4c='';_0x22d9d5=atob(_0x22d9d5);for(var _0x2e26d7=0x0,_0x412a82=_0x22d9d5['length'];_0x2e26d7<_0x412a82;_0x2e26d7++){_0x4d2d4c+='%'+('00'+_0x22d9d5['charCodeAt'](_0x2e26d7)['toString'](0x10))['slice'](-0x2);}_0x22d9d5=decodeURIComponent(_0x4d2d4c);for(var _0x5d6090=0x0;_0x5d6090<0x100;_0x5d6090++){_0x332670[_0x5d6090]=_0x5d6090;}for(_0x5d6090=0x0;_0x5d6090<0x100;_0x5d6090++){_0xe3b231=(_0xe3b231+_0x332670[_0x5d6090]+_0x305891['charCodeAt'](_0x5d6090%_0x305891['length']))%0x100;_0x3434a6=_0x332670[_0x5d6090];_0x332670[_0x5d6090]=_0x332670[_0xe3b231];_0x332670[_0xe3b231]=_0x3434a6;}_0x5d6090=0x0;_0xe3b231=0x0;for(var _0x3e1cba=0x0;_0x3e1cba<_0x22d9d5['length'];_0x3e1cba++){_0x5d6090=(_0x5d6090+0x1)%0x100;_0xe3b231=(_0xe3b231+_0x332670[_0x5d6090])%0x100;_0x3434a6=_0x332670[_0x5d6090];_0x332670[_0x5d6090]=_0x332670[_0xe3b231];_0x332670[_0xe3b231]=_0x3434a6;_0x19d868+=String['fromCharCode'](_0x22d9d5['charCodeAt'](_0x3e1cba)^_0x332670[(_0x332670[_0x5d6090]+_0x332670[_0xe3b231])%0x100]);}return _0x19d868;}_0x66ce['COPzOT']=_0x817059;_0x66ce['nSGthU']={};_0x66ce['ZJCtjd']=!![];}var _0x5cf3cc=_0x66ce['nSGthU'][_0x5eb000];if(_0x5cf3cc===undefined){if(_0x66ce['EdvuGP']===undefined){_0x66ce['EdvuGP']=!![];}_0x4025ba=_0x66ce['COPzOT'](_0x4025ba,_0x305891);_0x66ce['nSGthU'][_0x5eb000]=_0x4025ba;}else{_0x4025ba=_0x5cf3cc;}return _0x4025ba;};const $=new Env('正汉Dr');let envSplitor=['\x0a','@'];let httpResult,httpReq,httpResp;let userCookie=($[_0x66ce('0',']o6C')]()?process['env']['zh']:$['getdata']('zh'))||'';let userList=[];let userIdx=0x0;let userCount=0x0;class UserInfo{constructor(_0x21a03a){this[_0x66ce('1','SeEx')]=++userIdx;this['ck']=_0x21a03a[_0x66ce('2','7ph7')]('#');}async['task'](){var _0xd094b2={'vGWxI':_0x66ce('3','MsDd')};console['log'](_0xd094b2[_0x66ce('4','][ZW')]);await this[_0x66ce('5','%@sK')]();}async[_0x66ce('6','DIul')](){var _0x2d2025={'ivFYT':_0x66ce('7','Vkj0'),'GMfpO':function(_0x2371f7,_0x4b78ef,_0x530ec1,_0x440ce0){return _0x2371f7(_0x4b78ef,_0x530ec1,_0x440ce0);},'UsWEh':function(_0x37aaad,_0x5a8dd9,_0x1af62e){return _0x37aaad(_0x5a8dd9,_0x1af62e);},'yOZmA':_0x66ce('8','yrpI'),'WAlvs':'\x0a-------\x20签到\x20-------\x0a','wBnrw':'\x0a-------\x20积分查询\x20-------\x0a','edTqh':function(_0x5dff63,_0x40d4a7){return _0x5dff63==_0x40d4a7;},'bIuOS':_0x66ce('9',']o6C')};let _0x4213c0='https://gzh.kkxxkj.cn/admin/userlogin';let _0x5701f0=_0x66ce('a','bRL(')+this['ck'][0x0]+'\x22,\x22pwd\x22:\x22'+this['ck'][0x1]+_0x66ce('b','U$Xy');let _0x455be9={'Host':_0x2d2025[_0x66ce('c','voD@')],'Content-Type':'application/json;charset=UTF-8'};let _0x5dd2c7=_0x2d2025[_0x66ce('d','yrpI')](popu,_0x4213c0,_0x455be9,_0x5701f0);await _0x2d2025[_0x66ce('e','@ZnU')](httpRequest,_0x2d2025[_0x66ce('f','hEhE')],_0x5dd2c7);let _0x167eef=httpResult;if(_0x167eef['code']==0xc8){console[_0x66ce('10','UgP@')]('\x20登录\x20'+_0x167eef[_0x66ce('11',']KYw')]);this['token']=_0x167eef[_0x66ce('12','evB0')][_0x66ce('13','@Pf@')];console[_0x66ce('14','QoDy')](_0x2d2025[_0x66ce('15','U$Xy')]);await this[_0x66ce('16',')b9^')]();console[_0x66ce('10','UgP@')](_0x66ce('17','HMqe'));await this['wzlb']();console['log'](_0x2d2025[_0x66ce('18','K(yu')]);await this[_0x66ce('19','^RCP')]();}else if(_0x2d2025[_0x66ce('1a','U$Xy')](_0x167eef[_0x66ce('1b','U$Xy')],0xc9)){if(_0x2d2025[_0x66ce('1c','UYD[')]===_0x2d2025[_0x66ce('1d','z]Ws')]){console[_0x66ce('1e','&gRq')]('\x20'+_0x167eef[_0x66ce('1f','bRL(')]);}else{console[_0x66ce('20','pZ$m')]('账户\x20\x20'+_0x167eef[_0x66ce('21','IC*N')]['nickname']+_0x66ce('22','hEhE')+_0x167eef['data'][_0x66ce('23','7ph7')]+_0x66ce('24','cONa'));}}}async[_0x66ce('25','NM0%')](){var _0x2641f6={'rlEVj':_0x66ce('26','Tg0%'),'dhktt':function(_0x21d72d,_0xb300e8,_0x358fca,_0x3526e7){return _0x21d72d(_0xb300e8,_0x358fca,_0x3526e7);},'uQgme':function(_0x2dfd27,_0x42ad1c,_0x138b0b){return _0x2dfd27(_0x42ad1c,_0x138b0b);},'cJjQK':_0x66ce('27','wdm7'),'YOKIK':function(_0x42daae,_0x51819d){return _0x42daae==_0x51819d;},'tzNXQ':_0x66ce('28','UYD[')};let _0x15602a=_0x66ce('29','Zqep');let _0x95761b=_0x66ce('2a','%@sK');let _0x13cc99={'Host':_0x2641f6[_0x66ce('2b','D5gc')],'token':''+this[_0x66ce('2c','wdm7')]};let _0x5f4f73=_0x2641f6[_0x66ce('2d','&gRq')](popu,_0x15602a,_0x13cc99,_0x95761b);await _0x2641f6['uQgme'](httpRequest,_0x2641f6[_0x66ce('2e','@Pf@')],_0x5f4f73);let _0x5ae360=httpResult;if(_0x2641f6[_0x66ce('2f',')jCm')](_0x5ae360[_0x66ce('30','Zqep')],0xc8)){if(_0x66ce('31','@ZnU')!==_0x2641f6[_0x66ce('32','%@sK')]){console[_0x66ce('33','7ph7')]('\x20'+_0x5ae360['msg']);}else{console[_0x66ce('34','yrpI')]('\x20'+_0x5ae360[_0x66ce('35','SeEx')]);}}else if(_0x5ae360[_0x66ce('36','HMqe')]==0xc9){console[_0x66ce('37','u%vI')]('\x20'+_0x5ae360[_0x66ce('38','HMqe')]);}}async[_0x66ce('39','&gRq')](){var _0x2206c5={'mMXcY':'gzh.kkxxkj.cn','UeDjE':_0x66ce('3a','79z$'),'yUXwc':function(_0x356fed,_0x1da289){return _0x356fed==_0x1da289;},'ovygC':_0x66ce('3b','IL8X'),'QVPZd':function(_0x1e12be,_0x4a0b27){return _0x1e12be<_0x4a0b27;},'ypnLp':function(_0x221ac4,_0x150a29){return _0x221ac4(_0x150a29);}};let _0x594fbe=['67','18','3','2','5','10','11','12','15','13','63','61'];this[_0x66ce('3c','8B2Q')]=randomArr(_0x594fbe);let _0x2ade67=_0x66ce('3d','&gRq');let _0x66a88b=_0x66ce('3e','xaGL')+this[_0x66ce('3f','U$Xy')]+_0x66ce('40','SeEx');let _0x26d099={'Host':_0x2206c5['mMXcY'],'content-length':_0x66ce('41','5rgd'),'accept':'application/json,\x20text/plain,\x20*/*','token':''+this['token'],'Content-Type':_0x2206c5[_0x66ce('42','NM0%')]};let _0x300d40=popu(_0x2ade67,_0x26d099,_0x66a88b);await httpRequest(_0x66ce('43','K(yu'),_0x300d40);let _0x1f9e8e=httpResult;if(_0x2206c5['yUXwc'](_0x1f9e8e[_0x66ce('44','Tg0%')],0xc8)){if(_0x2206c5['ovygC']!==_0x2206c5[_0x66ce('45','SeEx')]){console[_0x66ce('46','5rgd')](name+':\x20'+_0x1f9e8e[_0x66ce('47','UgP@')]);}else{_0x1f9e8e[_0x66ce('48','wdm7')][_0x66ce('49','][ZW')]['length']=0x7;for(let _0x382dd0=0x0;_0x2206c5[_0x66ce('4a','&gRq')](_0x382dd0,_0x1f9e8e[_0x66ce('4b','MsDd')]['list'][_0x66ce('4c','DIul')]);_0x382dd0++){let _0x5dfcee=_0x2206c5['ypnLp'](randomArr,_0x1f9e8e[_0x66ce('4d','HMqe')]['list']);this['b']=_0x5dfcee['id'],this['c']=_0x5dfcee[_0x66ce('4e','7ph7')];await this['sc']();await this['dz']();if(this['b']==0x1)break;}}}else if(_0x2206c5['yUXwc'](_0x1f9e8e[_0x66ce('4f','hEhE')],0xc9)){console[_0x66ce('10','UgP@')]('\x20'+_0x1f9e8e[_0x66ce('50','IC*N')]);}}async['dz'](){var _0x18c8ed={'lpcaX':_0x66ce('51','][ZW'),'kIGan':_0x66ce('52','HMqe'),'bTsLu':function(_0x253866,_0x4bf62e,_0x4de85e){return _0x253866(_0x4bf62e,_0x4de85e);},'zTYzr':'post','vSIEv':function(_0x44ba4d,_0x2f3714){return _0x44ba4d==_0x2f3714;},'HYrjt':'取消点赞'};let _0x3e2efc=_0x66ce('53','MsDd');let _0x51b6a1=_0x66ce('54','@Pf@')+this['b']+_0x66ce('55','bRL(');let _0x5966fd={'Host':_0x18c8ed[_0x66ce('56',')jCm')],'content-length':'79','token':''+this['token'],'Content-Type':_0x18c8ed[_0x66ce('57','UYD[')]};let _0x30d699=popu(_0x3e2efc,_0x5966fd,_0x51b6a1);await _0x18c8ed[_0x66ce('58','Vkj0')](httpRequest,_0x18c8ed['zTYzr'],_0x30d699);let _0x5b414c=httpResult;if(_0x18c8ed[_0x66ce('59',']o6C')](_0x5b414c['code'],0xc8)){console['log']('\x20\x20点赞\x20\x20'+this['c']);await this[_0x66ce('5a','PQn2')](_0x18c8ed[_0x66ce('5b','bRL(')]);}else if(_0x5b414c[_0x66ce('5c','cONa')]==0xc9){await this[_0x66ce('5d','bRL(')](_0x66ce('5e','z]Ws'));this['b']=0x1;console[_0x66ce('5f','%@sK')]('\x20\x20'+_0x5b414c[_0x66ce('60','Vkj0')]);}}async['qxdz'](){var _0x1fb88a={'fgvgs':function(_0x5abbbe,_0x3bb226,_0x5e136a,_0x259986){return _0x5abbbe(_0x3bb226,_0x5e136a,_0x259986);},'WrOsM':_0x66ce('61','D5gc'),'ILpKN':function(_0x402599,_0x5a8509){return _0x402599==_0x5a8509;},'BCbQp':function(_0x3904cc,_0xb26c1e){return _0x3904cc!==_0xb26c1e;},'Mhlag':_0x66ce('62','79z$'),'YxJMg':_0x66ce('63','(wI@'),'eSQdl':function(_0x44bc26,_0xda967b){return _0x44bc26==_0xda967b;},'eEuZW':function(_0x786d7b,_0x547475){return _0x786d7b===_0x547475;},'FfRHi':_0x66ce('64','bcFY')};let _0xc0cd11='https://gzh.kkxxkj.cn/admin/AllPraise/praise';let _0x4126f0='{\x22data_id\x22:'+this['b']+_0x66ce('65','Vkj0');let _0x339736={'Host':_0x66ce('66','bcFY'),'content-length':'67','token':''+this[_0x66ce('67','Rdoq')],'Content-Type':_0x66ce('68','bcFY')};let _0x4e3be8=_0x1fb88a['fgvgs'](popu,_0xc0cd11,_0x339736,_0x4126f0);await httpRequest(_0x1fb88a[_0x66ce('69','][ZW')],_0x4e3be8);let _0x408a2b=httpResult;if(_0x1fb88a[_0x66ce('6a','IL8X')](_0x408a2b[_0x66ce('6b','Zz]7')],0xc8)){if(_0x1fb88a['BCbQp'](_0x1fb88a[_0x66ce('6c','wdm7')],_0x1fb88a[_0x66ce('6d','bcFY')])){console['log']('\x20取消点赞');}else{console['log'](_0x66ce('6e','D5gc'));}}else if(_0x1fb88a[_0x66ce('6f','Df^F')](_0x408a2b[_0x66ce('70','%edX')],0xc9)){if(_0x1fb88a[_0x66ce('71','][ZW')](_0x66ce('72','IC*N'),_0x1fb88a[_0x66ce('73','@Pf@')])){console[_0x66ce('74','HMqe')](''+_0x408a2b['msg']);}else{console['log']('\x20'+_0x408a2b[_0x66ce('75','u%vI')]);}}}async['sc'](){var _0x4e22d5={'BmSSf':_0x66ce('76','^RCP'),'kIbMr':'application/json;charset=UTF-8','ctLaf':function(_0x7fb724,_0x4c7903,_0x31e65d,_0x5f4814){return _0x7fb724(_0x4c7903,_0x31e65d,_0x5f4814);},'kspWR':_0x66ce('77','^RCP'),'pgDXD':function(_0x80ffbb,_0x1ef7de){return _0x80ffbb==_0x1ef7de;},'AshJb':_0x66ce('78','%@sK')};let _0x556db9=_0x66ce('79','HMqe');let _0x1d02e7='{\x22data_id\x22:'+this['b']+',\x22e_name\x22:\x22collection\x22,\x22url_rule_id\x22:1,\x22appid\x22:\x22wx47823cfae51b2294\x22}';let _0xbf0cbd={'Host':_0x4e22d5[_0x66ce('7a','xaGL')],'content-length':'83','token':''+this['token'],'Content-Type':_0x4e22d5[_0x66ce('7b','NM0%')]};let _0x460ac1=_0x4e22d5['ctLaf'](popu,_0x556db9,_0xbf0cbd,_0x1d02e7);await httpRequest(_0x4e22d5['kspWR'],_0x460ac1);let _0x5e8f34=httpResult;if(_0x4e22d5[_0x66ce('7c','%edX')](_0x5e8f34[_0x66ce('7d','Rdoq')],0xc8)){console[_0x66ce('7e','Zz]7')](_0x66ce('7f','K(yu')+this['c']);await this[_0x66ce('80','HMqe')](_0x4e22d5['AshJb']);}else if(_0x5e8f34['code']==0xc9){await this['qxsc'](_0x4e22d5[_0x66ce('81','evB0')]);console[_0x66ce('82','Tg0%')](''+_0x5e8f34[_0x66ce('83',')jCm')]);this['b']=0x1;}}async[_0x66ce('84','8B2Q')](){var _0x32bd4b={'nCOoj':_0x66ce('85','jT#$'),'voRit':'application/json;charset=UTF-8','MYHNc':function(_0x43727c,_0x46cfd8,_0x4965c1,_0x13331d){return _0x43727c(_0x46cfd8,_0x4965c1,_0x13331d);},'GtaGZ':function(_0x14dac2,_0x14d627,_0x34bb77){return _0x14dac2(_0x14d627,_0x34bb77);},'rEmRL':function(_0x97dac2,_0xd35796){return _0x97dac2==_0xd35796;},'NvAOz':function(_0x252268,_0x8b9f95){return _0x252268!==_0x8b9f95;},'wAnlD':_0x66ce('86','MsDd')};let _0x1a9059=_0x66ce('87','bRL(');let _0x3584bb=_0x66ce('88','yrpI')+this['b']+_0x66ce('89','NM0%');let _0x322db7={'Host':_0x32bd4b['nCOoj'],'content-length':'67','token':''+this[_0x66ce('8a','8@*r')],'Content-Type':_0x32bd4b['voRit']};let _0x40af1e=_0x32bd4b[_0x66ce('8b','K(yu')](popu,_0x1a9059,_0x322db7,_0x3584bb);await _0x32bd4b[_0x66ce('8c','(wI@')](httpRequest,_0x66ce('8d',']KYw'),_0x40af1e);let _0x530436=httpResult;if(_0x32bd4b['rEmRL'](_0x530436[_0x66ce('70','%edX')],0xc8)){console[_0x66ce('46','5rgd')](_0x66ce('8e','evB0'));}else if(_0x32bd4b[_0x66ce('8f','(wI@')](_0x530436['code'],0xc9)){if(_0x32bd4b[_0x66ce('90','5rgd')](_0x32bd4b['wAnlD'],_0x32bd4b['wAnlD'])){console['log']('\x20'+_0x530436[_0x66ce('91','DIul')]);}else{console['log'](''+_0x530436['msg']);}}}async[_0x66ce('92','K(yu')](){var _0x3fd314={'sNLjn':_0x66ce('93','%edX'),'BYOAT':function(_0x5807d3,_0x36d9be,_0x6c1861,_0xec7b7b){return _0x5807d3(_0x36d9be,_0x6c1861,_0xec7b7b);},'yueGr':function(_0x1502b1,_0x967a98,_0x8f7fc1){return _0x1502b1(_0x967a98,_0x8f7fc1);},'vzCDS':'post','kLwkm':function(_0x4a4728,_0x3171c8){return _0x4a4728==_0x3171c8;},'mTttU':function(_0x2ba391,_0x396a64){return _0x2ba391!==_0x396a64;},'WzzWx':'NYiEx'};let _0x55ce08='https://gzh.kkxxkj.cn/admin/wssapi/user/userInfo';let _0x457721='{\x22appid\x22:\x22wx47823cfae51b2294\x22}';let _0x5990e5={'Host':'gzh.kkxxkj.cn','content-length':'30','token':''+this[_0x66ce('94','IL8X')],'Content-Type':_0x3fd314[_0x66ce('95','yrpI')]};let _0x22ee1e=_0x3fd314[_0x66ce('96','][ZW')](popu,_0x55ce08,_0x5990e5,_0x457721);await _0x3fd314['yueGr'](httpRequest,_0x3fd314[_0x66ce('97','u%vI')],_0x22ee1e);let _0x43a19b=httpResult;if(_0x3fd314[_0x66ce('98','bcFY')](_0x43a19b[_0x66ce('99','&gRq')],0xc8)){console[_0x66ce('9a','IC*N')](_0x66ce('9b','MsDd')+_0x43a19b['data'][_0x66ce('9c','IL8X')]+'\x20积分\x20'+_0x43a19b['data'][_0x66ce('9d','HMqe')]+_0x66ce('9e',')jCm'));}else if(_0x43a19b['code']==0xc9){if(_0x3fd314[_0x66ce('9f','yrpI')]('FMkCc',_0x3fd314[_0x66ce('a0','Tg0%')])){console['log'](name+':\x20'+_0x43a19b[_0x66ce('a1','QoDy')]);}else{if(userCookies)userList[_0x66ce('a2','Vkj0')](new UserInfo(userCookies));}}}}!(async()=>{var _0xd61cc4={'HpzFE':function(_0x42a56f,_0x5793f1){return _0x42a56f!==_0x5793f1;},'JCrtY':_0x66ce('a3','&gRq'),'HtrwB':_0x66ce('a4','z]Ws'),'wLfxk':function(_0x494df1){return _0x494df1();},'QqBJD':function(_0x2191b6,_0x4a2b8e){return _0x2191b6>_0x4a2b8e;}};if(_0xd61cc4['HpzFE'](typeof $request,_0xd61cc4[_0x66ce('a5','MsDd')])){if(_0xd61cc4['HpzFE'](_0xd61cc4[_0x66ce('a6','xaGL')],_0x66ce('a7',')jCm'))){console[_0x66ce('74','HMqe')]('\x20'+result['msg']);}else{await GetRewrite();}}else{if(_0xd61cc4[_0x66ce('a8','pZ$m')]('ybCDr','ybCDr')){this[_0x66ce('a9','79z$')]=++userIdx;this['ck']=str[_0x66ce('aa','&gRq')]('#');}else{if(!(await _0xd61cc4[_0x66ce('ab','IL8X')](checkEnv)))return;if(_0xd61cc4[_0x66ce('ac','jT#$')](userList['length'],0x0)){for(let _0xbb61e6 of userList){await _0xbb61e6['task']();}}}}})()[_0x66ce('ad',']KYw')](_0x5fda52=>console['log'](_0x5fda52))['finally'](()=>$[_0x66ce('ae',']o6C')]());function randomArr(_0x4092d0){var _0xc327f5={'WRlrZ':function(_0x3c5053,_0x3813e2){return _0x3c5053*_0x3813e2;}};return _0x4092d0[parseInt(_0xc327f5[_0x66ce('af','z]Ws')](Math[_0x66ce('b0','hEhE')](),_0x4092d0['length']),0xa)];}async function GetRewrite(){}async function checkEnv(){var _0x1a6832={'OtnxM':function(_0x16ab8a,_0x5c1187){return _0x16ab8a!==_0x5c1187;},'QQYwG':'YplKb','idQEU':function(_0x3979c4,_0x1d9546){return _0x3979c4>_0x1d9546;},'jykoV':function(_0x738578,_0x34c9f6){return _0x738578===_0x34c9f6;},'JBGRr':_0x66ce('b1','Rdoq'),'YdUsj':_0x66ce('b2','&gRq')};if(userCookie){if(_0x1a6832[_0x66ce('b3',']o6C')](_0x66ce('b4','cONa'),_0x1a6832[_0x66ce('b5','%edX')])){console[_0x66ce('7e','Zz]7')](''+result['msg']);}else{let _0x1f5c1c=envSplitor[0x0];for(let _0x4bae25 of envSplitor){if(_0x1a6832[_0x66ce('b6','UgP@')](userCookie['indexOf'](_0x4bae25),-0x1)){_0x1f5c1c=_0x4bae25;break;}}for(let _0x29a1e0 of userCookie[_0x66ce('b7','hEhE')](_0x1f5c1c)){if(_0x1a6832[_0x66ce('b8','D5gc')](_0x1a6832['JBGRr'],_0x1a6832[_0x66ce('b9',')jCm')])){console['log']('\x20取消点赞');}else{if(_0x29a1e0)userList[_0x66ce('ba','(wI@')](new UserInfo(_0x29a1e0));}}userCount=userList[_0x66ce('bb','PQn2')];}}else{}console[_0x66ce('bc',']KYw')]('找到'+userCount+_0x66ce('bd','NM0%'));return!![];};_0xodK='jsjiami.com.v6';
function popu(url, h, body = '') {
let host = url.replace('//', '/').split('/')[1]
let urlObject = {
url: url,
headers: h,
timeout: 5000,
}
if (body) {
urlObject.body = body
urlObject.headers['Content-Length'] = body?.length || 0
}
return urlObject;
}
async function httpRequest(method, url) {
httpResult = null, httpReq = null, httpResp = null;
return new Promise((resolve) => {
$.send(method, url, async (err, req, resp) => {
try {
httpReq = req;
httpResp = resp;
if (err) {
} else {
if (resp.body) {
if (typeof resp.body == "object") {
httpResult = resp.body;
} else {
try {
httpResult = JSON.parse(resp.body);
} catch (e) {
httpResult = resp.body;
}
}
}
}
} catch (e) {
console.log(e);
} finally {
resolve();
}
});
});
}
function Env(a, b) {
return "undefined" != typeof process && JSON.stringify(process.env).indexOf("GITHUB") > -1 && process.exit(0), new class {
constructor(a, b) {
this.name = a, this.notifyStr = "", this.startTime = (new Date).getTime(), Object.assign(this, b), console.log(`${this.name} 开始运行:
`)
} isNode() { return "undefined" != typeof module && !!module.exports } isQuanX() { return "undefined" != typeof $task } isSurge() { return "undefined" != typeof $httpClient && "undefined" == typeof $loon } isLoon() { return "undefined" != typeof $loon } getdata(b) { let a = this.getval(b); if (/^@/.test(b)) { let [, c, f] = /^@(.*?)\.(.*?)$/.exec(b), d = c ? this.getval(c) : ""; if (d) try { let e = JSON.parse(d); a = e ? this.lodash_get(e, f, "") : a } catch (g) { a = "" } } return a } setdata(c, d) { let a = !1; if (/^@/.test(d)) { let [, b, e] = /^@(.*?)\.(.*?)$/.exec(d), f = this.getval(b), i = b ? "null" === f ? null : f || "{}" : "{}"; try { let g = JSON.parse(i); this.lodash_set(g, e, c), a = this.setval(JSON.stringify(g), b) } catch (j) { let h = {}; this.lodash_set(h, e, c), a = this.setval(JSON.stringify(h), b) } } else a = this.setval(c, d); return a } getval(a) { return this.isSurge() || this.isLoon() ? $persistentStore.read(a) : this.isQuanX() ? $prefs.valueForKey(a) : this.isNode() ? (this.data = this.loaddata(), this.data[a]) : this.data && this.data[a] || null } setval(b, a) { return this.isSurge() || this.isLoon() ? $persistentStore.write(b, a) : this.isQuanX() ? $prefs.setValueForKey(b, a) : this.isNode() ? (this.data = this.loaddata(), this.data[a] = b, this.writedata(), !0) : this.data && this.data[a] || null } send(b, a, f = () => { }) { if ("get" != b && "post" != b && "put" != b && "delete" != b) { console.log(`无效的http方法:${b}`); return } if ("get" == b && a.headers ? (delete a.headers["Content-Type"], delete a.headers["Content-Length"]) : a.body && a.headers && (a.headers["Content-Type"] || (a.headers["Content-Type"] = "application/x-www-form-urlencoded")), this.isSurge() || this.isLoon()) { this.isSurge() && this.isNeedRewrite && (a.headers = a.headers || {}, Object.assign(a.headers, { "X-Surge-Skip-Scripting": !1 })); let c = { method: b, url: a.url, headers: a.headers, timeout: a.timeout, data: a.body }; "get" == b && delete c.data, $axios(c).then(a => { let { status: b, request: c, headers: d, data: e } = a; f(null, c, { statusCode: b, headers: d, body: e }) }).catch(a => console.log(a)) } else if (this.isQuanX()) a.method = b.toUpperCase(), this.isNeedRewrite && (a.opts = a.opts || {}, Object.assign(a.opts, { hints: !1 })), $task.fetch(a).then(a => { let { statusCode: b, request: c, headers: d, body: e } = a; f(null, c, { statusCode: b, headers: d, body: e }) }, a => f(a)); else if (this.isNode()) { this.got = this.got ? this.got : require("got"); let { url: d, ...e } = a; this.instance = this.got.extend({ followRedirect: !1 }), this.instance[b](d, e).then(a => { let { statusCode: b, request: c, headers: d, body: e } = a; f(null, c, { statusCode: b, headers: d, body: e }) }, b => { let { message: c, response: a } = b; f(c, a, a && a.body) }) } } time(a) { let b = { "M+": (new Date).getMonth() + 1, "d+": (new Date).getDate(), "h+": (new Date).getHours(), "m+": (new Date).getMinutes(), "s+": (new Date).getSeconds(), "q+": Math.floor(((new Date).getMonth() + 3) / 3), S: (new Date).getMilliseconds() }; for (let c in /(y+)/.test(a) && (a = a.replace(RegExp.$1, ((new Date).getFullYear() + "").substr(4 - RegExp.$1.length))), b) new RegExp("(" + c + ")").test(a) && (a = a.replace(RegExp.$1, 1 == RegExp.$1.length ? b[c] : ("00" + b[c]).substr(("" + b[c]).length))); return a } async showmsg() { if (!this.notifyStr) return; let a = this.name + " \u8FD0\u884C\u901A\u77E5\n\n" + this.notifyStr; if ($.isNode()) { var b = require("./sendNotify"); console.log("\n============== \u63A8\u9001 =============="), await b.sendNotify(this.name, a) } else this.msg(a) } logAndNotify(a) { console.log(a), this.notifyStr += a, this.notifyStr += "\n" } msg(d = t, a = "", b = "", e) { let f = a => { if (!a) return a; if ("string" == typeof a) return this.isLoon() ? a : this.isQuanX() ? { "open-url": a } : this.isSurge() ? { url: a } : void 0; if ("object" == typeof a) { if (this.isLoon()) { let b = a.openUrl || a.url || a["open-url"], c = a.mediaUrl || a["media-url"]; return { openUrl: b, mediaUrl: c } } if (this.isQuanX()) { let d = a["open-url"] || a.url || a.openUrl, e = a["media-url"] || a.mediaUrl; return { "open-url": d, "media-url": e } } if (this.isSurge()) return { url: a.url || a.openUrl || a["open-url"] } } }; this.isMute || (this.isSurge() || this.isLoon() ? $notification.post(d, a, b, f(e)) : this.isQuanX() && $notify(d, a, b, f(e))); let c = ["", "============== \u7CFB\u7EDF\u901A\u77E5 =============="]; c.push(d), a && c.push(a), b && c.push(b), console.log(c.join("\n")) } getMin(a, b) { return a < b ? a : b } getMax(a, b) { return a < b ? b : a } padStr(e, b, f = "0") { let a = String(e), g = b > a.length ? b - a.length : 0, c = ""; for (let d = 0; d < g; d++)c += f; return c + a } json2str(b, e, f = !1) { let c = []; for (let d of Object.keys(b).sort()) { let a = b[d]; a && f && (a = encodeURIComponent(a)), c.push(d + "=" + a) } return c.join(e) } str2json(e, f = !1) { let d = {}; for (let a of e.split("#")) { if (!a) continue; let b = a.indexOf("="); if (-1 == b) continue; let g = a.substr(0, b), c = a.substr(b + 1); f && (c = decodeURIComponent(c)), d[g] = c } return d } randomString(d, a = "abcdef0123456789") { let b = ""; for (let c = 0; c < d; c++)b += a.charAt(Math.floor(Math.random() * a.length)); return b } randomList(a) { let b = Math.floor(Math.random() * a.length); return a[b] } wait(a) { return new Promise(b => setTimeout(b, a)) } done(a = {}) {
let b = (new Date).getTime(), c = (b - this.startTime) / 1e3; console.log(`
${this.name} 运行结束,共运行了 ${c} 秒!`), (this.isSurge() || this.isQuanX() || this.isLoon()) && $done(a)
}
}(a, b)
}