mirror of https://github.com/KingRan/KR.git
20 lines
219 KiB
JavaScript
20 lines
219 KiB
JavaScript
|
/*
|
|||
|
京东特价版签到提现
|
|||
|
自动提现微信现金
|
|||
|
更新时间:2023-1-10
|
|||
|
|
|||
|
出现:签到失败:风控用户,不允许参与活动
|
|||
|
|
|||
|
手动能签就隔一段时间再运行一次试试。
|
|||
|
|
|||
|
JD_apSpeedUp // 是否加速,默认不加速 值为 true 加速 每次加速会扣除300金币
|
|||
|
|
|||
|
定时自行设定,最好设置在早上之前
|
|||
|
*/
|
|||
|
const $ = new Env('特价版签到提现-加密');
|
|||
|
|
|||
|
var __encode ='jsjiami.com',_a={}, _0xb483=["\x5F\x64\x65\x63\x6F\x64\x65","\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x73\x6F\x6A\x73\x6F\x6E\x2E\x63\x6F\x6D\x2F\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74\x6F\x62\x66\x75\x73\x63\x61\x74\x6F\x72\x2E\x68\x74\x6D\x6C"];(function(_0xd642x1){_0xd642x1[_0xb483[0]]= _0xb483[1]})(_a);var __Oxf357c=["\x6A\x73\x6A\x69\x61\x6D\x69\x2E\x63\x6F\x6D\x2E\x76\x36","\u202E\x5F\x30\x78\x6F\x64\x73","\x34\x34\x4B\x74\x35\x6F\x79\x68\x35\x36\x65\x38\x34\x34\x4F\x38\x36\x4B\x36\x41\x35\x59\x65\x70\x36\x49\x79\x30\x35\x59\x36\x4D\x35\x4C\x75\x2B\x35\x4C\x69\x76\x36\x4C\x53\x38\x35\x59\x36\x4B\x35\x4C\x69\x58\x77\x70\x63\x31\x62\x4D\x4B\x50\x77\x34\x48\x43\x6A\x63\x4F\x2F\x35\x35\x71\x2F\x35\x6F\x2B\x52\x35\x4C\x36\x36\x35\x35\x61\x4F\x77\x34\x78\x42\x50\x38\x4B\x74\x54\x63\x4B\x6B\x35\x35\x6D\x42\x35\x4C\x69\x56\x35\x4C\x69\x6B\x35\x36\x79\x4F\x35\x59\x71\x50\x36\x49\x79\x6D\x35\x59\x2B\x38","\x77\x35\x58\x43\x68\x63\x4B\x79\x77\x70\x30\x45\x77\x70\x76\x43\x72\x48\x55\x77\x56\x6E\x73\x54\x4F\x63\x4B\x5A\x64\x47\x6E\x43\x67\x4D\x4B\x47\x77\x6F\x76\x43\x6D\x69\x5A\x62\x77\x71\x66\x44\x67\x38\x4F\x6A\x51\x48\x4C\x43\x70\x32\x44\x43\x6F\x73\x4B\x72\x77\x37\x42\x57\x46\x4D\x4F\x61\x77\x36\x6B\x45\x77\x35\x74\x47\x65\x52\x58\x43\x6F\x68\x73\x3D","\x53\x63\x4B\x78\x77\x35\x54\x44\x72\x33\x73\x3D","\x77\x34\x4C\x44\x73\x33\x45\x32\x77\x34\x49\x3D","\x4C\x38\x4F\x6B\x4C\x54\x4E\x43\x63\x63\x4F\x4C\x77\x37\x66\x44\x6F\x6D\x77\x33\x4D\x63\x4B\x72\x5A\x68\x48\x43\x70\x4D\x4B\x61\x77\x35\x49\x3D","\x77\x70\x78\x6E\x77\x71\x63\x3D","\x77\x35\x37\x44\x75\x73\x4F\x36\x77\x35\x64\x77","\x77\x34\x4C\x44\x67\x55\x72\x44\x72\x63\x4F\x79","\x4D\x73\x4F\x73\x56\x55\x6A\x43\x6F\x67\x3D\x3D","\x56\x73\x4F\x47\x65\x33\x44\x43\x6C\x77\x3D\x3D","\x77\x72\x50\x44\x70\x63\x4F\x45\x63\x63\x4F\x50","\x77\x34\x2F\x44\x6E\x63\x4F\x38\x77\x34\x6C\x74","\x4B\x6B\x31\x63\x77\x71\x7A\x44\x75\x67\x3D\x3D","\x77\x71\x38\x79\x43\x4D\x4F\x4E\x62\x51\x3D\x3D","\x77\x36\x48\x44\x6C\x45\x63\x3D","\x77\x6F\x55\x59\x46\x63\x4F\x47\x51\x51\x3D\x3D","\x77\x34\x34\x6D\x77\x72\x72\x44\x6D\x6E\x77\x3D","\x77\x36\x76\x43\x6C\x48\x59\x3D","\x77\x34\x34\x7A\x77\x71\x6E\x44\x76\x58\x64\x4C\x77\x36\x6F\x48\x77\x35\x59\x3D","\x41\x4D\x4B\x74\x77\x6F\x59\x3D","\x52\x63\x4F\x4E\x77\x71\x38\x58\x36\x4B\x36\x69\x35\x72\x4B\x67\x35\x61\x65\x47\x36\x4C\x53\x2B\x37\x37\x2B\x71\x36\x4B\x79\x61\x35\x71\x43\x79\x35\x70\x79\x36\x35\x37\x2B\x51\x36\x4C\x53\x6B\x36\x59\x53\x56\x36\x4B\x36\x65","\x77\x70\x67\x54\x43\x38\x4F\x48\x61\x67\x3D\x3D","\x77\x34\x51\x55\x77\x35\x51\x67\x46\x67\x3D\x3D","\x77\x37\x76\x44\x73\x63\x4F\x30\x77\x37\x64\x54","\x49\x73\x4F\x2B\x5A\x47\x50\x43\x71\x67\x3D\x3D","\x48\x47\x2F\x43\x68\x6D\x77\x3D","\x77\x34\x58\x44\x72\x32\x30\x7A\x77\x35\x4D\x3D","\x77\x37\x76\x44\x75\x38\x4F\x30\x77\x37\x56\x6A\x5A\x67\x3D\x3D","\x46\x4D\x4B\x4D\x77\x72\x44\x44\x70\x53\x30\x3D","\x77\x36\x76\x44\x68\x55\x62\x44\x6A\x73\x4F\x70","\x77\x36\x62\x43\x6B\x63\x4B\x79\x58\x63\x4F\x47\x49\x77\x3D\x3D","\x77\x34\x33\x43\x6E\x73\x4B\x70\x77\x6F\x45\x31\x77\x34\x44\x44\x73\x44\x38\x62\x56\x77\x3D\x3D","\x77\x37\x50\x44\x6E\x73\x4F\x58\x77\x34\x74\x42","\x77\x71\x6F\x49\x51\x41\x3D\x3D","\x64\x43\x68\x46\x48\x77\x3D\x3D","\x77\x34\x2F\x44\x69\x32\x59\x3D","\x53\x6B\x45\x44\x49\x79\x72\x43\x70\x51\x3D\x3D","\x35\x59\x69\x64\x36\x59\x4F\x75\x35\x61\x65\x33\x36\x4C\x65\x49\x37\x37\x32\x74\x35\x4C\x71\x73\x35\x35\x32\x6D\x36\x59\x43\x4A\x35\x4C\x71\x53\x35\x4C\x6D\x37\x35\x6F\x4F\x66\x35\x59\x65\x49\x48\x51\x3D\x3D","\x77\x71\x37\x44\x74\x41\x41\x3D","\x35\x59\x71\x48\x36\x59\x4F\x48\x35\x62\x36\x59\x35\x62\x75\x36\x77\x36\x73\x3D","\x77\x6F\x44\x43\x75\x6E\x45\x65\x77\x35\x4D\x3D","\x77\x34\x30\x79\x77\x71\x6A\x44\x76\x41\x3D\x3D","\x77\x70\x48\x43\x76\x78\x50\x43\x76\x73\x4F\x6F\x77\x72\x49\x3D","\x44\x38\x4F\x43\x54\x46\x6A\x43\x6A\x51\x3D\x3D","\x77\x37\x52\x4B\x46\x77\x3D\x3D","\x56\x63\x4B\x72\x77\x70\x50\x44\x67\x7A\x5A\x55\x77\x34\x39\x42\x77\x70\x66\x43\x72\x6B\x66\x43\x74\x32\x70\x64\x77\x71\x34\x59\x51\x57\x6C\x41\x64\x56\x34\x36\x77\x6F\x77\x38\x77
|
|||
|
|
|||
|
// 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"])
|