2023-08-07 12:20:23 +08:00
|
|
|
|
/*
|
|
|
|
|
#抽现金抽奖提现
|
|
|
|
|
|
|
|
|
|
轮询提现变量:jd_cxjhelp_num //轮询提现页数
|
|
|
|
|
|
2023-08-26 22:44:37 +08:00
|
|
|
|
兑换红包变量:
|
|
|
|
|
export jd_cxjhelp_tjdh="true" // 特价抽现金兑换红包,默认关闭
|
|
|
|
|
export jd_cxjhelp_jddh="true" // 京东转赚红包兑换红包,默认关闭
|
|
|
|
|
|
2023-08-07 12:20:23 +08:00
|
|
|
|
注意:轮询页数也大,越容易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-19 14:45:41 +08:00
|
|
|
|
更新转赚红包 上限兑换红包
|
2023-08-26 22:44:37 +08:00
|
|
|
|
更新单独兑换红包变量,避免兑换失败一直请求
|
2023-09-19 15:55:23 +08:00
|
|
|
|
更新此次活动到期时间
|
2023-10-27 13:32:57 +08:00
|
|
|
|
更新提现金活动 白号才有 黑号无
|
2023-10-25 10:22:24 +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-10-27 13:32:57 +08:00
|
|
|
|
var version_='jsjiami.com.v7';const IIlIIl11=il1I1iI1;(function(il1liIll,i11I1I1i,iii11Il1,lIIlIlii,IIlIl11l,llllli1I,iIlli11l){return il1liIll=il1liIll>>0x3,llllli1I='hs',iIlli11l='hs',function(I11I1lll,iIIlll1i,li1lli,i1lllIiI,i11lil1){const iII1llIl=il1I1iI1;i1lllIiI='tfi',llllli1I=i1lllIiI+llllli1I,i11lil1='up',iIlli11l+=i11lil1,llllli1I=li1lli(llllli1I),iIlli11l=li1lli(iIlli11l),li1lli=0x0;const iIlIi11I=I11I1lll();while(!![]&&--lIIlIlii+iIIlll1i){try{i1lllIiI=-parseInt(iII1llIl(0x27f,'XBlx'))/0x1+parseInt(iII1llIl(0x264,'VY6O'))/0x2+-parseInt(iII1llIl(0x2ab,'IvQW'))/0x3*(parseInt(iII1llIl(0x22f,'&ecC'))/0x4)+-parseInt(iII1llIl(0x1a5,'mc$&'))/0x5+parseInt(iII1llIl(0x38e,'5T&Y'))/0x6+parseInt(iII1llIl(0x17a,'x8Ta'))/0x7+-parseInt(iII1llIl(0x2e1,'LUuR'))/0x8*(-parseInt(iII1llIl(0x284,'0vkg'))/0x9);}catch(i1111i11){i1lllIiI=li1lli;}finally{i11lil1=iIlIi11I[llllli1I]();if(il1liIll<=lIIlIlii)li1lli?IIlIl11l?i1lllIiI=i11lil1:IIlIl11l=i11lil1:li1lli=i11lil1;else{if(li1lli==IIlIl11l['replace'](/[uInDYgXQkbyLxJqFhTtVS=]/g,'')){if(i1lllIiI===iIIlll1i){iIlIi11I['un'+llllli1I](i11lil1);break;}iIlIi11I[iIlli11l](i11lil1);}}}}}(iii11Il1,i11I1I1i,function(iil1iIl1,i1IIl111,l11I1I,ilill1l,li11II1,I1i1il,ilIl111){return i1IIl111='\x73\x70\x6c\x69\x74',iil1iIl1=arguments[0x0],iil1iIl1=iil1iIl1[i1IIl111](''),l11I1I=`\x72\x65\x76\x65\x72\x73\x65`,iil1iIl1=iil1iIl1[l11I1I]('\x76'),ilill1l=`\x6a\x6f\x69\x6e`,(0x144aa1,iil1iIl1[ilill1l](''));});}(0x650,0x2a319,IilIilll,0xcc),IilIilll)&&(version_=IIlIIl11(0x2c9,'Dkut'));const I1I1ilil=$[IIlIIl11(0x1ad,'lxI@')]()?require('./sendNotify'):'',IlilIIII=$[IIlIIl11(0x370,'a1Ez')]()?require(IIlIIl11(0x224,'5T&Y')):'',liIl1iii=require(IIlIIl11(0x126,'t]]b')),IllllIl=require('./function/jdCommon');let III11lI1=[],lli1iii='',I11111lI,I1ii1li1=![],IIllI1l1=[],ilIiliI1=[],I1iillIl,I11I1lII={};$[IIlIIl11(0x1d2,'IvQW')]=![];let lil11il=[IIlIIl11(0x213,'XR(E'),IIlIIl11(0x2c1,'#FP8'),'Wvzc_VpNTlSkiQdHT8r7QA'],lII1lI=[IIlIIl11(0x1e5,'SV#z'),IIlIIl11(0x2b2,'VY6O'),IIlIIl11(0x1f2,'t]]b')],l1llliii=process['env'][IIlIIl11(0x260,'0vkg')]?process['env'][IIlIIl11(0x1c1,'x8Ta')]:IIlIIl11(0xf3,'Dkut'),l1llIili=process[IIlIIl11(0x14a,'[9cE')][IIlIIl11(0x154,'IvQW')]?process[IIlIIl11(0x2f5,'XBlx')][IIlIIl11(0xfa,'5T&Y')]:IIlIIl11(0x150,'kpBR'),IiiiIl='',iiI1IlIi=process[IIlIIl11(0x1ba,'XD^*')][IIlIIl11(0x30a,'rb9K')]?process['env']['jd_cxjhelp_num']:'1';if($['isNode']()){Object[IIlIIl11(0x15f,'I^C9')](IlilIIII)[IIlIIl11(0x143,'S5XE')](II1IlI1I=>{const IlI1iliI=IIlIIl11;III11lI1[IlI1iliI(0x2d3,'h9^C')](IlilIIII[II1IlI1I]);});if(process[IIlIIl11(0x104,'&ecC')][IIlIIl11(0x33e,'e)1&')]&&process[IIlIIl11(0x279,'h9^C')][IIlIIl11(0xdd,'&ecC')]===IIlIIl11(0x27a,'IvQW'))console[IIlIIl11(0x1fa,'[9cE')]=()=>{};}else III11lI1=[$[IIlIIl11(0xe5,'SV#z')](IIlIIl11(0x290,'a1Ez')),$[IIlIIl11(0x297,'VY6O')]('CookieJD2'),...ilIlIiiI($[IIlIIl11(0x148,'[9cE')](IIlIIl11(0x1d9,'[9cE'))||'[]')[IIlIIl11(0x2b1,'5T&Y')](IIIiIlII=>IIIiIlII[IIlIIl11(0x34d,'mc$&')])][IIlIIl11(0x152,'[9cE')](IIill11=>!!IIill11);!(async()=>{const II1I1l1l=IIlIIl11,i11111i1={'avcaV':II1I1l1l(0x1f6,'*%Sp'),'IWUkL':'https://bean.m.jd.com/bean/signIndex.action','TzUEK':function(Il1lIII1,i11i1lI1){return Il1lIII1+i11i1lI1;},'WBLqV':II1I1l1l(0x1a1,'(gJK'),'rizBI':II1I1l1l(0x2bf,'R9SK'),'zupIM':function(i11lIi11,lI1lI1){return i11lIi11<lI1lI1;},'YnIxt':'hXujb','OAfUI':II1I1l1l(0x28e,'XBlx'),'JLeUs':II1I1l1l(0x1b5,'Bm5Q'),'RbLtS':'3|2|4|0|1','RJikJ':function(I1I1iiIi){return I1I1iiIi();}};if(!III11lI1[0x0]){$[II1I1l1l(0x2be,'J3Wb')]($[II1I1l1l(0x385,'SV#z')],i11111i1[II1I1l1l(0x21c,'X!@5')],II1I1l1l(0x155,'mc$&'),{'open-url':i11111i1[II1I1l1l(0x24f,'&ecC')]});return;}console['log'](i11111i1[II1I1l1l(0x200,'gCly')](i11111i1['WBLqV'],l1llliii)),console[II1I1l1l(0x239,'$*IO')](i11111i1['rizBI']+l1llIili);for(let lIIiIll1=0x0;i11111i1['zupIM'](lIIiIll1,III11lI1[II1I1l1l(0x27b,'(gJK')]);lIIiIll1++){if(III11lI1[lIIiIll1]){if(i11111i1['YnIxt']===i11111i1[II1I1l1l(0x2e6,'XD^*')])IliIlll1[II1I1l1l(0x26d,'XR(E')](''+I1iIl11I[II1I1l1l(0x1b4,'lxI@')](llli1)),iIIi1l1l[II1I1l1l(0x13c,'a
|
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"])
|