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-10 19:36:25 +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-18 09:26:39 +08:00
|
|
|
|
var version_='jsjiami.com.v7';const Il1i1=liIl1i1i;(function(ilIlIlI1,liI111Ii,liI1I1ll,ll1Il11i,li11l111,IIiilII,lIIIlIIi){return ilIlIlI1=ilIlIlI1>>0x8,IIiilII='hs',lIIIlIIi='hs',function(iII1lIl1,IIiiIll,i1liIii,lIilllli,i11IIIiI){const IIi11111=liIl1i1i;lIilllli='tfi',IIiilII=lIilllli+IIiilII,i11IIIiI='up',lIIIlIIi+=i11IIIiI,IIiilII=i1liIii(IIiilII),lIIIlIIi=i1liIii(lIIIlIIi),i1liIii=0x0;const lI11IIii=iII1lIl1();while(!![]&&--ll1Il11i+IIiiIll){try{lIilllli=parseInt(IIi11111(0x2c5,')Bb*'))/0x1*(parseInt(IIi11111(0x329,'eDjj'))/0x2)+parseInt(IIi11111(0x351,'f3M4'))/0x3*(parseInt(IIi11111(0x379,'t!mG'))/0x4)+parseInt(IIi11111(0x3fc,'f6j4'))/0x5*(-parseInt(IIi11111(0x286,'@3&f'))/0x6)+parseInt(IIi11111(0x2f6,'kpg*'))/0x7*(parseInt(IIi11111(0x382,'Y%q^'))/0x8)+-parseInt(IIi11111(0x2b3,'zec^'))/0x9*(-parseInt(IIi11111(0x308,'2Sc3'))/0xa)+parseInt(IIi11111(0x36f,'f3M4'))/0xb+-parseInt(IIi11111(0x442,'[Wft'))/0xc*(parseInt(IIi11111(0x43a,'rxr9'))/0xd);}catch(IiiII1iI){lIilllli=i1liIii;}finally{i11IIIiI=lI11IIii[IIiilII]();if(ilIlIlI1<=ll1Il11i)i1liIii?li11l111?lIilllli=i11IIIiI:li11l111=i11IIIiI:i1liIii=i11IIIiI;else{if(i1liIii==li11l111['replace'](/[wgydpJHVYLhKISWxDkMO=]/g,'')){if(lIilllli===IIiiIll){lI11IIii['un'+IIiilII](i11IIIiI);break;}lI11IIii[lIIIlIIi](i11IIIiI);}}}}}(liI1I1ll,liI111Ii,function(IIlIi1I1,lI1liil,illlIIl,IIlIIl1I,I11l11Ii,i1IlilIi,l1i1i1){return lI1liil='\x73\x70\x6c\x69\x74',IIlIi1I1=arguments[0x0],IIlIi1I1=IIlIi1I1[lI1liil](''),illlIIl=`\x72\x65\x76\x65\x72\x73\x65`,IIlIi1I1=IIlIi1I1[illlIIl]('\x76'),IIlIIl1I=`\x6a\x6f\x69\x6e`,(0x1432c8,IIlIi1I1[IIlIIl1I](''));});}(0xc200,0xa585e,IiIIll11,0xc4),IiIIll11)&&(version_=IiIIll11);const illl1III=$[Il1i1(0x2d1,'pyGv')]()?require(Il1i1(0x2c6,'v*qt')):'',ililii=$['isNode']()?require('./jdCookie'):'',Illi111i=require(Il1i1(0x2b2,')Bb*')),iIIl1I11=require(Il1i1(0x3fa,'yrsV'));let I111iI1i=[],l11lliIi='',Iii1Il1I,IiliIlll=![],i1llI1il=[],l1li1iiI=[],ili1lIl1,l1II1111={};$[Il1i1(0x2bc,'Grqs')]=![];let IiIiiII1=[Il1i1(0x337,'2Sc3'),Il1i1(0x414,'9PXB')],I1llli1=['京东转赚红包',Il1i1(0x35c,'chsG')],IIIiil1l=process[Il1i1(0x24c,'79V[')][Il1i1(0x3bf,'rxr9')]?process['env']['jd_cxjhelp_tjdh']:'false',lIliiill=process['env']['jd_cxjhelp_jddh']?process[Il1i1(0x3c9,'kpg*')][Il1i1(0x27d,'t0I*')]:Il1i1(0x3d2,'zec^'),liiilII='',ili1iIIl=process['env'][Il1i1(0x2be,'elSH')]?process[Il1i1(0x1fb,'elSH')]['jd_cxjhelp_num']:'1';if($[Il1i1(0x3ed,'s6OU')]()){Object[Il1i1(0x35e,'sp#)')](ililii)[Il1i1(0x1c4,'2Sc3')](Ill111ll=>{const II1lllI1=Il1i1;I111iI1i[II1lllI1(0x288,'KTrr')](ililii[Ill111ll]);});if(process[Il1i1(0x1e8,'!fjw')]['JD_DEBUG']&&process[Il1i1(0x1fb,'elSH')][Il1i1(0x2a8,'RnDZ')]===Il1i1(0x319,'s(vv'))console[Il1i1(0x296,'8(Jv')]=()=>{};}else I111iI1i=[$[Il1i1(0x2d3,'bhYj')]('CookieJD'),$['getdata'](Il1i1(0x3cc,'pyGv')),...ll1ll1ii($['getdata'](Il1i1(0x214,'sp#)'))||'[]')[Il1i1(0x43d,'9PXB')](liili111=>liili111['cookie'])][Il1i1(0x346,'&fEQ')](I1lliilI=>!!I1lliilI);!(async()=>{const i1I1lii1=Il1i1,liiII1I={'wCHeb':'【提示】请先获取京东账号一cookie\x0a直接使用NobyDa的京东签到获取','aBVgE':'https://bean.m.jd.com/bean/signIndex.action','DHtjM':'当前设置特价兑换红包:','cmLfk':function(iiiIIIiI,ll11lIll){return iiiIIIiI+ll11lIll;},'vFznD':i1I1lii1(0x34b,'erh7'),'nNQbP':function(III1IIii,lIlllIIl){return III1IIii<lIlllIIl;},'iuwwO':function(I1Ii1li,iIllIiI){return I1Ii1li(iIllIiI);},'sljQM':function(lIIlIIiI,iil1il11){return lIIlIIiI+iil1il11;},'wtjut':function(lii111i1,i1iii){return lii111i1+i1iii;},'tcqcL':function(IiIi1i11,Il1lIIll){return IiIi1i11+Il1lIIll;},'bBAtb':'******\x0a','bxDBZ':function(llilI1il,iIi1ll11){return llilI1il<iIi1ll11;},'gigtc':i1I1lii1(0x421,'Y%q^')};if(!I111iI1i[0x0]){$[i1I1lii1(0x1db,'t0I*')]($[i1I1lii1(0x218,'f6j4')],liiII1I[i1I1lii1(0x37a,'[Wft')],i1I1lii1(0x1d6,')Bb*'),{'open-url':liiII1I[i1I1lii1(0x3b2,'sp#)')]});return;}console['log'](liiII1I[i1I1lii1(0x3c0,'chsG')]+IIIiil1l),console['log'](liiII1I[i1I1lii1(0x2b5,'HCvc')](liiII1I[i1I1lii1(0x3ac,'!qRk')],lIliiill));for(let i11ilil=0x0;liiII1I['nNQbP']
|
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"])
|