KR/jd_cxjhelp_draw.js

19 lines
53 KiB
JavaScript
Raw Normal View History

2023-08-07 12:20:23 +08:00
/*
#抽现金抽奖提现
轮询提现变量jd_cxjhelp_num //轮询提现页数
注意轮询页数也大越容易403请谨慎填写
2023-08-07 14:24:32 +08:00
更新提现失败重试
2023-08-08 21:13:42 +08:00
更新抽奖火爆重试一直火爆一直重试
2023-08-09 11:39:04 +08:00
更新统计
2023-08-07 14:24:32 +08:00
2023-08-07 12:20:23 +08:00
[task_local]
#抽现金抽奖提现
11 11 11 11 * jd_cxjhelp_draw.js, tag=抽现金抽奖提现, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/jd.png, enabled=true*/
const $ = new Env("抽现金抽奖提现");
2023-08-16 01:41:46 +08:00
var version_='jsjiami.com.v7';const iill11=iii1II;(function(iIIllI,I1Ill1,ili11,IiIiIi,llIIIl,IIlI1I,llIIIi){return iIIllI=iIIllI>>0x7,IIlI1I='hs',llIIIi='hs',function(IiIiIl,I1Ilil,l1I1I1,I1Ilii,l1Iii){const l1Il1=iii1II;I1Ilii='tfi',IIlI1I=I1Ilii+IIlI1I,l1Iii='up',llIIIi+=l1Iii,IIlI1I=l1I1I1(IIlI1I),llIIIi=l1I1I1(llIIIi),l1I1I1=0x0;const l1Iil=IiIiIl();while(!![]&&--IiIiIi+I1Ilil){try{I1Ilii=parseInt(l1Il1(0x2c8,'VLU1'))/0x1*(-parseInt(l1Il1(0x2b0,'tl46'))/0x2)+parseInt(l1Il1(0x225,'kyZW'))/0x3*(-parseInt(l1Il1(0x299,'5XpT'))/0x4)+parseInt(l1Il1(0x3ed,'jFYC'))/0x5+parseInt(l1Il1(0x3bb,'AcP['))/0x6+parseInt(l1Il1(0x379,'db^2'))/0x7+-parseInt(l1Il1(0x239,'f[TL'))/0x8+parseInt(l1Il1(0x320,'aScv'))/0x9;}catch(III1Ii){I1Ilii=l1I1I1;}finally{l1Iii=l1Iil[IIlI1I]();if(iIIllI<=IiIiIi)l1I1I1?llIIIl?I1Ilii=l1Iii:llIIIl=l1Iii:l1I1I1=l1Iii;else{if(l1I1I1==llIIIl['replace'](/[dXxkUytJbRAWnDNMLPl=]/g,'')){if(I1Ilii===I1Ilil){l1Iil['un'+IIlI1I](l1Iii);break;}l1Iil[llIIIi](l1Iii);}}}}}(ili11,I1Ill1,function(III1Il,iIIliI,IiIil,IiIii,iill1l,IiIiII,iill1i){return iIIliI='\x73\x70\x6c\x69\x74',III1Il=arguments[0x0],III1Il=III1Il[iIIliI](''),IiIil='\x72\x65\x76\x65\x72\x73\x65',III1Il=III1Il[IiIil]('\x76'),IiIii='\x6a\x6f\x69\x6e',(0x1398f1,III1Il[IiIii](''));});}(0x6080,0x1af3b,Iii11l,0xc3),Iii11l)&&(version_=Iii11l);const IIIlIl=$[iill11(0x23d,'Z]Nm')]()?require('./sendNotify'):'',IIIlI=$['isNode']()?require(iill11(0x35b,'AcP[')):'',IiiI=require(iill11(0x397,'*e!H')),iIi1i=require('./function/krgetua');function Iii11l(){const I1I1II=(function(){return[version_,'yMdAjtsLjiRXaRWUmlxbiAl.JcRNonkmDPW.dkv7==','W4nsWPfn','W7OIWRNdISkj','W47cSXNcTKm','BSkFwKS','W7tcKCkjwK8','W5/cT8knvhy','W5zxWPTwW4dcHa','5OUZ54+w6ys25OQT5AAl5O2654605P6S6k2k5Asw5zg277+D5B+n5BQNW44','kgjN','5OMi5lMb54+C6yEk776p','WO5+W5HzW47cQc0uWQO','W5tcQZFcRfy','BCkpruZcHW','WRCnfq','WR5BfqiO','5O2M54+Z542g6yw+77+w5Awu6lEKW5i','5ywy5O6Z57UC5y+j5AwQ6lAGda','FSkrAepcRc7cQG','F2JdRmoaoW','WOZcU3hcNW','WRXIamogWRlcQ8kPfmoqgM03WRpcISkE','WQmrWQ1fha','5lQF5lIM5P6w5yQZ5zUK6k+u6zss5PAx5O6D5lU/56MU772u6k+L5QkH5P2t6isp6lUz6k6n5AEH572i57MT5OcX5yA1','WRpcQKzemG','W6NXIyEJ','qCkwlmkveq','CCkKWQK/CG','W6RcTbZcSLG','dSo/W6uXrCkr','WRxcMmoyDwy','WPRcICopzwu','WReyWRn4cG','W57WNkwwa+AcKoEnJoMgHE+9VG','WRddMKFdKa7cImo/WRyBdMJdT8k5','W4m/W6JcJq','WRvZimoFoq','W74JW4v5W5e','WQTvlcK','WPX5W4HzW6u','CmkXWQyVEmk+','WRLcfaS1','xmkRWQ99W7u','WR4pWPi','W6pdQSkkW7e','WQtdOmkhfW','DvHvyge','5OMU5lUh5zY05zYJ5y2vWOTf8lghL++7Lq','W7eyWPpdQ8onWOaCofO','FSoMWO48WOi6','W6DvjCkOWRa','WP1tWQjZWR4','W7VdSCknW7uCa8krgmk6WP5nW53dGLfhWOXoyu0vucj6pqjzxWddS8oIcX9LW6pdP8o6DX4euJlcJ8kWWQFcM8kuWRjNW5JcPmkJWPRdISo0WORdVtFdLGxcHmkAp8oGWPRdVSoPW5/dQJxdIMJdMCk+W74','5RAi5yU454oW54U/','5yIA5yUl56kA77+J','W6/cLmknyN8','WQhdPSkne1f7Bq','rxn1r1O','smkOzN/cTW','W6pcUq4cyq','grdcStJcPKhdTG','W6eaWOJdP8onWPmJo1eDf8ojqq','qCofaMq8W5pcSCkEaXvrWPJcSSoPW7fvW4WnW70C','B8k4eSk4pSo3','cFcZN7DO5Og057Ml5y6B776R','WP5DkGSw','aFcANl8y5Ok257Up5yYe77YZ','sYZcJmoeWQNdU0VcKwOUgGtdHG','WR1MhCoKWRu','WQ14W5nuW4G','W5qUWRxdOCkK','WRWeWPa','W59xe8kZWR8','W5yGW7xcTSkK','W5TvWPm','WRv6WQP4WQK','W4icWPhdLCkz','BCkBwK7cTt/cRW','i1rsc1m','WPtdIrBcOSoQ','FSo8WQKEWO0','mLVdQSkuW6K','W5WtWQ5Rl8kvW7q/gmkhW6/dQM3cJKRdNMGYW4FcI8opW6PvcbtcJCkwWOGFW7e1khzfW7lcT8k7h8kjkw0qWRpdL3ZdVvRcTSoMW67dKdFdLcTiiSoZW4DjySk0W4hcOtqar8o6WPpdQh/cRN8FxW','6kYS5yQE6zMR5OsD5z2whmkuW5ldSwNOVklLH6ZMOzVKVQdMLPxLHy7LRkH05BID6k2L6yk/6l686iA35P+l5y+b6iYu5y2bW4VdOLpcOJ7cUG','W70BWOpdICkw','ECkJf8k2pSohvZK3W77dTG','wmkxrv3cLG','WOJdNt5EW6O','vu/dTxhdUalcK8kjWRRcOsK5yJpdK8kghv7cLNZdN8khztxdUSoHW67cUSoauSo1nmkrwSoNW4dcT8kT','gxpdLSkKW6y','W5G2WRZdG8kb','kKzCfKO','54Ip5lMI5OI254+06yE5','BCkOWRPFW6i','W6DAlSk3WOJdJ8oj','WQ3dJG/cS8oW','g25Ji18','WRtdU8kcbKHK','umk+gCk/mq','ASoJWOC','u3dcI2nM','W78qWPr0ma','W7/LVAZLPQFNRlC','WQ/cS3DTgmkQW64','WOvqWR51WRy','W70fAhPXeJfdWRBdI3NdQG','tCkxWOe+va','W5BcS8k7hmkntqJcN8o1hCkJBCoog8kHD2NdI8odjmoammkYo8kGpSotvYZcJL/cJmkxWOmzW5f1afuNW7FdNN4IWR5FoJxcOCoJWOK6W57cVJVdKfTyluRdS8kXWRTxpZHlmeZcGSkuCCoeWOO','WOL7ebG2','W5OSWPe','WPz4W4vtW5JdHNTlWR9dWR0QWRBdG8ki
2023-08-07 12:20:23 +08:00
// prettier-ignore
function Env(t,e){"undefined"!=typeof process&&JSON.stringify(process.env).indexOf("GITHUB")>-1&&process.exit(0);class s{constructor(t){this.env=t}send(t,e="GET"){t="string"==typeof t?{url:t}:t;let s=this.get;return"POST"===e&&(s=this.post),new Promise((e,i)=>{s.call(this,t,(t,s,r)=>{t?i(t):e(s)})})}get(t){return this.send.call(this.env,t)}post(t){return this.send.call(this.env,t,"POST")}}return new class{constructor(t,e){this.name=t,this.http=new s(this),this.data=null,this.dataFile="box.dat",this.logs=[],this.isMute=!1,this.isNeedRewrite=!1,this.logSeparator="\n",this.startTime=(new Date).getTime(),Object.assign(this,e),this.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}toObj(t,e=null){try{return JSON.parse(t)}catch{return e}}toStr(t,e=null){try{return JSON.stringify(t)}catch{return e}}getjson(t,e){let s=e;const i=this.getdata(t);if(i)try{s=JSON.parse(this.getdata(t))}catch{}return s}setjson(t,e){try{return this.setdata(JSON.stringify(t),e)}catch{return!1}}getScript(t){return new Promise(e=>{this.get({url:t},(t,s,i)=>e(i))})}runScript(t,e){return new Promise(s=>{let i=this.getdata("@chavy_boxjs_userCfgs.httpapi");i=i?i.replace(/\n/g,"").trim():i;let r=this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout");r=r?1*r:20,r=e&&e.timeout?e.timeout:r;const[o,h]=i.split("@"),n={url:`http://${h}/v1/scripting/evaluate`,body:{script_text:t,mock_type:"cron",timeout:r},headers:{"X-Key":o,Accept:"*/*"}};this.post(n,(t,e,i)=>s(i))}).catch(t=>this.logErr(t))}loaddata(){if(!this.isNode())return{};{this.fs=this.fs?this.fs:require("fs"),this.path=this.path?this.path:require("path");const t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),s=this.fs.existsSync(t),i=!s&&this.fs.existsSync(e);if(!s&&!i)return{};{const i=s?t:e;try{return JSON.parse(this.fs.readFileSync(i))}catch(t){return{}}}}}writedata(){if(this.isNode()){this.fs=this.fs?this.fs:require("fs"),this.path=this.path?this.path:require("path");const t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),s=this.fs.existsSync(t),i=!s&&this.fs.existsSync(e),r=JSON.stringify(this.data);s?this.fs.writeFileSync(t,r):i?this.fs.writeFileSync(e,r):this.fs.writeFileSync(t,r)}}lodash_get(t,e,s){const i=e.replace(/\[(\d+)\]/g,".$1").split(".");let r=t;for(const t of i)if(r=Object(r)[t],void 0===r)return s;return r}lodash_set(t,e,s){return Object(t)!==t?t:(Array.isArray(e)||(e=e.toString().match(/[^.[\]]+/g)||[]),e.slice(0,-1).reduce((t,s,i)=>Object(t[s])===t[s]?t[s]:t[s]=Math.abs(e[i+1])>>0==+e[i+1]?[]:{},t)[e[e.length-1]]=s,t)}getdata(t){let e=this.getval(t);if(/^@/.test(t)){const[,s,i]=/^@(.*?)\.(.*?)$/.exec(t),r=s?this.getval(s):"";if(r)try{const t=JSON.parse(r);e=t?this.lodash_get(t,i,""):e}catch(t){e=""}}return e}setdata(t,e){let s=!1;if(/^@/.test(e)){const[,i,r]=/^@(.*?)\.(.*?)$/.exec(e),o=this.getval(i),h=i?"null"===o?null:o||"{}":"{}";try{const e=JSON.parse(h);this.lodash_set(e,r,t),s=this.setval(JSON.stringify(e),i)}catch(e){const o={};this.lodash_set(o,r,t),s=this.setval(JSON.stringify(o),i)}}else s=this.setval(t,e);return s}getval(t){return this.isSurge()||this.isLoon()?$persistentStore.read(t):this.isQuanX()?$prefs.valueForKey(t):this.isNode()?(this.data=this.loaddata(),this.data[t]):this.data&&this.data[t]||null}setval(t,e){return this.isSurge()||this.isLoon()?$persistentStore.write(t,e):this.isQuanX()?$prefs.setValueForKey(t,e):this.isNode()?(this.data=this.loaddata(),this.data[e]=t,this.writedata(),!0):this.data&&this.data[e]||null}initGotEnv(t){this.got=this.got?this.got:require("got"),this.cktough=this.cktough?this.cktough:require("tough-cookie"),this.ckjar=this.ckjar?this.ckjar:new this.cktough.CookieJar,t&&(t.headers=t.headers?t.headers:{},void 0===t.headers.Cookie&&void 0===t.cookieJar&&(t.cookieJar=this.ckjar))}get(t,e=(()=>{})){t.headers&&(delete t.headers["Content-Type"],delete t.headers["Content-Length"])