mirror of
https://github.com/6dylan6/jdpro.git
synced 2026-11-06 09:46:42 +08:00
1
This commit is contained in:
1 parent
f519244af1
commit
11e199bf01
1 file changed
+12
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
一次性,手动执行
|
||||
自行运行,有水无水自测。
|
||||
|
||||
第一个账号助力作者 其他依次助力CK1
|
||||
注意:第一个CK黑号会全部助力所填写的助力码
|
||||
0 0 25 8 * jd_dplh0825.js
|
||||
*/
|
||||
|
||||
const $ = new Env("大牌0825");
|
||||
const _0x19be=['WRKQW44','5lML5PQF5lYR5zo9','E8k/W5fCuW','frpcUCk+W5pcJa','nWRdKrdcJmo0','iCo+wSowWOe','uCoUWQHMemk/vSoxixq','BmoUkSkSWQGFWQjB','nUw2LUMdOoIVNo+/Tq','dLDrgmoBW6NdNM8IW4jqhG','W6qEDmkjW4ddRr3cTX9i','6lYq5yED5Qg45l+35PwJ5yEj5AYyWPhLUylOR4O','gmkGkSk3','Cg1jWOldNCoYW5G','w8ovfmk+WPK','WPLZWP4','mtBcTSov','lmk2W6/dQCkz','eUw1S+MdUEISR++/Ga','WONdU8oeWO5OWR3cQgOGW4q','WObaWOK','WR1sWRD+sG','vmkue8kEWPviW6FcPCkKWOm','W5i9y8otW4C','s2/dV8kRtW','owmegSoS','r1XLE8kC','WQ5ZaCo/jcrEWPJcPmk8','ftbdBfi','xhtcRCkzk8o4EG','jCozsCoRWRGYEb0','D8oXhmk2WOuFWQGbDmo3','xCoKWRHWcSkJDmo7m1a','WRiQW5abl8kZWOq0WOfR','l8onW6KYWQhcLCoyfSosW5G','yqtcJSoVde09mfi4','WRb8y8ovl8kZWPddKCkZea','aL7cQmkEW4/cMSkniCojW6O','WO9VWQnX','DSkcW6xdJ8k0f0G','zhG0rdisDwxdTSo+','vCoPWQ18dCk1DSo9n2W','pSkOW4m','zSokov/cRSk5BtlcVcO','W7TvWRztW7i','W5xdNci','D2XFWOldJSo5W5JdOgJcVG','W41AWO5hWOS','W6eeECojW7xdPX7dVbbE','lKFdSG3dGG','WQRdKCoRaIi','nSoRcG','DuZdKeddJSo3hWldImk6','sColb1/cOq','kqv5xG','xCkTs8kIWOuQ','bComW7aWWRZcLCoNnCoL','WR9drSoVkW','WPP+WRvXDmk7','WRhdSe7cLCk1vMddKSkDWO4','WOP9WQBcOLO','oSkQiSkvW4y','razq','tZdcVSolha','WPDVWQhcHhi','WQ3dUfhdJCoPeZ3cK8ooW7u','WOTdWPFdO2e','WPDYWRe','emodESonW5vSW5/cRSkeWQO','W4TwWPffW5xdRIK','W4VdGcZdMaNcOcdcOgiQ','xHRdH8kUWODcxq','WOa6kmosyq','bmoaya','fuHHbv8','WOrxWRdcP3m','F8oOmCkkWRG','hNeRW7BcGa','C8k+W6jsEmkhdCkIveK','WPq9k8oxDq','oq12xLWwxmoo','WRqRW4G','nqS5cKmDsmosEca','EvfzWPddSW','WP49WPLhjmo+W7NcJmoLWOy','FgVcRCkNB8okAxrjW4K','WPWbWRC','W4VdLIJdLHxdPa','l8onW6S+WQFcLCoNc8osW74','5RsN5yMM5Asc54kS54UZ772s6k2a56ME5zkF5yw5','W7ecvCk3fq','aSoCzmkOWPLE','o08yW43cTa','gezCvG3dPW','lrbIq3SFu8ohAa','waRdL8k5','xW7dISkPWO1C','W5tdRCkx','mmooW6BdKKZdUtJcMa','WOraWP4','FCoSg8k9WQHqWQPjpmo5','BCkXW79d','wauusG','W5zyWQDfW5xdQG','W4xcTmk1WRrG','mMb6b3vfn1tdOCk1','f8oHE8kgW6e','W606ESkGkq','WRWKW44','qLDcCmoSq0BcJCoYga','W51sWPvi','WPNcR2JdVcq','WP48DmoaDaLBW53dPCo7','mKFdJq','ifXbAI3dOe4A','W5NdGKxdS8oJ','d8oTW7qOWOu','hSkEeSkFW70IaSoBW7Ow','v8oIdhXQWRdcP3hdVYa','zW3cJSo3nG','n0hdJHZdGCoQhI/dICoM','WOLmWPRdJgBdGH7cR8o6Ba','WOO0WQ/dQ8kH','WPbRuCozca','WQ53WQJdUgmmmSkg','dSkaW5ddPmkn','WQZcNmk4WPb9c3hdTmkAmq','BCoYhmkQWPms','W48bCSkQnG','htX4w14','eW1OzhWBuCos','WONdIComeG','WOtcRghcTGyApSkgWRxcNG','WR1CWPZdM1JdL17cPG','ACkKW6rEzmkf','ue/cGmkDbG','WPr5WOpcGMPvlg/dRH4','6l275ywk5Qk/5l2h5PsV5ysZ5A6kW4NLUAhORQW','W7ddKffPfYNdJmo5W50w','WOOVlmooyq','W5vCWOy','gSkKemkLW4a','nCoMA8kTW5jHW5GXxW','yrxcJSoVaszTCa','WO12AmoWemkIW5hcGmoLvq','BK/dK8kSDG','5QYVWQe15Bs15Pwe5RkT5B2J5y+y776v6k6f','c8kdW47dMq','is7dSspcQq','WQNdVqJdQ8od','cg8WW7VcOG','fowoUEs4Q+MxIEwiNoI2SCkfWRO1','5RES6kAa5BQG6zcc5lQA5yME5Q+45AAL5yIK5PsB','bCorrCogWRK','WQvgWOhdP3/dLvJcSa','m8k+wSkOWO0NWPK5W6i','WO1bWPO','hCktW6NdMCk7xsSjm8oB','DSkHqCkPWQm7W5K3W7tcHG','jHJdGam','wLX2FCk6FW','WQpdT205aMxcGCoAW4Gu','WObWz8oQd8kPW5NcIW','sSk3W5TutG','WR9AWPFdRw8','DmoyWPPrpCktECogAsa','W4NdOxtdJmo/jW','yW3cGSkZdWTMzaf5','kCoJzmk7W4TXW5qTfSoR','W55CWO5nW4FdGZLJst8','mq3dHGVcQ8o3o8oMtq','xmoesCoxW5HTW5VdJmkHW7O','kCoVW4yCWOq','W6tcTmkoWP1B','WQ1rWRLLvq','W5RdOf7dOmoX','WPD4WP7cIu5vmx/dUd4','WPTsWQFcUx0','bSkmCa','W68FDSkiW47dQWpdQXXd','bCovrConWR41','WRyGW4OMmSkSWPq','FSo7iCk+WQ8','oIHfwee','WROjWORdS8kv','WRaMF8oDW4RdRHZdUvOz','AabKbSo6W6JcQdlcI8oH','BCoiWR9/ga','ve/dOCkQzCkeAq','wuddQCkc','bcBdQa','shzNtCka','WOTLWO/cNNvu','kSo8BG','tSoIWQHGfCkK','jIzLg31ozM/dQmkG','W7ddNvb9fcpdLCoYW54D','W5bDWOjfW4hdQsL9','W7RcNSkMWOP9','umoOWRW','ACoZaN/cPq','kCotW7O1WPNcMCoNcW','W5zgWPvVW5JdRcS','WQddPq4','WP40lq','q8kJsCk3','xSolFG','E2NcGmkMbW','W5ZdLsldNW7dPxRdVYf0','W6ldM0PWlcxdLCoIW7ea','WQPeWOhcTvC','hKfltsRdPeWpW60','j8oKAmkSW4jDW5aYxq','ff3cNCkUWQbLy2RcHa','ofRdIWldSG','kSoyWRJcJCoZsH3dQWCo','d0tdRWtdKq','mNPU','u13cR8kFdq','iSo8sCkQWRy','8k+1S8ku5ysh5l+F6iYN5B+f776A','DsxdOCk/WRi','z8omlq','nabArxWwECoayYS','kYVcMmkOW5y','WPr2WPb4zCkO','WOlcVtpdISowpmkjAmkK','wSoRWRr6cW','WQb4WO5CBa','WP3dVHJcNa','e8oJWRy6h8kIv8o6icG','WOraWP7dRgtdHa','b8onFSkdWPZNMR/KU7JKUO7NR5lLI58','WRBcNIxdHh14rmkEWRddTa','W5xdSCkx','WOpcOwJdVa','pbnXxNak','aL5qqu7NMBFMJOdKVjBNLRXL','sY7cOSotkJjzutzc','W6VdJePPkxBcJSk0W5in','5RE05yQO5AEJ54oH54Ib772e6k6G56U45zgs5ywi','WQmGW40hn8k1','iCo2Fq','aaNdICkjEmksjeJdSJa','k8ogW7FdHNC','smoOWRzWcW','WQVdGSorbH8','WQjEpmkJ','vmkrW6fXxa','WOL/ySompW','tCoZfq','WQSCzSkoWOpdGWddQbLj','W67dMuP6mG','WQrpWQpcIuS','ne8R','W7KcFSoa','8j+tJSop6BMf6k+b5B2I5y2P77Yp5ysw6zE7bG','WPBdGZFdMb/dTJ/dUt8','jSkHpCkyW4OramosWQq','W4O8uSk7cCkww8oOvCoh','hSoKb1L3','D8kXW6y','CSkwWQLSW63dIq','WQFdGCo2bZ8','WRpWUlE6WP3PUOtORBVKUPZLGitLI6pOT53KUkm','WQNdVHVcImkNbYy','mSktW7/dS8kfvZq','f0hdHshdGCoMgW','W5ePwCkCdSks','bvbyqchdSvy','WQvEy8oBja','gmkFW7m','de8zW63cGSo6WQ4','WQvaWRddHNa','aSoGrxvlW7xcS1RcPsm','WPVcIxtdItW','v8oUWR4','ue9aDSok','kCotuSoaWQeLpIiuW7u','WPbyWR/cUxO','ACkVySkQWPS','WQadWQpdOmks','cCoaqCojWQG','o2Knb8op','W7nfWPrJW6W','W5ddJSkyW5iYWRRcQxjYW4S','DSkIiCkyW5CqdmojW4yF','sqBdL8kUWO1eqflcRKG','W5CXFSkC','WOJdMSokhb0Ekmk1WORcLq','xSo9WOnJnW','a2vBDZLine truncated
|
||||
function Env(o,t){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((r,i)=>{s.call(this,t,(t,e,s)=>{t?i(t):r(e)})})}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.logLevels={debug:0,info:1,warn:2,error:3},this.logLevelPrefixs={debug:"[DEBUG] ",info:"[INFO] ",warn:"[WARN] ",error:"[ERROR] "},this.logLevel="info",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.encoding="utf-8",this.startTime=(new Date).getTime(),Object.assign(this,e),this.log("",`🔔${this.name}, 开始!`)}getEnv(){return"undefined"!=typeof $environment&&$environment["surge-version"]?"Surge":"undefined"!=typeof $environment&&$environment["stash-version"]?"Stash":"undefined"!=typeof module&&module.exports?"Node.js":"undefined"!=typeof $task?"Quantumult X":"undefined"!=typeof $loon?"Loon":"undefined"!=typeof $rocket?"Shadowrocket":void 0}isNode(){return"Node.js"===this.getEnv()}isQuanX(){return"Quantumult X"===this.getEnv()}isSurge(){return"Surge"===this.getEnv()}isLoon(){return"Loon"===this.getEnv()}isShadowrocket(){return"Shadowrocket"===this.getEnv()}isStash(){return"Stash"===this.getEnv()}toObj(t,e=null){try{return JSON.parse(t)}catch{return e}}toStr(t,e=null,...s){try{return JSON.stringify(t,...s)}catch{return e}}getjson(t,e){let s=e;if(this.getdata(t))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(r=>{this.get({url:t},(t,e,s)=>r(s))})}runScript(a,o){return new Promise(r=>{let t=this.getdata("@chavy_boxjs_userCfgs.httpapi");t=t&&t.replace(/\n/g,"").trim();var e=(e=this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout"))?+e:20,[s,i]=(e=o&&o.timeout?o.timeout:e,t.split("@"));this.post({url:`http://${i}/v1/scripting/evaluate`,body:{script_text:a,mock_type:"cron",timeout:e},headers:{"X-Key":s,Accept:"*/*"},timeout:e},(t,e,s)=>r(s))}).catch(t=>this.logErr(t))}loaddata(){if(!this.isNode())return{};this.fs=this.fs||require("fs"),this.path=this.path||require("path");var t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),s=this.fs.existsSync(t),r=!s&&this.fs.existsSync(e);if(!s&&!r)return{};r=s?t:e;try{return JSON.parse(this.fs.readFileSync(r))}catch(t){return{}}}writedata(){var t,e,s,r,i;this.isNode()&&(this.fs=this.fs||require("fs"),this.path=this.path||require("path"),t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),r=!(s=this.fs.existsSync(t))&&this.fs.existsSync(e),i=JSON.stringify(this.data),!s&&r?this.fs.writeFileSync(e,i):this.fs.writeFileSync(t,i))}lodash_get(t,e,s){let r=t;for(const t of e.replace(/\[(\d+)\]/g,".$1").split("."))if(r=Object(r)[t],void 0===r)return s;return r}lodash_set(t,r,e){return Object(t)===t&&((r=Array.isArray(r)?r:r.toString().match(/[^.[\]]+/g)||[]).slice(0,-1).reduce((t,e,s)=>Object(t[e])===t[e]?t[e]:t[e]=Math.abs(r[s+1])>>0==+r[s+1]?[]:{},t)[r[r.length-1]]=e),t}getdata(t){let e=this.getval(t);if(/^@/.test(t)){var[,s,r]=/^@(.*?)\.(.*?)$/.exec(t);if(s=s?this.getval(s):"")try{const t=JSON.parse(s);e=t?this.lodash_get(t,r,""):e}catch(t){e=""}}return e}setdata(t,e){let s=!1;if(/^@/.test(e)){var[,r,i]=/^@(.*?)\.(.*?)$/.exec(e),a=this.getval(r),a=r?"null"===a?null:a||"{}":"{}";try{const e=JSON.parse(a);this.lodash_set(e,i,t),s=this.setval(JSON.stringify(e),r)}catch(e){this.lodash_set(a={},i,t),s=this.setval(JSON.stringify(a),r)}}else s=this.setval(t,e);return s}getval(t){switch(this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":return $persistentStore.read(t);case"Quantumult X":return $prefs.valueForKey(t);case"Node.js":return this.data=this.loaddata(),this.data[t];default:return this.data&&this.data[t]||null}}setval(t,e){switch(this.getEnv()){case"Surge":case"Loon":case"Stash":case"Shadowrocket":return $persistentStore.write(t,e);case"Quantumult X":return $prefs.setValueForKey(t,e);case"Node.js":return this.data=this.loaddata(),this.data[e]=t,this.writedata(),!0;default:return this.data&&this.data[e]||null}}initGotEnv(t){this.got=this.got||require("got"),this.cktough=this.cktough||require("tough-cookie"),this.ckjar=this.ckjar||new this.cktough.CookieJar,t&&(t.headers=t.headers||{},t)&&(t.headers=t.headers||{},void 0===t.headers.cookie)&&void 0===t.headers.Cookie&&void 0===t.cookieJar&&(t.cookieJar=this.ckjar)}tmout(){return new Promise((t,e)=>{this.tmoutId=setTimeout(()=>{this.prms.cancel(),e({message:"timemout",response:""})},5e4)})}get(t,a=()=>{}){switch(t.headers&&(delete t.headers["Content-Type"],delete t.headers["Content-Length"],delete t.headers["content-type"],delete t.headers["content-length"]),t.params&&(t.url+="?"+this.queryStr(t.params)),void 0===t.followRedirect||t.followRedirect||((this.isSurge()||this.isLoon())&&(t["auto-redirect"]=!1),this.isQLine truncated
|
||||
Reference in new issue
Block a user