├── DONGFANG ├── lo └── dfttsign.js ├── box ├── box └── dd.signboxjs.js ├── 小浦 └── xiaopu ├── Forest ├── ForestFarm ├── wdlc.png ├── wlkd .png ├── ForestFarmck.js └── ForestFarm.js ├── jzcd.json ├── jddsSign.js ├── yzkbSign.js ├── zymkSign.js ├── ttwbxcxSign.js ├── hdhycSign.js ├── sjdjSign.js ├── mygmcSign.js ├── qczjSign.js ├── zscdbSign.js ├── sdcbxscSign.js ├── wsxqSign.js ├── qczjsign.js └── QQReadSign.js /DONGFANG/lo: -------------------------------------------------------------------------------- 1 | Rr 2 | -------------------------------------------------------------------------------- /box/box: -------------------------------------------------------------------------------- 1 | dd 2 | -------------------------------------------------------------------------------- /小浦/xiaopu: -------------------------------------------------------------------------------- 1 | Loon 2 | -------------------------------------------------------------------------------- /Forest/ForestFarm: -------------------------------------------------------------------------------- 1 | dd 2 | -------------------------------------------------------------------------------- /Forest/wdlc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DD-D1/2020scripts/HEAD/Forest/wdlc.png -------------------------------------------------------------------------------- /Forest/wlkd .png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DD-D1/2020scripts/HEAD/Forest/wlkd .png -------------------------------------------------------------------------------- /jzcd.json: -------------------------------------------------------------------------------- 1 | { 2 | "jzcd": "0", 3 | "code": "", 4 | "hjqcode": "2", 5 | "dmcd": "0", 6 | "dqbb": "1.0.1", 7 | "zxbb": "1.0.2", 8 | "dmhjbb": "1.0.2", 9 | "qgydbb": "1.0.1", 10 | "wbxnybb": "1.0.1", 11 | "xhysbb":"1.0.0", 12 | "msg": "已跑路请删除脚本", 13 | "appmsg": "脚本状态正常,开始执行任务", 14 | "appmgs": "脚本版本过低,请更新最新脚本使用" 15 | } 16 | -------------------------------------------------------------------------------- /jddsSign.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | @𝐗𝐢𝐝𝐍 𝐃𝐃 感谢红鲤鱼大佬 4 | //++++++++++++++++++++++++++++++++- 5 | 6 | 京东读书 签到可以获得会员和阅读豆 7 | 8 | 不是会员签到可能只有经验值 自己测试 9 | 10 | 打开软件签到获取ck 签过到可能获取不到ck 11 | 12 | 13 | 14 | surge:本地 15 | 京东读书签到 = type=http-request,pattern=^https:\/\/jdread-api\.jd\.com\/*,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/jddsSign.js 16 | 17 | 定时 京东读书签到 = type=cron,cronexp=0 10 0 * * *,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/jddsSign.js 18 | 19 | 20 | 21 | 圈x:本地 22 | ^https:\/\/jdread-api\.jd\.com\/* url script-request-header https://raw.githubusercontent.com/XidNDD/2020scripts/master/jddsSign.js 23 | 24 | 定时 0 10 0 * * * https://raw.githubusercontent.com/XidNDD/2020scripts/master/jddsSign.js, tag=京东读书签到, enabled=true 25 | 26 | 27 | 28 | 29 | 30 | loon:本地 31 | http-request ^https:\/\/jdread-api\.jd\.com\/* script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/jddsSign.js, requires-body=true, timeout=10, tag=京东读书签到 32 | 33 | 34 | 定时 cron "0 10 0 * * *" script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/jddsSign.js, 35 | 36 | 37 | 38 | 39 | MITM= jdread-api.jd.com 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | */ 50 | 51 | 52 | 53 | 54 | 55 | const $XidN = XidN(); 56 | 57 | const logs=0;//设置0关闭日志,1开启日志 58 | 59 | 60 | 61 | //++++++++++++++++++++++++++++++++- 62 | 63 | 64 | const jingdongdushu="京东读书𝐀𝐏𝐏"; 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | //++++++++++++++++++++++++++++++++ 74 | 75 | 76 | function main() 77 | { 78 | XidN_degin();} 79 | 80 | 81 | 82 | 83 | async function XidN_degin() 84 | { 85 | let a0=await XidN_Sign(); 86 | log(jingdongdushu,a0,""); 87 | 88 | } 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | function XidN_Sign() 99 | { 100 | return new Promise((resolve, reject) => { 101 | 102 | var result1="每日打卡✍🏻"; 103 | var result2=""; 104 | 105 | var jddsurl=$XidN.read("jddsurlname"); 106 | var jddshd=$XidN.read("jddshdname"); 107 | 108 | const llUrl1={ 109 | url:jddsurl, 110 | headers:JSON.parse(jddshd), 111 | timeout:60000}; 112 | $XidN.post(llUrl1,function(error, response, data) { 113 | if (logs==1)console.log(data) 114 | var obj=JSON.parse(data); 115 | if(obj.result_code==0) 116 | result2="签到✅"+obj.data.daily_award_message+","+obj.data.sign_data.sign_tip_info; 117 | else if(obj.result_code==500) 118 | result2="说明:"+obj.message; 119 | else 120 | result2="签到失败获取cookie"; 121 | result2="<"+result1+">"+result2+"\n"; 122 | console.log(result2) 123 | resolve(result2); 124 | }) 125 | }) 126 | } 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | function XidN_jdck() { 136 | 137 | if ($request.headers) { 138 | 139 | var urlval = $request.url; 140 | var md_hd=$request.headers; 141 | var md_bd=$request.body; 142 | 143 | if(urlval.indexOf("jdread/api/sign?")>=0) 144 | { 145 | 146 | var ao= $XidN.write(urlval,"jddsurlname"); 147 | 148 | var bo= $XidN.write(JSON.stringify(md_hd),"jddshdname"); 149 | 150 | if (ao==true&&bo==true) 151 | log(jingdongdushu,"[获取签到数据]","✅成功");} 152 | 153 | } 154 | } 155 | 156 | 157 | 158 | 159 | 160 | 161 | function log(x,y,z){ 162 | 163 | $XidN.notify(x,y,z);} 164 | function getRandom(start, end, fixed = 0) { 165 | let differ = end - start 166 | let random = Math.random() 167 | return (start + differ * random).toFixed(fixed) 168 | } 169 | 170 | if ($XidN.isRequest) { 171 | XidN_jdck() 172 | $XidN.end() 173 | } else { 174 | main(); 175 | $XidN.end() 176 | } 177 | 178 | 179 | 180 | function XidN() { 181 | const isRequest = typeof $request != "undefined" 182 | const isSurge = typeof $httpClient != "undefined" 183 | const isQuanX = typeof $task != "undefined" 184 | const notify = (title, subtitle, message) => { 185 | if (isQuanX) $notify(title, subtitle, message) 186 | if (isSurge) $notification.post(title, subtitle, message) 187 | } 188 | const write = (value, key) => { 189 | if (isQuanX) return $prefs.setValueForKey(value, key) 190 | if (isSurge) return $persistentStore.write(value, key) 191 | } 192 | const read = (key) => { 193 | if (isQuanX) return $prefs.valueForKey(key) 194 | if (isSurge) return $persistentStore.read(key) 195 | } 196 | const get = (options, callback) => { 197 | if (isQuanX) { 198 | if (typeof options == "string") options = { url: options } 199 | options["method"] = "GET" 200 | $task.fetch(options).then(response => { 201 | response["status"] = response.statusCode 202 | callback(null, response, response.body) 203 | }, reason => callback(reason.error, null, null)) 204 | } 205 | if (isSurge) $httpClient.get(options, callback) 206 | } 207 | const post = (options, callback) => { 208 | if (isQuanX) { 209 | if (typeof options == "string") options = { url: options } 210 | options["method"] = "POST" 211 | $task.fetch(options).then(response => { 212 | response["status"] = response.statusCode 213 | callback(null, response, response.body) 214 | }, reason => callback(reason.error, null, null)) 215 | } 216 | if (isSurge) $httpClient.post(options, callback) 217 | } 218 | const end = () => { 219 | if (isQuanX) isRequest ? $done({}) : "" 220 | if (isSurge) isRequest ? $done({}) : $done() 221 | } 222 | return { isRequest, isQuanX, isSurge, notify, write, read, get, post, end } 223 | }; 224 | 225 | 226 | 227 | 228 | 229 | -------------------------------------------------------------------------------- /yzkbSign.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | @𝐗𝐢𝐝𝐍 𝐃𝐃 感谢红鲤鱼大佬 4 | //++++++++++++++++++++++++++++++++- 5 | 6 | 7 | 下载链接http://app.youzikuaibao.com/735RWMD 8 | 9 | 10 | 说明: 11 | 12 | 柚子快报 签到可以获得现金 13 | 14 | 圈x获取不到ck就把body改成header 15 | 16 | 打开软件签到获取ck 签过到可能获取ck不完整 导致签到报错 17 | 18 | 19 | 20 | 21 | 22 | 23 | surge:远程 24 | 柚子快报 = type=http-request,pattern=^http?:\/\/hongbao\.youzikuaibao\.com\/youzi\/*,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/yzkbSign.js 25 | 26 | 定时 柚子快报 = type=cron,cronexp=0 10 0 * * *,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/yzkbSign.js 27 | 28 | 29 | 30 | 圈x:远程 31 | 签到获取ck 32 | ^http?:\/\/hongbao\.youzikuaibao\.com\/youzi\/* url script-request-body https://raw.githubusercontent.com/XidNDD/2020scripts/master/yzkbSign.js 33 | 34 | 35 | 36 | 37 | 38 | 定时 0 10 0 * * * https://raw.githubusercontent.com/XidNDD/2020scripts/master/yzkbSign.js, tag= 柚子快报, enabled=true 39 | 40 | 41 | 42 | 43 | 44 | loon:远程 45 | 签到获取ck 46 | http-request ^http?:\/\/hongbao\.youzikuaibao\.com\/youzi\/* script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/yzkbSign.js, requires-body=true, timeout=10, tag=柚子快报 47 | 48 | 49 | 50 | 51 | 定时 cron "0 10 0 * * *" script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/yzkbSign.js 52 | 53 | 54 | 55 | 56 | MITM= hongbao.youzikuaibao.com 57 | 58 | 59 | 60 | 61 | 62 | */ 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | const $XidN = XidN(); 78 | 79 | const logs=0;//设置0关闭日志,1开启日志 80 | 81 | 82 | 83 | //++++++++++++++++++++++++++++++++- 84 | 85 | 86 | var dd="柚子快报APP"; 87 | 88 | 89 | 90 | 91 | 92 | //++++++++++++++++++++++++++++++++ 93 | 94 | 95 | function main() 96 | { 97 | XidN_degin();} 98 | 99 | 100 | 101 | 102 | async function XidN_degin() 103 | { 104 | let a0=await XidN_Sign(); 105 | log(dd,"",a0); 106 | 107 | } 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | function XidN_Sign() 118 | { 119 | return new Promise((resolve, reject) => { 120 | 121 | var result1="每日打卡🌟"; 122 | var result2=""; 123 | 124 | var yzkburl=$XidN.read("yzkburlname"); 125 | var yzkbhd=$XidN.read("yzkbhdname"); 126 | var yzkbbd=$XidN.read("yzkbbdname"); 127 | const llUrl1={ 128 | url:yzkburl, 129 | headers:JSON.parse(yzkbhd), 130 | body:yzkbbd, 131 | timeout:60000}; 132 | $XidN.post(llUrl1,function(error, response, data) { 133 | if (logs==1)console.log(data) 134 | var obj=JSON.parse(data); 135 | if(obj.code== 100) 136 | result2="✅"+obj.msg+",奖励"+obj.money+"元💸"; 137 | else 138 | if(obj.code== 201) 139 | result2="说明:"+obj.msg; 140 | else 141 | result2="签到失败获取cookie"; 142 | result2="<"+result1+">"+result2+"\n"; 143 | console.log(result2); 144 | resolve(result2); 145 | }) 146 | }) 147 | } 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | function XidN_yzkb() { 157 | 158 | if ($request.headers) { 159 | 160 | var urlval = $request.url; 161 | var md_hd=$request.headers; 162 | var md_bd=$request.body; 163 | 164 | if(urlval.indexOf("youzi/change/youzi.php")>=0) 165 | { 166 | 167 | var ao= $XidN.write(urlval,"yzkburlname"); 168 | var so= $XidN.write(md_bd,"yzkbbdname"); 169 | var bo= $XidN.write(JSON.stringify(md_hd),"yzkbhdname"); 170 | 171 | if (ao==true&&bo==true&&so==true) 172 | log(dd,"[获取签到数据]","✅成功");} 173 | 174 | } 175 | } 176 | 177 | 178 | 179 | 180 | 181 | 182 | function log(x,y,z){ 183 | 184 | $XidN.notify(x,y,z);} 185 | function getRandom(start, end, fixed = 0) { 186 | let differ = end - start 187 | let random = Math.random() 188 | return (start + differ * random).toFixed(fixed) 189 | } 190 | 191 | if ($XidN.isRequest) { 192 | XidN_yzkb() 193 | $XidN.end() 194 | } else { 195 | main(); 196 | $XidN.end() 197 | } 198 | 199 | 200 | 201 | function XidN() { 202 | const isRequest = typeof $request != "undefined" 203 | const isSurge = typeof $httpClient != "undefined" 204 | const isQuanX = typeof $task != "undefined" 205 | const notify = (title, subtitle, message) => { 206 | if (isQuanX) $notify(title, subtitle, message) 207 | if (isSurge) $notification.post(title, subtitle, message) 208 | } 209 | const write = (value, key) => { 210 | if (isQuanX) return $prefs.setValueForKey(value, key) 211 | if (isSurge) return $persistentStore.write(value, key) 212 | } 213 | const read = (key) => { 214 | if (isQuanX) return $prefs.valueForKey(key) 215 | if (isSurge) return $persistentStore.read(key) 216 | } 217 | const get = (options, callback) => { 218 | if (isQuanX) { 219 | if (typeof options == "string") options = { url: options } 220 | options["method"] = "GET" 221 | $task.fetch(options).then(response => { 222 | response["status"] = response.statusCode 223 | callback(null, response, response.body) 224 | }, reason => callback(reason.error, null, null)) 225 | } 226 | if (isSurge) $httpClient.get(options, callback) 227 | } 228 | const post = (options, callback) => { 229 | if (isQuanX) { 230 | if (typeof options == "string") options = { url: options } 231 | options["method"] = "POST" 232 | $task.fetch(options).then(response => { 233 | response["status"] = response.statusCode 234 | callback(null, response, response.body) 235 | }, reason => callback(reason.error, null, null)) 236 | } 237 | if (isSurge) $httpClient.post(options, callback) 238 | } 239 | const end = () => { 240 | if (isQuanX) isRequest ? $done({}) : "" 241 | if (isSurge) isRequest ? $done({}) : $done() 242 | } 243 | return { isRequest, isQuanX, isSurge, notify, write, read, get, post, end } 244 | }; 245 | 246 | 247 | 248 | -------------------------------------------------------------------------------- /zymkSign.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | @𝐗𝐢𝐝𝐍 𝐃𝐃 感谢红鲤鱼大佬 4 | //++++++++++++++++++++++++++++++++- 5 | 6 | 7 | 8 | 说明: 9 | 10 | 知音漫客 签到可以获得金币 元宝 商店下载软件 11 | 12 | 圈x获取不到ck就把body改成header 13 | 14 | 打开软件签到获取ck 签过到可能获取不到ck 15 | 16 | 17 | 18 | 19 | 20 | 21 | surge:远程 22 | 知音漫客 = type=http-request,pattern=^https:\/\/getconfig-globalapi\.zymk\.cn\/app_api\/*,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/zymkSign.js 23 | 24 | 定时 知音漫客 = type=cron,cronexp=0 10 0 * * *,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/zymkSign.js 25 | 26 | 27 | 28 | 圈x:远程 29 | 签到获取ck 30 | ^https:\/\/getconfig-globalapi\.zymk\.cn\/app_api\/* url script-request-body https://raw.githubusercontent.com/XidNDD/2020scripts/master/zymkSign.js 31 | 32 | 33 | 34 | 35 | 36 | 定时 0 10 0 * * * https://raw.githubusercontent.com/XidNDD/2020scripts/master/zymkSign.js, tag= 知音漫客, enabled=true 37 | 38 | 39 | 40 | 41 | 42 | loon:远程 43 | 签到获取ck 44 | http-request ^https:\/\/getconfig-globalapi\.zymk\.cn\/app_api\/* script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/zymkSign.js, requires-body=true, timeout=10, tag=知音漫客 45 | 46 | 47 | 48 | 49 | 定时 cron "0 10 0 * * *" script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/zymkSign.js 50 | 51 | 52 | 53 | 54 | MITM= getconfig-globalapi.zymk.cn 55 | 56 | 57 | 58 | 59 | 60 | */ 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | const $XidN = XidN(); 76 | 77 | const logs=0;//设置0关闭日志,1开启日志 78 | 79 | 80 | 81 | //++++++++++++++++++++++++++++++++- 82 | 83 | 84 | var dd="知音漫客APP"; 85 | 86 | 87 | 88 | 89 | 90 | //++++++++++++++++++++++++++++++++ 91 | 92 | 93 | function main() 94 | { 95 | XidN_degin();} 96 | 97 | 98 | 99 | 100 | async function XidN_degin() 101 | { 102 | let a0=await XidN_Sign(); 103 | log(dd,"",a0); 104 | 105 | } 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | function XidN_Sign() 116 | { 117 | return new Promise((resolve, reject) => { 118 | 119 | var result1="每日打卡🌟"; 120 | var result2=""; 121 | 122 | var zymkurl=$XidN.read("zymkurlname"); 123 | var zymkhd=$XidN.read("zymkhdname"); 124 | var zymkbd=$XidN.read("zymkbdname"); 125 | const llUrl1={ 126 | url:zymkurl, 127 | headers:JSON.parse(zymkhd), 128 | body:zymkbd, 129 | timeout:60000}; 130 | $XidN.post(llUrl1,function(error, response, data) { 131 | if (logs==1)console.log(data) 132 | var obj=JSON.parse(data); 133 | if(obj.status== 0) 134 | 135 | result2="✅"+obj.data.sign_message+",获得"+obj.data.daytreat.message+",连续签"+obj.data.continue_days+"天"; 136 | 137 | else 138 | if(obj.status== 2) 139 | result2="签到说明:"+obj.msg; 140 | else 141 | result2="签到失败获取cookie"; 142 | result2="<"+result1+">"+result2+"\n"; 143 | console.log(result2); 144 | resolve(result2); 145 | }) 146 | }) 147 | } 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | function XidN_zymk() { 157 | 158 | if ($request.headers) { 159 | 160 | var urlval = $request.url; 161 | var md_hd=$request.headers; 162 | var md_bd=$request.body; 163 | 164 | if(urlval.indexOf("app_api/v5/sign_signaction")>=0) 165 | { 166 | 167 | var ao= $XidN.write(urlval,"zymkurlname"); 168 | var so= $XidN.write(md_bd,"zymkbdname"); 169 | var bo= $XidN.write(JSON.stringify(md_hd),"zymkhdname"); 170 | 171 | if (ao==true&&bo==true&&so==true) 172 | log(dd,"[获取签到数据]","✅成功");} 173 | 174 | } 175 | } 176 | 177 | 178 | 179 | 180 | 181 | 182 | function log(x,y,z){ 183 | 184 | $XidN.notify(x,y,z);} 185 | function getRandom(start, end, fixed = 0) { 186 | let differ = end - start 187 | let random = Math.random() 188 | return (start + differ * random).toFixed(fixed) 189 | } 190 | 191 | if ($XidN.isRequest) { 192 | XidN_zymk() 193 | $XidN.end() 194 | } else { 195 | main(); 196 | $XidN.end() 197 | } 198 | 199 | 200 | 201 | function XidN() { 202 | const isRequest = typeof $request != "undefined" 203 | const isSurge = typeof $httpClient != "undefined" 204 | const isQuanX = typeof $task != "undefined" 205 | const notify = (title, subtitle, message) => { 206 | if (isQuanX) $notify(title, subtitle, message) 207 | if (isSurge) $notification.post(title, subtitle, message) 208 | } 209 | const write = (value, key) => { 210 | if (isQuanX) return $prefs.setValueForKey(value, key) 211 | if (isSurge) return $persistentStore.write(value, key) 212 | } 213 | const read = (key) => { 214 | if (isQuanX) return $prefs.valueForKey(key) 215 | if (isSurge) return $persistentStore.read(key) 216 | } 217 | const get = (options, callback) => { 218 | if (isQuanX) { 219 | if (typeof options == "string") options = { url: options } 220 | options["method"] = "GET" 221 | $task.fetch(options).then(response => { 222 | response["status"] = response.statusCode 223 | callback(null, response, response.body) 224 | }, reason => callback(reason.error, null, null)) 225 | } 226 | if (isSurge) $httpClient.get(options, callback) 227 | } 228 | const post = (options, callback) => { 229 | if (isQuanX) { 230 | if (typeof options == "string") options = { url: options } 231 | options["method"] = "POST" 232 | $task.fetch(options).then(response => { 233 | response["status"] = response.statusCode 234 | callback(null, response, response.body) 235 | }, reason => callback(reason.error, null, null)) 236 | } 237 | if (isSurge) $httpClient.post(options, callback) 238 | } 239 | const end = () => { 240 | if (isQuanX) isRequest ? $done({}) : "" 241 | if (isSurge) isRequest ? $done({}) : $done() 242 | } 243 | return { isRequest, isQuanX, isSurge, notify, write, read, get, post, end } 244 | }; 245 | 246 | 247 | 248 | -------------------------------------------------------------------------------- /ttwbxcxSign.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | @𝐗𝐢𝐝𝐍 𝐃𝐃 感谢红鲤鱼大佬 4 | //++++++++++++++++++++++++++++++++- 5 | 6 | 挖矿有现金还有元宝百分百中奖!#C1ZDWn0971w#复制此消息,打开支付宝搜索,体验机蜜天天挖矿-每日领现金抽大奖小程序 7 | 8 | 说明: 9 | 10 | 天天挖矿小程序 签到可以获得现金秒到账 支付宝里搜索 11 | 12 | 圈x获取不到ck就把body改成header 13 | 14 | 打开软件签到获取ck 签过到可能获取不到ck 15 | 签到ck签到奖励ck共2个ck少一个没获取到就无法签到 16 | 17 | 18 | 19 | 20 | 21 | 22 | surge:本地 23 | 天天挖矿小程序 = type=http-request,pattern=^https:\/\/operation-api\.jimistore\.com\/*,requires-body=1,max-size=0,script-path=ttwbxcxSign.js 24 | 25 | 定时 天天挖矿小程序 = type=cron,cronexp=0 10 0 * * *,script-path=ttwbxcxSign.js 26 | 27 | 28 | 29 | 圈x:本地 30 | 签到获取ck 31 | ^https:\/\/operation-api\.jimistore\.com\/* url script-request-body ttwbxcxSign.js 32 | 33 | 34 | 35 | 36 | 37 | 定时 0 10 0 * * * ttwbxcxSign.js, tag=天天挖矿小程序, enabled=true 38 | 39 | 40 | 41 | 42 | 43 | loon:本地 44 | 签到获取ck 45 | http-request ^https:\/\/operation-api\.jimistore\.com\/* script-path=ttwbxcxSign.js, requires-body=true, timeout=10, tag=天天挖矿小程序 46 | 47 | 48 | 49 | 50 | 定时 cron "0 10 0 * * *" script-path=ttwbxcxSign.js 51 | 52 | 53 | 54 | 55 | MITM= operation-api.jimistore.com 56 | 57 | 58 | 59 | 60 | 61 | */ 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | const $XidN = XidN(); 77 | 78 | const logs=0;//设置0关闭日志,1开启日志 79 | 80 | 81 | 82 | //++++++++++++++++++++++++++++++++- 83 | 84 | 85 | var dd="天天挖矿小程序"; 86 | 87 | 88 | 89 | 90 | 91 | //++++++++++++++++++++++++++++++++ 92 | 93 | 94 | function main() 95 | { 96 | XidN_degin();} 97 | 98 | 99 | 100 | 101 | async function XidN_degin() 102 | { 103 | let a0=await XidN_Sign(); 104 | log(dd,"",a0); 105 | 106 | } 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | function XidN_Sign() 117 | { 118 | return new Promise((resolve, reject) => { 119 | 120 | var result1=""; 121 | var result2=""; 122 | 123 | var createSignurl=$XidN.read("createSignurlname"); 124 | var createSignhd=$XidN.read("createSignhdname"); 125 | var createSignbd=$XidN.read("createSignbdname"); 126 | const llUrl1={ 127 | url:createSignurl, 128 | headers:JSON.parse(createSignhd), 129 | body:createSignbd, 130 | timeout:60000}; 131 | $XidN.post(llUrl1,function(error, response, data) { 132 | if (logs==1)console.log(data) 133 | var obj=JSON.parse(data); 134 | if(obj.data.success== "true") 135 | 136 | result2="【签到成功✅】"+"奖励"+(parseInt(obj.data.amount)/100).toFixed(2)+"💸现金"; 137 | 138 | else 139 | if(obj.data.success== "false") 140 | result2="【签到失败⚠️】重复签到"; 141 | else 142 | if(obj.code== "40101") 143 | result2="【签到失败⚠️】"+obj.message; 144 | else 145 | result2="签到失败获取cookie"; 146 | 147 | 148 | var miningurl=$XidN.read("miningurlname"); 149 | var createSignhd=$XidN.read("createSignhdname"); 150 | const mining={ 151 | url:miningurl, 152 | headers:JSON.parse(createSignhd), 153 | timeout:60000}; 154 | $XidN.post(mining,function(error, response, data) { 155 | if (logs==1)console.log(data) 156 | var obj=JSON.parse(data); 157 | if(obj.code== "200") 158 | 159 | result2+="【当前账户信息】"+(Number(obj.data.cumulativeMoney)/100).toFixed(2)+"💸现金"+",连续签"+obj.data.cumulativeSignCount+"天,"+obj.data.currentWing+"元宝"; 160 | 161 | 162 | result2=""+result1+""+result2+"\n"; 163 | console.log(result2); 164 | resolve(result2); 165 | }) 166 | }) 167 | }) 168 | } 169 | 170 | 171 | 172 | 173 | function XidN_RecordAdd() { 174 | 175 | if ($request.headers) { 176 | 177 | var urlval = $request.url; 178 | var md_hd=$request.headers; 179 | var md_bd=$request.body; 180 | 181 | if(urlval.indexOf("api/mining/v1/sign/createSign")>=0) 182 | { 183 | var so= $XidN.write(md_bd,"createSignbdname"); 184 | var ao= $XidN.write(urlval,"createSignurlname"); 185 | var bo= $XidN.write(JSON.stringify(md_hd),"createSignhdname"); 186 | 187 | if (ao==true&&bo==true&&so==true) 188 | log(dd,"[获取签到数据]","✅成功");} 189 | 190 | 191 | 192 | else 193 | if(urlval.indexOf("api/mining/v1/sign/showSignInfo")>=0) 194 | { 195 | 196 | var so= $XidN.write(urlval,"miningurlname"); 197 | 198 | if (so==true) 199 | log(dd,"[获取签到奖励数据]","✅成功");} 200 | 201 | 202 | 203 | 204 | } 205 | } 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | function log(x,y,z){ 214 | 215 | $XidN.notify(x,y,z);} 216 | function getRandom(start, end, fixed = 0) { 217 | let differ = end - start 218 | let random = Math.random() 219 | return (start + differ * random).toFixed(fixed) 220 | } 221 | 222 | if ($XidN.isRequest) { 223 | XidN_RecordAdd() 224 | $XidN.end() 225 | } else { 226 | main(); 227 | $XidN.end() 228 | } 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | function XidN() { 238 | const isRequest = typeof $request != "undefined" 239 | const isSurge = typeof $httpClient != "undefined" 240 | const isQuanX = typeof $task != "undefined" 241 | const notify = (title, subtitle, message) => { 242 | if (isQuanX) $notify(title, subtitle, message) 243 | if (isSurge) $notification.post(title, subtitle, message) 244 | } 245 | const write = (value, key) => { 246 | if (isQuanX) return $prefs.setValueForKey(value, key) 247 | if (isSurge) return $persistentStore.write(value, key) 248 | } 249 | const read = (key) => { 250 | if (isQuanX) return $prefs.valueForKey(key) 251 | if (isSurge) return $persistentStore.read(key) 252 | } 253 | const get = (options, callback) => { 254 | if (isQuanX) { 255 | if (typeof options == "string") options = { url: options } 256 | options["method"] = "GET" 257 | $task.fetch(options).then(response => { 258 | response["status"] = response.statusCode 259 | callback(null, response, response.body) 260 | }, reason => callback(reason.error, null, null)) 261 | } 262 | if (isSurge) $httpClient.get(options, callback) 263 | } 264 | const post = (options, callback) => { 265 | if (isQuanX) { 266 | if (typeof options == "string") options = { url: options } 267 | options["method"] = "POST" 268 | $task.fetch(options).then(response => { 269 | response["status"] = response.statusCode 270 | callback(null, response, response.body) 271 | }, reason => callback(reason.error, null, null)) 272 | } 273 | if (isSurge) $httpClient.post(options, callback) 274 | } 275 | const end = () => { 276 | if (isQuanX) isRequest ? $done({}) : "" 277 | if (isSurge) isRequest ? $done({}) : $done() 278 | } 279 | return { isRequest, isQuanX, isSurge, notify, write, read, get, post, end } 280 | }; 281 | 282 | 283 | 284 | 285 | -------------------------------------------------------------------------------- /hdhycSign.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | @𝐗𝐢𝐝𝐍 𝐃𝐃 4 | //++++++++++++++++++++++++++++++++- 5 | 6 | 7 | 8 | 说明: 9 | 10 | 海德汇一城小程序 签到可以获得积分兑换物品 11 | 群友需要就写了 不是羊毛 12 | 13 | 圈x获取不到ck就把body改成header 14 | 15 | 打开软件签到获取ck 签过到可能获取不到ck 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | surge:远程 25 | 海德汇一城 = type=http-request,pattern=^https:\/\/wox2019\.woxshare\.com\/*,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/hdhycSign.js 26 | 27 | 定时 海德汇一城 = type=cron,cronexp=0 10 0 * * *,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/hdhycSign.js 28 | 29 | 30 | 31 | 圈x:远程 32 | 签到获取ck 33 | ^https:\/\/wox2019\.woxshare\.com\/* url script-request-body https://raw.githubusercontent.com/XidNDD/2020scripts/master/hdhycSign.js 34 | 35 | 36 | 37 | 38 | 39 | 定时 0 10 0 * * * https://raw.githubusercontent.com/XidNDD/2020scripts/master/hdhycSign.js, tag=海德汇一城, enabled=true 40 | 41 | 42 | 43 | 44 | 45 | loon:远程 46 | 签到获取ck 47 | http-request ^https:\/\/wox2019\.woxshare\.com\/* script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/hdhycSign.js, requires-body=true, timeout=10, tag=海德汇一城 48 | 49 | 50 | 51 | 52 | 定时 cron "0 10 0 * * *" script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/hdhycSign.js 53 | 54 | 小火箭:远程 55 | 海德汇一城 = type=http-request,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/hdhycSign.js,pattern= ^https:\/\/wox2019\.woxshare\.com\/*,max-size=131072,requires-body=true,timeout=10,enable=true 56 | 57 | 海德汇一城 = type=cron,script-path=hdhycSign.js,cronexpr="0 07 16 * * *",timeout=10,enable=true 58 | 59 | 60 | 61 | MITM= wox2019.woxshare.com 62 | 63 | 64 | 65 | 66 | 67 | */ 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | const $XidN = XidN(); 83 | 84 | const logs=0;//设置0关闭日志,1开启日志 85 | 86 | 87 | 88 | //++++++++++++++++++++++++++++++++- 89 | 90 | 91 | var dd="海德汇一城小程序"; 92 | 93 | 94 | 95 | 96 | 97 | //++++++++++++++++++++++++++++++++ 98 | 99 | 100 | function main() 101 | { 102 | XidN_degin();} 103 | 104 | 105 | 106 | 107 | async function XidN_degin() 108 | { 109 | let a0=await XidN_Sign(); 110 | log(dd,"",a0); 111 | 112 | } 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | function XidN_Sign() 123 | { 124 | return new Promise((resolve, reject) => { 125 | 126 | var result1="每日打卡奖励🌟"; 127 | var result2=""; 128 | 129 | var RecordAddurl=$XidN.read("RecordAddurlname"); 130 | var RecordAddhd=$XidN.read("RecordAddhdname"); 131 | var RecordAddbd=$XidN.read("RecordAddbdname"); 132 | const Record={ 133 | url:RecordAddurl, 134 | headers:JSON.parse(RecordAddhd), 135 | body:RecordAddbd, 136 | timeout:60000}; 137 | $XidN.post(Record,function(error, response, data) { 138 | if (logs==1)console.log(data) 139 | var obj=JSON.parse(data); 140 | if(obj.errCode== 0) 141 | result2="✅签到"+",奖励"+obj.detail.integral+"积分"; 142 | else 143 | if(obj.errCode== 60101) 144 | result2="签到说明:"+obj.errMsg; 145 | else 146 | result2="签到失败获取cookie"; 147 | 148 | var RecordListurl=$XidN.read("RecordListurlname"); 149 | var RecordAddhd=$XidN.read("RecordAddhdname"); 150 | var RecordListbd=$XidN.read("RecordListbdname"); 151 | const RecordList={ 152 | url:RecordListurl, 153 | headers:JSON.parse(RecordAddhd), 154 | body:RecordListbd, 155 | timeout:60000}; 156 | $XidN.post(RecordList,function(error, response, data) { 157 | if (logs==1)console.log(data) 158 | var obj=JSON.parse(data); 159 | if(obj.errCode== 0) 160 | 161 | var objtemp=obj.detail.signRecordList; 162 | result2+=`[连续签到✨]${obj.detail.doSignDays+"天"+",账户"+obj.detail.userIntegral+"积分"}\n`; 163 | for(var i=0;i"+result2+"\n"; 170 | console.log(result2); 171 | resolve(result2); 172 | }) 173 | }) 174 | }) 175 | } 176 | 177 | 178 | 179 | 180 | function XidN_RecordAdd() { 181 | 182 | if ($request.headers) { 183 | 184 | var urlval = $request.url; 185 | var md_hd=$request.headers; 186 | var md_bd=$request.body; 187 | 188 | if(urlval.indexOf("clientApi/signInRecordAdd")>=0) 189 | { 190 | var so= $XidN.write(md_bd,"RecordAddbdname"); 191 | var ao= $XidN.write(urlval,"RecordAddurlname"); 192 | var bo= $XidN.write(JSON.stringify(md_hd),"RecordAddhdname"); 193 | 194 | if (ao==true&&bo==true&&so==true) 195 | log(dd,"[获取签到数据]","✅成功");} 196 | 197 | else 198 | if(urlval.indexOf("clientApi/signInRecordList")>=0) 199 | { 200 | var so= $XidN.write(urlval,"RecordListurlname"); 201 | var ao= $XidN.write(md_bd,"RecordListbdname"); 202 | 203 | if (ao==true&&so==true) 204 | log(dd,"[获取连续签到数据]","✅成功");} 205 | 206 | 207 | 208 | 209 | } 210 | } 211 | 212 | 213 | 214 | 215 | 216 | 217 | function log(x,y,z){ 218 | 219 | $XidN.notify(x,y,z);} 220 | function getRandom(start, end, fixed = 0) { 221 | let differ = end - start 222 | let random = Math.random() 223 | return (start + differ * random).toFixed(fixed) 224 | } 225 | 226 | if ($XidN.isRequest) { 227 | XidN_RecordAdd() 228 | $XidN.end() 229 | } else { 230 | main(); 231 | $XidN.end() 232 | } 233 | 234 | 235 | 236 | function XidN() { 237 | const isRequest = typeof $request != "undefined" 238 | const isSurge = typeof $httpClient != "undefined" 239 | const isQuanX = typeof $task != "undefined" 240 | const notify = (title, subtitle, message) => { 241 | if (isQuanX) $notify(title, subtitle, message) 242 | if (isSurge) $notification.post(title, subtitle, message) 243 | } 244 | const write = (value, key) => { 245 | if (isQuanX) return $prefs.setValueForKey(value, key) 246 | if (isSurge) return $persistentStore.write(value, key) 247 | } 248 | const read = (key) => { 249 | if (isQuanX) return $prefs.valueForKey(key) 250 | if (isSurge) return $persistentStore.read(key) 251 | } 252 | const get = (options, callback) => { 253 | if (isQuanX) { 254 | if (typeof options == "string") options = { url: options } 255 | options["method"] = "GET" 256 | $task.fetch(options).then(response => { 257 | response["status"] = response.statusCode 258 | callback(null, response, response.body) 259 | }, reason => callback(reason.error, null, null)) 260 | } 261 | if (isSurge) $httpClient.get(options, callback) 262 | } 263 | const post = (options, callback) => { 264 | if (isQuanX) { 265 | if (typeof options == "string") options = { url: options } 266 | options["method"] = "POST" 267 | $task.fetch(options).then(response => { 268 | response["status"] = response.statusCode 269 | callback(null, response, response.body) 270 | }, reason => callback(reason.error, null, null)) 271 | } 272 | if (isSurge) $httpClient.post(options, callback) 273 | } 274 | const end = () => { 275 | if (isQuanX) isRequest ? $done({}) : "" 276 | if (isSurge) isRequest ? $done({}) : $done() 277 | } 278 | return { isRequest, isQuanX, isSurge, notify, write, read, get, post, end } 279 | }; 280 | 281 | 282 | 283 | -------------------------------------------------------------------------------- /sjdjSign.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | @𝐗𝐢𝐝𝐍 𝐃𝐃 感谢红鲤鱼大佬 4 | //++++++++++++++++++++++++++++++++- 5 | 6 | 7 | ⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️ 8 | 先看说明 先看说明 先看说明 9 | 10 | 说明: 11 | 12 | 水晶DJ签到获得水晶听歌用 不是什么羊毛软件 13 | 14 | 圈x获取不到ck就把body改成header 15 | 16 | ⚠️签到的地方获取ck 1处获取ck的地方 17 | 18 | 19 | 20 | 小火箭:签到获取ck 21 | 水晶DJ = type=http-request,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/sjdjSign.js,pattern=^http:\/\/app\.oscaches\.com\/*,max-size=131072,requires-body=true,timeout=10,enable=true 22 | 23 | 定时 水晶DJ = type=cron,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/sjdjSign.js,cronexpr="0 0 0 * * *",timeout=10,enable=true 24 | 25 | 26 | 27 | 28 | 29 | 30 | surge:签到获取ck 31 | 水晶DJ = type=http-request,pattern=^http:\/\/app\.oscaches\.com\/*,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/sjdjSign.js 32 | 33 | 定时 水晶DJ = type=cron,cronexp=0 10 0 * * *,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/sjdjSign.js 34 | 35 | 36 | 37 | 38 | 39 | 圈x:签到获取ck 40 | ^http:\/\/app\.oscaches\.com\/* url script-request-body https://raw.githubusercontent.com/XidNDD/2020scripts/master/sjdjSign.js 41 | 42 | 定时 0 10 0 * * * https://raw.githubusercontent.com/XidNDD/2020scripts/master/sjdjSign.js, tag=水晶DJ, enabled=true 43 | 44 | 45 | 46 | 47 | 48 | 49 | loon:签到获取ck 50 | http-request ^http:\/\/app\.oscaches\.com\/* script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/sjdjSign.js, requires-body=true, timeout=10, tag=水晶DJ 51 | 52 | 53 | 定时 cron "0 10 0 * * *" script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/sjdjSign.js 54 | 55 | 56 | 57 | 58 | MITM=app.oscaches.com 59 | 60 | 61 | 62 | 63 | 64 | 65 | */ 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | const $XidN = XidN(); 77 | 78 | const logs=0;//设置0关闭日志,1开启日志 79 | 80 | 81 | 82 | //++++++++++++++++++++++++++++++++- 83 | 84 | 85 | var dd="水晶DJAPP"; 86 | 87 | 88 | 89 | 90 | 91 | //++++++++++++++++++++++++++++++++ 92 | 93 | 94 | function main() 95 | { 96 | XidN_degin();} 97 | 98 | 99 | 100 | 101 | async function XidN_degin() 102 | { 103 | let a0=await XidN_Sign(); 104 | let a1=await XidN_completeTask(); 105 | let a2=await XidN_getTask(); 106 | log(dd,"",a0+a1+a2); 107 | 108 | } 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | function XidN_Sign() 119 | { 120 | return new Promise((resolve, reject) => { 121 | 122 | var result1="每日签到打卡"; 123 | var result2=""; 124 | 125 | var appinterfacehd=$XidN.read("appinterfacehdname"); 126 | const appinterface={ 127 | url:"http://app.oscaches.com/index/appinterface/sign", 128 | headers:JSON.parse(appinterfacehd), 129 | timeout:60000}; 130 | $XidN.post(appinterface,function(error, response, data) { 131 | if (logs==1)console.log(data) 132 | var obj=JSON.parse(data); 133 | if(obj.code== 200) 134 | result2="打卡成功✅"; 135 | else 136 | if(obj.code== 0) 137 | result2=obj.msg; 138 | else 139 | result2="签到失败获取cookie"; 140 | result2="【"+result1+"】"+result2+"\n"; 141 | console.log(result2); 142 | resolve(result2); 143 | }) 144 | }) 145 | } 146 | 147 | 148 | function XidN_completeTask() 149 | { 150 | return new Promise((resolve, reject) => { 151 | 152 | var result1="首页签到打卡"; 153 | var result2=""; 154 | 155 | var appinterfacehd=$XidN.read("appinterfacehdname"); 156 | const completeTask={ 157 | url:"http://app.oscaches.com/index/appinterface/completeTask", 158 | headers:JSON.parse(appinterfacehd), 159 | body:'rule_id=2', 160 | timeout:60000}; 161 | $XidN.post(completeTask,function(error, response, data) { 162 | if (logs==1)console.log(data) 163 | var obj=JSON.parse(data); 164 | if(obj.code== 200) 165 | result2="打卡成功✅"; 166 | else 167 | if(obj.code==0) 168 | result2=obj.msg; 169 | else 170 | result2="失败获取cookie"; 171 | result2="【"+result1+"】"+result2+"\n"; 172 | console.log(result2); 173 | resolve(result2); 174 | }) 175 | }) 176 | } 177 | 178 | 179 | function XidN_getTask() 180 | { 181 | return new Promise((resolve, reject) => { 182 | 183 | var result1="账户信息查询"; 184 | var result2=""; 185 | 186 | var appinterfacehd=$XidN.read("appinterfacehdname"); 187 | const getTask={ 188 | url:"http://app.oscaches.com/index/appinterface/getTask", 189 | headers:JSON.parse(appinterfacehd), 190 | timeout:60000}; 191 | $XidN.get(getTask,function(error, response, data) { 192 | if (logs==1)console.log(data) 193 | var obj=JSON.parse(data); 194 | if(obj.code== 200) 195 | result2="累计获🉐️"+obj.data.integral+"💎水晶"; 196 | else 197 | result2="失败获取cookie"; 198 | result2="【"+result1+"】"+result2+"\n"; 199 | console.log(result2); 200 | resolve(result2); 201 | }) 202 | }) 203 | } 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | function XidN_sjdj() { 213 | 214 | if ($request.headers) { 215 | 216 | var urlval = $request.url; 217 | var md_hd=$request.headers; 218 | var md_bd=$request.body; 219 | 220 | if(urlval.indexOf("index/appinterface/getTask")>=0) 221 | { 222 | 223 | var bo= $XidN.write(JSON.stringify(md_hd),"appinterfacehdname"); 224 | 225 | if (bo==true) 226 | log(dd,"[获取签到数据]","✅成功");} 227 | 228 | 229 | 230 | 231 | } 232 | } 233 | 234 | 235 | 236 | 237 | 238 | 239 | function log(x,y,z){ 240 | 241 | $XidN.notify(x,y,z);} 242 | function getRandom(start, end, fixed = 0) { 243 | let differ = end - start 244 | let random = Math.random() 245 | return (start + differ * random).toFixed(fixed) 246 | } 247 | 248 | if ($XidN.isRequest) { 249 | XidN_sjdj() 250 | $XidN.end() 251 | } else { 252 | main(); 253 | $XidN.end() 254 | } 255 | 256 | 257 | 258 | function XidN() { 259 | const isRequest = typeof $request != "undefined" 260 | const isSurge = typeof $httpClient != "undefined" 261 | const isQuanX = typeof $task != "undefined" 262 | var link = {"open-url": "https://github.com", 263 | "media-url" : "https://img01.sogoucdn.com/app/a/100520146/451bff539e596f3f04be6f7d230c68cc"}; 264 | const notify = (title, subtitle, message) => { 265 | if (isQuanX) $notify(title, subtitle, message,link) 266 | if (isSurge) $notification.post(title, subtitle, message,{'openUrl':'wechat://','mediaUrl':'https://img01.sogoucdn.com/app/a/100520146/451bff539e596f3f04be6f7d230c68cc'}) 267 | } 268 | const write = (value, key) => { 269 | if (isQuanX) return $prefs.setValueForKey(value, key) 270 | if (isSurge) return $persistentStore.write(value, key) 271 | } 272 | const read = (key) => { 273 | if (isQuanX) return $prefs.valueForKey(key) 274 | if (isSurge) return $persistentStore.read(key) 275 | } 276 | const get = (options, callback) => { 277 | if (isQuanX) { 278 | if (typeof options == "string") options = { url: options } 279 | options["method"] = "GET" 280 | $task.fetch(options).then(response => { 281 | response["status"] = response.statusCode 282 | callback(null, response, response.body) 283 | }, reason => callback(reason.error, null, null)) 284 | } 285 | if (isSurge) $httpClient.get(options, callback) 286 | } 287 | const post = (options, callback) => { 288 | if (isQuanX) { 289 | if (typeof options == "string") options = { url: options } 290 | options["method"] = "POST" 291 | $task.fetch(options).then(response => { 292 | response["status"] = response.statusCode 293 | callback(null, response, response.body) 294 | }, reason => callback(reason.error, null, null)) 295 | } 296 | if (isSurge) $httpClient.post(options, callback) 297 | } 298 | 299 | const end = () => { 300 | if (isQuanX) isRequest ? $done({}) : "" 301 | if (isSurge) isRequest ? $done({}) : $done() 302 | } 303 | return { isRequest, isQuanX, isSurge, notify, write, read, get, post, end} 304 | }; 305 | -------------------------------------------------------------------------------- /mygmcSign.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | @𝐗𝐢𝐝𝐍 𝐃𝐃 4 | //++++++++++++++++++++++++++++++++- 5 | 6 | 7 | 8 | 说明: 9 | 10 | 民盈国贸城小程序 签到可以获得积分兑换物品 11 | 群友需要就写了 不是羊毛 12 | 13 | 圈x获取不到ck就把body改成header 14 | 15 | 打开软件签到获取ck 签过到可能获取不到ck 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | surge:远程 25 | 民盈国贸城 = type=http-request,pattern=^https:\/\/appsmall\.rtmap\.com\/*,requires-body=1,max-size=0,script-path=mygmcSign.js 26 | 27 | 定时 民盈国贸城 = type=cron,cronexp=0 10 0 * * *,script-path=mygmcSign.js 28 | 29 | 30 | 31 | 圈x:远程 32 | 签到获取ck 33 | ^https:\/\/appsmall\.rtmap\.com\/* url script-request-body mygmcSign.js 34 | 35 | 36 | 37 | 38 | 39 | 定时 0 10 0 * * * mygmcSign.js, tag=民盈国贸城, enabled=true 40 | 41 | 42 | 43 | 44 | 45 | loon:远程 46 | 签到获取ck 47 | http-request ^https:\/\/appsmall\.rtmap\.com\/* script-path=mygmcSign.js, requires-body=true, timeout=10, tag=民盈国贸城 48 | 49 | 50 | 51 | 52 | 定时 cron "0 10 0 * * *" script-path=mygmcSign.js 53 | 54 | 55 | 56 | 57 | MITM= appsmall.rtmap.com 58 | 59 | 60 | 61 | 62 | 63 | */ 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | const $XidN = XidN(); 79 | 80 | const logs=0;//设置0关闭日志,1开启日志 81 | 82 | 83 | 84 | //++++++++++++++++++++++++++++++++- 85 | 86 | 87 | var dd="民盈国贸城小程序"; 88 | 89 | 90 | 91 | 92 | 93 | //++++++++++++++++++++++++++++++++ 94 | 95 | 96 | function main() 97 | { 98 | XidN_degin();} 99 | 100 | 101 | 102 | 103 | async function XidN_degin() 104 | { 105 | let d0=await XidN_infosign(); 106 | let d1=await XidN_Sign(); 107 | log(dd,"",d0+d1); 108 | 109 | } 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | function XidN_Sign() 120 | { 121 | return new Promise((resolve, reject) => { 122 | 123 | var result1="每日打卡🏝🏝"; 124 | var result2=""; 125 | 126 | var Recordurl=$XidN.read("Recordurlname"); 127 | var Recordhd=$XidN.read("Recordhdname"); 128 | var Recordbd=$XidN.read("Recordbdname"); 129 | const Record={ 130 | url:Recordurl, 131 | headers:JSON.parse(Recordhd), 132 | body:Recordbd, 133 | timeout:60000}; 134 | $XidN.post(Record,function(error, response, data) { 135 | if (logs==1)console.log(data) 136 | var obj=JSON.parse(data); 137 | if(obj.code== 200) 138 | result2="打卡✅,"+obj.data.today; 139 | else 140 | if(obj.code== 400) 141 | result2="签到失败说明:"+obj.msg; 142 | else 143 | if(obj.code== 500) 144 | result2="签到失败说明:"+obj.msg; 145 | 146 | else 147 | result2="签到失败获取cookie"; 148 | 149 | var Recordgeturl=$XidN.read("Recordgeturlname"); 150 | var Recordgethd=$XidN.read("Recordgethdname"); 151 | const Recordget={ 152 | url:Recordgeturl, 153 | headers:JSON.parse(Recordgethd), 154 | timeout:60000}; 155 | $XidN.get(Recordget,function(error, response, data) { 156 | if (logs==1)console.log(data) 157 | var obj=JSON.parse(data); 158 | if(obj.code== 200) 159 | result2+="[连续打卡]"+obj.data.serialSignDays+"天"; 160 | 161 | for(let i=0;i"+result2+"\n"; 184 | console.log(result2); 185 | resolve(result2); 186 | }) 187 | }) 188 | }) 189 | }) 190 | } 191 | 192 | 193 | function XidN_infosign() 194 | { 195 | return new Promise((resolve, reject) => { 196 | 197 | var result1="查询账户信息🔍"; 198 | var result2=""; 199 | 200 | var customerurl=$XidN.read("customerurlname"); 201 | var customerhd=$XidN.read("customerhdname"); 202 | const customer={ 203 | url:customerurl, 204 | headers:JSON.parse(customerhd), 205 | timeout:60000}; 206 | $XidN.get(customer,function(error, response, data) { 207 | if (logs==1)console.log(data) 208 | var obj=JSON.parse(data); 209 | if(obj.code== 200) 210 | result2="昵称"+obj.data.member.nickname+",当前会员等级"+obj.data.member.cardName+"会员"; 211 | 212 | else 213 | result2="失败获取cookie"; 214 | result2="<"+result1+">"+result2+"\n"; 215 | console.log(result2); 216 | resolve(result2); 217 | }) 218 | }) 219 | } 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | function XidN_mygmc() { 237 | 238 | if ($request.headers) { 239 | 240 | var urlval = $request.url; 241 | var md_hd=$request.headers; 242 | var md_bd=$request.body; 243 | if(urlval.indexOf("sign/signRecord/get?")>=0) 244 | { 245 | 246 | var ko= $XidN.write(urlval,"Recordgeturlname"); 247 | var po= $XidN.write(JSON.stringify(md_hd),"Recordgethdname"); 248 | 249 | if (po==true&&ko==true) 250 | log(dd,"[获取签到日期数据]","✅成功");} 251 | 252 | 253 | else if(urlval.indexOf("wxapp-root/api/v1/score/account?")>=0) 254 | { 255 | 256 | var ko= $XidN.write(urlval,"accounturlname"); 257 | var po= $XidN.write(JSON.stringify(md_hd),"accounthdname"); 258 | 259 | if (po==true&&ko==true) 260 | log(dd,"[获取积分数据]","✅成功");} 261 | 262 | 263 | else if(urlval.indexOf("wxapp-root/api/v1/customer/info?")>=0) 264 | { 265 | 266 | var ko= $XidN.write(urlval,"customerurlname"); 267 | var po= $XidN.write(JSON.stringify(md_hd),"customerhdname"); 268 | 269 | if (po==true&&ko==true) 270 | log(dd,"[获取个人信息数据]","✅成功");} 271 | 272 | 273 | else if(urlval.indexOf("sign/signRecord")>=0) 274 | { 275 | 276 | var ao= $XidN.write(urlval,"Recordurlname"); 277 | var so= $XidN.write(md_bd,"Recordbdname"); 278 | var bo= $XidN.write(JSON.stringify(md_hd),"Recordhdname"); 279 | 280 | if (ao==true&&bo==true&&so==true) 281 | log(dd,"[获取签到数据]","✅成功");} 282 | 283 | 284 | 285 | } 286 | } 287 | 288 | 289 | 290 | 291 | 292 | 293 | function log(x,y,z){ 294 | 295 | $XidN.notify(x,y,z);} 296 | function getRandom(start, end, fixed = 0) { 297 | let differ = end - start 298 | let random = Math.random() 299 | return (start + differ * random).toFixed(fixed) 300 | } 301 | 302 | if ($XidN.isRequest) { 303 | XidN_mygmc() 304 | $XidN.end() 305 | } else { 306 | main(); 307 | $XidN.end() 308 | } 309 | 310 | 311 | 312 | function XidN() { 313 | const isRequest = typeof $request != "undefined" 314 | const isSurge = typeof $httpClient != "undefined" 315 | const isQuanX = typeof $task != "undefined" 316 | const notify = (title, subtitle, message) => { 317 | if (isQuanX) $notify(title, subtitle, message) 318 | if (isSurge) $notification.post(title, subtitle, message) 319 | } 320 | const write = (value, key) => { 321 | if (isQuanX) return $prefs.setValueForKey(value, key) 322 | if (isSurge) return $persistentStore.write(value, key) 323 | } 324 | const read = (key) => { 325 | if (isQuanX) return $prefs.valueForKey(key) 326 | if (isSurge) return $persistentStore.read(key) 327 | } 328 | const get = (options, callback) => { 329 | if (isQuanX) { 330 | if (typeof options == "string") options = { url: options } 331 | options["method"] = "GET" 332 | $task.fetch(options).then(response => { 333 | response["status"] = response.statusCode 334 | callback(null, response, response.body) 335 | }, reason => callback(reason.error, null, null)) 336 | } 337 | if (isSurge) $httpClient.get(options, callback) 338 | } 339 | const post = (options, callback) => { 340 | if (isQuanX) { 341 | if (typeof options == "string") options = { url: options } 342 | options["method"] = "POST" 343 | $task.fetch(options).then(response => { 344 | response["status"] = response.statusCode 345 | callback(null, response, response.body) 346 | }, reason => callback(reason.error, null, null)) 347 | } 348 | if (isSurge) $httpClient.post(options, callback) 349 | } 350 | const end = () => { 351 | if (isQuanX) isRequest ? $done({}) : "" 352 | if (isSurge) isRequest ? $done({}) : $done() 353 | } 354 | return { isRequest, isQuanX, isSurge, notify, write, read, get, post, end } 355 | }; 356 | 357 | 358 | 359 | 360 | -------------------------------------------------------------------------------- /qczjSign.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | @𝐗𝐢𝐝𝐍 𝐃𝐃 感谢红鲤鱼大佬 4 | //++++++++++++++++++++++++++++++++- 5 | 6 | 7 | [红包]我的邀请码19570916,填了咱俩都拿钱[红包] 8 | 9 | 10 | 2020,9,25 增加时段奖励 11 | 时段奖励是每个小时一次奖励 12 | 13 | 14 | 说明: 15 | 16 | 圈x loon 签到和时段奖励都需要2个MITM 另外一个要自己抓包获取每个人不一样 抓包找到,签到的fasthome/taskcenter/init,时段奖励fasthome/coin/addcoin,的包会有一个类似于,183.146.18.877,这样的添加就好了,少一个MITM就获取不到ck 17 | 18 | 汽车之家极速版 签到可以获得金币兑换现金 19 | 20 | 圈x获取不到ck就把body改成header 21 | 22 | 打开软件签到获取ck 签过到可能获取不到ck 23 | 24 | 25 | 26 | 27 | 28 | 29 | surge:远程 30 | 汽车之家极速版 = type=http-request,pattern=^https:\/\/mobile\.app\.autohome\.com\.cn\/fasthome\/*,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/qczjSign.js 31 | 32 | 定时 汽车之家极速版 = type=cron,cronexp=0 10 0 * * *,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/qczjSign.js 33 | 34 | 35 | 36 | 圈x:远程 37 | 签到获取ck 38 | ^https:\/\/mobile\.app\.autohome\.com\.cn\/fasthome\/* url script-request-body https://raw.githubusercontent.com/XidNDD/2020scripts/master/qczjSign.js 39 | 40 | 时段奖励ck 41 | ^http:\/\/mobile\.app\.autohome\.com\.cn\/fasthome\/coin\/* url script-request-body https://raw.githubusercontent.com/XidNDD/2020scripts/master/qczjSign.js 42 | 43 | 44 | 45 | 46 | 定时 0 10 0 * * * https://raw.githubusercontent.com/XidNDD/2020scripts/master/qczjSign.js, tag= 汽车之家极速版, enabled=true 47 | 48 | 49 | 50 | 51 | 52 | loon:远程 53 | 签到获取ck 54 | http-request ^https?:\/\/mobile\.app\.autohome\.com\.cn\/fasthome\/* script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/qczjSign.js, requires-body=true, timeout=10, tag=汽车之家极速版 55 | 56 | 时段获取ck 57 | http-request ^http:\/\/mobile\.app\.autohome\.com\.cn\/fasthome\/coin\/* script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/qczjSign.js, requires-body=true, timeout=10, tag=汽车之家极速版 58 | 59 | 时段获取ck上面的获取不到换这个 60 | http-request ^http:\/\/填写\.你抓\.到的\.数字\/fasthome\/coin\/* script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/qczjSign.js, requires-body=true, timeout=10, tag=汽车之家极速版 61 | 62 | 63 | 64 | 65 | 定时 cron "0 10 0 * * *" script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/qczjSign.js 66 | 67 | 68 | 69 | 70 | MITM= mobile.app.autohome.com.cn 71 | 72 | 73 | 74 | 75 | 76 | */ 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | const $XidN = XidN(); 88 | 89 | const logs=0;//设置0关闭日志,1开启日志 90 | 91 | 92 | 93 | //++++++++++++++++++++++++++++++++- 94 | 95 | 96 | const qichezhijia="汽车之家APP"; 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | //++++++++++++++++++++++++++++++++ 106 | 107 | 108 | function main() 109 | { 110 | XidN_degin();} 111 | 112 | 113 | 114 | 115 | async function XidN_degin() 116 | { 117 | let a0=await XidN_Sign(); 118 | let a1=await XidN_qczjSign(); 119 | papa(qichezhijia,"",a0+a1); 120 | 121 | } 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | function XidN_Sign() 132 | { 133 | return new Promise((resolve, reject) => { 134 | 135 | var result1="极速版打卡✍🏻"; 136 | var result2=""; 137 | 138 | var qczjurl=$XidN.read("qczjurlname"); 139 | var qczjhd=$XidN.read("qczjhdname"); 140 | var qczjbd=$XidN.read("qczjbdname"); 141 | const llUrl1={ 142 | url:qczjurl, 143 | headers:JSON.parse(qczjhd), 144 | body:qczjbd, 145 | timeout:60000}; 146 | $XidN.post(llUrl1,function(error, response, data) { 147 | if (logs==1)console.log(data) 148 | var obj=JSON.parse(data); 149 | if(obj.result.list[0].sign.result.signalter== 1) 150 | result2="✅签到"+",获得"+obj.result.list[0].nowcoin+"💰金币"; 151 | else if(obj.result.list[0].sign.result.signalter== 0) 152 | result2="重复签到⚠️"+",连续签到"+obj.result.list[0].sign.result.signdaycount+"天", 153 | result2+=",现金"+obj.result.list[0].nowmoney+"元💸"+",今日金币"+obj.result.list[0].nowcoin+"个"; 154 | else 155 | result2="签到失败获取cookie"; 156 | result2="<"+result1+">"+result2+"\n"; 157 | console.log(result2); 158 | resolve(result2); 159 | }) 160 | }) 161 | } 162 | 163 | 164 | 165 | 166 | 167 | 168 | function XidN_qczjSign() 169 | { 170 | return new Promise((resolve, reject) => { 171 | 172 | var result1="时段奖励🌟"; 173 | var result2=""; 174 | 175 | var qczjsdurl=$XidN.read("qczjsdurlname"); 176 | var qczjsdhd=$XidN.read("qczjsdhdname"); 177 | var qczjsdbd=$XidN.read("qczjsdbdname"); 178 | 179 | const llUrl1={ 180 | url:qczjsdurl, 181 | headers:JSON.parse(qczjsdhd), 182 | body:qczjsdbd, 183 | timeout:60000}; 184 | $XidN.post(llUrl1,function(error, response, data) { 185 | if (logs==1)console.log(data) 186 | var obj=JSON.parse(data); 187 | if(obj.returncode== 0) 188 | result2="时段奖励✅,+10💰金币"; 189 | else if(obj.returncode== 111) 190 | result2="说明,"+obj.message; 191 | 192 | else 193 | result2="领取失败获取cookie"; 194 | result2="<"+result1+">"+result2+"\n"; 195 | console.log(result2); 196 | resolve(result2); 197 | 198 | 199 | 200 | 201 | 202 | 203 | }) 204 | }) 205 | } 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | function XidN_qczj() { 224 | 225 | if ($request.headers) { 226 | 227 | var urlval = $request.url; 228 | var md_hd=$request.headers; 229 | var md_bd=$request.body; 230 | 231 | if(urlval.indexOf("fasthome/taskcenter/init")>=0) 232 | { 233 | 234 | var ao= $XidN.write(urlval,"qczjurlname"); 235 | var so= $XidN.write(md_bd,"qczjbdname"); 236 | 237 | var bo= $XidN.write(JSON.stringify(md_hd),"qczjhdname"); 238 | 239 | if (ao==true&&bo==true&&so==true) 240 | papa(qichezhijia,"[获取极速版签到数据]","✅成功");} 241 | 242 | 243 | else 244 | if(urlval.indexOf("fasthome/coin/addcoin")>=0) 245 | { 246 | 247 | var ao= $XidN.write(urlval,"qczjsdurlname"); 248 | var so= $XidN.write(md_bd,"qczjsdbdname"); 249 | var bo= $XidN.write(JSON.stringify(md_hd),"qczjsdhdname"); 250 | 251 | if (ao==true&&bo==true&&so==true) 252 | papa(qichezhijia,"[获取时段奖励数据]","✅成功");} 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | } 262 | } 263 | 264 | 265 | 266 | 267 | 268 | 269 | function papa(x,y,z){ 270 | 271 | $XidN.notify(x,y,z);} 272 | function getRandom(start, end, fixed = 0) { 273 | let differ = end - start 274 | let random = Math.random() 275 | return (start + differ * random).toFixed(fixed) 276 | } 277 | 278 | if ($XidN.isRequest) { 279 | XidN_qczj() 280 | $XidN.end() 281 | } else { 282 | main(); 283 | $XidN.end() 284 | } 285 | 286 | 287 | 288 | function XidN() { 289 | const isRequest = typeof $request != "undefined" 290 | const isSurge = typeof $httpClient != "undefined" 291 | const isQuanX = typeof $task != "undefined" 292 | const notify = (title, subtitle, message) => { 293 | if (isQuanX) $notify(title, subtitle, message) 294 | if (isSurge) $notification.post(title, subtitle, message) 295 | } 296 | const write = (value, key) => { 297 | if (isQuanX) return $prefs.setValueForKey(value, key) 298 | if (isSurge) return $persistentStore.write(value, key) 299 | } 300 | const read = (key) => { 301 | if (isQuanX) return $prefs.valueForKey(key) 302 | if (isSurge) return $persistentStore.read(key) 303 | } 304 | const get = (options, callback) => { 305 | if (isQuanX) { 306 | if (typeof options == "string") options = { url: options } 307 | options["method"] = "GET" 308 | $task.fetch(options).then(response => { 309 | response["status"] = response.statusCode 310 | callback(null, response, response.body) 311 | }, reason => callback(reason.error, null, null)) 312 | } 313 | if (isSurge) $httpClient.get(options, callback) 314 | } 315 | const post = (options, callback) => { 316 | if (isQuanX) { 317 | if (typeof options == "string") options = { url: options } 318 | options["method"] = "POST" 319 | $task.fetch(options).then(response => { 320 | response["status"] = response.statusCode 321 | callback(null, response, response.body) 322 | }, reason => callback(reason.error, null, null)) 323 | } 324 | if (isSurge) $httpClient.post(options, callback) 325 | } 326 | const end = () => { 327 | if (isQuanX) isRequest ? $done({}) : "" 328 | if (isSurge) isRequest ? $done({}) : $done() 329 | } 330 | return { isRequest, isQuanX, isSurge, notify, write, read, get, post, end } 331 | }; 332 | -------------------------------------------------------------------------------- /zscdbSign.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | @𝐗𝐢𝐝𝐍 𝐃𝐃 感谢红鲤鱼大佬 4 | //++++++++++++++++++++++++++++++++- 5 | 6 | 7 | 8 | 说明: 9 | 10 | 追书畅读版 签到可以获得金币兑换现金 商店下载软件 11 | 12 | 圈x获取不到ck就把body改成header 13 | 14 | 打开软件签到获取ck 签过到可能获取不到ck 15 | 16 | 获取视频ck时要换掉去广告规则 要不然获取不到 17 | 18 | 共计4个ck 签到 分享 视频奖励 账户信息 19 | 20 | 商店下架了软件 所以搜不到 21 | 22 | 23 | 24 | surge:远程 25 | 追书畅读版 = type=http-request,pattern=^https:\/\/.+zhuishushenqi\.com\/*,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/zscdbSign.js 26 | 27 | 定时 追书畅读版 = type=cron,cronexp=0 10 0 * * *,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/zscdbSign.js 28 | 29 | 30 | 31 | 圈x:远程 32 | 签到获取ck 33 | ^https:\/\/.+zhuishushenqi\.com\/* url script-request-body https://raw.githubusercontent.com/XidNDD/2020scripts/master/zscdbSign.js 34 | 35 | 36 | 37 | 38 | 39 | 定时 0 10 0 * * * https://raw.githubusercontent.com/XidNDD/2020scripts/master/zscdbSign.js, tag=追书畅读版, enabled=true 40 | 41 | 42 | 43 | 44 | 45 | loon:远程 46 | 签到获取ck 47 | http-request ^https:\/\/.+zhuishushenqi\.com\/* script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/zscdbSign.js, requires-body=true, timeout=10, tag=追书畅读版 48 | 49 | 50 | 51 | 52 | 定时 cron "0 10 0 * * *" script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/zscdbSign.js 53 | 54 | 55 | 56 | 57 | MITM= *.zhuishushenqi.com 58 | 59 | 60 | 61 | 62 | 63 | */ 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | const $XidN = XidN(); 79 | 80 | const logs=0;//设置0关闭日志,1开启日志 81 | 82 | 83 | 84 | //++++++++++++++++++++++++++++++++- 85 | 86 | 87 | var dd="追书畅读版APP"; 88 | 89 | 90 | 91 | 92 | 93 | //++++++++++++++++++++++++++++++++ 94 | 95 | 96 | function main() 97 | { 98 | XidN_degin();} 99 | 100 | 101 | 102 | 103 | async function XidN_degin() 104 | { 105 | let a0=await XidN_Sign(); 106 | let a1=await XidN_adver(); 107 | let a2=await XidN_tasks(); 108 | let a3=await XidN_task(); 109 | log(dd,"",a0+a1+a2+a3); 110 | 111 | } 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | function XidN_Sign() 122 | { 123 | return new Promise((resolve, reject) => { 124 | 125 | var result1="每日打卡🏝🏝"; 126 | var result2=""; 127 | 128 | var userurl=$XidN.read("userurlname"); 129 | var userhd=$XidN.read("userhdname"); 130 | const llUrl1={ 131 | url:userurl, 132 | headers:JSON.parse(userhd), 133 | timeout:60000}; 134 | $XidN.get(llUrl1,function(error, response, data) { 135 | if (logs==1)console.log(data) 136 | var obj=JSON.parse(data); 137 | if(obj.ok== true) 138 | result2="✅,"+obj.message+",奖励"+obj.gold+"💰金币"; 139 | else 140 | if(obj.ok== false) 141 | result2="每日只能签到一次哦!!!"; 142 | else 143 | result2="签到失败获取cookie"; 144 | result2="<"+result1+">"+result2+"\n"; 145 | console.log(result2); 146 | resolve(result2); 147 | }) 148 | }) 149 | } 150 | 151 | function XidN_adver() 152 | { 153 | return new Promise((resolve, reject) => { 154 | 155 | var result1="看视频拆红包🧧"; 156 | var result2=""; 157 | 158 | var adverturl=$XidN.read("adverturlname"); 159 | var userhd=$XidN.read("userhdname"); 160 | var advertbd=$XidN.read("advertbdname"); 161 | const llUrl1={ 162 | url:adverturl, 163 | headers:JSON.parse(userhd), 164 | body:advertbd, 165 | timeout:60000}; 166 | $XidN.post(llUrl1,function(error, response, data) { 167 | if (logs==1)console.log(data) 168 | var obj=JSON.parse(data); 169 | if(obj.ok== true) 170 | result2="✅奖励"+obj.prize.gold+"💰金币"; 171 | else 172 | if(obj.ok== false) 173 | result2="每日只有5次机会哦!!!"; 174 | else 175 | result2="失败获取cookie"; 176 | result2="<"+result1+">"+result2+"\n"; 177 | console.log(result2); 178 | resolve(result2); 179 | }) 180 | }) 181 | } 182 | 183 | 184 | 185 | 186 | function XidN_tasks() 187 | { 188 | return new Promise((resolve, reject) => { 189 | 190 | var result1="每日分享奖励💫"; 191 | var result2=""; 192 | 193 | var tasksurl=$XidN.read("tasksurlname"); 194 | var userhd=$XidN.read("userhdname"); 195 | var tasksbd=$XidN.read("tasksbdname"); 196 | const llUrl1={ 197 | url:tasksurl, 198 | headers:JSON.parse(userhd), 199 | body:tasksbd, 200 | timeout:60000}; 201 | $XidN.post(llUrl1,function(error, response, data) { 202 | if (logs==1)console.log(data) 203 | var obj=JSON.parse(data); 204 | if(obj.ok== true) 205 | result2="✅奖励"+obj.data.gold+"💰金币"; 206 | else 207 | if(obj.ok== false) 208 | result2="每日分享只有1次机会哦!!!"; 209 | else 210 | result2="失败获取cookie"; 211 | result2="<"+result1+">"+result2+"\n"; 212 | console.log(result2); 213 | resolve(result2); 214 | }) 215 | }) 216 | } 217 | 218 | function XidN_task() 219 | { 220 | return new Promise((resolve, reject) => { 221 | 222 | var result1="查询账户信息🔍"; 223 | var result2=""; 224 | 225 | var taskurl=$XidN.read("taskurlname"); 226 | var userhd=$XidN.read("userhdname"); 227 | const llUrl1={ 228 | url:taskurl, 229 | headers:JSON.parse(userhd), 230 | timeout:60000}; 231 | $XidN.get(llUrl1,function(error, response, data) { 232 | if (logs==1)console.log(data) 233 | var obj=JSON.parse(data); 234 | if(obj.ok== true) 235 | result2="累计"+obj.info.totalGold+"💰金币"+",累计"+obj.info.balance+"现金💸"+",今日获得"+obj.info.cGold+"💰金币"+"现金"+obj.info.cBalance+"元"+",昨日获得"+obj.info.yGold+"💰金币"+"现金"+obj.info.yBalance+"元"; 236 | else 237 | result2="失败获取cookie"; 238 | result2="<"+result1+">"+result2+"\n"; 239 | console.log(result2); 240 | resolve(result2); 241 | }) 242 | }) 243 | } 244 | 245 | 246 | 247 | 248 | 249 | function XidN_zscdb() { 250 | 251 | if ($request.headers) { 252 | 253 | var urlval = $request.url; 254 | var md_hd=$request.headers; 255 | var md_bd=$request.body; 256 | 257 | if(urlval.indexOf("user/do-sign?")>=0) 258 | { 259 | 260 | var ao= $XidN.write(urlval,"userurlname"); 261 | 262 | var bo= $XidN.write(JSON.stringify(md_hd),"userhdname"); 263 | 264 | if (ao==true&&bo==true) 265 | log(dd,"[获取签到数据]","✅成功");} 266 | 267 | else 268 | if(urlval.indexOf("advert/video/lottery?")>=0) 269 | { 270 | 271 | var so= $XidN.write(urlval,"adverturlname"); 272 | var bo= $XidN.write(md_bd,"advertbdname"); 273 | if (bo==true&&so==true) 274 | log(dd,"[获取看视频数据]","✅成功");} 275 | 276 | else 277 | if(urlval.indexOf("tasks")>=0) 278 | { 279 | 280 | var so= $XidN.write(urlval,"tasksurlname"); 281 | var bo= $XidN.write(md_bd,"tasksbdname"); 282 | if (bo==true&&so==true) 283 | log(dd,"[获取每日分享数据]","✅成功");} 284 | else 285 | if(urlval.indexOf("account?")>=0) 286 | { 287 | 288 | var so= $XidN.write(urlval,"taskurlname"); 289 | if (so==true) 290 | log(dd,"[获取账户余额数据]","✅成功");} 291 | 292 | } 293 | } 294 | 295 | 296 | 297 | 298 | 299 | 300 | function log(x,y,z){ 301 | 302 | $XidN.notify(x,y,z);} 303 | function getRandom(start, end, fixed = 0) { 304 | let differ = end - start 305 | let random = Math.random() 306 | return (start + differ * random).toFixed(fixed) 307 | } 308 | 309 | if ($XidN.isRequest) { 310 | XidN_zscdb() 311 | $XidN.end() 312 | } else { 313 | main(); 314 | $XidN.end() 315 | } 316 | 317 | 318 | 319 | function XidN() { 320 | const isRequest = typeof $request != "undefined" 321 | const isSurge = typeof $httpClient != "undefined" 322 | const isQuanX = typeof $task != "undefined" 323 | const notify = (title, subtitle, message) => { 324 | if (isQuanX) $notify(title, subtitle, message) 325 | if (isSurge) $notification.post(title, subtitle, message) 326 | } 327 | const write = (value, key) => { 328 | if (isQuanX) return $prefs.setValueForKey(value, key) 329 | if (isSurge) return $persistentStore.write(value, key) 330 | } 331 | const read = (key) => { 332 | if (isQuanX) return $prefs.valueForKey(key) 333 | if (isSurge) return $persistentStore.read(key) 334 | } 335 | const get = (options, callback) => { 336 | if (isQuanX) { 337 | if (typeof options == "string") options = { url: options } 338 | options["method"] = "GET" 339 | $task.fetch(options).then(response => { 340 | response["status"] = response.statusCode 341 | callback(null, response, response.body) 342 | }, reason => callback(reason.error, null, null)) 343 | } 344 | if (isSurge) $httpClient.get(options, callback) 345 | } 346 | const post = (options, callback) => { 347 | if (isQuanX) { 348 | if (typeof options == "string") options = { url: options } 349 | options["method"] = "POST" 350 | $task.fetch(options).then(response => { 351 | response["status"] = response.statusCode 352 | callback(null, response, response.body) 353 | }, reason => callback(reason.error, null, null)) 354 | } 355 | if (isSurge) $httpClient.post(options, callback) 356 | } 357 | const end = () => { 358 | if (isQuanX) isRequest ? $done({}) : "" 359 | if (isSurge) isRequest ? $done({}) : $done() 360 | } 361 | return { isRequest, isQuanX, isSurge, notify, write, read, get, post, end } 362 | }; 363 | 364 | 365 | 366 | -------------------------------------------------------------------------------- /Forest/ForestFarmck.js: -------------------------------------------------------------------------------- 1 | //DD 2 | const $ = new Env("ForestFarm APP"); 3 | let FarmList = $.getjson('FarmList', []) 4 | 5 | //========================== 6 | !(async () => { 7 | if (typeof $request !== "undefined") { 8 | await Cookie(); 9 | } 10 | })() 11 | .catch((e) => { 12 | $.log('', `❌ ${$.name}, 失败! 原因: ${e}!`, '') 13 | }) 14 | .finally(() => { 15 | $.done(); 16 | }) 17 | 18 | //========================== 19 | async function Cookie() { 20 | if ($request.url.indexOf("home_info?") > -1) { 21 | const userurl = $request.url.split(`?`)[1]; 22 | const userkey = JSON.stringify($request.headers); 23 | const userId = userurl.split("uid=")[1].split("&")[0]; 24 | let acObj = {}; 25 | if (userId) { 26 | let status = 1; 27 | let seatNo = FarmList.length; 28 | for (let i = 0, len = seatNo; i < len; i++) { 29 | let acObj = FarmList[i] || []; 30 | if (acObj.uid) { 31 | if (acObj.uid == userId) { 32 | seatNo = i; 33 | status = 0; 34 | break; 35 | } 36 | } else if (seatNo == len) { 37 | seatNo = i; 38 | } 39 | } 40 | FarmList[seatNo] = { 41 | uid : userId, 42 | header : userkey, 43 | URl : userurl, 44 | 45 | }; 46 | $.setdata(JSON.stringify(FarmList, null, 2), 'FarmList'); 47 | $.log(`[获取信息数据]✅成功: ${userId}`) 48 | $.log(`[获取信息数据]✅成功: ${userkey}`) 49 | $.log(`[获取信息数据]✅成功: ${userurl}`) 50 | $.msg($.name, '' , `${status?'写入':'更新'} [账号${seatNo+1}] 信息数据成功✅`); 51 | } else { 52 | $.msg($.name, '', `❓❓获取数据失败`); 53 | } 54 | 55 | } 56 | } 57 | 58 | //========================== 59 | 60 | function safeGet(data) { 61 | try { 62 | if (typeof JSON.parse(data) == "object") { 63 | return true; 64 | } 65 | } catch (e) { 66 | console.log(e); 67 | console.log(`⛔️服务器访问数据为空,请检查自身设备网络情况`); 68 | return false; 69 | } 70 | } 71 | 72 | function Env(t,e){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("",`\ud83d\udd14${this.name}, \u5f00\u59cb!`)}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("@"),a={url:`http://${h}/v1/scripting/evaluate`,body:{script_text:t,mock_type:"cron",timeout:r},headers:{"X-Key":o,Accept:"*/*"}};this.post(a,(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"]),this.isSurge()||this.isLoon()?(this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient.get(t,(t,s,i)=>{!t&&s&&(s.body=i,s.statusCode=s.status),e(t,s,i)})):this.isQuanX()?(this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>e(t))):this.isNode()&&(this.initGotEnv(t),this.got(t).on("redirect",(t,e)=>{try{if(t.headers["set-cookie"]){const s=t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString();this.ckjar.setCookieSync(s,null),e.cookieJar=this.ckjar}}catch(t){this.logErr(t)}}).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>{const{message:s,response:i}=t;e(s,i,i&&i.body)}))}post(t,e=(()=>{})){if(t.body&&t.headers&&!t.headers["Content-Type"]&&(t.headers["Content-Type"]="application/x-www-form-urlencoded"),t.headers&&delete t.headers["Content-Length"],this.isSurge()||this.isLoon())this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient.post(t,(t,s,i)=>{!t&&s&&(s.body=i,s.statusCode=s.status),e(t,s,i)});else if(this.isQuanX())t.method="POST",this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>e(t));else if(this.isNode()){this.initGotEnv(t);const{url:s,...i}=t;this.got.post(s,i).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>{const{message:s,response:i}=t;e(s,i,i&&i.body)})}}time(t){let e={"M+":(new Date).getMonth()+1,"d+":(new Date).getDate(),"H+":(new Date).getHours(),"m+":(new Date).getMinutes(),"s+":(new Date).getSeconds(),"q+":Math.floor(((new Date).getMonth()+3)/3),S:(new Date).getMilliseconds()};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,((new Date).getFullYear()+"").substr(4-RegExp.$1.length)));for(let s in e)new RegExp("("+s+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?e[s]:("00"+e[s]).substr((""+e[s]).length)));return t}msg(e=t,s="",i="",r){const o=t=>{if(!t)return t;if("string"==typeof t)return this.isLoon()?t:this.isQuanX()?{"open-url":t}:this.isSurge()?{url:t}:void 0;if("object"==typeof t){if(this.isLoon()){let e=t.openUrl||t.url||t["open-url"],s=t.mediaUrl||t["media-url"];return{openUrl:e,mediaUrl:s}}if(this.isQuanX()){let e=t["open-url"]||t.url||t.openUrl,s=t["media-url"]||t.mediaUrl;return{"open-url":e,"media-url":s}}if(this.isSurge()){let e=t.url||t.openUrl||t["open-url"];return{url:e}}}};this.isMute||(this.isSurge()||this.isLoon()?$notification.post(e,s,i,o(r)):this.isQuanX()&&$notify(e,s,i,o(r)));let h=["","==============\ud83d\udce3\u7cfb\u7edf\u901a\u77e5\ud83d\udce3=============="];h.push(e),s&&h.push(s),i&&h.push(i),console.log(h.join("\n")),this.logs=this.logs.concat(h)}log(...t){t.length>0&&(this.logs=[...this.logs,...t]),console.log(t.join(this.logSeparator))}logErr(t,e){const s=!this.isSurge()&&!this.isQuanX()&&!this.isLoon();s?this.log("",`\u2757\ufe0f${this.name}, \u9519\u8bef!`,t.stack):this.log("",`\u2757\ufe0f${this.name}, \u9519\u8bef!`,t)}wait(t){return new Promise(e=>setTimeout(e,t))}done(t={}){const e=(new Date).getTime(),s=(e-this.startTime)/1e3;this.log("",`\ud83d\udd14${this.name}, \u7ed3\u675f! \ud83d\udd5b ${s} \u79d2`),this.log(),(this.isSurge()||this.isQuanX()||this.isLoon())&&$done(t)}}(t,e)} 73 | -------------------------------------------------------------------------------- /sdcbxscSign.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | @𝐗𝐢𝐝𝐍 𝐃𝐃 感谢红鲤鱼大佬 4 | //++++++++++++++++++++++++++++++++- 5 | 6 | 7 | ⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️ 8 | 先看说明 先看说明 先看说明 9 | 10 | 说明: 11 | 一个号只有3块钱 到了就没有红包了自行删掉脚本或禁用 12 | 13 | 水滴筹需要每天进小程序更新你的步数 要不然签到异常 14 | 15 | 水滴筹保险商城小程序 步数兑换可以获得现金 16 | 17 | 步数达到6666步即可兑换 没有就需要修改步数 18 | 19 | 步数兑换过了就获取不到ck要等第二天 20 | 21 | 圈x获取不到ck就把body改成header 22 | 23 | 打开软件兑换步数获取ck 签过到可能获取不到ck 24 | 25 | ⚠️兑换步数的时候就是签到 1处获取ck的地方 26 | 27 | 28 | 29 | 小火箭:签到获取ck 30 | 水滴筹保险商城小程序 = type=http-request,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/sdcbxscSign.js,pattern=^https:\/\/api\.sdbao\.com\/*,max-size=131072,requires-body=true,timeout=10,enable=true 31 | 32 | 定时 水滴筹保险商城小程序 = type=cron,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/sdcbxscSign.js,cronexpr="0 0 0 * * *",timeout=10,enable=true 33 | 34 | 35 | 36 | 37 | 38 | 39 | surge:签到获取ck 40 | 水滴筹保险商城小程序 = type=http-request,pattern=^https:\/\/api\.sdbao\.com\/*,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/sdcbxscSign.js 41 | 42 | 定时 水滴筹保险商城小程序 = type=cron,cronexp=0 10 0 * * *,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/sdcbxscSign.js 43 | 44 | 45 | 46 | 47 | 48 | 圈x:签到获取ck 49 | ^https:\/\/api\.sdbao\.com\/* url script-request-body https://raw.githubusercontent.com/XidNDD/2020scripts/master/sdcbxscSign.js 50 | 51 | 定时 0 10 0 * * * https://raw.githubusercontent.com/XidNDD/2020scripts/master/sdcbxscSign.js, tag=水滴筹保险商城小程序, enabled=true 52 | 53 | 54 | 55 | 56 | 57 | 58 | loon:签到获取ck 59 | http-request ^https:\/\/api\.sdbao\.com\/* script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/sdcbxscSign.js, requires-body=true, timeout=10, tag=水滴筹保险商城小程序 60 | 61 | 62 | 定时 cron "0 10 0 * * *" script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/sdcbxscSign.js 63 | 64 | 65 | 66 | 67 | MITM=api.sdbao.com 68 | 69 | 70 | 71 | 72 | 73 | 74 | */ 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | const $XidN = XidN(); 86 | 87 | const logs=0;//设置0关闭日志,1开启日志 88 | 89 | 90 | 91 | //++++++++++++++++++++++++++++++++- 92 | 93 | var all=""; 94 | var dd="水滴保险商城小程序"; 95 | 96 | 97 | 98 | 99 | 100 | //++++++++++++++++++++++++++++++++ 101 | 102 | 103 | const delay = ms => new Promise(resolve => setTimeout(resolve, ms)); 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | async function XidN_degin() 112 | { 113 | let a0=await XidN_Sign(); 114 | let a1=await XidN_rain(); 115 | let a2=await XidN_promotion(); 116 | let a3=await XidN_AuthorizationV2(); 117 | let all=a0+a1+a2+a3; 118 | 119 | 120 | 121 | 122 | await delay(2000) 123 | 124 | 125 | 126 | log(dd,"",all); 127 | } 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | function XidN_Sign() 138 | { 139 | return new Promise((resolve, reject) => { 140 | 141 | var result1="每日签到打卡"; 142 | var result2=""; 143 | 144 | var userstepurl=$XidN.read("userstepurlname"); 145 | var userstephd=$XidN.read("userstephdname"); 146 | const userstep={ 147 | url:userstepurl, 148 | headers:JSON.parse(userstephd), 149 | timeout:60000}; 150 | $XidN.get(userstep,function(error, response, data) { 151 | if (logs==1)console.log(data) 152 | var obj=JSON.parse(data); 153 | if(obj.code== 0) 154 | result2="打卡成功✅"; 155 | else 156 | if(obj.code== 43007) 157 | result2=obj.msg; 158 | 159 | else 160 | if(obj.code== 43036) 161 | result2=obj.msg; 162 | 163 | else 164 | if(obj.code== 10009) 165 | result2=obj.msg; 166 | 167 | else 168 | if(obj.code== 43023) 169 | result2=obj.msg; 170 | 171 | else 172 | if(obj.code== 43019) 173 | result2=obj.msg; 174 | 175 | else 176 | result2="签到失败获取cookie"; 177 | result2="【"+result1+"】"+result2+"\n"; 178 | console.log(result2); 179 | resolve(result2); 180 | 181 | }) 182 | }) 183 | } 184 | 185 | function XidN_rain() 186 | { 187 | return new Promise((resolve, reject) => { 188 | 189 | var result1="拆现金红包🎊"; 190 | var result2=""; 191 | var userstephd=$XidN.read("userstephdname"); 192 | const rain={ 193 | url:"https://api.sdbao.com/api/sdb/promotion/health/redpackage/v2/receive?AuthorizationV2=&activityId=1&awardNo=redpackagev2", 194 | headers:JSON.parse(userstephd), 195 | timeout:60000}; 196 | $XidN.get(rain,function(error, response, data) { 197 | if (logs==1)console.log(data) 198 | var obj=JSON.parse(data); 199 | if(obj.code== 0) 200 | result2="兑换现金✅"; 201 | else 202 | if(obj.code== 43008) 203 | result2=obj.msg; 204 | 205 | else 206 | if(obj.code== 43036) 207 | result2=obj.msg; 208 | 209 | else 210 | if(obj.code== 10009) 211 | result2=obj.msg; 212 | 213 | else 214 | if(obj.code== 43023) 215 | result2=obj.msg; 216 | 217 | else 218 | if(obj.code== 43022) 219 | result2=obj.msg; 220 | 221 | else 222 | result2="失败获取cookie"; 223 | result2="【"+result1+"】"+result2+"\n"; 224 | console.log(result2); 225 | resolve(result2); 226 | }) 227 | }) 228 | } 229 | 230 | 231 | 232 | function XidN_promotion() 233 | { 234 | return new Promise((resolve, reject) => { 235 | 236 | var result1="现金红包提现"; 237 | var result2=""; 238 | var userstephd=$XidN.read("userstephdname"); 239 | const promotion={ 240 | url:"https://api.sdbao.com/api/sdb/promotion/health/redpackage/v2/withdraw?AuthorizationV2=&activityId=1&awardNo=redpackagev2withdrawal", 241 | headers:JSON.parse(userstephd), 242 | timeout:60000}; 243 | $XidN.get(promotion,function(error, response, data) { 244 | if (logs==1)console.log(data) 245 | var obj=JSON.parse(data); 246 | if(obj.code== 0) 247 | result2="提现成功✅获🉐️,"+obj.data.amount+"元💸"; 248 | else 249 | if(obj.code== 43011) 250 | result2=obj.msg; 251 | 252 | else 253 | if(obj.code== 43036) 254 | result2=obj.msg; 255 | 256 | else 257 | if(obj.code== 10009) 258 | result2=obj.msg; 259 | 260 | else 261 | if(obj.code== 43023) 262 | result2=obj.msg; 263 | 264 | else 265 | if(obj.code== 43040) 266 | result2=obj.msg; 267 | 268 | else 269 | result2="失败获取cookie"; 270 | result2="【"+result1+"】"+result2+"\n"; 271 | console.log(result2); 272 | resolve(result2); 273 | }) 274 | }) 275 | } 276 | 277 | 278 | function XidN_AuthorizationV2() 279 | { 280 | return new Promise((resolve, reject) => { 281 | 282 | var result1="查询账户信息"; 283 | var result2=""; 284 | var userstephd=$XidN.read("userstephdname"); 285 | const Authorization={ 286 | url:"https://api.sdbao.com/api/sdb/promotion/health/userstep/v2/user-health-detail?AuthorizationV2=&activityId=1", 287 | headers:JSON.parse(userstephd), 288 | timeout:60000}; 289 | $XidN.get(Authorization,function(error, response, data) { 290 | if (logs==1)console.log(data) 291 | var obj=JSON.parse(data); 292 | if(obj.code== 0) 293 | result2="步数达标共"+obj.data.qualifiedDay+"天"; 294 | 295 | 296 | var userstephd=$XidN.read("userstephdname"); 297 | const AuthorizationV={ 298 | url:"https://api.sdbao.com/api/sdb/promotion/activity/health/v2/gotten-service?AuthorizationV2=&activityId=1", 299 | headers:JSON.parse(userstephd), 300 | timeout:60000}; 301 | $XidN.get(AuthorizationV,function(error, response, data) { 302 | if (logs==1)console.log(data) 303 | var obj=JSON.parse(data); 304 | if(obj.code== 0) 305 | result2+=",累计提现"+obj.data.totalPrice+"元💸"; 306 | 307 | else 308 | result2="失败获取cookie"; 309 | result2="【"+result1+"】"+result2+"\n"; 310 | console.log(result2); 311 | resolve(result2); 312 | }) 313 | }) 314 | }) 315 | } 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | function XidN_sdcxcx() { 324 | 325 | if ($request.headers) { 326 | 327 | var urlval = $request.url; 328 | var md_hd=$request.headers; 329 | var md_bd=$request.body; 330 | 331 | if(urlval.indexOf("/api/sdb/promotion/health/userstep/v2/signin?")>=0) 332 | { 333 | 334 | var ao= $XidN.write(urlval,"userstepurlname"); 335 | 336 | var bo= $XidN.write(JSON.stringify(md_hd),"userstephdname"); 337 | 338 | if (ao==true&&bo==true) 339 | log(dd,"[获取签到数据]","✅成功");} 340 | 341 | } 342 | } 343 | 344 | 345 | 346 | function main() 347 | { 348 | XidN_degin();} 349 | 350 | 351 | 352 | function log(x,y,z){ 353 | 354 | $XidN.notify(x,y,z);} 355 | function getRandom(start, end, fixed = 0) { 356 | let differ = end - start 357 | let random = Math.random() 358 | return (start + differ * random).toFixed(fixed) 359 | } 360 | 361 | if ($XidN.isRequest) { 362 | XidN_sdcxcx() 363 | $XidN.end() 364 | } else { 365 | main(); 366 | $XidN.end() 367 | } 368 | 369 | 370 | 371 | 372 | function XidN() { 373 | const isRequest = typeof $request != "undefined" 374 | const isSurge = typeof $httpClient != "undefined" 375 | const isQuanX = typeof $task != "undefined" 376 | const notify = (title, subtitle, message) => { 377 | if (isQuanX) $notify(title, subtitle, message) 378 | if (isSurge) $notification.post(title, subtitle, message) 379 | } 380 | const write = (value, key) => { 381 | if (isQuanX) return $prefs.setValueForKey(value, key) 382 | if (isSurge) return $persistentStore.write(value, key) 383 | } 384 | const read = (key) => { 385 | if (isQuanX) return $prefs.valueForKey(key) 386 | if (isSurge) return $persistentStore.read(key) 387 | } 388 | const get = (options, callback) => { 389 | if (isQuanX) { 390 | if (typeof options == "string") options = { url: options } 391 | options["method"] = "GET" 392 | $task.fetch(options).then(response => { 393 | response["status"] = response.statusCode 394 | callback(null, response, response.body) 395 | }, reason => callback(reason.error, null, null)) 396 | } 397 | if (isSurge) $httpClient.get(options, callback) 398 | } 399 | const post = (options, callback) => { 400 | if (isQuanX) { 401 | if (typeof options == "string") options = { url: options } 402 | options["method"] = "POST" 403 | $task.fetch(options).then(response => { 404 | response["status"] = response.statusCode 405 | callback(null, response, response.body) 406 | }, reason => callback(reason.error, null, null)) 407 | } 408 | if (isSurge) $httpClient.post(options, callback) 409 | } 410 | const end = () => { 411 | if (isQuanX) isRequest ? $done({}) : "" 412 | if (isSurge) isRequest ? $done({}) : $done() 413 | } 414 | return { isRequest, isQuanX, isSurge, notify, write, read, get, post, end } 415 | }; 416 | 417 | -------------------------------------------------------------------------------- /wsxqSign.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | @𝐗𝐢𝐝𝐍 𝐃𝐃 感谢红鲤鱼大佬 4 | //++++++++++++++++++++++++++++++++- 5 | 6 | 7 | 8 | 说明: 9 | 10 | 微商星球 签到可以获得微豆兑换会员 商店下载软件 11 | 12 | 圈x获取不到ck就把body改成header 13 | 14 | 打开软件签到获取ck 签过到可能获取不到ck 15 | 16 | 共有6处获取ck的地方 签到 观看视频 分享动态 考察项目 评论项目 收藏项目 17 | 18 | 19 | 20 | 21 | surge:远程 22 | 微商星球 = type=http-request,pattern=^https:\/\/api\.momosyb\.com\/(v6|v1)\/(fans|user)\/*,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/wsxqSign.js 23 | 24 | 定时 微商星球 = type=cron,cronexp=0 10 0 * * *,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/wsxqSign.js 25 | 26 | 27 | 28 | 圈x:远程 29 | 签到获取ck 30 | ^https:\/\/api\.momosyb\.com\/(v6|v1)\/(fans|user)\/* url script-request-body https://raw.githubusercontent.com/XidNDD/2020scripts/master/wsxqSign.js 31 | 32 | 33 | 34 | 35 | 36 | 定时 0 10 0 * * * https://raw.githubusercontent.com/XidNDD/2020scripts/master/wsxqSign.js, tag= 微商星球, enabled=true 37 | 38 | 39 | 40 | 41 | 42 | loon:远程 43 | 签到获取ck 44 | http-request ^https:\/\/api\.momosyb\.com\/(v6|v1)\/(fans|user)\/* script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/wsxqSign.js, requires-body=true, timeout=10, tag=微商星球 45 | 46 | 47 | 48 | 49 | 定时 cron "0 10 0 * * *" script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/wsxqSign.js 50 | 51 | 52 | 53 | 54 | MITM= api.momosyb.com 55 | 56 | 57 | 58 | 59 | 60 | */ 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | const $XidN = XidN(); 76 | 77 | const logs=0;//设置0关闭日志,1开启日志 78 | 79 | 80 | 81 | //++++++++++++++++++++++++++++++++- 82 | 83 | 84 | var dd="微商星球APP"; 85 | 86 | 87 | 88 | 89 | 90 | //++++++++++++++++++++++++++++++++ 91 | 92 | 93 | function main() 94 | { 95 | XidN_degin();} 96 | 97 | 98 | 99 | 100 | async function XidN_degin() 101 | { 102 | let a0=await XidN_Sign(); 103 | let a1=await XidN_spsign(); 104 | let a2=await XidN_signst(); 105 | let a3=await XidN_datasign(); 106 | let a4=await XidN_datas(); 107 | let a5=await XidN_datastate(); 108 | let a6=await XidN_balance(); 109 | log(dd,"",a0+a1+a2+a3+a4+a5+a6); 110 | 111 | } 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | function XidN_Sign() 122 | { 123 | return new Promise((resolve, reject) => { 124 | 125 | var result1="每日打卡奖励🌟"; 126 | var result2=""; 127 | 128 | var wsxqurl=$XidN.read("wsxqurlname"); 129 | var wsxqhd=$XidN.read("wsxqhdname"); 130 | const llUrl1={ 131 | url:wsxqurl, 132 | headers:JSON.parse(wsxqhd), 133 | timeout:60000}; 134 | $XidN.get(llUrl1,function(error, response, data) { 135 | if (logs==1)console.log(data) 136 | var obj=JSON.parse(data); 137 | if(obj.status== 0) 138 | result2="✅签到"+",获得"+obj.datas.weidou+"微豆"; 139 | else 140 | if(obj.status== -1) 141 | result2="签到说明:"+obj.msg; 142 | else 143 | result2="签到失败获取cookie"; 144 | result2="<"+result1+">"+result2+"\n"; 145 | console.log(result2); 146 | resolve(result2); 147 | }) 148 | }) 149 | } 150 | 151 | 152 | function XidN_spsign() 153 | { 154 | return new Promise((resolve, reject) => { 155 | 156 | var result1="观看视频奖励🎦"; 157 | var result2=""; 158 | 159 | var wsxqspurl=$XidN.read("wsxqspurlname"); 160 | var wsxqhd=$XidN.read("wsxqhdname"); 161 | const llUrl1={ 162 | url:wsxqspurl, 163 | headers:JSON.parse(wsxqhd), 164 | timeout:60000}; 165 | $XidN.get(llUrl1,function(error, response, data) { 166 | if (logs==1)console.log(data) 167 | var obj=JSON.parse(data); 168 | if(obj.status== 0) 169 | result2="✅奖励"+obj.datas.weidou+"微豆"; 170 | else 171 | if(obj.status== -1) 172 | result2="失败:"+obj.msg; 173 | else 174 | result2="签到失败获取cookie"; 175 | result2="<"+result1+">"+result2+"\n"; 176 | console.log(result2); 177 | resolve(result2); 178 | }) 179 | }) 180 | } 181 | 182 | 183 | function XidN_signst() 184 | { 185 | return new Promise((resolve, reject) => { 186 | 187 | var result1="分享动态奖励✨"; 188 | var result2=""; 189 | 190 | var wsxqdturl=$XidN.read("wsxqdturlname"); 191 | var wsxqhd=$XidN.read("wsxqhdname"); 192 | const llUrl1={ 193 | url:wsxqdturl, 194 | headers:JSON.parse(wsxqhd), 195 | timeout:60000}; 196 | $XidN.get(llUrl1,function(error, response, data) { 197 | if (logs==1)console.log(data) 198 | var obj=JSON.parse(data); 199 | if(obj.status== 0) 200 | result2="✅奖励"+obj.datas.weidou+"微豆"; 201 | else 202 | if(obj.status== -1) 203 | result2="失败:"+obj.msg; 204 | else 205 | result2="签到失败获取cookie"; 206 | result2="<"+result1+">"+result2+"\n"; 207 | console.log(result2); 208 | resolve(result2); 209 | }) 210 | }) 211 | } 212 | 213 | function XidN_datasign() 214 | { 215 | return new Promise((resolve, reject) => { 216 | 217 | var result1="考察项目奖励💫"; 218 | var result2=""; 219 | 220 | var wsxqkkurl=$XidN.read("wsxqkkurlname"); 221 | var wsxqhd=$XidN.read("wsxqhdname"); 222 | const llUrl1={ 223 | url:wsxqkkurl, 224 | headers:JSON.parse(wsxqhd), 225 | timeout:60000}; 226 | $XidN.get(llUrl1,function(error, response, data) { 227 | if (logs==1)console.log(data) 228 | var obj=JSON.parse(data); 229 | if(obj.status== 0) 230 | result2="✅奖励"+obj.datas.weidou+"微豆"; 231 | else 232 | if(obj.status== -1) 233 | result2="失败:"+obj.msg; 234 | else 235 | result2="签到失败获取cookie"; 236 | result2="<"+result1+">"+result2+"\n"; 237 | console.log(result2); 238 | resolve(result2); 239 | }) 240 | }) 241 | } 242 | 243 | 244 | function XidN_datas() 245 | { 246 | return new Promise((resolve, reject) => { 247 | 248 | var result1="评论项目奖励🔖"; 249 | var result2=""; 250 | 251 | var wsxqppurl=$XidN.read("wsxqppurlname"); 252 | var wsxqhd=$XidN.read("wsxqhdname"); 253 | const llUrl1={ 254 | url:wsxqppurl, 255 | headers:JSON.parse(wsxqhd), 256 | timeout:60000}; 257 | $XidN.get(llUrl1,function(error, response, data) { 258 | if (logs==1)console.log(data) 259 | var obj=JSON.parse(data); 260 | if(obj.status== 0) 261 | result2="✅奖励"+obj.datas.weidou+"微豆"; 262 | else 263 | if(obj.status== -1) 264 | result2="失败:"+obj.msg; 265 | else 266 | result2="签到失败获取cookie"; 267 | result2="<"+result1+">"+result2+"\n"; 268 | console.log(result2); 269 | resolve(result2); 270 | }) 271 | }) 272 | } 273 | 274 | 275 | function XidN_datastate() 276 | { 277 | return new Promise((resolve, reject) => { 278 | 279 | var result1="收藏项目奖励➰"; 280 | var result2=""; 281 | 282 | var wsxqssurl=$XidN.read("wsxqssurlname"); 283 | var wsxqhd=$XidN.read("wsxqhdname"); 284 | const llUrl1={ 285 | url:wsxqssurl, 286 | headers:JSON.parse(wsxqhd), 287 | timeout:60000}; 288 | $XidN.get(llUrl1,function(error, response, data) { 289 | if (logs==1)console.log(data) 290 | var obj=JSON.parse(data); 291 | if(obj.status== 0) 292 | result2="✅奖励"+obj.datas.weidou+"微豆"; 293 | else 294 | if(obj.status== -1) 295 | result2="失败:"+obj.msg; 296 | else 297 | result2="签到失败获取cookie"; 298 | result2="<"+result1+">"+result2+"\n"; 299 | console.log(result2); 300 | resolve(result2); 301 | }) 302 | }) 303 | } 304 | 305 | 306 | 307 | 308 | 309 | function XidN_balance() 310 | { 311 | return new Promise((resolve, reject) => { 312 | 313 | var result1="当前账号余额⚡️"; 314 | var result2=""; 315 | 316 | var wsxqwdurl=$XidN.read("wsxqwdurlname"); 317 | var wsxqhd=$XidN.read("wsxqhdname"); 318 | const llUrl1={ 319 | url:wsxqwdurl, 320 | headers:JSON.parse(wsxqhd), 321 | timeout:60000}; 322 | $XidN.get(llUrl1,function(error, response, data) { 323 | if (logs==1)console.log(data) 324 | var obj=JSON.parse(data); 325 | if(obj.status== 0) 326 | result2="累计"+obj.data.balance+"微豆"; 327 | 328 | else 329 | result2="签到失败获取cookie"; 330 | result2="<"+result1+">"+result2+"\n"; 331 | console.log(result2); 332 | resolve(result2); 333 | }) 334 | }) 335 | } 336 | 337 | 338 | 339 | 340 | 341 | 342 | 343 | 344 | 345 | function XidN_wsxq() { 346 | 347 | if ($request.headers) { 348 | 349 | var urlval = $request.url; 350 | var md_hd=$request.headers; 351 | var md_bd=$request.body; 352 | 353 | if(urlval.indexOf("taskweidou?do=daily_sign&")>=0) 354 | { 355 | 356 | var ao= $XidN.write(urlval,"wsxqurlname"); 357 | var bo= $XidN.write(JSON.stringify(md_hd),"wsxqhdname"); 358 | 359 | if (ao==true&&bo==true) 360 | log(dd,"[获取签到数据]","✅成功");} 361 | 362 | else 363 | if(urlval.indexOf("taskweidou?do=reward_weidou&task_id=2&")>=0) 364 | { 365 | 366 | var ao= $XidN.write(urlval,"wsxqspurlname"); 367 | 368 | if (ao==true) 369 | log(dd,"[获取观看视频数据]","✅成功");} 370 | 371 | 372 | else 373 | if(urlval.indexOf("taskweidou?do=reward_weidou&task_id=3&")>=0) 374 | { 375 | 376 | var ao= $XidN.write(urlval,"wsxqdturlname"); 377 | 378 | if (ao==true) 379 | log(dd,"[获取分享动态数据]","✅成功");} 380 | 381 | else 382 | if(urlval.indexOf("&task_id=4&")>=0) 383 | { 384 | 385 | var ao= $XidN.write(urlval,"wsxqkkurlname"); 386 | 387 | if (ao==true) 388 | log(dd,"[获取考察项目数据]","✅成功");} 389 | 390 | else 391 | if(urlval.indexOf("taskweidou?do=reward_weidou&task_id=5&")>=0) 392 | { 393 | 394 | var ao= $XidN.write(urlval,"wsxqppurlname"); 395 | 396 | if (ao==true) 397 | log(dd,"[获取评论项目数据]","✅成功");} 398 | 399 | 400 | else 401 | if(urlval.indexOf("taskweidou?do=reward_weidou&task_id=6&")>=0) 402 | { 403 | 404 | var ao= $XidN.write(urlval,"wsxqssurlname"); 405 | 406 | if (ao==true) 407 | log(dd,"[获取收藏项目数据]","✅成功");} 408 | 409 | 410 | 411 | else 412 | if(urlval.indexOf("v1/user/weidou?")>=0) 413 | { 414 | 415 | var ao= $XidN.write(urlval,"wsxqwdurlname"); 416 | 417 | if (ao==true) 418 | log(dd,"[获取累计余额数据]","✅成功");} 419 | 420 | } 421 | } 422 | 423 | 424 | 425 | 426 | 427 | 428 | function log(x,y,z){ 429 | 430 | $XidN.notify(x,y,z);} 431 | function getRandom(start, end, fixed = 0) { 432 | let differ = end - start 433 | let random = Math.random() 434 | return (start + differ * random).toFixed(fixed) 435 | } 436 | 437 | if ($XidN.isRequest) { 438 | XidN_wsxq() 439 | $XidN.end() 440 | } else { 441 | main(); 442 | $XidN.end() 443 | } 444 | 445 | 446 | 447 | function XidN() { 448 | const isRequest = typeof $request != "undefined" 449 | const isSurge = typeof $httpClient != "undefined" 450 | const isQuanX = typeof $task != "undefined" 451 | const notify = (title, subtitle, message) => { 452 | if (isQuanX) $notify(title, subtitle, message) 453 | if (isSurge) $notification.post(title, subtitle, message) 454 | } 455 | const write = (value, key) => { 456 | if (isQuanX) return $prefs.setValueForKey(value, key) 457 | if (isSurge) return $persistentStore.write(value, key) 458 | } 459 | const read = (key) => { 460 | if (isQuanX) return $prefs.valueForKey(key) 461 | if (isSurge) return $persistentStore.read(key) 462 | } 463 | const get = (options, callback) => { 464 | if (isQuanX) { 465 | if (typeof options == "string") options = { url: options } 466 | options["method"] = "GET" 467 | $task.fetch(options).then(response => { 468 | response["status"] = response.statusCode 469 | callback(null, response, response.body) 470 | }, reason => callback(reason.error, null, null)) 471 | } 472 | if (isSurge) $httpClient.get(options, callback) 473 | } 474 | const post = (options, callback) => { 475 | if (isQuanX) { 476 | if (typeof options == "string") options = { url: options } 477 | options["method"] = "POST" 478 | $task.fetch(options).then(response => { 479 | response["status"] = response.statusCode 480 | callback(null, response, response.body) 481 | }, reason => callback(reason.error, null, null)) 482 | } 483 | if (isSurge) $httpClient.post(options, callback) 484 | } 485 | const end = () => { 486 | if (isQuanX) isRequest ? $done({}) : "" 487 | if (isSurge) isRequest ? $done({}) : $done() 488 | } 489 | return { isRequest, isQuanX, isSurge, notify, write, read, get, post, end } 490 | }; 491 | 492 | 493 | 494 | -------------------------------------------------------------------------------- /qczjsign.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | @𝐗𝐢𝐝𝐍 𝐃𝐃 感谢红鲤鱼大佬 4 | //++++++++++++++++++++++++++++++++- 5 | 6 | 7 | [红包]我的邀请码19570916,填了咱俩都拿钱[红包] 8 | 9 | 10 | 2020,9,25 增加时段奖励 11 | 时段奖励是每个小时一次奖励 12 | 2020,10,2 增加现金提现 13 | 提现才能获取到ck 14 | 2020.11.15增加普通版签到 我只测试了loon能用 15 | 16 | 说明: 17 | 18 | 圈x loon 签到和时段奖励都需要2个MITM 另外一个要自己抓包获取每个人不一样 抓包找到,签到的fasthome/taskcenter/init,时段奖励fasthome/coin/addcoin,的包会有一个类似于,183.146.18.877,这样的添加就好了,少一个MITM就获取不到ck 19 | 20 | 汽车之家极速版 签到可以获得金币兑换现金 21 | 22 | 圈x获取不到ck就把body改成header 23 | 24 | 打开软件签到获取ck 签过到可能获取不到ck 25 | 26 | 这个版本就增加提现功能 你感觉没啥用就不用换 27 | 28 | ⚠️⚠️⚠️注意有2个MITM 29 | 30 | 31 | 32 | 小火箭:签到获取ck 33 | 汽车之家极速版 = type=http-request,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/qczjsign.js,pattern=^https:\/\/(mobile|activity)\.app\.autohome\.com\.cn\/*,max-size=131072,requires-body=true,timeout=10,enable=true 34 | 35 | 时段奖励ck 36 | 汽车之家极速版 = type=http-request,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/qczjsign.js,pattern=^http:\/\/mobile\.app\.autohome\.com\.cn\/fasthome\/coin\/*,max-size=131072,requires-body=true,timeout=10,enable=true 37 | 38 | 定时 汽车之家极速版 = type=cron,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/qczjsign.js,cronexpr="0 0 0 * * *",timeout=10,enable=true 39 | 40 | 41 | 42 | 43 | 44 | surge:远程 45 | 汽车之家极速版 = type=http-request,pattern=^https:\/\/(mobile|activity)\.app\.autohome\.com\.cn\/*,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/qczjsign.js 46 | 47 | 定时 汽车之家极速版 = type=cron,cronexp=0 10 0 * * *,script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/qczjsign.js 48 | 49 | 50 | 51 | 圈x:远程 52 | 签到获取ck 53 | ^https:\/\/(mobile|activity)\.app\.autohome\.com\.cn\/* url script-request-body https://raw.githubusercontent.com/XidNDD/2020scripts/master/qczjsign.js 54 | 55 | 时段奖励ck 56 | ^http:\/\/mobile\.app\.autohome\.com\.cn\/fasthome\/coin\/* url script-request-body https://raw.githubusercontent.com/XidNDD/2020scripts/master/qczjsign.js 57 | 58 | 59 | 60 | 61 | 定时 0 10 0 * * * https://raw.githubusercontent.com/XidNDD/2020scripts/master/qczjsign.js, tag= 汽车之家极速版, enabled=true 62 | 63 | 64 | 65 | 66 | 67 | loon:远程 68 | 签到获取ck 69 | http-request ^https:\/\/(mobile|activity)\.app\.autohome\.com\.cn\/* script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/qczjsign.js, requires-body=true, timeout=10, tag=汽车之家极速版 70 | 71 | 时段获取ck 72 | http-request ^http:\/\/mobile\.app\.autohome\.com\.cn\/fasthome\/coin\/* script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/qczjsign.js, requires-body=true, timeout=10, tag=汽车之家极速版 73 | 74 | 75 | 76 | 定时 cron "0 10 0 * * *" script-path=https://raw.githubusercontent.com/XidNDD/2020scripts/master/qczjsign.js 77 | 78 | 79 | 80 | 81 | MITM= mobile.app.autohome.com.cn, activity.app.autohome.com.cn 82 | 83 | 84 | 85 | 86 | */ 87 | 88 | 89 | 90 | 91 | 92 | 93 | //++++++++++++++++++++++++++++++++ 94 | 95 | 96 | const $XidN = XidN(); 97 | 98 | const logs=0;//设置0关闭日志,1开启日志 99 | 100 | 101 | 102 | //++++++++++++++++++++++++++++++++- 103 | 104 | 105 | const dd="汽车之家APP"; 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | //++++++++++++++++++++++++++++++++ 115 | 116 | 117 | function main() 118 | { 119 | XidN_degin();} 120 | 121 | 122 | 123 | 124 | async function XidN_degin() 125 | { 126 | let a0=await XidN_Sign(); 127 | let a1=await XidN_qczjSign(); 128 | let a2=await XidN_qczjsdSign(); 129 | let a3=await XidN_qczjxjSign(); 130 | papa(dd,"",a0+a1+a2+a3); 131 | 132 | } 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | function XidN_Sign() 143 | { 144 | return new Promise((resolve, reject) => { 145 | 146 | var result1="极速版打卡✍🏻"; 147 | var result2=""; 148 | 149 | var qczjurl=$XidN.read("qczjurlname"); 150 | var qczjhd=$XidN.read("qczjhdname"); 151 | var qczjbd=$XidN.read("qczjbdname"); 152 | const llUrl1={ 153 | url:qczjurl, 154 | headers:JSON.parse(qczjhd), 155 | body:qczjbd, 156 | timeout:60000}; 157 | $XidN.post(llUrl1,function(error, response, data) { 158 | if (logs==1)console.log(data) 159 | var obj=JSON.parse(data); 160 | if(obj.result.list[0].sign.result.signalter== 1) 161 | result2="✅签到"+",获得"+obj.result.list[0].nowcoin+"💰金币"+",连续签到"+obj.result.list[0].sign.result.signdaycount+"天"+",现金"+obj.result.list[0].nowmoney+"元💸\n"; 162 | else if(obj.result.list[0].sign.result.signalter== 0) 163 | result2="重复签到⚠️"+",连续签到"+obj.result.list[0].sign.result.signdaycount+"天", 164 | result2+=",现金"+obj.result.list[0].nowmoney+"元💸"+",今日"+obj.result.list[0].nowcoin+"💰金币\n"; 165 | else 166 | result2="签到失败❎"; 167 | 168 | result2="<"+result1+">"+result2+""; 169 | console.log(result2); 170 | resolve(result2); 171 | }) 172 | }) 173 | } 174 | 175 | 176 | 177 | 178 | 179 | 180 | function XidN_qczjSign() 181 | { 182 | return new Promise((resolve, reject) => { 183 | 184 | var result1="普通版打卡✍🏻"; 185 | var result2=""; 186 | 187 | var signdetailurl=$XidN.read("signdetailurlname"); 188 | var signdetailhd=$XidN.read("signdetailhdname"); 189 | 190 | const llUrl1={ 191 | url:signdetailurl, 192 | headers:JSON.parse(signdetailhd), 193 | timeout:60000}; 194 | $XidN.get(llUrl1,function(error, response, data) { 195 | if (logs==1)console.log(data) 196 | var obj=JSON.parse(data); 197 | if(obj.result.signwindowflag== 1) 198 | result2="✅签到"+",获得"+obj.result.signcoincount+"💰金币"+"连续签到"+obj.result.weekday+"天"; 199 | else if(obj.result.signwindowflag== 0) 200 | result2="重复签到⚠️"+",连续签到"+obj.result.weekday+"天"; 201 | 202 | 203 | 204 | 205 | 206 | 207 | const llUrl2={ 208 | url:"https://activity.app.autohome.com.cn/acti818/signin/index?version=10.11.6&pm=1&time=1600663203838&auth=f27ae2eb2ea6414588369cc399b783110b973ca6&userid=194460838&deviceid=d5fa7e607eb3d8ba76ed03990c63168a26325827&timer=1600663203839", 209 | headers:JSON.parse(signdetailhd), 210 | timeout:60000}; 211 | $XidN.get(llUrl2,function(error, response, data) { 212 | if (logs==1)console.log(data) 213 | var obj=JSON.parse(data); 214 | if(obj.returncode== 0) 215 | result2+=",累计获得"+obj.result.coincount+"💰金币"+",现金累计"+obj.result.coinmoney+"💸元✨"; 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | const llUrl3={ 224 | url:"https://activity.app.autohome.com.cn/acti818/signin/lottery?deviceId=d5fa7e607eb3d8ba76ed03990c63168a26325827&auth=f27ae2eb2ea6414588369cc399b783110b973ca6&userid=194460838&deviceid=d5fa7e607eb3d8ba76ed03990c63168a26325827&timer=1601741612968", 225 | headers:JSON.parse(signdetailhd), 226 | timeout:60000}; 227 | $XidN.get(llUrl3,function(error, response, data) { 228 | if (logs==1)console.log(data) 229 | var obj=JSON.parse(data); 230 | if(obj.returncode== 0) 231 | result2+="签到抽大奖"+",获得"+obj.result.coin+"💰金币"; 232 | else 233 | if(obj.returncode== 10003) 234 | result2+="签到抽大奖"+",失败:"+obj.message; 235 | 236 | else 237 | if(obj.returncode== 10002) 238 | result2+="签到抽大奖"+",失败:"+obj.message; 239 | 240 | else 241 | result2="签到失败❎"; 242 | 243 | 244 | 245 | 246 | result2="<"+result1+">"+result2+"\n"; 247 | console.log(result2); 248 | resolve(result2); 249 | }) 250 | }) 251 | }) 252 | }) 253 | } 254 | 255 | 256 | 257 | 258 | 259 | function XidN_qczjsdSign() 260 | { 261 | return new Promise((resolve, reject) => { 262 | 263 | var result1="时段奖励🌟"; 264 | var result2=""; 265 | 266 | var qczjsdurl=$XidN.read("qczjsdurlname"); 267 | var qczjsdhd=$XidN.read("qczjsdhdname"); 268 | var qczjsdbd=$XidN.read("qczjsdbdname"); 269 | 270 | const llUrl1={ 271 | url:qczjsdurl, 272 | headers:JSON.parse(qczjsdhd), 273 | body:qczjsdbd, 274 | timeout:60000}; 275 | $XidN.post(llUrl1,function(error, response, data) { 276 | if (logs==1)console.log(data) 277 | var obj=JSON.parse(data); 278 | if(obj.returncode== 0) 279 | result2="时段奖励✅,+10💰金币"; 280 | else if(obj.returncode== 111) 281 | result2="说明:"+obj.message; 282 | 283 | else 284 | result2="领取失败获取cookie"; 285 | result2="<"+result1+">"+result2+"\n"; 286 | console.log(result2); 287 | resolve(result2); 288 | 289 | 290 | 291 | 292 | 293 | 294 | }) 295 | }) 296 | } 297 | 298 | 299 | 300 | 301 | function XidN_qczjxjSign() 302 | { 303 | return new Promise((resolve, reject) => { 304 | 305 | var result1="现金提现💸"; 306 | var result2=""; 307 | 308 | var qczjxjurl=$XidN.read("qczjxjurlname"); 309 | var qczjxjhd=$XidN.read("qczjxjhdname"); 310 | var qczjxjbd=$XidN.read("qczjxjbdname"); 311 | 312 | const llUrl1={ 313 | url:qczjxjurl, 314 | headers:JSON.parse(qczjxjhd), 315 | body:qczjxjbd, 316 | timeout:60000}; 317 | $XidN.post(llUrl1,function(error, response, data) { 318 | if (logs==1)console.log(data) 319 | var obj=JSON.parse(data); 320 | if(obj.returncode== 0) 321 | result2="提现成功✅,详情看明细"; 322 | else if(obj.returncode== -12) 323 | result2="失败:"+obj.message; 324 | else if(obj.returncode== -103) 325 | result2="失败:"+obj.message; 326 | else if(obj.returncode== -13) 327 | result2="失败:"+obj.message+obj.daydes+obj.time+"点补充库存"; 328 | 329 | 330 | else 331 | result2="领取失败获取cookie"; 332 | result2="<"+result1+">"+result2+"\n"; 333 | console.log(result2); 334 | resolve(result2); 335 | 336 | 337 | 338 | 339 | 340 | 341 | }) 342 | }) 343 | } 344 | 345 | 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | 357 | 358 | 359 | 360 | function XidN_qczj() { 361 | 362 | if ($request.headers) { 363 | 364 | var urlval = $request.url; 365 | var md_hd=$request.headers; 366 | var md_bd=$request.body; 367 | 368 | if(urlval.indexOf("fasthome/taskcenter/init")>=0) 369 | { 370 | 371 | var ao= $XidN.write(urlval,"qczjurlname"); 372 | var so= $XidN.write(md_bd,"qczjbdname"); 373 | 374 | var bo= $XidN.write(JSON.stringify(md_hd),"qczjhdname"); 375 | 376 | if (ao==true&&bo==true&&so==true) 377 | papa(dd,"[获取极速版签到数据]","✅成功");} 378 | 379 | 380 | else 381 | if(urlval.indexOf("fasthome/coin/addcoin")>=0) 382 | { 383 | 384 | var ao= $XidN.write(urlval,"qczjsdurlname"); 385 | var so= $XidN.write(md_bd,"qczjsdbdname"); 386 | var bo= $XidN.write(JSON.stringify(md_hd),"qczjsdhdname"); 387 | 388 | if (ao==true&&bo==true&&so==true) 389 | papa(dd,"[获取时段奖励数据]","✅成功");} 390 | 391 | 392 | 393 | 394 | 395 | else 396 | if(urlval.indexOf("fasthome/coin/cointowallet")>=0) 397 | { 398 | 399 | var ao= $XidN.write(urlval,"qczjxjurlname"); 400 | var so= $XidN.write(md_bd,"qczjxjbdname"); 401 | var bo= $XidN.write(JSON.stringify(md_hd),"qczjxjhdname"); 402 | 403 | if (ao==true&&bo==true&&so==true) 404 | papa(dd,"[获取现金提现数据]","✅成功");} 405 | 406 | 407 | else 408 | if(urlval.indexOf("acti818/signin/signdetail?")>=0) 409 | { 410 | 411 | var ao= $XidN.write(urlval,"signdetailurlname"); 412 | var bo= $XidN.write(JSON.stringify(md_hd),"signdetailhdname"); 413 | 414 | if (ao==true&&bo==true) 415 | papa(dd,"[获取普通版数据]","✅成功");} 416 | 417 | 418 | } 419 | } 420 | 421 | 422 | 423 | 424 | 425 | 426 | function papa(x,y,z){ 427 | 428 | $XidN.notify(x,y,z);} 429 | function getRandom(start, end, fixed = 0) { 430 | let differ = end - start 431 | let random = Math.random() 432 | return (start + differ * random).toFixed(fixed) 433 | } 434 | 435 | if ($XidN.isRequest) { 436 | XidN_qczj() 437 | $XidN.end() 438 | } else { 439 | main(); 440 | $XidN.end() 441 | } 442 | 443 | 444 | 445 | function XidN() { 446 | const isRequest = typeof $request != "undefined" 447 | const isSurge = typeof $httpClient != "undefined" 448 | const isQuanX = typeof $task != "undefined" 449 | const notify = (title, subtitle, message) => { 450 | if (isQuanX) $notify(title, subtitle, message) 451 | if (isSurge) $notification.post(title, subtitle, message) 452 | } 453 | const write = (value, key) => { 454 | if (isQuanX) return $prefs.setValueForKey(value, key) 455 | if (isSurge) return $persistentStore.write(value, key) 456 | } 457 | const read = (key) => { 458 | if (isQuanX) return $prefs.valueForKey(key) 459 | if (isSurge) return $persistentStore.read(key) 460 | } 461 | const get = (options, callback) => { 462 | if (isQuanX) { 463 | if (typeof options == "string") options = { url: options } 464 | options["method"] = "GET" 465 | $task.fetch(options).then(response => { 466 | response["status"] = response.statusCode 467 | callback(null, response, response.body) 468 | }, reason => callback(reason.error, null, null)) 469 | } 470 | if (isSurge) $httpClient.get(options, callback) 471 | } 472 | const post = (options, callback) => { 473 | if (isQuanX) { 474 | if (typeof options == "string") options = { url: options } 475 | options["method"] = "POST" 476 | $task.fetch(options).then(response => { 477 | response["status"] = response.statusCode 478 | callback(null, response, response.body) 479 | }, reason => callback(reason.error, null, null)) 480 | } 481 | if (isSurge) $httpClient.post(options, callback) 482 | } 483 | const end = () => { 484 | if (isQuanX) isRequest ? $done({}) : "" 485 | if (isSurge) isRequest ? $done({}) : $done() 486 | } 487 | return { isRequest, isQuanX, isSurge, notify, write, read, get, post, end } 488 | }; 489 | 490 | 491 | 492 | -------------------------------------------------------------------------------- /QQReadSign.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | @𝐃𝐃 𝐃𝐃 感谢红鲤鱼大佬 4 | //++++++++++++++++++++++++++++++++- 5 | 6 | 7 | ⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️ 8 | 先看说明 先看说明 先看说明 9 | 10 | 获取ck的时候显示出错了就是去广告规则的原因 11 | 12 | 说明: 13 | 14 | QQ阅读APP 签到可以获🉐️金币兑换现金 15 | 16 | 没有阅读时长 没有阅读时长 没有阅读时长 17 | 18 | 签过了有可能就获取不到ck要等第二天 19 | 20 | 圈x获取不到ck就把header改成body 21 | 22 | 打开软件签到获取ck 签过到可能获取不到ck 23 | 24 | ⚠️看视频领金币 账户信息 2处获取ck的地方⚠️ 2个主机名 25 | 26 | 27 | 28 | 小火箭:签到获取ck 29 | QQ阅读APP = type=http-request,script-path=QQReadSign.js,pattern=^https:\/\/(commontgw6|eventv3)\.reader\.qq\.com\/*,max-size=131072,requires-body=true,timeout=10,enable=true 30 | 31 | 定时 QQ阅读APP = type=cron,script-path=QQReadSign.js,cronexpr="0 0 0 * * *",timeout=10,enable=true 32 | 33 | 34 | 35 | 36 | 37 | 38 | surge:签到获取ck 39 | QQ阅读APP = type=http-request,pattern=^https:\/\/(commontgw6|eventv3)\.reader\.qq\.com\/*,requires-body=1,max-size=0,script-path=QQReadSign.js 40 | 41 | 定时 QQ阅读APP = type=cron,cronexp=0 10 0 * * *,script-path=QQReadSign.js 42 | 43 | 44 | 45 | 46 | 47 | 圈x:签到获取ck 48 | ^https:\/\/(commontgw6|eventv3)\.reader\.qq\.com\/* url script-request-header QQReadSign.js 49 | 50 | 定时 0 10 0 * * * QQReadSign.js, tag=QQ阅读APP, enabled=true 51 | 52 | 53 | 54 | 55 | 56 | 57 | loon:签到获取ck 58 | http-request ^https:\/\/(commontgw6|eventv3)\.reader\.qq\.com\/* script-path=QQReadSign.js, requires-body=true, timeout=10, tag=QQ阅读APP 59 | 60 | 61 | 定时 cron "0 10 0 * * *" script-path=QQReadSign.js 62 | 63 | 64 | 65 | 66 | MITM=commontgw6.reader.qq.com, eventv3.reader.qq.com 67 | 68 | 69 | 70 | 71 | 72 | 73 | */ 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | const DD ='QQ阅读APP'; 86 | 87 | const $ = new Env(DD); 88 | 89 | 90 | const logs=0;//设置0关闭日志,1开启日志 91 | 92 | 93 | console.log(`\n============ 脚本执行时间(TM):${new Date(new Date().getTime() + 0 * 60 * 60 * 1000).toLocaleString('zh', {hour12: false})} =============\n`) 94 | 95 | 96 | !(async () => { 97 | if (typeof $request != "undefined") { 98 | await qedssign() 99 | } else { 100 | await nativeSign() 101 | await checkinSign() 102 | await punchCardSign() 103 | await watchVideoSign() 104 | await openBoxSign() 105 | await querSign() 106 | await Msg() 107 | } 108 | })() 109 | .catch((e) => $.logErr(e)) 110 | .finally(() => $.done()) 111 | 112 | 113 | 114 | function checkinSign() { 115 | return new Promise((resolve) => { 116 | let Url = { 117 | url : "https://commontgw6.reader.qq.com/v7_5_1/checkin?isresign=0", 118 | headers : JSON.parse($.getdata('checkinheader')), 119 | 120 | } 121 | $.get(Url, async (err, resp, data) => { 122 | try { 123 | data = JSON.parse(data); 124 | if(logs==1)console.log(data) 125 | $.checkin = data; 126 | } catch (e) { 127 | $.logErr(e, resp); 128 | } finally { 129 | resolve() 130 | } 131 | }) 132 | }) 133 | } 134 | 135 | 136 | function punchCardSign() { 137 | return new Promise((resolve) => { 138 | let Url = { 139 | url : "https://eventv3.reader.qq.com/activity/pkg11955/punchCard_v2", 140 | headers : JSON.parse($.getdata('punchCardheader')), 141 | 142 | } 143 | $.get(Url, async (err, resp, data) => { 144 | try { 145 | data = JSON.parse(data); 146 | if(logs==1)console.log(data) 147 | $.punchCard = data; 148 | } catch (e) { 149 | $.logErr(e, resp); 150 | } finally { 151 | resolve() 152 | } 153 | }) 154 | }) 155 | } 156 | 157 | 158 | function nativeSign() { 159 | return new Promise((resolve) => { 160 | let Url = { 161 | url : "https://commontgw6.reader.qq.com/v7_5_1/nativepage/getAcctInfo", 162 | headers : JSON.parse($.getdata('checkinheader')), 163 | 164 | } 165 | $.get(Url, async (err, resp, data) => { 166 | try { 167 | data = JSON.parse(data); 168 | if(logs==1)console.log(data) 169 | $.native = data; 170 | } catch (e) { 171 | $.logErr(e, resp); 172 | } finally { 173 | resolve() 174 | } 175 | }) 176 | }) 177 | } 178 | 179 | 180 | function watchVideoSign() { 181 | return new Promise((resolve) => { 182 | let Url = { 183 | url : "https://eventv3.reader.qq.com/activity/pkg11955/watchVideo", 184 | headers : JSON.parse($.getdata('punchCardheader')), 185 | 186 | } 187 | $.get(Url, async (err, resp, data) => { 188 | try { 189 | data = JSON.parse(data); 190 | if(logs==1)console.log(data) 191 | $.watchVideo = data; 192 | } catch (e) { 193 | $.logErr(e, resp); 194 | } finally { 195 | resolve() 196 | } 197 | }) 198 | }) 199 | } 200 | 201 | 202 | function openBoxSign() { 203 | return new Promise((resolve) => { 204 | let Url = { 205 | url : "https://eventv3.reader.qq.com/activity/pkg11955/openBox", 206 | headers : JSON.parse($.getdata('punchCardheader')), 207 | 208 | } 209 | $.get(Url, async (err, resp, data) => { 210 | try { 211 | data = JSON.parse(data); 212 | if(logs==1)console.log(data) 213 | $.openBox = data; 214 | } catch (e) { 215 | $.logErr(e, resp); 216 | } finally { 217 | resolve() 218 | } 219 | }) 220 | }) 221 | } 222 | 223 | 224 | function querSign() { 225 | return new Promise((resolve) => { 226 | let Url = { 227 | url : "https://eventv3.reader.qq.com/activity/pkg11955/myPageInit", 228 | headers : JSON.parse($.getdata('punchCardheader')), 229 | 230 | } 231 | $.get(Url, async (err, resp, data) => { 232 | try { 233 | data = JSON.parse(data); 234 | if(logs==1)console.log(data) 235 | $.quer = data; 236 | } catch (e) { 237 | $.logErr(e, resp); 238 | } finally { 239 | resolve() 240 | } 241 | }) 242 | }) 243 | } 244 | 245 | 246 | 247 | 248 | function Msg() { 249 | let dd = "" 250 | 251 | if ($.native.code == 0) 252 | dd +="【账户昵称】"+$.native.nick+"\n"; 253 | 254 | 255 | if ($.checkin.code == 0) 256 | dd +="【首页签到】"+"首页签到成功✅\n"; 257 | 258 | if ($.checkin.code == -2) 259 | dd +="【首页签到】"+"今日已完成打卡\n"; 260 | 261 | if ($.punchCard.code == 0) 262 | dd +="【打卡金币】"+"获得"+$.punchCard.data.coinNum+"金币\n"; 263 | 264 | if ($.punchCard.code == -6) 265 | dd +="【打卡金币】"+$.punchCard.msg+"\n"; 266 | 267 | 268 | if ($.watchVideo.code == 0) 269 | dd+="【看视频领金币】"+"+100💰"+"已看"+$.watchVideo.data.videoCount+"次\n"; 270 | if ($.watchVideo.code == -6) 271 | dd+="【看视频领金币】"+"明日再来\n"; 272 | 273 | 274 | if ($.openBox.code == -1) 275 | dd+="【时段宝箱打卡】"+"时间未到\n"; 276 | 277 | if ($.openBox.data.status == 0) 278 | dd+="【时段宝箱打卡】"+"获得"+$.openBox.data.coin+"💰金币"+",开宝箱时间"+timestampToTime($.openBox.data.openTime)+"\n"; 279 | if ($.openBox.data.status == 3) 280 | dd+="【时段宝箱打卡】"+"时间未到1小时后开启\n"; 281 | 282 | 283 | if ($.quer.code == 0) 284 | 285 | dd+="【账号信息查询】"+"当前账号"+$.quer.data.coinBalance+"💰金币"+",现金"+$.quer.data.cashBalance+"元"+",累计现金"+$.quer.data.cashGet+"元"; 286 | 287 | 288 | 289 | $.msg($.name,"",dd) 290 | } 291 | 292 | 293 | 294 | function qedssign() { 295 | if ($request.url.indexOf("getAcctInfo") > -1) { 296 | $.setdata(JSON.stringify($request.headers),'checkinheader') 297 | 298 | $.msg($.name,"","[获取信息数据]✅成功")} 299 | 300 | else 301 | if ($request.url.indexOf("watchVideo") > -1) { 302 | $.setdata(JSON.stringify($request.headers),'punchCardheader') 303 | $.msg($.name,"","[获取视频数据]✅成功")} 304 | 305 | } 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | function timestampToTime(timestamp) { 322 | var date = new Date(timestamp); 323 | var Y = date.getFullYear() + '-'; 324 | var M = (date.getMonth()+1 < 10 ? '0'+(date.getMonth()+1) : date.getMonth()+1) + '-'; 325 | var D = date.getDate() + ' '; 326 | var h = date.getHours() + ':'; 327 | var m = date.getMinutes() + ':'; 328 | var s = date.getSeconds(); 329 | return h+m+s; 330 | } 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | 343 | 344 | 345 | 346 | 347 | 348 | 349 | function Env(t,e){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("",`\ud83d\udd14${this.name}, \u5f00\u59cb!`)}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("@"),a={url:`http://${h}/v1/scripting/evaluate`,body:{script_text:t,mock_type:"cron",timeout:r},headers:{"X-Key":o,Accept:"*/*"}};this.post(a,(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"]),this.isSurge()||this.isLoon()?(this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient.get(t,(t,s,i)=>{!t&&s&&(s.body=i,s.statusCode=s.status),e(t,s,i)})):this.isQuanX()?(this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>e(t))):this.isNode()&&(this.initGotEnv(t),this.got(t).on("redirect",(t,e)=>{try{if(t.headers["set-cookie"]){const s=t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString();this.ckjar.setCookieSync(s,null),e.cookieJar=this.ckjar}}catch(t){this.logErr(t)}}).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>{const{message:s,response:i}=t;e(s,i,i&&i.body)}))}post(t,e=(()=>{})){if(t.body&&t.headers&&!t.headers["Content-Type"]&&(t.headers["Content-Type"]="application/x-www-form-urlencoded"),t.headers&&delete t.headers["Content-Length"],this.isSurge()||this.isLoon())this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient.post(t,(t,s,i)=>{!t&&s&&(s.body=i,s.statusCode=s.status),e(t,s,i)});else if(this.isQuanX())t.method="POST",this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>e(t));else if(this.isNode()){this.initGotEnv(t);const{url:s,...i}=t;this.got.post(s,i).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>{const{message:s,response:i}=t;e(s,i,i&&i.body)})}}time(t){let e={"M+":(new Date).getMonth()+1,"d+":(new Date).getDate(),"H+":(new Date).getHours(),"m+":(new Date).getMinutes(),"s+":(new Date).getSeconds(),"q+":Math.floor(((new Date).getMonth()+3)/3),S:(new Date).getMilliseconds()};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,((new Date).getFullYear()+"").substr(4-RegExp.$1.length)));for(let s in e)new RegExp("("+s+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?e[s]:("00"+e[s]).substr((""+e[s]).length)));return t}msg(e=t,s="",i="",r){const o=t=>{if(!t)return t;if("string"==typeof t)return this.isLoon()?t:this.isQuanX()?{"open-url":t}:this.isSurge()?{url:t}:void 0;if("object"==typeof t){if(this.isLoon()){let e=t.openUrl||t.url||t["open-url"],s=t.mediaUrl||t["media-url"];return{openUrl:e,mediaUrl:s}}if(this.isQuanX()){let e=t["open-url"]||t.url||t.openUrl,s=t["media-url"]||t.mediaUrl;return{"open-url":e,"media-url":s}}if(this.isSurge()){let e=t.url||t.openUrl||t["open-url"];return{url:e}}}};this.isMute||(this.isSurge()||this.isLoon()?$notification.post(e,s,i,o(r)):this.isQuanX()&&$notify(e,s,i,o(r)));let h=["","==============\ud83d\udce3\u7cfb\u7edf\u901a\u77e5\ud83d\udce3=============="];h.push(e),s&&h.push(s),i&&h.push(i),console.log(h.join("\n")),this.logs=this.logs.concat(h)}log(...t){t.length>0&&(this.logs=[...this.logs,...t]),console.log(t.join(this.logSeparator))}logErr(t,e){const s=!this.isSurge()&&!this.isQuanX()&&!this.isLoon();s?this.log("",`\u2757\ufe0f${this.name}, \u9519\u8bef!`,t.stack):this.log("",`\u2757\ufe0f${this.name}, \u9519\u8bef!`,t)}wait(t){return new Promise(e=>setTimeout(e,t))}done(t={}){const e=(new Date).getTime(),s=(e-this.startTime)/1e3;this.log("",`\ud83d\udd14${this.name}, \u7ed3\u675f! \ud83d\udd5b ${s} \u79d2`),this.log(),(this.isSurge()||this.isQuanX()||this.isLoon())&&$done(t)}}(t,e)} 350 | -------------------------------------------------------------------------------- /box/dd.signboxjs.js: -------------------------------------------------------------------------------- 1 | { 2 | "id": "DD.app.sub", 3 | "name": "DD脚本订阅", 4 | "author": "@DD", 5 | "icon": "http://elf.static.maibaapp.com/content/ios-countdown/11891342/avatar/11591339654571.png", 6 | "repo": "https://github.com/DD-D1/XIAOPU", 7 | "apps": [{ 8 | "id": "xiaopusign", 9 | "name": "笑谱APP", 10 | "keys": ["iboxpayheader","tokenbody","iboxpayheader2","tokenbody","iboxpayheader3","tokenbody3","iboxpayheader4","tokenbody4","iboxpayheader5","tokenbody5","iboxpayheader6","tokenbody6","iboxpayheader7","tokenbody7","iboxpayheader8","tokenbody8","iboxpayheader9","tokenbody9","iboxpayheader10","tokenbody10"], 11 | "author": "@dd", 12 | "settings": [{ 13 | "id": "xiaopuSuffix", 14 | "name": "当前账号", 15 | "val": "1", 16 | "type": "number", 17 | "desc": "当前获取cookie记录的账号,多账号例如:1、2、3、目前最多10个账号" 18 | }, 19 | { 20 | "id": "xiaopuCount", 21 | "name": "账号个数", 22 | "val": "1", 23 | "type": "number", 24 | "desc": "指定几个账号,跑几个账号的任务,最多跑10个账号" 25 | }, 26 | { 27 | "id": "noNolog", 28 | "name": "系统通知", 29 | "val": "1", 30 | "type": "number", 31 | "desc": "1所有通知 2,11小时通知一次 3,3小时通知一次 4,5小时通知一下" 32 | } 33 | ], 34 | "repo": "https://github.com/DD-D1/XIAOPU/blob/main/xiaopu/xiaopusign.js", 35 | "icons": ["https://raw.githubusercontent.com/DD-D1/XIAOPU/main/xiaopu/B1332A0E-D31E-4682-9C28-5E9D68E56E22.png","https://raw.githubusercontent.com/DD-D1/XIAOPU/main/xiaopu/B1332A0E-D31E-4682-9C28-5E9D68E56E22.png"], 36 | "script": "https://raw.githubusercontent.com/DD-D1/XIAOPU/main/xiaopu/xiaopusign.js" 37 | }, 38 | { 39 | "id": "zoulusign", 40 | "name": "走路赚APP", 41 | "keys": ["xiaomuyuheader","xiaomuyubody","turntableurl","turntableheader","doubleheader","Cardbody","drinkbody","memberbody","xiaomuyuheader2","xiaomuyubody2","turntableurl2","turntableheader2","doubleheader2","Cardbody2","drinkbody2","memberbody2","xiaomuyuheader3","xiaomuyubody3","turntableurl3","turntableheader3","doubleheader3","Cardbody3","drinkbody3","memberbody3","xiaomuyuheader4","xiaomuyubody4","turntableurl4","turntableheader4","doubleheader4","Cardbody4","drinkbody4","memberbody4","xiaomuyuheader5","xiaomuyubody5","turntableurl5","turntableheader5","doubleheader5","Cardbody5","drinkbody5","memberbody5","xiaomuyuheader6","xiaomuyubody6","turntableurl6","turntableheader6","doubleheader6","Cardbody6","drinkbody6","memberbody6","xiaomuyuheader7","xiaomuyubody7","turntableurl7","turntableheader7","doubleheader7","Cardbody7","drinkbody7","memberbody7","xiaomuyuheader8","xiaomuyubody8","turntableurl8","turntableheader8","doubleheader8","Cardbody8","drinkbody8","memberbody8","xiaomuyuheader9","xiaomuyubody9","turntableurl9","turntableheader9","doubleheader9","Cardbody9","drinkbody9","memberbody9","xiaomuyuheader10","xiaomuyubody10","turntableurl10","turntableheader10","doubleheader10","Cardbody10","drinkbody10","memberbody10"], 42 | "author": "@dd", 43 | "settings": [{ 44 | "id": "zouluSuffix", 45 | "name": "当前账号", 46 | "val": "1", 47 | "type": "number", 48 | "desc": "当前获取cookie记录的账号,多账号例如:1、2、3、目前最多10个账号" 49 | }, 50 | { 51 | "id": "zouluCount", 52 | "name": "账号个数", 53 | "val": "1", 54 | "type": "number", 55 | "desc": "指定几个账号,跑几个账号的任务,最多跑10个账号" 56 | }, 57 | { 58 | "id": "NOLOG", 59 | "name": "系统通知", 60 | "val": "1", 61 | "type": "number", 62 | "desc": "1为所有通知 2为11小时通知一次 3为3小时通知一次 4为5小时通知一次" 63 | }, 64 | { 65 | "id": "ZLSTEP", 66 | "name": "步数兑换", 67 | "val": "0", 68 | "type": "number", 69 | "desc": "0为不兑换 1为兑换 兑换步数在晚上10点到11点之间,默认关闭" 70 | }, 71 | { 72 | "id": "NIQUE", 73 | "name": "填写步数", 74 | "val": "0", 75 | "type": "number", 76 | "desc": "随便填写步数一天可以兑换2次,步数不要太大,默认0" 77 | }, 78 | { 79 | "id": "CUPID", 80 | "name": "喝水任务", 81 | "val": "0", 82 | "type": "number", 83 | "desc": "任务在10点开始到17点结束,执行任务设置在18到晚上20点,那个时间段都可以,1为10点2为11点以此类推到8为17点,默认0" 84 | } 85 | ], 86 | "repo": "https://github.com/DD-D1/Script/blob/main/zoulusign.js", 87 | "icons": ["https://raw.githubusercontent.com/DD-D1/XIAOPU/main/xiaopu/zoulu.png","https://raw.githubusercontent.com/DD-D1/XIAOPU/main/xiaopu/zoulu.png"], 88 | "script": "https://raw.githubusercontent.com/DD-D1/Script/main/zoulusign.js" 89 | }, 90 | { 91 | "id": "ttsign", 92 | "name": "TT语音APP", 93 | "keys": ["nodettheader","nodettbody","nodettheader2","nodettbody2","nodettheader3","nodettbody3","nodettheader4","nodettbody4","nodettheader5","nodettbody5","nodettheader6","nodettbody6","nodettheader7","nodettbody7","nodettheader8","nodettbody8","nodettheader9","nodettbody9","nodettheader10","nodettbody10"], 94 | "author": "@dd", 95 | "settings": [{ 96 | "id": "zouluSuffix", 97 | "name": "当前账号", 98 | "val": "1", 99 | "type": "number", 100 | "desc": "当前获取cookie记录的账号,多账号例如:1、2、3、目前最多10个账号" 101 | }, 102 | { 103 | "id": "zouluCount", 104 | "name": "账号个数", 105 | "val": "1", 106 | "type": "number", 107 | "desc": "指定几个账号,跑几个账号的任务,最多跑10个账号" 108 | }, 109 | { 110 | "id": "NOLOG", 111 | "name": "系统通知", 112 | "val": "1", 113 | "type": "number", 114 | "desc": "1为所有通知 2为11小时通知一次 3为3小时通知一次 4为5小时通知一次" 115 | } 116 | ], 117 | "repo": "https://github.com/DD-D1/Script/blob/main/ttsign.js", 118 | "icons": ["https://raw.githubusercontent.com/DD-D1/XIAOPU/main/xiaopu/ttpng.png","https://raw.githubusercontent.com/DD-D1/XIAOPU/main/xiaopu/ttpng.png"], 119 | "script": "https://raw.githubusercontent.com/DD-D1/Script/main/ttsign.js" 120 | }, 121 | { 122 | "id": "bububaosign", 123 | "name": "步步宝APP", 124 | "keys": ["bububaoheader","fxzheader","fxzbody","bububaoheader2","fxzheader2","fxzbody2","bububaoheader3","fxzheader3","fxzbody3","bububaoheader4","fxzheader4","fxzbody4","bububaoheader5","fxzheader5","fxzbody5","bububaoheader6","fxzheader6","fxzbody6","bububaoheader7","fxzheader7","fxzbody7","bububaoheader8","fxzheader8","fxzbody8","bububaoheader9","fxzheader9","fxzbody9","bububaoheader10","fxzheader10","fxzbody10"], 125 | "author": "@dd", 126 | "settings": [{ 127 | "id": "bububaoSuffix", 128 | "name": "当前账号", 129 | "val": "1", 130 | "type": "number", 131 | "desc": "当前获取cookie记录的账号,多账号例如:1、2、3、目前最多10个账号" 132 | }, 133 | { 134 | "id": "bububaoCount", 135 | "name": "账号个数", 136 | "val": "1", 137 | "type": "number", 138 | "desc": "指定几个账号,跑几个账号的任务,最多跑10个账号" 139 | }, 140 | { 141 | "id": "NOLOG", 142 | "name": "系统通知", 143 | "val": "3", 144 | "type": "number", 145 | "desc": "1为所有通知 2为11小时通知一次 3为3小时通知一次 4为5小时通知一次 默认3小时通知一下" 146 | }, 147 | { 148 | "id": "COINS", 149 | "name": "提现设置", 150 | "val": "0", 151 | "type": "number", 152 | "desc": "根据软件提现额度设置50就是提50 默认0" 153 | } 154 | ], 155 | "repo": "https://github.com/DD-D1/Script/blob/main/bubusign.js", 156 | "icons": ["https://raw.githubusercontent.com/DD-D1/XIAOPU/main/xiaopu/bubupng.png","https://raw.githubusercontent.com/DD-D1/XIAOPU/main/xiaopu/bubupng.png"], 157 | "script": "https://raw.githubusercontent.com/DD-D1/Script/main/bubusign.js" 158 | }, 159 | { 160 | "id": "scdyjsign", 161 | "name": "食材大冲关APP", 162 | "keys": ["normalheader","normalbody","scdcgheader","scdcgbody","normalheader2","normalbody2","scdcgheader2","scdcgbody2","normalheader3","normalbody3","scdcgheader3","scdcgbody3","normalheader4","normalbody4","scdcgheader4","scdcgbody4","normalheader5","normalbody5","scdcgheader5","scdcgbody5","normalheader6","normalbody6","scdcgheader6","scdcgbody6","normalheader7","normalbody7","scdcgheader7","scdcgbody7","normalheader8","normalbody8","scdcgheader8","scdcgbody8","normalheader9","normalbody9","scdcgheader9","scdcgbody9","normalheader10","normalbody10","scdcgheader10","scdcgbody10"], 163 | "author": "@dd", 164 | "settings": [{ 165 | "id": "scdyjSuffix", 166 | "name": "当前账号", 167 | "val": "1", 168 | "type": "number", 169 | "desc": "当前获取cookie记录的账号,多账号例如:1、2、3、目前最多10个账号" 170 | }, 171 | { 172 | "id": "scdyjCount", 173 | "name": "账号个数", 174 | "val": "1", 175 | "type": "number", 176 | "desc": "指定几个账号,跑几个账号的任务,最多跑10个账号" 177 | }, 178 | { 179 | "id": "NOLOG", 180 | "name": "系统通知", 181 | "val": "3", 182 | "type": "number", 183 | "desc": "1为所有通知 2为11小时通知一次 3为3小时通知一次 4为5小时通知一次 默认3小时通知一下" 184 | } 185 | ], 186 | "repo": "https://github.com/DD-D1/Script/blob/main/bubusign.js", 187 | "icons": ["https://raw.githubusercontent.com/DD-D1/XIAOPU/main/xiaopu/scdyj.png","https://raw.githubusercontent.com/DD-D1/XIAOPU/main/xiaopu/scdyj.png"], 188 | "script": "https://raw.githubusercontent.com/DD-D1/Script/main/bubusign.js" 189 | }, 190 | 191 | { 192 | "id": "ForestFarm", 193 | "name": "我的林场APP", 194 | "keys": ["Farmslist"], 195 | "author": "@dd", 196 | "settings": [{ 197 | "id": "Farmslist", 198 | "name": "Cookie数据", 199 | "val": "1", 200 | "type": "textarea", 201 | "desc": "JSON格式" 202 | } 203 | ], 204 | "repo": "https://github.com/DD-D1/2020scripts/blob/master/Forest/ForestFarm.js", 205 | "icons": ["https://raw.githubusercontent.com/DD-D1/2020scripts/master/Forest/wdlc.png","https://raw.githubusercontent.com/DD-D1/2020scripts/master/Forest/wdlc.png"], 206 | "script": "https://raw.githubusercontent.com/DD-D1/2020scripts/master/Forest/ForestFarm.js" 207 | 208 | }, 209 | 210 | { 211 | "id": "CulturalTourism", 212 | "name": "CulturalTourism APP", 213 | "keys": ["Culturaltourism"], 214 | "author": "@dd", 215 | "settings": [ 216 | { 217 | "id": "CtnoNolog", 218 | "val": "", 219 | "name": "是否通知", 220 | "type": "boolean", 221 | "desc": "开启时脚本执行完发系统通知,关闭只打印日志" 222 | }, 223 | { 224 | "id": "Culturaltourism", 225 | "name": "Cookie数据", 226 | "val": "1", 227 | "type": "textarea", 228 | "desc": "JSON格式" 229 | } 230 | ], 231 | "repo": "https://github.com/DD-D1/2020scripts/blob/master/Forest/ForestFarm.js", 232 | "icons": ["https://raw.githubusercontent.com/DD-D1/2020scripts/master/Forest/wlkd%20.png","https://raw.githubusercontent.com/DD-D1/2020scripts/master/Forest/wlkd%20.png"], 233 | "script": "https://raw.githubusercontent.com/DD-D1/2020scripts/master/Forest/ForestFarm.js" 234 | 235 | }, 236 | 237 | { 238 | "id": "zmydsy", 239 | "name": "阅读小说APP", 240 | "keys": ["zmydcookie"], 241 | "author": "@dd", 242 | "settings": [{ 243 | "id": "zmydcookie", 244 | "name": "Cookie数据", 245 | "val": "1", 246 | "type": "textarea", 247 | "desc": "JSON格式" 248 | } 249 | ], 250 | "repo": "https://github.com/DD-D1/2020scripts/blob/master/Forest/ForestFarm.js", 251 | "icons": ["https://raw.githubusercontent.com/DD-D1/2020scripts/master/Forest/wdlcs.png","https://raw.githubusercontent.com/DD-D1/2020scripts/master/Forest/wdlcs.png"], 252 | "script": "https://raw.githubusercontent.com/DD-D1/2020scripts/master/Forest/ForestFarm.js" 253 | 254 | }, 255 | { 256 | "id": "ttl", 257 | "name": "太太乐APP", 258 | "keys": ["ttlck"], 259 | "author": "@dd", 260 | "settings": [{ 261 | "id": "ttlck", 262 | "name": "Cookie数据", 263 | "val": "1", 264 | "type": "textarea", 265 | "desc": "JSON格式" 266 | } 267 | ], 268 | "repo": "https://github.com/DD-D1/2020scripts/blob/master/Forest/ForestFarm.js", 269 | "icons": ["https://i.loli.net/2021/11/15/YEix4VaP9nyStge.jpg","https://i.loli.net/2021/11/15/YEix4VaP9nyStge.jpg"], 270 | "script": "https://raw.githubusercontent.com/DD-D1/2020scripts/master/Forest/ForestFarm.js" 271 | 272 | }, 273 | { 274 | "id": "laishan", 275 | "name": "来闪APP", 276 | "keys": ["laishanck"], 277 | "author": "@dd", 278 | "settings": [{ 279 | "id": "laishanck", 280 | "name": "Cookie数据", 281 | "val": "1", 282 | "type": "textarea", 283 | "desc": "JSON格式" 284 | } 285 | ], 286 | "repo": "https://github.com/DD-D1/2020scripts/blob/master/Forest/ForestFarm.js", 287 | "icons": ["https://i.loli.net/2021/11/22/rjM8lVHq5dhnDNt.jpg","https://i.loli.net/2021/11/22/rjM8lVHq5dhnDNt.jpg"], 288 | "script": "https://raw.githubusercontent.com/DD-D1/2020scripts/master/Forest/ForestFarm.js" 289 | 290 | }, 291 | { 292 | "id": "jztt", 293 | "name": "九章头条APP", 294 | "keys": ["jzttcik"], 295 | "author": "@dd", 296 | "settings": [{ 297 | "id": "jzttcik", 298 | "name": "Cookie数据", 299 | "val": "1", 300 | "type": "textarea", 301 | "desc": "JSON格式" 302 | }, 303 | { 304 | "id": "TX", 305 | "name": "设置提现", 306 | "val": "0.3", 307 | "type": "number", 308 | "desc": "默认0.3元" 309 | } 310 | 311 | 312 | ], 313 | "repo": "https://github.com/DD-D1/2020scripts/blob/master/jztt.js", 314 | "icons": ["https://i.loli.net/2021/11/23/KWiSdPnQkDxHzur.jpg","https://i.loli.net/2021/11/23/KWiSdPnQkDxHzur.jpg"], 315 | "script": "https://raw.githubusercontent.com/DD-D1/2020scripts/master/jztt.js" 316 | 317 | }, 318 | { 319 | "id": "qqgy", 320 | "name": "琪琪的果园", 321 | "keys": ["qqgyck"], 322 | "author": "@dd", 323 | "settings": [{ 324 | "id": "qqgyck", 325 | "name": "Cookie数据", 326 | "val": "1", 327 | "type": "textarea", 328 | "desc": "JSON格式" 329 | } 330 | ], 331 | "repo": "https://github.com/DD-D1/2020scripts/blob/master/Forest/ForestFarm.js", 332 | "icons": ["https://i.loli.net/2021/11/28/sLCY2UzvhDOtfx9.jpg","https://i.loli.net/2021/11/28/sLCY2UzvhDOtfx9.jpg"], 333 | "script": "https://raw.githubusercontent.com/DD-D1/2020scripts/master/Forest/ForestFarm.js" 334 | 335 | }, 336 | { 337 | "id": "qmdfs", 338 | "name": "全民大丰收APP", 339 | "keys": ["qmdfsck"], 340 | "author": "@dd", 341 | "settings": [{ 342 | "id": "qmdfsck", 343 | "name": "Cookie数据", 344 | "val": "1", 345 | "type": "textarea", 346 | "desc": "JSON格式" 347 | } 348 | ], 349 | "repo": "https://github.com/DD-D1/2020scripts/blob/master/Forest/ForestFarm.js", 350 | "icons": ["https://i.niupic.com/images/2021/09/27/9DbR.jpg","https://i.niupic.com/images/2021/09/27/9DbR.jpg"], 351 | "script": "https://raw.githubusercontent.com/DD-D1/2020scripts/master/Forest/ForestFarm.js" 352 | 353 | }, 354 | { 355 | "id": "ysysp", 356 | "name": "萤石云视频APP", 357 | "keys": ["ysyspck"], 358 | "author": "@dd", 359 | "settings": [{ 360 | "id": "ysyspck", 361 | "name": "Cookie数据", 362 | "val": "1", 363 | "type": "textarea", 364 | "desc": "JSON格式" 365 | } 366 | ], 367 | "repo": "https://github.com/DD-D1/2020scripts/blob/master/Forest/ForestFarm.js", 368 | "icons": ["https://i.loli.net/2021/12/03/ixb9YKCucGNBT1R.jpg","https://i.loli.net/2021/12/03/ixb9YKCucGNBT1R.jpg"], 369 | "script": "https://raw.githubusercontent.com/DD-D1/2020scripts/master/Forest/ForestFarm.js" 370 | 371 | }, 372 | 373 | { 374 | "id": "fhxz", 375 | "name": "富豪小镇APP", 376 | "keys": ["RichTown"], 377 | "author": "@dd", 378 | "settings": [{ 379 | "id": "RichTown", 380 | "name": "Cookie数据", 381 | "val": "1", 382 | "type": "textarea", 383 | "desc": "JSON格式" 384 | } 385 | ], 386 | "repo": "https://github.com/DD-D1/2020scripts/blob/master/Forest/ForestFarm.js", 387 | "icons": ["https://s2.loli.net/2021/12/04/aGl6zKA8NuxFP2e.jpg","https://s2.loli.net/2021/12/04/aGl6zKA8NuxFP2e.jpg"], 388 | "script": "https://raw.githubusercontent.com/DD-D1/2020scripts/master/Forest/ForestFarm.js" 389 | }] 390 | } 391 | -------------------------------------------------------------------------------- /DONGFANG/dfttsign.js: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | 4 | @𝐃𝐃 5 | ========================================= 6 | 7 | 邀请码 092014876 8 | 9 | 群友需要 写的毛不大 10 | ========================================= 11 | 12 | 说明: 13 | 14 | 东方头条APP 签到可以获得金币 兑换现金 15 | 16 | 圈x获取不到ck就把body改成header 17 | 18 | 19 | ⚠️5个ck 签到记录 首页置顶视频 阅读新闻 视频奖励 小视频奖励 20 | 21 | ⚠️阅读新闻 视频奖励 小视频奖励 这3个需要在body那里改1,2,3获取 看下面说明 22 | 23 | 定时建议10分钟左右自己设置 24 | 25 | 26 | 本人用的是2.6.3版本有视频奖励和小视频奖励 27 | 最新版没有 如果你用的版本有那就把209行到214行禁用取消 28 | ========================================= 29 | 30 | 31 | 32 | 一共5个cookie 33 | 34 | 35 | 36 | ========================================= 37 | surge:本地 38 | 签到获取ck 39 | 东方头条APP = type=http-request,pattern=^https:\/\/.+dftoutiao\.com\/*,requires-body=1,max-size=0,script-path=dfttsign.js 40 | 41 | 42 | 43 | 44 | ========================================= 45 | 圈x:本地 46 | 签到获取ck 47 | ^https:\/\/.+dftoutiao\.com\/* url script-request-body dfttsign.js 48 | 49 | 50 | 51 | 52 | 53 | ========================================= 54 | loon:本地 55 | 签到获取ck 56 | http-request ^https:\/\/.+dftoutiao\.com\/* script-path=dfttsign.js, requires-body=true, timeout=10, tag=东方头条APP 57 | 58 | 59 | 60 | 61 | 62 | ========================================= 63 | 小火箭:本地 64 | 签到获取ck 65 | 东方头条APP = type=http-request,script-path=dfttsign.js,pattern=^https:\/\/.+dftoutiao\.com\/*,max-size=131072,requires-body=true,timeout=10,enable=true 66 | 67 | 68 | 69 | 70 | 71 | MITM= *.dftoutiao.com 72 | ========================================= 73 | 74 | 75 | 76 | */ 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | const DD ='东方头条APP'; 85 | 86 | const $ = new Env(DD); 87 | $.idx = ($.idx = ($.getval('dfttSuffix') || '1') - 1) > 0 ? ($.idx + 1 + '') : ''; // 账号扩展字符 88 | 89 | const logs=0;//设置0关闭日志,1开启日志 90 | 91 | const log=0;//0关闭系统日志,1开启系统日志,和系统通知不要一起打开,关闭系统通知就要打开,系统日志 92 | 93 | //let noNolog = ($.getval('noNolog') || '1');//1为所有通知 2为11小时通知一次 3为3小时通知一次 4为5小时通知一下 94 | 95 | const noNolog = 1;//1为所有通知 2为11小时通知一次 3为3小时通知一次 4为5小时通知一次 96 | 97 | 98 | const body = 0;//1为新闻阅读,2为视频,3为小视频 99 | 100 | 101 | 102 | let dd = "" // 103 | 104 | let score = '' 105 | let scores = '' 106 | let scorer = '' 107 | 108 | let times = new Date(new Date().getTime() + 0 * 60 * 60 * 1000).toLocaleString('zh', {hour12: false}); 109 | 110 | let Time = new Date( 111 | new Date().getTime() + 112 | new Date().getTimezoneOffset() * 60 * 1000 + 113 | 8 * 60 * 60 * 1000 ); 114 | 115 | const dftoutiaoheaderArr = []; 116 | const dftoutiaobodyArr = []; 117 | const dftoubodyArr = []; 118 | const YuedutimerbodyArr = []; 119 | const YuedutimebodyArr = []; 120 | const YuedutimesbodyArr = []; 121 | const bonusodyArr = []; 122 | 123 | 124 | 125 | 126 | let dftoutiaoheader = $.getdata('dftoutiaoheader'); 127 | 128 | let dftoutiaobody = $.getdata('dftoutiaobody'); 129 | let dftoubody = $.getdata('dftoubody'); 130 | 131 | 132 | let Yuedutimerbody = $.getdata('Yuedutimerbody'); 133 | let Yuedutimebody = $.getdata('Yuedutimebody'); 134 | let Yuedutimesbody = $.getdata('Yuedutimesbody'); 135 | 136 | let bonusody = $.getdata('bonusody'); 137 | 138 | 139 | 140 | dftoutiaoheaderArr.push($.getdata("dftoutiaoheader")); 141 | dftoutiaobodyArr.push($.getdata("dftoutiaobody")); 142 | 143 | dftoubodyArr.push($.getdata("dftoubody")); 144 | 145 | YuedutimerbodyArr.push($.getdata("Yuedutimerbody")); 146 | 147 | YuedutimebodyArr.push($.getdata("Yuedutimebody")); 148 | YuedutimesbodyArr.push($.getdata("Yuedutimesbody")); 149 | 150 | 151 | bonusodyArr.push($.getdata("bonusody")); 152 | 153 | 154 | // boxjs中设置多账号数 155 | let dfttCount = ($.getval('dfttCount') || '1') - 0; 156 | for (let i = 2; i <= dfttCount; i++) { 157 | if ($.getdata(`dftoutiaoheader${i}`)) { 158 | dftoutiaoheaderArr.push($.getdata(`dftoutiaoheader${i}`)); 159 | 160 | dftoutiaobodyArr.push($.getdata(`dftoutiaobody${i}`)); 161 | 162 | dftoubodyArr.push($.getdata(`dftoubody${i}`)); 163 | YuedutimerbodyArr.push($.getdata(`Yuedutimerbody${i}`)); 164 | 165 | YuedutimebodyArr.push($.getdata(`Yuedutimebody${i}`)); 166 | YuedutimesbodyArr.push($.getdata(`Yuedutimesbody${i}`)); 167 | 168 | bonusodyArr.push($.getdata(`bonusody${i}`)); 169 | 170 | 171 | 172 | } 173 | } 174 | 175 | !(async () => { 176 | if (typeof $request != "undefined") { 177 | await dfttsign() 178 | } else{ 179 | 180 | if (!YuedutimerbodyArr[0]) { 181 | $.msg($.name, '运行前需要获取cookie点击前往\n', 'http://net.aalafmk.cn/vre9csd5/lp/oz7j7e69/b4.html?pVLB9MuDpQ=', {"open-url": "http://net.aalafmk.cn/vre9csd5/lp/oz7j7e69/b4.html?pVLB9MuDpQ="}); 182 | return; 183 | } else {console.log(`\n************ 脚本共${YuedutimerbodyArr.length}个${$.name}账号 ************\n` 184 | ); 185 | console.log(`\n============ 脚本执行时间(TM):${new Date(new Date().getTime() + 0 * 60 * 60 * 1000).toLocaleString('zh', {hour12: false})} =============\n`)} 186 | 187 | for (let i = 0; i < YuedutimerbodyArr.length; i++) { 188 | if(YuedutimerbodyArr[i]){ 189 | dftoutiaoheader = dftoutiaoheaderArr[i]; 190 | dftoutiaobody = dftoutiaobodyArr[i]; 191 | dftoubody = dftoubodyArr[i]; 192 | Yuedutimerbody = YuedutimerbodyArr[i]; 193 | Yuedutimebody = YuedutimebodyArr[i]; 194 | Yuedutimesbody = YuedutimesbodyArr[i]; 195 | bonusody = bonusodyArr[i]; 196 | host=JSON.parse(dftoutiaoheader)["Host"]; 197 | $.index = i + 1; 198 | console.log(`\n开始执行【${$.name}${$.index}】\n`) 199 | 200 | } 201 | 202 | 203 | 204 | 205 | 206 | await $.wait(1200); 207 | console.log(`开始执行阅读新闻任务时间:${times}`) 208 | await receive(); 209 | //await $.wait(1200); 210 | //console.log(`开始执行视频任务时间:${times}`) 211 | //await pros(); 212 | //await $.wait(1200); 213 | //console.log(`开始执行小视频任务时间:${times}`) 214 | //await yue(); 215 | 216 | await $.wait(1000); 217 | console.log(`开始执行签到任务时间:${times}`) 218 | await update(); 219 | await detail(); 220 | await $.wait(1200); 221 | console.log(`开始执行签到翻倍任务时间:${times}`) 222 | await gold(); 223 | await $.wait(1200); 224 | console.log(`开始执行首页置顶视频任务时间:${times}`) 225 | await bonus(); 226 | await $.wait(1200); 227 | console.log(`开始执行转盘查询任务时间:${times}`) 228 | await zhuanpan(); 229 | await $.wait(1200); 230 | console.log(`开始执行转盘奖励任务时间:${times}`) 231 | await zhuangold(); 232 | await $.wait(1200); 233 | console.log(`开始执行时段宝箱任务时间:${times}`) 234 | await award(); 235 | await $.wait(1200); 236 | console.log(`开始执行开宝箱任务时间:${times}`) 237 | await box(); 238 | await $.wait(1200); 239 | console.log(`开始执行查询账号信息时间:${times}`) 240 | await jinbi(); 241 | await Msg(); 242 | 243 | } 244 | 245 | } 246 | })() 247 | .catch((e) => $.logErr(e)) 248 | .finally(() => $.done()) 249 | 250 | 251 | 252 | async function receive(){ 253 | for(i = 0;i<3;i++){ 254 | $.index = i + 1; 255 | await news(i) 256 | } 257 | $.log(`本次完成${$.index}次阅读,阅读结束\n`) 258 | } 259 | 260 | 261 | async function pros(){ 262 | for(i = 0;i<3;i++){ 263 | $.index = i + 1; 264 | await service(i) 265 | } 266 | $.log(`本次完成${$.index}次阅读,阅读结束\n`) 267 | } 268 | 269 | 270 | async function yue(){ 271 | for(i = 0;i<3;i++){ 272 | $.index = i + 1; 273 | await yuedu(i) 274 | } 275 | $.log(`本次完成${$.index}次阅读,阅读结束\n`) 276 | } 277 | 278 | 279 | 280 | 281 | function update(timeout=0) { 282 | return new Promise((resolve) => { 283 | setTimeout( ()=>{ 284 | let Url = { 285 | url : 'https://sign.dftoutiao.com/sign/news_take_s', 286 | headers : JSON.parse(dftoutiaoheader), 287 | body: Yuedutimerbody, 288 | } 289 | $.post(Url, async (err, resp, data) => { 290 | try { 291 | data = JSON.parse(data); 292 | if(logs==1)console.log(data) 293 | $.update = data; 294 | if($.update.status== true){ 295 | dd+= "【每日签到】+"+$.update.bonus+"金币"; 296 | $.log(`本次执行任务情况:获得${$.update.bonus}金币\n`);} 297 | else{ 298 | if($.update.status== false) 299 | dd+= "【每日签到】"+$.update.msg; 300 | $.log(`本次执行任务情况:${$.update.msg}\n`) 301 | } 302 | } catch (e) { 303 | $.logErr(e, resp); 304 | } finally { 305 | resolve() 306 | } 307 | }) 308 | },timeout) 309 | }) 310 | } 311 | 312 | 313 | 314 | function detail(timeout=0) { 315 | return new Promise((resolve) => { 316 | setTimeout( ()=>{ 317 | hosts = 'task-center.dftoutiao.com'; 318 | dfheader = dftoutiaoheader.replace(`${host}`,`${hosts}`); 319 | let Url = { 320 | url : `https://task-center.dftoutiao.com/task/center/task_index`, 321 | headers : JSON.parse(dfheader), 322 | body: dftoubody, 323 | } 324 | $.post(Url, async (err, resp, data) => { 325 | try { 326 | data = JSON.parse(data); 327 | if(logs==1)console.log(data) 328 | $.detail = data; 329 | if($.detail.code== 0) 330 | dd+= ":已签到"+$.detail.data.sign_info.total_signed+"天\n"; 331 | } catch (e) { 332 | $.logErr(e, resp); 333 | } finally { 334 | resolve() 335 | } 336 | }) 337 | },timeout) 338 | }) 339 | } 340 | 341 | 342 | 343 | function gold(timeout=0) { 344 | return new Promise((resolve) => { 345 | setTimeout( ()=>{ 346 | hosts = 'sign2.dftoutiao.com'; 347 | dfheader = dftoutiaoheader.replace(`${host}`,`${hosts}`); 348 | let Url = { 349 | url : 'https://sign2.dftoutiao.com/sign/sign_invideo/send_gold', 350 | headers : JSON.parse(dfheader), 351 | body: dftoubody, 352 | } 353 | $.post(Url, async (err, resp, data) => { 354 | try { 355 | data = JSON.parse(data); 356 | if(logs==1)console.log(data) 357 | $.gold = data; 358 | if($.gold.code== 0){ 359 | dd+= "【签到翻倍】+"+$.gold.data.bonus+"金币\n"; 360 | $.log(`本次执行任务情况:获得${$.gold.data.bonus}金币\n`);} 361 | else{ 362 | if($.gold.code== -1) 363 | dd+= "【签到翻倍】"+$.gold.message+"\n"; 364 | $.log(`本次执行任务情况:${$.gold.message}\n`) 365 | } 366 | } catch (e) { 367 | $.logErr(e, resp); 368 | } finally { 369 | resolve() 370 | } 371 | }) 372 | },timeout) 373 | }) 374 | } 375 | 376 | 377 | 378 | 379 | 380 | 381 | function news(i) { 382 | return new Promise((resolve) => { 383 | $.index = i + 1; 384 | setTimeout( ()=>{ 385 | hosts = 'yuedu4.dftoutiao.com'; 386 | dfheader = dftoutiaoheader.replace(`${host}`,`${hosts}`); 387 | let Url = { 388 | url : `https://yuedu4.dftoutiao.com/index/Yuedutimer/read_news`, 389 | headers : JSON.parse(dfheader), 390 | body: Yuedutimerbody, 391 | } 392 | $.post(Url, async (err, resp, data) => { 393 | try { 394 | data = JSON.parse(data); 395 | if(logs==1)console.log(data) 396 | $.news = data; 397 | if($.news.status== true){ 398 | console.log('开始第'+(i+1)+'次阅读新闻+'+$.news.bonus+"金币,进度"+$.news.step+",请等待30s\n") 399 | score = $.news.bonus; 400 | dd= "【阅读新闻】+" +score+"金币\n";} 401 | else{ 402 | if($.news.status== false) 403 | console.log('阅读新闻:'+$.news.msg+'\n'); 404 | } 405 | } catch (e) { 406 | $.logErr(e, resp); 407 | } finally { 408 | resolve() 409 | } 410 | }) 411 | },i*35000) 412 | }) 413 | } 414 | 415 | 416 | 417 | 418 | 419 | function service(i) { 420 | return new Promise((resolve) => { 421 | $.index = i + 1; 422 | setTimeout( ()=>{ 423 | hosts = 'yuedu4.dftoutiao.com'; 424 | dfheader = dftoutiaoheader.replace(`${host}`,`${hosts}`); 425 | let Url = { 426 | url : `https://yuedu4.dftoutiao.com/index/Yuedutimer/read_news`, 427 | headers : JSON.parse(dfheader), 428 | body: Yuedutimebody, 429 | } 430 | $.post(Url, async (err, resp, data) => { 431 | try { 432 | data = JSON.parse(data); 433 | if(logs==1)console.log(data) 434 | $.news = data; 435 | if($.news.status== true){ 436 | console.log('开始第'+(i+1)+'次阅读视频+'+$.news.bonus+"金币,进度"+$.news.step+",请等待30s\n") 437 | scores = $.news.bonus; 438 | dd= "【阅读视频】+" +scores+"金币\n";} 439 | else{ 440 | if($.news.status== false) 441 | console.log('阅读视频:'+$.news.msg+'\n'); 442 | } 443 | } catch (e) { 444 | $.logErr(e, resp); 445 | } finally { 446 | resolve() 447 | } 448 | }) 449 | },i*35000) 450 | }) 451 | } 452 | 453 | 454 | 455 | 456 | 457 | function yuedu(i) { 458 | return new Promise((resolve) => { 459 | $.index = i + 1; 460 | setTimeout( ()=>{ 461 | hosts = 'yuedu4.dftoutiao.com'; 462 | dfheader = dftoutiaoheader.replace(`${host}`,`${hosts}`); 463 | let Url = { 464 | url : `https://yuedu4.dftoutiao.com/index/Yuedutimer/read_news`, 465 | headers : JSON.parse(dfheader), 466 | body: Yuedutimesbody, 467 | } 468 | $.post(Url, async (err, resp, data) => { 469 | try { 470 | data = JSON.parse(data); 471 | if(logs==1)console.log(data) 472 | $.news = data; 473 | if($.news.status== true){ 474 | console.log('开始第'+(i+1)+'次阅读小视频+'+$.news.bonus+"金币,进度"+$.news.step+",请等待30s\n") 475 | scorer = $.news.bonus; 476 | dd+= "【阅读小视频】+" +scorer+"金币\n";} 477 | else{ 478 | if($.news.status== false) 479 | console.log('阅读小视频:'+$.news.msg+'\n'); 480 | } 481 | } catch (e) { 482 | $.logErr(e, resp); 483 | } finally { 484 | resolve() 485 | } 486 | }) 487 | },i*35000) 488 | }) 489 | } 490 | 491 | 492 | 493 | 494 | 495 | 496 | 497 | function jinbi(timeout=0) { 498 | return new Promise((resolve) => { 499 | setTimeout( ()=>{ 500 | hosts = 'wallet.dftoutiao.com'; 501 | dfheader = dftoutiaoheader.replace(`${host}`,`${hosts}`); 502 | let Url = { 503 | url : `https://wallet.dftoutiao.com/get_balance/index_timer`, 504 | headers : JSON.parse(dfheader), 505 | body: dftoubody, 506 | } 507 | $.post(Url, async (err, resp, data) => { 508 | try { 509 | data = JSON.parse(data); 510 | if(logs==1)console.log(data) 511 | $.jinbi = data; 512 | if($.jinbi.code== 0) 513 | dd+= "【账号金币】"+"约"+$.jinbi.data.money+"元"+",累计"+$.jinbi.data.bonus+"金币\n"; 514 | $.log(`本次执行任务情况,约${$.jinbi.data.money}元,账号${$.jinbi.data.bonus}金币\n`) 515 | } catch (e) { 516 | $.logErr(e, resp); 517 | } finally { 518 | resolve() 519 | } 520 | }) 521 | },timeout) 522 | }) 523 | } 524 | 525 | 526 | 527 | 528 | 529 | 530 | function award(timeout=0) { 531 | return new Promise((resolve) => { 532 | setTimeout( ()=>{ 533 | hosts = 'timesaward.dftoutiao.com'; 534 | dfheader = dftoutiaoheader.replace(`${host}`,`${hosts}`); 535 | let Url = { 536 | url : 'https://timesaward.dftoutiao.com/timesaward/timesaward/get_award', 537 | headers : JSON.parse(dfheader), 538 | body: dftoubody, 539 | } 540 | $.post(Url, async (err, resp, data) => { 541 | try { 542 | data = JSON.parse(data); 543 | if(logs==1)console.log(data) 544 | $.award = data; 545 | if($.award.data.status== 1){ 546 | dd+= "【首页时段】+"+$.award.data.coin+"金币\n"; 547 | $.log(`本次执行任务情况:获得${$.award.data.coin}金币\n`);} 548 | else{ 549 | if($.award.data.status== 2) 550 | dd+= "【首页时段】"+$.award.data.msg+"\n"; 551 | $.log(`本次执行任务情况:${$.award.data.msg}\n`) 552 | } 553 | } catch (e) { 554 | $.logErr(e, resp); 555 | } finally { 556 | resolve() 557 | } 558 | }) 559 | },timeout) 560 | }) 561 | } 562 | 563 | 564 | 565 | 566 | function box(timeout=0) { 567 | return new Promise((resolve) => { 568 | setTimeout( ()=>{ 569 | hosts = 'shoutu2.dftoutiao.com'; 570 | dfheader = dftoutiaoheader.replace(`${host}`,`${hosts}`); 571 | let Url = { 572 | url : 'https://shoutu2.dftoutiao.com/invite/open_treasure_box', 573 | headers : JSON.parse(dfheader), 574 | body: dftoubody, 575 | } 576 | $.post(Url, async (err, resp, data) => { 577 | try { 578 | data = JSON.parse(data); 579 | if(logs==1)console.log(data) 580 | $.box = data; 581 | if($.box.code== 0){ 582 | dd+= "【开宝箱任务】+"+$.box.data.coin+"金币\n"; 583 | $.log(`本次执行任务情况:获得${$.box.data.coin}金币\n`);} 584 | else{ 585 | if($.box.code== -3) 586 | dd+= "【开宝箱任务】"+"时间未到\n"; 587 | $.log(`本次执行任务情况:${$.box.message}\n`) 588 | } 589 | } catch (e) { 590 | $.logErr(e, resp); 591 | } finally { 592 | resolve() 593 | } 594 | }) 595 | },timeout) 596 | }) 597 | } 598 | 599 | 600 | 601 | function zhuanpan(timeout=0) { 602 | return new Promise((resolve) => { 603 | setTimeout( ()=>{ 604 | hosts = 'zhuanpan.dftoutiao.com'; 605 | dfheader = dftoutiaoheader.replace(`${host}`,`${hosts}`); 606 | let Url = { 607 | url : 'https://zhuanpan.dftoutiao.com/zhuanpan_v3/get_zhuanpan_new', 608 | headers : JSON.parse(dfheader), 609 | body: dftoubody, 610 | } 611 | $.post(Url, async (err, resp, data) => { 612 | try { 613 | data = JSON.parse(data); 614 | if(logs==1)console.log(data) 615 | $.zhuanpan = data; 616 | if($.zhuanpan.code == 0){ 617 | $.log(`本次执行任务情况:次数${$.zhuanpan.data.cur_num}/${$.zhuanpan.data.cur_tn},本场转盘时间${formatSeconds($.zhuanpan.data.cur_end_time)}\n`);} 618 | else{ 619 | if($.zhuanpan.code== -202) 620 | dd+= "【幸运转盘】"+$.zhuanpan.message+"\n"; 621 | $.log(`本次执行任务情况:${$.zhuanpan.message}\n`) 622 | } 623 | } catch (e) { 624 | $.logErr(e, resp); 625 | } finally { 626 | resolve() 627 | } 628 | }) 629 | },timeout) 630 | }) 631 | } 632 | 633 | 634 | 635 | 636 | function zhuangold(timeout=0) { 637 | return new Promise((resolve) => { 638 | setTimeout( ()=>{ 639 | hosts = 'zhuanpan.dftoutiao.com'; 640 | dfheader = dftoutiaoheader.replace(`${host}`,`${hosts}`); 641 | let Url = { 642 | url : 'https://zhuanpan.dftoutiao.com/zhuanpan_v3/get_gold', 643 | headers : JSON.parse(dfheader), 644 | body: dftoubody, 645 | } 646 | $.post(Url, async (err, resp, data) => { 647 | try { 648 | data = JSON.parse(data); 649 | if(logs==1)console.log(data) 650 | $.zhuanpan = data; 651 | if($.zhuanpan.code == 0){ 652 | dd+= "【转盘奖励】+"+$.zhuanpan.data.gold+"金币\n"; 653 | $.log(`本次执行任务情况:获得:${$.zhuanpan.data.gold}\n`);} 654 | else{ 655 | if($.zhuanpan.code!= -301) 656 | dd+= "【转盘奖励】"+$.zhuanpan.message+"\n"; 657 | $.log(`本次执行任务情况:${$.zhuanpan.message}\n`) 658 | } 659 | } catch (e) { 660 | $.logErr(e, resp); 661 | } finally { 662 | resolve() 663 | } 664 | }) 665 | },timeout) 666 | }) 667 | } 668 | 669 | 670 | 671 | 672 | function bonus(timeout=0) { 673 | return new Promise((resolve) => { 674 | setTimeout( ()=>{ 675 | hosts = 'adv-invedio.dftoutiao.com'; 676 | dfheader = dftoutiaoheader.replace(`${host}`,`${hosts}`); 677 | let Url = { 678 | url : 'https://adv-invedio.dftoutiao.com/adv/send_gold/bonus', 679 | headers : JSON.parse(dfheader), 680 | body: bonusody, 681 | } 682 | $.post(Url, async (err, resp, data) => { 683 | try { 684 | data = JSON.parse(data); 685 | if(logs==1)console.log(data) 686 | $.bonus = data; 687 | if($.bonus.code == 0){ 688 | dd+= "【首页置顶视频】+"+$.bonus.data.bonus+"金币\n"; 689 | $.log(`本次执行任务情况:获得:${$.bonus.data.bonus}\n`);} 690 | else{ 691 | if($.bonus.code== -2) 692 | dd+= "【首页置顶视频】"+$.bonus.message+"\n"; 693 | $.log(`本次执行任务情况:${$.bonus.message}\n`) 694 | } 695 | } catch (e) { 696 | $.logErr(e, resp); 697 | } finally { 698 | resolve() 699 | } 700 | }) 701 | },timeout) 702 | }) 703 | } 704 | 705 | 706 | 707 | function Msg() { 708 | 709 | if(log==1)console.log(`\n==============\ud83d\udce3\u7cfb\u7edf\u901a\u77e5\ud83d\udce3==============\n${$.name}\n${dd}`); 710 | 711 | 712 | if(noNolog==1){ 713 | $.msg($.name,"",`${dd}`);} 714 | 715 | 716 | 717 | 718 | if(noNolog == 2 && (Time.getHours() == 11 || Time.getHours() == 23 ) && (Time.getMinutes() >=0 && Time.getMinutes() <=5)){ 719 | $.msg($.name,"",dd);} 720 | 721 | 722 | if(noNolog==3 && (Time.getHours() == 0 || Time.getHours() == 3 || Time.getHours() == 6 || Time.getHours() == 9 || Time.getHours() == 12 || Time.getHours() == 15 || Time.getHours() == 18 || Time.getHours() == 21 ) && (Time.getMinutes() >=0 && Time.getMinutes() <=5)){ 723 | $.msg($.name,"",dd); 724 | 725 | } 726 | 727 | if(noNolog==4 && (Time.getHours() == 0 || Time.getHours() == 5 || Time.getHours() == 10 || Time.getHours() == 15 || Time.getHours() == 20 ) && (Time.getMinutes() >=0 && Time.getMinutes() <=5)){ 728 | $.msg($.name,"",dd); 729 | } 730 | 731 | 732 | } 733 | 734 | 735 | 736 | 737 | 738 | 739 | 740 | 741 | 742 | function dfttsign() { 743 | 744 | 745 | if ($request.url.indexOf("news_take_s") > 0) { 746 | 747 | 748 | const dftoutiaobody = $request.body; 749 | if(dftoutiaobody) 750 | $.setdata(dftoutiaobody,"dftoutiaobody" + $.idx); 751 | $.msg($.name + $.idx,"","[获取签到数据]✅成功");} 752 | 753 | 754 | if ($request.url.indexOf("task/center/task_index") > 0) { 755 | 756 | const dftoutiaoheader = JSON.stringify($request.headers); 757 | if(dftoutiaoheader) 758 | $.setdata(dftoutiaoheader,"dftoutiaoheader" + $.idx); 759 | 760 | const dftoubody = $request.body; 761 | if(dftoubody) 762 | $.setdata(dftoubody,"dftoubody" + $.idx); 763 | $.msg($.name + $.idx,"","[获取签到记录数据]✅成功");} 764 | 765 | 766 | if (body == 1){ 767 | if ($request.url.indexOf("index/Yuedutimer/read_news") > 0) { 768 | const Yuedutimerbody = $request.body; 769 | if(Yuedutimerbody) 770 | $.setdata(Yuedutimerbody,"Yuedutimerbody" + $.idx); 771 | $.msg($.name + $.idx,"","[获取阅读新闻数据]✅成功");} 772 | } 773 | 774 | 775 | if (body == 2){ 776 | if ($request.url.indexOf("index/Yuedutimer/read_news") > 0) { 777 | 778 | const Yuedutimebody = $request.body; 779 | if(Yuedutimebody) 780 | $.setdata(Yuedutimebody,"Yuedutimebody" + $.idx); 781 | $.msg($.name + $.idx,"","[获取视频数据]✅成功");} 782 | } 783 | 784 | if (body == 3){ 785 | if ($request.url.indexOf("index/Yuedutimer/read_news") > 0) { 786 | 787 | const Yuedutimesbody = $request.body; 788 | if(Yuedutimesbody) 789 | $.setdata(Yuedutimesbody,"Yuedutimesbody" + $.idx); 790 | $.msg($.name + $.idx,"","[获取小视频数据]✅成功");} 791 | } 792 | 793 | 794 | if ($request.url.indexOf("send_gold/bonus") > 0) { 795 | 796 | const bonusody = $request.body; 797 | if(bonusody) 798 | $.setdata(bonusody,"bonusody" + $.idx); 799 | $.msg($.name + $.idx,"","[获取首页置顶视频数据]✅成功");} 800 | 801 | 802 | 803 | } 804 | 805 | 806 | 807 | 808 | 809 | 810 | 811 | 812 | function 813 | formatSeconds(value) { 814 | let result = parseInt(value) 815 | let h = Math.floor(result / 3600) < 10 ? '0' + Math.floor(result / 3600) : Math.floor(result / 3600); 816 | let m = Math.floor((result / 60 % 60)) < 10 ? '0' + Math.floor((result / 60 % 60)) : Math.floor((result / 60 % 60)); 817 | let s = Math.floor((result % 60)) < 10 ? '0' + Math.floor((result % 60)) : Math.floor((result % 60)); 818 | 819 | let res = ''; 820 | if(h !== '00') res += `${h}小时`; 821 | if(m !== '00') res += `${m}分`; 822 | res += `${s}秒`; 823 | return res; 824 | } 825 | 826 | 827 | 828 | 829 | 830 | 831 | 832 | 833 | 834 | 835 | 836 | 837 | 838 | 839 | 840 | 841 | 842 | 843 | 844 | 845 | 846 | 847 | 848 | function Env(t,e){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("",`\ud83d\udd14${this.name}, \u5f00\u59cb!`)}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("@"),a={url:`http://${h}/v1/scripting/evaluate`,body:{script_text:t,mock_type:"cron",timeout:r},headers:{"X-Key":o,Accept:"*/*"}};this.post(a,(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"]),this.isSurge()||this.isLoon()?(this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient.get(t,(t,s,i)=>{!t&&s&&(s.body=i,s.statusCode=s.status),e(t,s,i)})):this.isQuanX()?(this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>e(t))):this.isNode()&&(this.initGotEnv(t),this.got(t).on("redirect",(t,e)=>{try{if(t.headers["set-cookie"]){const s=t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString();this.ckjar.setCookieSync(s,null),e.cookieJar=this.ckjar}}catch(t){this.logErr(t)}}).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>{const{message:s,response:i}=t;e(s,i,i&&i.body)}))}post(t,e=(()=>{})){if(t.body&&t.headers&&!t.headers["Content-Type"]&&(t.headers["Content-Type"]="application/x-www-form-urlencoded"),t.headers&&delete t.headers["Content-Length"],this.isSurge()||this.isLoon())this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient.post(t,(t,s,i)=>{!t&&s&&(s.body=i,s.statusCode=s.status),e(t,s,i)});else if(this.isQuanX())t.method="POST",this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>e(t));else if(this.isNode()){this.initGotEnv(t);const{url:s,...i}=t;this.got.post(s,i).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>{const{message:s,response:i}=t;e(s,i,i&&i.body)})}}time(t){let e={"M+":(new Date).getMonth()+1,"d+":(new Date).getDate(),"H+":(new Date).getHours(),"m+":(new Date).getMinutes(),"s+":(new Date).getSeconds(),"q+":Math.floor(((new Date).getMonth()+3)/3),S:(new Date).getMilliseconds()};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,((new Date).getFullYear()+"").substr(4-RegExp.$1.length)));for(let s in e)new RegExp("("+s+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?e[s]:("00"+e[s]).substr((""+e[s]).length)));return t}msg(e=t,s="",i="",r){const o=t=>{if(!t)return t;if("string"==typeof t)return this.isLoon()?t:this.isQuanX()?{"open-url":t}:this.isSurge()?{url:t}:void 0;if("object"==typeof t){if(this.isLoon()){let e=t.openUrl||t.url||t["open-url"],s=t.mediaUrl||t["media-url"];return{openUrl:e,mediaUrl:s}}if(this.isQuanX()){let e=t["open-url"]||t.url||t.openUrl,s=t["media-url"]||t.mediaUrl;return{"open-url":e,"media-url":s}}if(this.isSurge()){let e=t.url||t.openUrl||t["open-url"];return{url:e}}}};this.isMute||(this.isSurge()||this.isLoon()?$notification.post(e,s,i,o(r)):this.isQuanX()&&$notify(e,s,i,o(r)));let h=["","==============\ud83d\udce3\u7cfb\u7edf\u901a\u77e5\ud83d\udce3=============="];h.push(e),s&&h.push(s),i&&h.push(i),console.log(h.join("\n")),this.logs=this.logs.concat(h)}log(...t){t.length>0&&(this.logs=[...this.logs,...t]),console.log(t.join(this.logSeparator))}logErr(t,e){const s=!this.isSurge()&&!this.isQuanX()&&!this.isLoon();s?this.log("",`\u2757\ufe0f${this.name}, \u9519\u8bef!`,t.stack):this.log("",`\u2757\ufe0f${this.name}, \u9519\u8bef!`,t)}wait(t){return new Promise(e=>setTimeout(e,t))}done(t={}){const e=(new Date).getTime(),s=(e-this.startTime)/1e3;this.log("",`\ud83d\udd14${this.name}, \u7ed3\u675f! \ud83d\udd5b ${s} \u79d2`),this.log(),(this.isSurge()||this.isQuanX()||this.isLoon())&&$done(t)}}(t,e)} 849 | -------------------------------------------------------------------------------- /Forest/ForestFarm.js: -------------------------------------------------------------------------------- 1 | //@DD 2 | //================================== 3 | const $ = new Env("ForestFarm APP"); 4 | const host = "https://feedapi.zhangxinhulian.com"; 5 | let logs = false; 6 | let noNolog = 1; 7 | let loop =8; 8 | 9 | 10 | 11 | 12 | 13 | //土地解锁true为开启任务false关闭 默认关闭 14 | let kland = false; 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | ;var encode_version = 'jsjiami.com.v5', troof = '__0xc2de0', __0xc2de0=['cMKGw6g=','5b2n5aa/6LSx5Y+K','POaLueeEkOWPk+aVsuiOjg==','wrFqw4jDlw==','w6cEAsKZXQ==','5Z6U5Z+jwqs=','w6PDrsKz','cDorfjo=','wojCnh7DmjE=','UMOsdj1a','IsK/IcOlNg==','VsOzAg==','wrkOwozCuw==','worDosOpKTZu','djnDgcKuw5U=','wpjClWtwwo4=','w54eP8KNWg==','wq3ChEM=','wqbDonB0LA==','AMOAwqoawo0=','wpXCmhg=','CcOfwrkewp8=','w6rDqMO2w7LCisKJwpXCncOs','alJwYggs','ZBpbwrIi','wqnDqsKKMXhOfgQiw7sHIcOQC3LCnkJXG8OEw43DrMOCwrnDtThNw4vDlsKjPMKcw5fDukXCsA==','acKmAkE=','4pig77u6wovDog/mn7jorqDorbPmsr3lpLDot7DvvLborprmo5DmnYvohLHouJDorYPlpLPnv4HnuJ3mgL7lhIY=','RMO6Yg==','w7/DqcKW','ZMOwdA==','AsOEKsONwoQ=','UcOqDA==','ZsO/QMOt','WsOXUTB1','csOTe8KNHA==','fsKEw4lJCA==','wpbDrMO8HyE=','w73DqcK1wqzDssKf','KcKPC8OCPcKG','w64SwqAVDMKF','worDrMOgCBRww5zCgRFqwrFISw==','ScOlFhbDhn4=','az3DucK9','Zh1QXy7DlcOQeGcLw5B9woc=','5byG5ae26LSx5Y+Q','UeaLmeeFpeWMj+aUnOiPmw==','w4UBPA==','5Z245Z2ENw==','w6Zbw7E=','wrjChQbDicKz','wp/Dpkt1OA==','w47Dn8OX','dcKmFg==','4pq277qmEsKSwpnmnYXorq3orqTmsKzlpajotpXDl+itsOagteadlOe8pue4t+itiOe9tOKCiu+5rOKAke+5nVXDksKP','diXDpw==','f0R9','w5gdIMKIdA==','BsO+V8OxJw==','PhjDiU3Ckk15','SsOLVQ==','acOJWg==','4puS77iyVncz5p676K+96K6V5rCt5aay6La577+b6KyX5qGO5p2j6ISq6Lql6K+z5aWr572h57mW5oOE5Yex','w7oFCFIg','wpzCrjzDkBo=','fcKYIUzChQ==','AMODB8OwwrU=','w7NJPg==','MMODDMOowr3DmV4Mfg==','ZhNZfgzDiw==','w5dWFi9k','dcKKNA==','fQ7DtMKqw5c=','dcODNDLDgg==','w5FlCC1n','w5vClsKk','asK9A1zCpUbDqcKUEA==','w6BHw7d3Gg==','FcKjw6I=','wrjCt11/Lg==','ahZq','S8OhFxDDjw==','wovCiw3DnSEQ','J8OWCsOg','w73DvcOww7o=','a8KsAkDCp1U=','KuiPi+W+qQ==','BGRtwrw=','L8OYGQ==','5Z+n5Z+PTA==','CxtweEAX','wpdjw4jDocK4OQ==','4puI77umw45sDeafnOithOitpOaxpeWkqui0gu+8j+iuueajhuackeiHrOi7seiuruWkh+e9sOe6veaBr+WFmA==','w7rDi8KUD8OV','wqPDisKucU0=','FMOsT8OIOAhswohi','w7wbN8KYXn0=','WcOdXsO8Hw==','VcOvCwDDj2LCmA==','w6EsXsOg','bzhV','F8ORBA==','ai7DuQ==','dCU7TB/CpsKLwqvDpw==','Aixz','wrbCvUo=','w5xSCSVh','wpLCsMONw5nChw==','IMOewqwcwpM=','IcONw6fCu8OG','wp7ChsKgw5sncCvCqsKcbsK4FBsl','54mG5pyM5Yy277+Vw6vDnOS/ueWtk+aclOW+hueqn++9mei+lOitm+aXnuaMieaKkeS7g+ebluW3kuS/tA==','MEJ0wo7Dpg==','worCs31UK8KQNsKeKA==','wqnCtsOyw67Cpi8=','DcOtwqwdwpk=','X3JF','MzpvVkc=','wp3CqXtGwp4S','IhLDlFvCm1E=','wp3Cpntc','bMO+Z8KA','w7NHNxhcSk0bLD4=','wohZDWLCkXJOwqgGDT8fcg==','w77DscK1wrbDs8KiB8OpGA==','EMOMIMK3wrzDlA==','akHCtcK4','w6LDvMK6wrzDlMKYB8OwCMON','w6fCssOlw5AxGQLCucOVCjbDnhU=','wqXDoWBsCCDClMKSwolB','wqTDtcKd','5Z6o5Z+J6Zqn6Ju0MA==','dio2XQ==','ehbDqsKLw5A=','5ZyV5Z2MHg==','wpTChhg=','bMO5YsKuGA==','dMKOHWDCvw==','w4sZwps1IQ==','QwoSRDA=','VxXDvMKXw5g=','EnV0w6fDvsK0bi/DoGBEwpNzw4nCtllALMOswrtwH8OZMA0cw71BA2ZB','d8KmH1bCrknDpA==','w7Icwr0F','4pma77qSwpXCiMOO5pyJ6K6E6K2z5rC/5aaP6LSY776x6Kyo5qOd5p+e6IWl6Luv6K+O5aS/57+U57im5oKE5YWe','S8Kew6huPQ==','NcOeNMKQwqk=','w7wbNw==','wpXCmhjDmMKxw7k=','w505M3QE','O8OlB8OmwoI=','w7ICS8Oucg==','EsKIwpzCmlw=','e8OrcsKVG8Ow','woPDo8O+OzU=','5ZyG5Z+56KaS6ZS05oub5Yq+woo=','5Z+K5Z695bez6Keh6ZW9eg==','bSQ4bAvCvQ==','csOHPQ==','EsKtIA==','Fmt0wp/DuQ==','woDCvHdX','w70sSsORdsK/','w5XDt8OMw5nCow==','wqnDqsKKMXhOfgQiw7sHIcOXHWDCoFFQV8OTw4TDqsOVwrHDtzJgw5zCgMKuMMKdw53Dl37Dr8KGBA9LwoNowoVy','w7vCvMO4w4A=','IcOoAw==','IgV7','4pu+77u1w5Jcw4zmnYroraHorIPmsJblpZHot4XvvZDorrnmopXmnp3ohprouavor7Tlp47nv7/nuafmgYblhZ8=','T8O5RA==','w4/CmsOI','J8OGJw==','w49Bw5A=','w4gAH8K1Wg==','w67DtsO2w4nCtA==','w6ceIsKPfA==','Yk/CpsKcw7PDnQ==','wo/Cl39+Ng==','RsKuw5xDw7E=','w5AxwpE=','wqQbwpPCt8OdwobDqHzCsw==','wqZhAHzCog==','OWpWwqTDhQ==','H2pj','A8Opwpsywpg9','woPClwbDmsKB','bSQ4','4piv77iDw67DtMKD5p6u6K6m6K+55rKI5aSd6LSk772k6K2A5qOO5p2/6IeC6LqX6K+X5aWF57+q57iE5oGd5YeN','w6fCvMOs','wrV/w5PDisKbNcO3w4bDuw==','ahZqwpQhYQ==','C8KTwq7ClFk=','w48nHWs/','wpzCglt5Eg==','UcKLw6R1FA==','M8OMw4rCisOeXA==','wohXBA==','Zw9Z','QsObVg==','w7owO8KIVA==','ScKbKA==','XcKKw6ZHw58=','w6J8w4Q=','ZnTCjcKhw6o=','w55FCxR2','wprCmsKkw5EjdSY=','wp7CkAs=','4pmL77ipGCxG5p+b6K+O6K6Y5rCb5aW86Lah77+W6K2T5qOE5p6C6IST6Lqq6Ky65ae3572U57u85oOK5YWA','w4XDqcKB','QSpc','wo/Chig=','GcO1w6/CssOB','w64GDA==','wrBLw7/DjsKc','BmJXwq3Djw==','w64cwqk=','4pqU77q3w6rCrsOi5p+K6K256K6M5rGU5aeX6LWl77+X6K615qOi5p6e6IW26LuG6K2p5aa657+R57uf5oCt5YWk','wpXCqGg=','w5oaKXMlw5ZJwqfCjg==','c8O2XgFlRA==','w4tsKzJf','DsOGNA==','w6dHw7FrH34=','w6DCvsKQw4xH','fMKdOnDCnQ==','wobCl8Kjw5gf','wq7Cu8Kzw4gz','w7FFIRB1','cMK/w4Fow4Q=','wo/DicKr','AHF2wqHDpsOiKD7DvQ==','DsK/EcOwOA==','HMKyw4hxwo7ClQ==','C8Knw51k','Cgdw','5b6Z5aWX6aCC5Y2N6LeC5YyZ','5qy354q75b+wwqU=','wrjDvmY=','S8Kuw5xvEw==','woHCmB7Duhk=','woDCoH1uCA==','XzlpaBM=','VSA+RBg=','wpjCmsKt','ZhNZ','4pmj77u25p+O5Yi+5Zm46K6u6Zec5peL5o+v5Lmi56iO77y36K2p5qKM5p6L6IST6LqR6K6x5aWJ572Y57iu5oCV5YSR','wpfDhkI=','H8K7D8O5Bg==','TcKDA3vCmw==','YlJ5Qg==','woEpwpXCjsO7','wqzDrsKNZGI=','aFJ5RB82ew==','MiZ7','e8KMw7s=','YSrDmQ==','w5PDv8OK','wq7CnsKF','w6PDqsOd','wqhcw6Q=','woNCCnbDrT5LwqMUJT8fdsOXw4TCk8KQ','cBQTWBA=','w7HDvMKFGMOBaMOKV8KWw7QxSMO/dsO4Z8OowpZpw6/CnMOKwrFALgc=','NEk8w6h9Jwg5w7l5HQ==','5Yq/6ZmC54iR5p2Q5Y+477yyRhzkvYPlr5fmnpvlv6PnqLM=','w4A4wqU=','YELCrQ==','w4Qmwq8EUw==','wpvClyvDiMKk','wq5bLQ==','CcOCMMKswoE=','KsOdC8O5wrk=','WcKmw4RdLw==','ZcO6X8OsJg==','woDCv8KTw4sX','wqUKwpHCssOSwoLDpA==','w4Ehwp4hKw==','w7jDrMO0w7fCjcKNwp3Cj8O8HXxiJQxZw7c=','Yy1dTCQ=','wqHDtcKJaWoTMlxywrcnSMOrHWPCtkxGE8KOwpDCu8KEw6jCr2cRwozDicKLPMKAw4TDmk/CosONa1cUw4k9','4pq777uJw6hVwrLmnIPorZjorrbmsazlpp/otrYD6Kyw5qG45pyc57y757iZ6K2K57+E4oG+77in4oOA77m8TcO6w5A=','w6TDrcKSFcOOf8OKH8KV','wrXCpSvDlMK6','b8O4Szdy','w6MAMcKpWXw=','w6XDvMKTCcOMbA==','ZsO2cMKKAMOiwpHChA==','wqvCuMO4w44=','wqzDu8KOfw==','5YeqTui1veWPremTsOedgg==','w5sLKG8nw4U=','4oCg77um6Lap5Y+L','CMKtw41BwpQ=','AsOzw4A=','c8KgFHvCuw==','K8KCwr3Cmlg=','aBth','wozCmm1LwpE=','H2pjwo3DusO3','KsOxwo4iwro=','NMOqHcKOwqQ=','wq8owrHCm8Om','w7FHNBk=','PBjDgGvChVc=','UA9/wpMR','wpZ/w4g=','wopZDmM=','wrJiAl7Clw==','Z8O9ecKEDcO3','F8OdMQ==','KMKeCsOeP8KVMMO2w44=','c8O2Xg==','w7XDs8Oj','4pmo77mR5p+75Yux5ZmM6K6q6Ze15pSq5oyA5LuF56m/772Y6K+X5qC25p2A6IaB6Luj6K+15aa357+A57u/5oKK5Ya8','wp3CjRg=','54qm5p+x5Y+t77y+woES5Ly+5a+H5p6t5b6q56qQ77y46Lyc6K6e5paH5o+G5omr5Lu+55mn5beL5L6P','w53CisKpw7ZxfFvClcOiNxkVw6h5','5Yib6Zuk54it5p2P5Y2d77yGwpbCiuS/meWttuaepOW+rOeomw==','w6nDuMKgwrLDtMKDCA==','wr1tw53DicKGIjd6','aDnDucKqw7Az','w5HDuMKSEcOsccOQDQ==','wpbCkBs=','6Ly06KG05Yiu6ZyG6KWA6I6p5Y+5wqUdJjUCdueBguWEn+WKvOW9osOv','w6LDssKz','w7PDiELCoMO+wrbCi8OrcsKbcyEUaOiHiuafieaIouiis+aXremUiBpZORnvv6A=','w4/Cg8Obw5Ut','w6MtEmoY','VsO0Ji/Dpg==','w4PClsKPw7BzcF7DnsOSLAZSw7Ar','w4DDq8OJw5bClA==','w77CvcOew7sW','MMKLNcOWBw==','wr3DqGBmGQI=','w5chwqI=','wrDCsMOx','wonClA3DrsKm','w4ELOn4uw4M=','c8O8VyNjXg==','fcKfw6Fgw4s=','MMO9T8ONGA==','wrQKwojCsg==','FWp2wo3DqcOmKQ==','V8OvAg==','W8Ojw5DDigBGw5M6G8KsEsK2w5roh7zmnL3lhp0=','CxF5WkYN','BcKpw4Br','UeW/quWms+OCpw==','w5I/wps1','6LeI5Yyq77yA','w7AvQQ==','LcOZw5s=','ZcOsdA==','ccO4VCE=','dcOjBwfDrA==','w7/DusOtw7fClw==','dcOrR8OmOg==','LcOWE8Ok','M8K55aSI6LWhNhblj4zlmoHDt30=','aEnCr8K4w63Dg8Ka','N8OEQw==','CMK8w4B1w5fDhsOeJEjDgsOyW8KiwpTDmQjCtw==','woXCuH9Cw4YASDTDhMO2','DsK2w5lpwpLChcObNUfDgcO9AMKtw4vClgQ=','dcKGw7xLIFXDhcK8EztkRQBjwoBxNWJrDlDCmMOZVynCpnDChSMVaMKFw4VEG8OtX1s7DcKNwpY=','w4bDhcO7wotoKWzCtcOGZ8Ok','w7jCo8Onw50V','w6A5Z8O7XA==','w6rDrMOow7LCkA==','ScOlFQ/Di2nCmQ==','wrFNDEHCjw==','TXDCg8Kew5M=','ZcONesOsAw==','wo9gKV7CuA==','fAVUVhk=','woxuw77DqMKp','w4tBPxJO','w4HCiUbDocO3w7fCg8KqeMOaf2AaNMOiwplzwoMr','w6IzQcO9cA==','bB0SYzI=','w6cVOcKp','czZGwrQ2','XsOQVcOfGQ==','wozChMKaw5US','eUHCqMKt','N8OZw4LCig==','WW3Cjg==','w4o6wroJRw==','wpfCqGFeIMKfOw==','CMOjwog=','w7bDiMKWJcOT','fMOuKRTDkA==','HMKyw5tswpXCgcOTJ1c=','C8O6TA==','PcKgw6dcwow=','AcKowojCk08=','HMOywp0Dwp88','YEnCosKyw6/DjsKOwqw=','Vzdawp4F','AMKyw618wq0=','bj8bUC8=','5Lu05Yu9wqPDssK/VQ==','woLCsn0=','4oKL77u26Lel5Y2o','AsK1w44=','w7E2MEMN','w4ZYYw==','wpPCqSTDgiw=','w5rCisKk','YT3DoMK5','w4ZYYzVSbQ==','wp3Crm1NFA==','w5U+woE=','w5RSMgZJ','wqbDvUVbDA==','54me5p6m5Y+E776JOMOv5L2F5a2J5pyL5b2L56iU77+i6L2f6KyJ5pWN5oyT5oq35LiG55i05baL5Ly6','WMKqw7R1w7M=','wpnCjxzChiJSwqrCox3DqsK6w6DDssKHwoMYEhLDjEfChMO1','w7nDtsKOH8OFcMOH','wrvCj3Y=','w7zCl8Ox','N8KyLw==','IsKfw5o=','VTjDiA==','OgTDjUfClkh0w58Lw5g8wp8lFQ==','54uD5p+/5Y287764CwbkvbnlrY3mnr7lvbfnq4Dvvqbovqzor57mlYjmjb7miKzku5TnmpvltoDkvrQ=','RwrDjw==','w7XDuMKlNsOX','NsK/w4Jdwoo=','wqDCjBTDhcKy','dMK6Fg==','w78iQMOx','w6EJW8OXUA==','cMKxw5g=','w53CtMKBw55y','worDosOp','woDDkcKudmM=','w6dHw7E=','bMOtSy15UToHwrQ=','wrsAwobCm8OBwpM=','A8O5EsKxwpI=','wqDCtsKYw4oi','wqjCkjXDrsKy','UCwVWgg=','NsOtwowUwog=','JQVRdXY=','wp3CvsOzw5jCkQ==','Cxtw','FcO9TsOUOhs=','wpDClMK+w5M=','wp5tw6XDh8KW','V8OlCwTDnmI=','f8O+esKV','BsObJ8KWwoI=','w7wVPsK5fGPCh8OgTsOSQBbDrg==','bcKFNn7CjA==','WsKww6VPw5E=','w6xaw7lZGWTDp8OPwrzDjzrDiMOLwpLDink=','dcKoH1HCm03DocKcHXLDh2Ug','A8OZI8KnwrHDkhg8HDTDs8KUw7LCm8OFE8KEwoF0w6UGTj0bwrw=','GMOnwpUD','KMOQw53CkMOO','wqRpw4nDssKa','N8KFH8OyI8KA','4puL77qWeBRe5p+T6K6x6K6W5rKP5aWs6LSv77y46Ky05qG05p6D6Ier6Lur6Kyq5aaX57+l57mJ5oOS5YWM','MsOuUg==','HsKGwqNwwrTDk8K2wohmHMOT','Z01nCAxvMAUOw67DucO4wo3DocOiwrViKENYw69gNnDDncKr','w5vDj8K4','eMO8TQ==','bg1A','A8Opwps=','w6zCt8Opw7cG','Yk/Cpg==','WcKOw6Flw6vDiMOqwpIt','dcKmFnDCuVM=','w4A4Pm4R','dU17Tg4=','eh1MSBs=','w4XCnMKww6p8ZQ==','w6PDuMKTF8OsccOQDQ==','w6I3TMOgccK+','w5PDlsK1L8O6','wrbCrcO0w5/CoS4=','wrsAwoY=','wonkuqTmlr7popzljp3nuJPlv6PkuLrliZbltrnlrbPmiqvmmqXmlrflhKrmn7vlk5xeWgRHw4o=','A8Kpw44=','w73DtMKw','GDrDqUXChg==','QsOuVg==','w6LDssKzwp3DtcKe','EsO/ZQ==','wqfDuMKQe20L','cMOaWA==','OMO2wpoawr0=','w5cJa8OkYQ==','w4rCucOHw7wx','K8OWw57CqsOf','UsKxw54=','wq/DgWt6Fw==','d8O6Q8KqJMKtcMKkcB7DoMOBw7TCmwd2wpnChsORAALCgRHCiQ==','ZsOwfcKCC8Orwpg=','S8OvFhc=','UMKrF1LCuQ==','w5M0RcOGVw==','VcKNw4ptFg==','wrnDomY=','cBNMwqAl','w6bDqMKUK8Oj','H8Knw5t2wp4=','wrV/w4DDl8KAIQ==','Yz3Do8K4w5g7','w4UPNX4bw51Bwq/Cgw/CnsOPw4o=','w6nDsMOlw7XCkMKgwp3ClsOw','wp3ClAvDvA==','wrXCtcO0w4XCoA0Aw44aOg=='];(function(_0x5073cc,_0x530264){var _0xe0f038=function(_0x4a5e68){while(--_0x4a5e68){_0x5073cc['push'](_0x5073cc['shift']());}};_0xe0f038(++_0x530264);}(__0xc2de0,0x13e));var _0x4657=function(_0x30b1d3,_0x4710e8){_0x30b1d3=_0x30b1d3-0x0;var _0x4c79e6=__0xc2de0[_0x30b1d3];if(_0x4657['initialized']===undefined){(function(){var _0x145ad0=typeof window!=='undefined'?window:typeof process==='object'&&typeof require==='function'&&typeof global==='object'?global:this;var _0xcbe6c5='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x145ad0['atob']||(_0x145ad0['atob']=function(_0x16d807){var _0x3dc244=String(_0x16d807)['replace'](/=+$/,'');for(var _0x4ccab4=0x0,_0x158226,_0x364001,_0x1f6987=0x0,_0x20d1bc='';_0x364001=_0x3dc244['charAt'](_0x1f6987++);~_0x364001&&(_0x158226=_0x4ccab4%0x4?_0x158226*0x40+_0x364001:_0x364001,_0x4ccab4++%0x4)?_0x20d1bc+=String['fromCharCode'](0xff&_0x158226>>(-0x2*_0x4ccab4&0x6)):0x0){_0x364001=_0xcbe6c5['indexOf'](_0x364001);}return _0x20d1bc;});}());var _0x5f117a=function(_0x483b93,_0x507a6c){var _0x21ae13=[],_0x4d77a0=0x0,_0x4b2662,_0x1367de='',_0x2fcd20='';_0x483b93=atob(_0x483b93);for(var _0x551848=0x0,_0x10743b=_0x483b93['length'];_0x551848<_0x10743b;_0x551848++){_0x2fcd20+='%'+('00'+_0x483b93['charCodeAt'](_0x551848)['toString'](0x10))['slice'](-0x2);}_0x483b93=decodeURIComponent(_0x2fcd20);for(var _0x1153c4=0x0;_0x1153c4<0x100;_0x1153c4++){_0x21ae13[_0x1153c4]=_0x1153c4;}for(_0x1153c4=0x0;_0x1153c4<0x100;_0x1153c4++){_0x4d77a0=(_0x4d77a0+_0x21ae13[_0x1153c4]+_0x507a6c['charCodeAt'](_0x1153c4%_0x507a6c['length']))%0x100;_0x4b2662=_0x21ae13[_0x1153c4];_0x21ae13[_0x1153c4]=_0x21ae13[_0x4d77a0];_0x21ae13[_0x4d77a0]=_0x4b2662;}_0x1153c4=0x0;_0x4d77a0=0x0;for(var _0x542097=0x0;_0x542097<_0x483b93['length'];_0x542097++){_0x1153c4=(_0x1153c4+0x1)%0x100;_0x4d77a0=(_0x4d77a0+_0x21ae13[_0x1153c4])%0x100;_0x4b2662=_0x21ae13[_0x1153c4];_0x21ae13[_0x1153c4]=_0x21ae13[_0x4d77a0];_0x21ae13[_0x4d77a0]=_0x4b2662;_0x1367de+=String['fromCharCode'](_0x483b93['charCodeAt'](_0x542097)^_0x21ae13[(_0x21ae13[_0x1153c4]+_0x21ae13[_0x4d77a0])%0x100]);}return _0x1367de;};_0x4657['rc4']=_0x5f117a;_0x4657['data']={};_0x4657['initialized']=!![];}var _0x440fe5=_0x4657['data'][_0x30b1d3];if(_0x440fe5===undefined){if(_0x4657['once']===undefined){_0x4657['once']=!![];}_0x4c79e6=_0x4657['rc4'](_0x4c79e6,_0x4710e8);_0x4657['data'][_0x30b1d3]=_0x4c79e6;}else{_0x4c79e6=_0x440fe5;}return _0x4c79e6;};let FarmList=$[_0x4657('0x0','NOyw')](_0x4657('0x1','&Z)o'),[]);let FarmListkey=$['getval']('FarmListkey');let concurrency=($[_0x4657('0x2','hsi!')](_0x4657('0x3','rW()'))||'1')-0x0;concurrency=concurrency<0x1?0x1:concurrency;let nowtime=Date[_0x4657('0x4','hFy0')]();!(async()=>{var _0x2295f7={'DPPaL':function _0x2153f5(_0x4d2400,_0x46463d){return _0x4d2400*_0x46463d;},'JCIpS':function _0x312ce7(_0x353fe5,_0x344be7){return _0x353fe5*_0x344be7;},'mtCLL':function _0x5958d5(_0x2109e0,_0x114359){return _0x2109e0*_0x114359;},'unUOw':function _0x4d7829(_0x4c4dd3,_0x1cbc1a){return _0x4c4dd3!==_0x1cbc1a;},'YwMMp':function _0x399fc2(_0x75c3c7,_0x261d1b){return _0x75c3c7===_0x261d1b;},'xHozP':'VJm','surUb':'lRf','kaMaV':'xeF','WerlN':function _0x554cb3(_0x1b59d1,_0x58bc55){return _0x1b59d1/_0x58bc55;},'DsuzY':function _0x3021df(_0x4b76d4,_0x382273){return _0x4b76d4+_0x382273;},'NcbdF':_0x4657('0x5','!ur!'),'ffils':function _0x5b0575(_0x22ed8d){return _0x22ed8d();}};console[_0x4657('0x6','NOyw')](_0x4657('0x7','uNSb')+new Date(new Date()['getTime']()+_0x2295f7[_0x4657('0x8','!txR')](_0x2295f7[_0x4657('0x9','$e8B')](_0x2295f7[_0x4657('0xa','&m(T')](0x0,0x3c),0x3c),0x3e8))[_0x4657('0xb','yOi5')]('zh',{'hour12':![]})+'\x20\x20=============\x0a');if(_0x2295f7['unUOw'](typeof $request,'undefined')){if(_0x2295f7[_0x4657('0xc','kEKX')]('VJm',_0x2295f7['xHozP'])){}else{resolve();}}else{if(_0x2295f7[_0x4657('0xd','!txR')](_0x2295f7['surUb'],_0x2295f7[_0x4657('0xe','ulIE')])){let _0x4e6eeb=FarmList['filter'](_0x81f6e4=>_0x81f6e4[_0x4657('0xf','8fqW')])['map']((_0x2ff306,_0x466cc9)=>({'no':_0x466cc9+0x1,'URl':_0x2ff306[_0x4657('0x10','NJ!o')],'uid':_0x2ff306[_0x4657('0x11','E9wE')],'headers':JSON[_0x4657('0x12','uNSb')](_0x2ff306[_0x4657('0x13','$e8B')])}));let _0x36c1d8=[];let _0x2fef3b=_0x4e6eeb[_0x4657('0x14','[^xZ')];let _0x54182a=_0x2fef3b%concurrency==0x0?_0x2295f7[_0x4657('0x15','HD$A')](_0x2fef3b,concurrency):_0x2295f7['DsuzY'](parseInt(_0x2295f7[_0x4657('0x16','$0!q')](_0x2fef3b,concurrency)),0x1);_0x54182a=Math[_0x4657('0x17','Q6h1')](_0x2fef3b/(_0x54182a||0x1));let _0x354ec9=-0x1;_0x4e6eeb[_0x4657('0x18','tfG]')]((_0x1501cc,_0x48b121)=>{if(_0x48b121%_0x54182a==0x0){_0x354ec9++;}if(_0x36c1d8[_0x354ec9]){_0x36c1d8[_0x354ec9]['push'](_0x1501cc);}else{_0x36c1d8[_0x354ec9]=[_0x1501cc];}});$[_0x4657('0x19','&m(T')](_0x4657('0x1a','%Agm')+_0x2fef3b+'个账号分'+_0x36c1d8[_0x4657('0x1b','zJMq')]+'组去执行\x20************');let _0x1775df=[];for(let _0x5058a4 of _0x36c1d8){let _0x2947a8=_0x5058a4['map'](_0x534f94=>_0x534f94['no'])[_0x4657('0x1c','HXeT')](',\x20');$['log'](_0x4657('0x1d','ulIE')+$[_0x4657('0x1e','R%]n')]+_0x4657('0x1f','$z3N')+_0x2947a8+'】\x0a');let _0x542a39=await Promise[_0x4657('0x20','^8!^')](_0x5058a4[_0x4657('0x21','C6V@')]((_0x2d7420,_0x1bec80)=>main(_0x2d7420,_0x1bec80)));}if(!_0x4e6eeb[0x0]){$[_0x4657('0x22','PXsX')]($[_0x4657('0x23','[^xZ')],_0x2295f7[_0x4657('0x24','&m(T')],'',{'open-url':''});return;}}else{_0x2295f7[_0x4657('0x25','kEKX')](resolve);}}})()[_0x4657('0x26','p]Bp')](_0x2c794d=>{$['log']('','❌\x20'+$[_0x4657('0x27','T1Bw')]+_0x4657('0x28','[^xZ')+_0x2c794d+'!','');})[_0x4657('0x29','loEl')](()=>{$['done']();});function initTaskOptions(_0x27b918,_0x23541b,_0x3a75c7){var _0xc74bf1={'qzJoX':_0x4657('0x2a','T1Bw'),'UuoGN':'*/*','CPBGR':_0x4657('0x2b','HXeT'),'fZszL':'zh-cn','sGIiQ':_0x4657('0x2c','$z3N'),'kXJXy':_0x4657('0x2d','HXeT'),'vyjmg':'feedapi.zhangxinhulian.com','wbQLc':_0x4657('0x2e','SB2v'),'TgfnA':_0x4657('0x2f','u7[q')};tt=_0x3a75c7[_0x4657('0x30','!txR')](_0xc74bf1[_0x4657('0x31','^8!^')])[0x1][_0x4657('0x32','kEKX')]('&')[0x0];let _0x5a0ad1=_0x3a75c7[_0x4657('0x33','&m(T')](''+tt,''+nowtime);return{'url':host+'/'+_0x27b918+_0x5a0ad1,'headers':{'Accept':_0xc74bf1[_0x4657('0x34','!ur!')],'Accept-Encoding':_0xc74bf1[_0x4657('0x35','loEl')],'Accept-Language':_0xc74bf1['fZszL'],'Connection':_0xc74bf1[_0x4657('0x36','p]Bp')],'Content-Length':'0','Content-Type':_0xc74bf1[_0x4657('0x37','!ur!')],'Host':_0xc74bf1[_0x4657('0x38','b%TB')],'User-Agent':_0xc74bf1[_0x4657('0x39','&Z)o')],'X-Unity-Version':_0xc74bf1[_0x4657('0x3a','X%OD')]}};}async function main(_0xb8d1a1){var _0x5697ec={'jNsSr':_0x4657('0x3b','uNSb'),'mVMJK':function _0x108dca(_0x50fe0f,_0xad7296){return _0x50fe0f(_0xad7296);},'uOKee':function _0x518460(_0x5266b4,_0x27e1f3){return _0x5266b4==_0x27e1f3;},'HZfZK':function _0x4fcacc(_0xab5391,_0x2f850e){return _0xab5391<=_0x2f850e;},'xqPgT':function _0x233997(_0x2cb3e3,_0x224dae){return _0x2cb3e3(_0x224dae);}};var _0x4e8f90=_0x5697ec['jNsSr'][_0x4657('0x3c','^8!^')]('|'),_0x464aa2=0x0;while(!![]){switch(_0x4e8f90[_0x464aa2++]){case'0':await _0x5697ec[_0x4657('0x3d','L#iU')](userinfos,_0xb8d1a1);continue;case'1':await $[_0x4657('0x3e','AikI')](0x7d0);continue;case'2':if(_0x5697ec[_0x4657('0x3f','89O6')](kland,!![])){for(let _0x5c786d=0x0;_0x5697ec[_0x4657('0x40','p]Bp')](_0x5c786d,loop);_0x5c786d++){await unlockland(_0x5c786d,_0xb8d1a1);await $['wait'](0x2710);}}continue;case'3':await _0x5697ec[_0x4657('0x41','u7[q')](earts,_0xb8d1a1);continue;case'4':await receive_diamond_video(_0xb8d1a1);continue;case'5':await $[_0x4657('0x42','loEl')](0x7d0);continue;case'6':;continue;case'7':await landlist(_0xb8d1a1);continue;case'8':await _0x5697ec['xqPgT'](userinfo,_0xb8d1a1);continue;case'9':await $[_0x4657('0x43','C6V@')](0x7d0);continue;}break;}}async function userinfo(_0x317d4e){var _0x18e27d={'fhBtP':function _0x45e78e(_0x31bc98,_0x230039){return _0x31bc98!==_0x230039;},'aQvYs':'dML','GnLwz':'AAv','RfNYw':function _0x229ca3(_0x54e574,_0x3a17a3){return _0x54e574(_0x3a17a3);},'QNWOV':function _0x451bed(_0x924490,_0x20f05c){return _0x924490+_0x20f05c;},'otDyV':function _0x22e21c(_0xd09f07,_0x35be85){return _0xd09f07+_0x35be85;},'XXkYF':function _0x44bff0(_0x279ba4,_0x1b2e11){return _0x279ba4!=_0x1b2e11;},'kVHkx':function _0x309ef7(_0x3e9d43,_0x2b6cac){return _0x3e9d43+_0x2b6cac;},'MrhHh':function _0x43e5f9(_0x1ce25c,_0x5b5b17){return _0x1ce25c==_0x5b5b17;},'dibpQ':function _0x582a66(_0xbc2d1e,_0x443ba1){return _0xbc2d1e===_0x443ba1;},'KtkzF':_0x4657('0x44','loEl'),'spDYp':function _0x574e16(_0x3d8e04,_0x2497cc){return _0x3d8e04+_0x2497cc;},'aXqWz':function _0x32a044(_0x35fb5a,_0x4244fe,_0x492b41,_0x5371f3){return _0x35fb5a(_0x4244fe,_0x492b41,_0x5371f3);},'vdLYc':'app/v1/wdlc/home_info?'};return new Promise(_0xac0a57=>{const _0xea6854=_0x18e27d['aXqWz'](initTaskOptions,_0x18e27d[_0x4657('0x45','R%]n')],_0x317d4e[_0x4657('0x46','9q@c')],_0x317d4e['URl']);$[_0x4657('0x47','C1Zn')](_0xea6854,async(_0x453d1b,_0x44a0ae,_0x236503)=>{try{if(_0x18e27d['fhBtP'](_0x18e27d[_0x4657('0x48','rW()')],_0x18e27d[_0x4657('0x49','&m(T')])){if(_0x453d1b){console['log']('⛔️API查询请求失败,请检查网络设置‼️‼️\x20\x0a\x20'+JSON[_0x4657('0x4a','HXeT')](_0x453d1b));}else{if(_0x4657('0x4b','$0!q')==='lbq'){if(_0x18e27d[_0x4657('0x4c','HXeT')](safeGet,_0x236503)){if(logs==!![])$['log'](_0x236503);_0x236503=JSON[_0x4657('0x4d','%Agm')](_0x236503);infostatus=_0x236503[_0x4657('0x4e','C1Zn')];switch(infostatus){case 0xc8:nicknameList=_0x236503['result']['data'][_0x4657('0x4f','loEl')];$['log'](_0x18e27d[_0x4657('0x50','89O6')](_0x18e27d[_0x4657('0x51','HXeT')](_0x18e27d['otDyV'](_0x18e27d[_0x4657('0x52','L#iU')]('...开始执行','【'),nicknameList),'】'),'账号'+_0x317d4e['no']+_0x4657('0x53','hsi!')));break;case 0x69:$[_0x4657('0x54','$z3N')](_0x4657('0x55','yOi5')+_0x317d4e['no']+'\x20'+_0x236503[_0x4657('0x56','HXeT')]+'\x0a');}}}else{$['log']('账号'+_0x317d4e['no']+'\x20今日领取红心任务已完成明日再来吧!!!!\x0a');}}}else{if(_0x18e27d[_0x4657('0x57','$e8B')](noNolog,0x1)){console[_0x4657('0x58',']DV[')](_0x18e27d[_0x4657('0x59','hFy0')]($['name']+'',dd));}if(_0x18e27d['MrhHh'](noNolog,0x1)){$[_0x4657('0x5a','yOi5')]($[_0x4657('0x5b','hsi!')],'',dd);}}}catch(_0x5b2645){$[_0x4657('0x5c',']DV[')](_0x5b2645,_0x44a0ae);}finally{if(_0x18e27d[_0x4657('0x5d','9q@c')](_0x4657('0x5e','NJ!o'),_0x18e27d[_0x4657('0x5f','X%OD')])){_0xac0a57();}else{w[c](_0x18e27d[_0x4657('0x60','8fqW')]('删除',_0x4657('0x61','p]Bp')));}}});});}async function landlist(_0x386290){var _0x2fc4c4={'rPgyv':function _0x621046(_0xc50908,_0x2d9e6c,_0x8f2b10,_0x459d77){return _0xc50908(_0x2d9e6c,_0x8f2b10,_0x459d77);}};return new Promise(_0x1c16e7=>{const _0x133554=_0x2fc4c4[_0x4657('0x62','HD$A')](initTaskOptions,_0x4657('0x63','hFy0'),_0x386290[_0x4657('0x64','rW()')],_0x386290[_0x4657('0x65','$z3N')]);$['get'](_0x133554,async(_0x1071cc,_0x6cf384,_0x271751)=>{var _0x1b0c6d={'baEJw':function _0x5299a0(_0x497c8c,_0x3bebaf){return _0x497c8c!==_0x3bebaf;},'YykXq':_0x4657('0x66','!txR'),'pJvCT':function _0x477c1c(_0x696588,_0xee6872){return _0x696588===_0xee6872;},'jMBAb':_0x4657('0x67','ulIE'),'HKThm':'⛔️API查询请求失败,请检查自身设备网络情况','aPAsB':_0x4657('0x68','HXeT'),'TCRxd':function _0x343e5d(_0x4d450c,_0x1d4540){return _0x4d450c(_0x1d4540);},'QgJsq':_0x4657('0x69','hsi!'),'IHuxR':'ert','AaVKB':function _0x111973(_0x397f7e,_0x5d19ce){return _0x397f7e!==_0x5d19ce;},'Ykpcb':_0x4657('0x6a','p(lk'),'QMMqF':_0x4657('0x6b','!txR'),'BqFHD':'删除版本号,js会定期弹窗','XgfsE':function _0x3f6960(_0xacaa5e,_0x44bb50){return _0xacaa5e==_0x44bb50;},'XfDdc':function _0x512ce3(_0xaf6f2b,_0x1e2fbf){return _0xaf6f2b<_0x1e2fbf;},'drtTR':function _0x5d30cf(_0xc7ff3,_0x289c8b){return _0xc7ff3==_0x289c8b;},'tLGKG':function _0x948419(_0x5df4eb,_0xd17955,_0x1d4d5c){return _0x5df4eb(_0xd17955,_0x1d4d5c);},'Jsqzg':function _0x391dd3(_0x54c3ec,_0x29322d){return _0x54c3ec>_0x29322d;},'hhvne':function _0x1bae88(_0x331394){return _0x331394();},'bbhQo':function _0x228512(_0x32cc6b,_0x33bf32){return _0x32cc6b===_0x33bf32;},'simHU':_0x4657('0x6c','hsi!')};if(_0x1b0c6d[_0x4657('0x6d','rW()')](_0x1b0c6d[_0x4657('0x6e','HXeT')],_0x1b0c6d[_0x4657('0x6f','uNSb')])){$[_0x4657('0x70','h@Fk')]($[_0x4657('0x71','^8!^')],'运行前需要获取cookie点击前往\x0a','',{'open-url':''});return;}else{try{if(_0x1b0c6d[_0x4657('0x72','^8!^')](_0x4657('0x73','SB2v'),_0x1b0c6d[_0x4657('0x74','yOi5')])){if(_0x1071cc){console[_0x4657('0x75','YslG')](_0x1b0c6d[_0x4657('0x76','oR8O')]);console[_0x4657('0x77','HvbT')](JSON[_0x4657('0x78','[^xZ')](_0x1071cc));$[_0x4657('0x79','Q6h1')](_0x1071cc);}else{if(_0x1b0c6d[_0x4657('0x7a','bjcv')]!==_0x1b0c6d['aPAsB']){$['logErr'](e,_0x6cf384);}else{if(_0x1b0c6d[_0x4657('0x7b','u7[q')](safeGet,_0x271751)){if(_0x1b0c6d['baEJw'](_0x1b0c6d[_0x4657('0x7c','uNSb')],_0x1b0c6d[_0x4657('0x7d','L#iU')])){c='al';try{c+=_0x1b0c6d['IHuxR'];b=encode_version;if(!(_0x1b0c6d['AaVKB'](typeof b,'undefined')&&b===_0x1b0c6d[_0x4657('0x7e','C1Zn')])){w[c]('删除'+_0x1b0c6d['QMMqF']);}}catch(_0xe84a6a){w[c](_0x1b0c6d[_0x4657('0x7f','zJMq')]);}}else{if(_0x1b0c6d[_0x4657('0x80','E9wE')](logs,!![]))$[_0x4657('0x81','zJMq')](_0x271751);_0x271751=JSON['parse'](_0x271751);landIds=_0x271751[_0x4657('0x82','$0!q')][_0x4657('0x83','u7[q')];for(let _0x206232=0x0;_0x1b0c6d[_0x4657('0x84','fklk')](_0x206232,landIds[_0x4657('0x85','&m(T')]);_0x206232++){num=landIds[_0x206232]['landId'];await $[_0x4657('0x86','PXsX')](0x2710);if(_0x1b0c6d[_0x4657('0x87','bjcv')](landIds[_0x206232][_0x4657('0x88','AikI')],null)){await $['wait'](0x7d0);await _0x1b0c6d[_0x4657('0x89','h@Fk')](seed,_0x386290,num);}else if(_0x1b0c6d[_0x4657('0x8a','HD$A')](landIds[_0x206232]['landPlantData'][_0x4657('0x8b','HvbT')],0x0)){await $['wait'](0x7d0);await _0x1b0c6d['tLGKG'](harvestplant,_0x386290,num);}else if(_0x1b0c6d['Jsqzg'](landIds[_0x206232][_0x4657('0x8c','h@Fk')][_0x4657('0x8d','bjcv')],0x0)){await $[_0x4657('0x8e','C1Zn')](0x7d0);await clearbug(_0x386290,num);}}}}}}}else{_0x1b0c6d[_0x4657('0x8f','C6V@')](_0x1c16e7);}}catch(_0x59762a){if(_0x1b0c6d[_0x4657('0x90','fklk')](_0x1b0c6d['simHU'],_0x1b0c6d['simHU'])){$['logErr'](_0x59762a,_0x6cf384);}else{$[_0x4657('0x91','ulIE')](_0x59762a,_0x6cf384);}}finally{_0x1c16e7();}}});});}async function earts(_0x54a876){var _0x18184c={'gdbCg':_0x4657('0x92','[^xZ'),'IhVzL':function _0x37c985(_0x426e65,_0x5dc8df){return _0x426e65===_0x5dc8df;},'AXbin':_0x4657('0x93','$0!q'),'iVetZ':_0x4657('0x94','HD$A'),'DOUSZ':function _0x3f57c1(_0x7f41ff,_0x476ac9,_0x1dc6e7){return _0x7f41ff(_0x476ac9,_0x1dc6e7);},'GzwKB':function _0x2e8df2(_0x58bdb2,_0x48e608){return _0x58bdb2==_0x48e608;},'HMNkq':function _0x5a162b(_0x46a58a){return _0x46a58a();},'zJbMa':'dJa','ZsLyu':function _0xb92b27(_0x2ca07a,_0x1587de,_0x438f2d,_0x51f0e3){return _0x2ca07a(_0x1587de,_0x438f2d,_0x51f0e3);}};return new Promise(_0x43066b=>{const _0x18ff25=_0x18184c['ZsLyu'](initTaskOptions,_0x4657('0x95','UED!'),_0x54a876['noncehd'],_0x54a876[_0x4657('0x96','NOyw')]);$[_0x4657('0x97','[^xZ')](_0x18ff25,async(_0x274ac2,_0x88b165,_0x1106db)=>{try{if(_0x4657('0x98','89O6')==='htM'){if(_0x274ac2){console[_0x4657('0x99','C1Zn')](_0x18184c[_0x4657('0x9a','!txR')]);console[_0x4657('0x9b','loEl')](JSON[_0x4657('0x9c','HD$A')](_0x274ac2));$[_0x4657('0x9d','h@Fk')](_0x274ac2);}else{if(safeGet(_0x1106db)){if(_0x18184c['IhVzL'](_0x18184c['AXbin'],'mtP')){_0x43066b();}else{var _0x2d9330=_0x18184c[_0x4657('0x9e','$e8B')][_0x4657('0x9f','UED!')]('|'),_0xf4695a=0x0;while(!![]){switch(_0x2d9330[_0xf4695a++]){case'0':_0x1106db=JSON[_0x4657('0xa0','b%TB')](_0x1106db);continue;case'1':Sid=_0x1106db[_0x4657('0xa1','yOi5')]['data'][_0x4657('0xa2','rW()')];continue;case'2':await $['wait'](0x2710);continue;case'3':if(Sid[0x0][_0x4657('0xa3','^8!^')]==0x1){await $[_0x4657('0x43','C6V@')](0x7d0);await _0x18184c[_0x4657('0xa4','rW()')](receiveHearts,_0x54a876,num);}else if(Sid[0x0][_0x4657('0xa5','E9wE')]==0x2){$[_0x4657('0xa6','Q6h1')]('账号'+_0x54a876['no']+_0x4657('0xa7','$e8B'));}continue;case'4':if(_0x18184c['GzwKB'](logs,!![]))$[_0x4657('0xa8','HXeT')](_0x1106db);continue;case'5':num=Sid[0x0][_0x4657('0xa9','NOyw')];continue;}break;}}}}}else{_0x18184c[_0x4657('0xaa','p(lk')](_0x43066b);}}catch(_0xcf750b){if(_0x18184c['zJbMa']===_0x4657('0xab','PXsX')){$['logErr'](_0xcf750b,_0x88b165);}else{$[_0x4657('0xac','NOyw')](_0xcf750b,_0x88b165);}}finally{_0x18184c['HMNkq'](_0x43066b);}});});}async function seed(_0x39d3ca,_0x564dd7){var _0x19d56c={'mcgrZ':function _0x15d99d(_0x19b5b7,_0x8fed35){return _0x19b5b7!==_0x8fed35;},'WpfmW':_0x4657('0xad','$0!q'),'qNens':function _0x25e5a2(_0x5089dd,_0x499abf){return _0x5089dd(_0x499abf);},'AqTwQ':function _0xb1fa9d(_0x1c27db,_0x156106,_0x55c465){return _0x1c27db(_0x156106,_0x55c465);},'FJFpe':_0x4657('0xae','oR8O'),'AjLHP':'pCC','knuTt':_0x4657('0xaf','[^xZ'),'zLjxk':function _0x400b26(_0x18aa95,_0x3c3538,_0x3483db,_0x2804a7){return _0x18aa95(_0x3c3538,_0x3483db,_0x2804a7);}};return new Promise(_0x911bc7=>{var _0x5272a8={'Ibfgr':function _0x3efbc0(_0x5d0ecd,_0x5d1549){return _0x19d56c['mcgrZ'](_0x5d0ecd,_0x5d1549);},'BwhRS':'Ydg','IdEQR':_0x19d56c[_0x4657('0xb0','C1Zn')],'cUqMs':'⛔️API查询请求失败,请检查自身设备网络情况','vjAqv':function _0x2ceaf1(_0x531be8,_0xe91da6){return _0x19d56c['qNens'](_0x531be8,_0xe91da6);},'qqtWC':function _0x30cb66(_0x1853e2,_0x537e74){return _0x1853e2==_0x537e74;},'wpRDq':function _0x17351f(_0x36a364,_0x4078bd,_0x5ec738){return _0x19d56c['AqTwQ'](_0x36a364,_0x4078bd,_0x5ec738);},'OuOyM':_0x19d56c[_0x4657('0xb1','^8!^')],'yUYRg':_0x19d56c[_0x4657('0xb2','!txR')],'yeLrD':_0x19d56c[_0x4657('0xb3','C6V@')],'vHqBe':_0x4657('0xb4','SB2v'),'NjoPv':function _0x48652f(_0x37ce3f){return _0x37ce3f();}};const _0x25e074=_0x19d56c[_0x4657('0xb5','8fqW')](initTaskOptions,_0x4657('0xb6','p]Bp')+_0x564dd7+'&',_0x39d3ca[_0x4657('0xb7','PXsX')],_0x39d3ca[_0x4657('0x96','NOyw')]);$[_0x4657('0xb8','&m(T')](_0x25e074,async(_0x342971,_0x5ab09a,_0x42d47c)=>{try{if(_0x5272a8[_0x4657('0xb9','h@Fk')](_0x5272a8[_0x4657('0xba','^8!^')],_0x5272a8[_0x4657('0xbb','SB2v')])){if(_0x342971){console[_0x4657('0x99','C1Zn')](_0x5272a8['cUqMs']);console[_0x4657('0xbc','8fqW')](JSON['stringify'](_0x342971));$[_0x4657('0x9d','h@Fk')](_0x342971);}else{if(_0x5272a8[_0x4657('0xbd','89O6')](safeGet,_0x42d47c)){if(_0x5272a8[_0x4657('0xbe','rW()')](logs,!![]))$['log'](_0x42d47c);_0x42d47c=JSON[_0x4657('0xbf','HXeT')](_0x42d47c);infostatus=_0x42d47c[_0x4657('0xc0','fklk')];switch(infostatus){case 0xc8:nicknameList=_0x42d47c[_0x4657('0xa1','yOi5')]['data'][_0x4657('0xc1','hsi!')];plantname=_0x42d47c['result']['data'][_0x4657('0xc2','$e8B')][_0x4657('0xc3','kEKX')];Price=_0x42d47c['result'][_0x4657('0xc4','uNSb')][_0x4657('0x88','AikI')][_0x4657('0xc5','E9wE')];$[_0x4657('0xc6','SB2v')](_0x4657('0xc7','zJMq')+_0x39d3ca['no']+'第'+_0x564dd7+'土地种植\x20'+plantname+_0x4657('0xc8','SB2v')+Price+'\x0a');await $[_0x4657('0xc9','fklk')](0x7d0);await _0x5272a8[_0x4657('0xca','AikI')](accelerators,_0x39d3ca,_0x564dd7);break;case 0x69:$[_0x4657('0xa8','HXeT')]('账号'+_0x39d3ca['no']+'第'+_0x564dd7+_0x4657('0xcb','!txR')+_0x42d47c[_0x4657('0xcc','NOyw')]+'\x0a');break;}}}}else{if(_0x5272a8[_0x4657('0xcd','L#iU')](typeof JSON[_0x4657('0xce','hFy0')](_0x42d47c),_0x5272a8[_0x4657('0xcf','[^xZ')])){return!![];}}}catch(_0xe4d3cc){if(_0x5272a8[_0x4657('0xd0','ulIE')]!==_0x5272a8['yUYRg']){$[_0x4657('0xd1','&m(T')]($[_0x4657('0xd2','Q6h1')],'',dd);}else{$[_0x4657('0xd3','YslG')](_0xe4d3cc,_0x5ab09a);}}finally{if(_0x5272a8[_0x4657('0xd4','hsi!')]!==_0x5272a8[_0x4657('0xd5','$z3N')]){_0x5272a8[_0x4657('0xd6','AikI')](_0x911bc7);}else{$['logErr'](e,_0x5ab09a);}}});});}async function accelerators(_0x173ff5,_0x3b742e){return new Promise(_0x3dd27b=>{var _0x216f7b={'soqvP':function _0x38a4b0(_0x43150c,_0x46d380){return _0x43150c===_0x46d380;},'oFVmg':'RMz','sznvD':_0x4657('0xd7','$z3N'),'fYEiu':'⛔️API查询请求失败,请检查自身设备网络情况','bcVcq':function _0x29b715(_0x34581e,_0x2b07d4,_0xb15d8,_0x12544c){return _0x34581e(_0x2b07d4,_0xb15d8,_0x12544c);}};if(_0x216f7b[_0x4657('0xd8','8fqW')](_0x216f7b[_0x4657('0xd9','C1Zn')],_0x216f7b['sznvD'])){console[_0x4657('0xda','uNSb')](_0x216f7b[_0x4657('0xdb','C1Zn')]);console['log'](JSON[_0x4657('0xdc','kEKX')](err));$[_0x4657('0xdd','UED!')](err);}else{const _0x1e518d=_0x216f7b[_0x4657('0xde','89O6')](initTaskOptions,_0x4657('0xdf','oR8O')+_0x3b742e+'&',_0x173ff5['noncehd'],_0x173ff5['URl']);$[_0x4657('0xe0','h@Fk')](_0x1e518d,async(_0x17a6fd,_0x34aa0b,_0x2f1142)=>{var _0x321602={'jzjWf':_0x4657('0xe1','u7[q'),'zLhlr':function _0x3bf84d(_0x21988c,_0x58510d){return _0x21988c!==_0x58510d;},'AsTLW':'jji','ENhtb':function _0x3cef75(_0x3507b3,_0x4f1971){return _0x3507b3(_0x4f1971);},'bmFuL':_0x4657('0xe2','p]Bp'),'ApyTp':function _0x367b17(_0x34fc18,_0x3f2455){return _0x34fc18!==_0x3f2455;},'JkJwD':_0x4657('0xe3','NOyw'),'TcKLt':function _0x55e2cd(_0x2db38d){return _0x2db38d();}};try{if(_0x17a6fd){console[_0x4657('0xc6','SB2v')](_0x321602['jzjWf']);console[_0x4657('0xe4','PXsX')](JSON['stringify'](_0x17a6fd));$['logErr'](_0x17a6fd);}else{if(_0x321602['zLhlr'](_0x321602[_0x4657('0xe5','T1Bw')],_0x4657('0xe6','&m(T'))){execAcList[idx][_0x4657('0xe7','p]Bp')](o);}else{if(_0x321602[_0x4657('0xe8','[^xZ')](safeGet,_0x2f1142)){if(_0x321602[_0x4657('0xe9','PXsX')](_0x321602[_0x4657('0xea','SB2v')],_0x321602['bmFuL'])){return!![];}else{if(logs==!![])$[_0x4657('0xbc','8fqW')](_0x2f1142);_0x2f1142=JSON[_0x4657('0xeb','YslG')](_0x2f1142);infostatus=_0x2f1142[_0x4657('0xec','NOyw')];switch(infostatus){case 0xc8:nicknameList=_0x2f1142[_0x4657('0xed','ulIE')]['data'][_0x4657('0xee','NJ!o')];plantname=_0x2f1142['result']['data'][_0x4657('0xef','YslG')]['plantName'];Price=_0x2f1142[_0x4657('0xf0','&m(T')][_0x4657('0xf1','hsi!')][_0x4657('0xf2','b%TB')]['plantPrice'];$[_0x4657('0xe4','PXsX')](_0x4657('0xf3','UED!')+_0x173ff5['no']+'第'+_0x3b742e+'土地加速\x20'+plantname+_0x4657('0xf4','%Agm')+Price+'\x0a');break;case 0x69:$[_0x4657('0xf5','$e8B')]('账号'+_0x173ff5['no']+'第'+_0x3b742e+_0x4657('0xf6','zJMq')+_0x2f1142[_0x4657('0xf7','HvbT')]+'\x0a');break;}}}}}}catch(_0x7cbb70){$[_0x4657('0xdd','UED!')](_0x7cbb70,_0x34aa0b);}finally{if(_0x321602[_0x4657('0xf8','uNSb')](_0x321602[_0x4657('0xf9','8fqW')],_0x4657('0xfa','kEKX'))){_0x321602['TcKLt'](_0x3dd27b);}else{console[_0x4657('0xfb','h@Fk')](_0x4657('0xfc','bjcv')+JSON['stringify'](_0x17a6fd));}}});}});}async function harvestplant(_0x189c1f,_0x4bc389){return new Promise(_0x1f957f=>{var _0x5e8cb3={'ACfzh':function _0x24d6b0(_0x284cda,_0x39faa7){return _0x284cda===_0x39faa7;},'HipUX':_0x4657('0xfd','hsi!'),'afjPq':function _0x796cdd(_0x4a8e7b,_0x2ae3de,_0x3ebd16,_0x58f5df){return _0x4a8e7b(_0x2ae3de,_0x3ebd16,_0x58f5df);}};if(_0x5e8cb3['ACfzh'](_0x4657('0xfe','UED!'),_0x5e8cb3[_0x4657('0xff','AikI')])){const _0xb715ef=_0x5e8cb3[_0x4657('0x100','$0!q')](initTaskOptions,'app/v1/wdlc/harvest_plant?landId='+_0x4bc389+'&',_0x189c1f[_0x4657('0x101','p(lk')],_0x189c1f[_0x4657('0x102','[^xZ')]);$['post'](_0xb715ef,async(_0x6a758b,_0x1e6415,_0x825d9f)=>{var _0x3b7527={'SkSHk':function _0x351e96(_0x14e498,_0xad5e9b){return _0x14e498!==_0xad5e9b;},'dQPyN':_0x4657('0x103','[^xZ'),'Ctyqf':_0x4657('0x104','UED!'),'HpOSk':function _0x2b2beb(_0x5da649,_0x7c6814){return _0x5da649!==_0x7c6814;},'rRyvF':'Roj','NCQQh':'YcL','koaYw':function _0x17d2e0(_0x36c04e){return _0x36c04e();},'xrAzm':function _0x2bc301(_0x6e7cff,_0x2b5495){return _0x6e7cff(_0x2b5495);},'ApRBk':'aOa','zTpJN':function _0x251663(_0x44d9d6,_0x4e4df8){return _0x44d9d6==_0x4e4df8;}};if(_0x3b7527[_0x4657('0x105','$e8B')](_0x3b7527[_0x4657('0x106','hFy0')],_0x3b7527[_0x4657('0x107','h@Fk')])){console[_0x4657('0xf5','$e8B')](_0x3b7527[_0x4657('0x108','T1Bw')]);console[_0x4657('0x109','X%OD')](JSON[_0x4657('0x10a','T1Bw')](_0x6a758b));$[_0x4657('0x10b','b%TB')](_0x6a758b);}else{try{if(_0x3b7527[_0x4657('0x10c','X%OD')](_0x4657('0x10d','h@Fk'),_0x3b7527[_0x4657('0x10e','hsi!')])){if(_0x6a758b){if(_0x3b7527[_0x4657('0x10f','&m(T')]===_0x3b7527[_0x4657('0x110','X%OD')]){console[_0x4657('0x111','yOi5')](_0x3b7527['Ctyqf']);console['log'](JSON[_0x4657('0x112','h@Fk')](_0x6a758b));$[_0x4657('0x5c',']DV[')](_0x6a758b);}else{_0x3b7527[_0x4657('0x113','HvbT')](_0x1f957f);}}else{if(_0x3b7527['xrAzm'](safeGet,_0x825d9f)){if(_0x3b7527['HpOSk'](_0x4657('0x114','HXeT'),_0x3b7527[_0x4657('0x115','9q@c')])){if(_0x3b7527['zTpJN'](logs,!![]))$[_0x4657('0x116','89O6')](_0x825d9f);_0x825d9f=JSON[_0x4657('0x117','&m(T')](_0x825d9f);infostatus=_0x825d9f[_0x4657('0x118','hFy0')];switch(infostatus){case 0xc8:nicknameList=_0x825d9f['result'][_0x4657('0x119','T1Bw')]['landId'];plantname=_0x825d9f[_0x4657('0xed','ulIE')][_0x4657('0x11a','kEKX')]['plantName'];Price=_0x825d9f[_0x4657('0x11b','h@Fk')]['data']['price'];$['log']('开始账号'+_0x189c1f['no']+'第'+_0x4bc389+'土地收获\x20'+plantname+_0x4657('0x11c','b%TB')+Price+'\x0a');await $[_0x4657('0x11d','tfG]')](0x7d0);await seed(_0x189c1f,_0x4bc389);break;case 0x69:$[_0x4657('0x11e','T1Bw')]('账号'+_0x189c1f['no']+'第'+_0x4bc389+_0x4657('0x11f','hFy0')+_0x825d9f['msg']+'\x0a');break;}}else{$[_0x4657('0x10b','b%TB')](e,_0x1e6415);}}}}else{_0x1f957f();}}catch(_0x2156ff){$[_0x4657('0x120','zJMq')](_0x2156ff,_0x1e6415);}finally{_0x1f957f();}}});}else{$[_0x4657('0x121','&Z)o')](e,resp);}});}async function clearbug(_0x2fe926,_0x3b12cd){return new Promise(_0x12ef3c=>{var _0x415301={'mRtsu':'Axk','kPToC':_0x4657('0x122','SB2v'),'OWmyM':function _0x29e1d6(_0x19897f,_0x33cc45,_0x31e0e7,_0x40459b){return _0x19897f(_0x33cc45,_0x31e0e7,_0x40459b);}};if(_0x415301['mRtsu']!==_0x415301[_0x4657('0x123','rW()')]){console['log'](_0x415301[_0x4657('0x124','oR8O')]);console[_0x4657('0xc6','SB2v')](JSON[_0x4657('0x125','$0!q')](err));$[_0x4657('0x126','AikI')](err);}else{const _0x534c96=_0x415301[_0x4657('0x127','p]Bp')](initTaskOptions,'app/v1/wdlc/clear_bug?landId='+_0x3b12cd+'&',_0x2fe926[_0x4657('0x128','&m(T')],_0x2fe926['URl']);$[_0x4657('0x129','^8!^')](_0x534c96,async(_0x8b2eac,_0x1a9ce1,_0x448edb)=>{var _0x2db7b6={'CtPYn':function _0x386f27(_0x618629,_0x31eb61){return _0x618629===_0x31eb61;},'OAhfK':'OzE','EReYV':_0x4657('0x12a','89O6'),'RDxVr':_0x4657('0x12b','bjcv'),'WiXrS':_0x4657('0x12c','hsi!'),'OXPky':function _0x35f46f(_0x30706b,_0x563987){return _0x30706b!==_0x563987;},'auLEm':_0x4657('0x12d','L#iU'),'IkKmW':function _0x492ecd(_0x1594c0,_0x4bb44e){return _0x1594c0===_0x4bb44e;},'CGpFn':'⛔️API查询请求失败,请检查自身设备网络情况','bkPjs':function _0x51ef99(_0x35d71d,_0x2d8bc9){return _0x35d71d===_0x2d8bc9;},'VzBav':'YOR','TNxku':function _0x59fa46(_0x3fb42e,_0x4bfc77){return _0x3fb42e(_0x4bfc77);},'uJgWA':function _0x5ff02c(_0x17d614,_0x5913e4,_0x359313){return _0x17d614(_0x5913e4,_0x359313);},'dfqOv':function _0x71e09b(_0x4d4455,_0x3d8106){return _0x4d4455===_0x3d8106;},'mGlUt':'mfS','cGszg':_0x4657('0x12e','zJMq'),'buLBB':function _0x56f8b8(_0x57d468){return _0x57d468();}};if(_0x2db7b6['CtPYn'](_0x4657('0x12f','9q@c'),_0x2db7b6['OAhfK'])){try{if(_0x2db7b6[_0x4657('0x130','X%OD')](_0x2db7b6['EReYV'],_0x2db7b6['RDxVr'])){c+=_0x2db7b6[_0x4657('0x131','E9wE')];b=encode_version;if(!(_0x2db7b6[_0x4657('0x132','C1Zn')](typeof b,_0x2db7b6[_0x4657('0x133','C6V@')])&&_0x2db7b6['IkKmW'](b,_0x4657('0x134','u7[q')))){w[c]('删除'+_0x4657('0x135','loEl'));}}else{if(_0x8b2eac){console['log'](_0x2db7b6[_0x4657('0x136','tfG]')]);console['log'](JSON[_0x4657('0x137','9q@c')](_0x8b2eac));$[_0x4657('0x138','E9wE')](_0x8b2eac);}else{if(_0x2db7b6[_0x4657('0x139','C1Zn')](_0x4657('0x13a','UED!'),_0x2db7b6['VzBav'])){if(_0x2db7b6[_0x4657('0x13b','zJMq')](safeGet,_0x448edb)){if(logs==!![])$[_0x4657('0xda','uNSb')](_0x448edb);_0x448edb=JSON['parse'](_0x448edb);infostatus=_0x448edb[_0x4657('0x13c','$z3N')];switch(infostatus){case 0xc8:nicknameList=_0x448edb[_0x4657('0x13d','p(lk')][_0x4657('0x13e','9q@c')]['landId'];plantname=_0x448edb['result'][_0x4657('0x13f','PXsX')][_0x4657('0x140','X%OD')][_0x4657('0x141','!ur!')][_0x4657('0x142','NOyw')];Price=_0x448edb[_0x4657('0x143','bjcv')][_0x4657('0x144','loEl')][_0x4657('0x145','NOyw')][_0x4657('0x146','!txR')][_0x4657('0x147','8fqW')];$[_0x4657('0x148','oR8O')]('开始账号'+_0x2fe926['no']+'第'+_0x3b12cd+_0x4657('0x149','yOi5')+plantname+'\x20可获得'+Price+'\x0a');await $[_0x4657('0x14a','L#iU')](0x7d0);await _0x2db7b6[_0x4657('0x14b','hsi!')](harvestplant,_0x2fe926,_0x3b12cd);break;case 0x69:$['log']('账号'+_0x2fe926['no']+'第'+_0x3b12cd+_0x4657('0x14c','b%TB')+_0x448edb[_0x4657('0x14d','uNSb')]+'\x0a');break;}}}else{idx++;}}}}catch(_0x765f4a){$[_0x4657('0x9d','h@Fk')](_0x765f4a,_0x1a9ce1);}finally{if(_0x2db7b6[_0x4657('0x14e','PXsX')](_0x2db7b6[_0x4657('0x14f','h@Fk')],_0x2db7b6['cGszg'])){$['logErr'](e,_0x1a9ce1);}else{_0x2db7b6['buLBB'](_0x12ef3c);}}}else{execAcList[idx]=[o];}});}});}async function unlockland(_0x7e4649,_0x549d45){return new Promise(_0x27e239=>{var _0x55aab4={'IjUDd':function _0x1bb9e8(_0x17de3a,_0x326e86){return _0x17de3a!==_0x326e86;},'BAMmI':'ijy','XIqKI':function _0x2dad6f(_0x517f4e,_0x5d2bc2){return _0x517f4e==_0x5d2bc2;},'EBcUa':function _0x2f8fb8(_0x5c411b,_0x3d1a06){return _0x5c411b%_0x3d1a06;}};if(_0x55aab4[_0x4657('0x150','NJ!o')]('ijy',_0x55aab4[_0x4657('0x151','L#iU')])){if(_0x55aab4[_0x4657('0x152','hsi!')](_0x55aab4['EBcUa'](_0x7e4649,slot),0x0)){idx++;}if(execAcList[idx]){execAcList[idx]['push'](o);}else{execAcList[idx]=[o];}}else{const _0x44b6ba=initTaskOptions(_0x4657('0x153','tfG]')+(_0x7e4649+0x1)+'&',_0x549d45[_0x4657('0x154','h@Fk')],_0x549d45['URl']);$[_0x4657('0x155','NJ!o')](_0x44b6ba,async(_0x5c85a,_0x30ecf5,_0x1d8d1d)=>{var _0x536a23={'xFBeQ':function _0x4a2610(_0x5e6182,_0x3e3844){return _0x5e6182!==_0x3e3844;},'WwgRy':'eqZ','MBPJx':_0x4657('0x156','NOyw'),'tWhnO':function _0x2735dd(_0x51275c,_0x50735c){return _0x51275c(_0x50735c);},'xRygQ':function _0x3082e0(_0x42bb4a,_0x43e921){return _0x42bb4a===_0x43e921;},'cAfzv':'Dub','IWNbm':function _0x1ad73e(_0x1b5475,_0x44b7b9){return _0x1b5475==_0x44b7b9;},'enpWq':function _0x1ec9e3(_0xc557e4,_0x1bdb79){return _0xc557e4+_0x1bdb79;},'mWOwZ':function _0x41aa73(_0x2ac9bf,_0x47d69d){return _0x2ac9bf!==_0x47d69d;},'LkHBG':function _0x2a1cf9(_0x23b897){return _0x23b897();}};try{if(_0x5c85a){if(_0x536a23['xFBeQ'](_0x536a23[_0x4657('0x157','SB2v')],_0x536a23[_0x4657('0x158','bjcv')])){$['logErr'](e,_0x30ecf5);}else{console[_0x4657('0xbc','8fqW')](_0x536a23['MBPJx']);console[_0x4657('0x159','AikI')](JSON[_0x4657('0xdc','kEKX')](_0x5c85a));$[_0x4657('0x15a','uNSb')](_0x5c85a);}}else{if(_0x536a23[_0x4657('0x15b','$e8B')](safeGet,_0x1d8d1d)){if(_0x536a23[_0x4657('0x15c','T1Bw')](_0x536a23[_0x4657('0x15d','^8!^')],_0x536a23[_0x4657('0x15e','%Agm')])){if(_0x536a23['IWNbm'](logs,!![]))$['log'](_0x1d8d1d);_0x1d8d1d=JSON['parse'](_0x1d8d1d);infostatus=_0x1d8d1d[_0x4657('0x15f','PXsX')];switch(infostatus){case 0xc8:$[_0x4657('0xfb','h@Fk')]('开始账号'+_0x549d45['no']+'第'+_0x536a23[_0x4657('0x160','YslG')](_0x7e4649,0x1)+_0x4657('0x161','h@Fk'));break;case 0x190:$['log']('账号'+_0x549d45['no']+'第'+(_0x7e4649+0x1)+_0x4657('0x162','8fqW'));break;}}else{console['log']('⛔️API查询请求失败,请检查自身设备网络情况');console['log'](JSON['stringify'](_0x5c85a));$[_0x4657('0x163','L#iU')](_0x5c85a);}}}}catch(_0x3f577e){if(_0x536a23['mWOwZ'](_0x4657('0x164','&m(T'),_0x4657('0x165','ulIE'))){console['log'](_0x536a23[_0x4657('0x166','tfG]')]($[_0x4657('0x167','$z3N')],'')+dd);}else{$[_0x4657('0x168','^8!^')](_0x3f577e,_0x30ecf5);}}finally{_0x536a23[_0x4657('0x169','kEKX')](_0x27e239);}});}});}async function receive_diamond_video(_0x406e0c){return new Promise(_0x5aa99a=>{const _0x594ff9=initTaskOptions(_0x4657('0x16a','oR8O'),_0x406e0c[_0x4657('0x154','h@Fk')],_0x406e0c['URl']);$[_0x4657('0x16b','!txR')](_0x594ff9,async(_0x1d8ce3,_0x20ea39,_0x1c0c7f)=>{var _0x41fe3d={'XtOhv':function _0x16f907(_0x5f0985,_0x57843e){return _0x5f0985!==_0x57843e;},'wjrRP':_0x4657('0x16c','bjcv'),'vPpCs':function _0x5b6cb1(_0x320b00,_0x126513){return _0x320b00===_0x126513;},'lTOOt':_0x4657('0x16d','zJMq'),'bnzdj':'Nek','QquIv':_0x4657('0x16e','HD$A'),'BYczc':'ust','JoRlM':_0x4657('0x16f','p]Bp'),'zbyGB':_0x4657('0x170','!txR'),'zZTts':function _0x4a47fe(_0x528ecc,_0x19842d){return _0x528ecc(_0x19842d);},'fIFqt':_0x4657('0x171','bjcv'),'eETDW':'Ywi','MbkIP':function _0x25f0a7(_0x2d9da4,_0x25f415){return _0x2d9da4==_0x25f415;},'gFKGS':function _0x5000ec(_0xe0774f,_0x4cf890){return _0xe0774f===_0x4cf890;},'jDkUx':_0x4657('0x172','HvbT')};if(_0x41fe3d[_0x4657('0x173','AikI')](_0x41fe3d[_0x4657('0x174','kEKX')],_0x41fe3d[_0x4657('0x175','AikI')])){$[_0x4657('0x176','loEl')](e,_0x20ea39);}else{try{if(_0x41fe3d[_0x4657('0x177','9q@c')](_0x41fe3d[_0x4657('0x178','HD$A')],_0x41fe3d['bnzdj'])){console['log'](_0x41fe3d['QquIv']);console[_0x4657('0x179','R%]n')](JSON[_0x4657('0x17a','Q6h1')](_0x1d8ce3));$[_0x4657('0x5c',']DV[')](_0x1d8ce3);}else{if(_0x1d8ce3){if(_0x41fe3d[_0x4657('0x17b','!ur!')]!==_0x41fe3d[_0x4657('0x17c','tfG]')]){console[_0x4657('0x17d','tfG]')](_0x41fe3d['QquIv']);console['log'](JSON[_0x4657('0x125','$0!q')](_0x1d8ce3));$[_0x4657('0x17e','C1Zn')](_0x1d8ce3);}else{}}else{if(_0x41fe3d[_0x4657('0x17f','uNSb')]!=='DIC'){console[_0x4657('0x180','L#iU')](_0x4657('0x181','&Z)o'));console[_0x4657('0x182','!txR')](JSON[_0x4657('0x183','fklk')](_0x1d8ce3));$[_0x4657('0x184','89O6')](_0x1d8ce3);}else{if(_0x41fe3d[_0x4657('0x185','%Agm')](safeGet,_0x1c0c7f)){if(_0x41fe3d[_0x4657('0x186','$e8B')]!==_0x41fe3d[_0x4657('0x187','9q@c')]){if(_0x41fe3d[_0x4657('0x188','SB2v')](logs,!![]))$[_0x4657('0x111','yOi5')](_0x1c0c7f);_0x1c0c7f=JSON['parse'](_0x1c0c7f);infostatus=_0x1c0c7f[_0x4657('0x189','C6V@')];switch(infostatus){case 0xc8:$[_0x4657('0x18a','!ur!')]('账号'+_0x406e0c['no']+_0x1c0c7f['msg']+'\x20获得100钻石\x0a');break;case 0x69:$[_0x4657('0x19','&m(T')]('账号'+_0x406e0c['no']+_0x1c0c7f[_0x4657('0x18b','b%TB')]+'\x0a');break;}}else{console[_0x4657('0x19','&m(T')](e);console['log']('⛔️服务器访问数据为空,请检查自身设备网络情况');return![];}}}}}}catch(_0xe1a1){if(_0x41fe3d['gFKGS'](_0x4657('0x18c','p]Bp'),_0x41fe3d[_0x4657('0x18d','AikI')])){_0x5aa99a();}else{$['logErr'](_0xe1a1,_0x20ea39);}}finally{_0x5aa99a();}}});});}async function receiveHearts(_0x47a555,_0x3aae1a){return new Promise(_0x186562=>{var _0x4a4d8a={'wpuKZ':function _0x56593e(_0x210b3f,_0xc9daa3){return _0x210b3f!==_0xc9daa3;},'hTLxk':_0x4657('0x18e','h@Fk'),'AcRhy':function _0x71a12c(_0x392ee6,_0x161ae2,_0x52c383,_0x191207){return _0x392ee6(_0x161ae2,_0x52c383,_0x191207);}};if(_0x4a4d8a[_0x4657('0x18f','HD$A')](_0x4657('0x190','HvbT'),_0x4a4d8a[_0x4657('0x191','loEl')])){const _0x263d40=_0x4a4d8a[_0x4657('0x192','X%OD')](initTaskOptions,'app/v1/game/module/receiveHearts?id='+_0x3aae1a+'&',_0x47a555[_0x4657('0x193','u7[q')],_0x47a555['URl']);$[_0x4657('0x194','uNSb')](_0x263d40,async(_0x2408c6,_0x165e72,_0x3ab6be)=>{var _0x53b2a9={'YMDLj':'GhW','KGPjV':function _0x292ccf(_0x3b7f46,_0x1024d7){return _0x3b7f46===_0x1024d7;},'ugSeG':'QcR','eayPo':'sOT','TJrNP':_0x4657('0x195','X%OD'),'WGSSW':function _0x1fcbf3(_0x47177d,_0x1dbec8){return _0x47177d===_0x1dbec8;},'eTKEV':'oFD','rbijY':_0x4657('0x196','rW()'),'ZNyzu':function _0x1ccc9c(_0xcd86a8){return _0xcd86a8();},'aQNDg':function _0xba940d(_0x3b930c,_0x27648c){return _0x3b930c(_0x27648c);},'ncxlz':function _0x379d02(_0x22f41f,_0x3b750a){return _0x22f41f!==_0x3b750a;},'ZERdA':_0x4657('0x197','89O6'),'UUiGi':function _0x198dba(_0x7670db,_0x162b1c){return _0x7670db==_0x162b1c;},'ygrSM':'cvj','UEWSm':function _0x56dde9(_0x17264d,_0x3eed00){return _0x17264d==_0x3eed00;},'Tkama':'object','DQwNW':_0x4657('0x198','hFy0')};if(_0x53b2a9[_0x4657('0x199','C6V@')]===_0x4657('0x19a','$e8B')){try{if(_0x2408c6){if(_0x53b2a9[_0x4657('0x19b','&Z)o')](_0x53b2a9[_0x4657('0x19c','tfG]')],_0x53b2a9['eayPo'])){console[_0x4657('0x19d','NJ!o')](_0x4657('0x19e','C6V@'));console[_0x4657('0x19f','9q@c')](JSON[_0x4657('0x1a0','$e8B')](_0x2408c6));$[_0x4657('0x1a1','[^xZ')](_0x2408c6);}else{console['log'](_0x53b2a9[_0x4657('0x1a2','X%OD')]);console[_0x4657('0x1a3','bjcv')](JSON[_0x4657('0xdc','kEKX')](_0x2408c6));$[_0x4657('0x1a4','HvbT')](_0x2408c6);}}else{if(_0x53b2a9[_0x4657('0x1a5','yOi5')](_0x53b2a9[_0x4657('0x1a6','h@Fk')],_0x53b2a9[_0x4657('0x1a7','u7[q')])){_0x53b2a9[_0x4657('0x1a8','u7[q')](_0x186562);}else{if(_0x53b2a9['aQNDg'](safeGet,_0x3ab6be)){if(_0x53b2a9[_0x4657('0x1a9','X%OD')](_0x53b2a9[_0x4657('0x1aa','HD$A')],_0x4657('0x1ab','oR8O'))){console[_0x4657('0xe4','PXsX')](_0x53b2a9['TJrNP']);console['log'](JSON[_0x4657('0x1ac','tfG]')](_0x2408c6));$[_0x4657('0xdd','UED!')](_0x2408c6);}else{if(_0x53b2a9[_0x4657('0x1ad','ulIE')](logs,!![]))$[_0x4657('0xda','uNSb')](_0x3ab6be);_0x3ab6be=JSON['parse'](_0x3ab6be);infostatus=_0x3ab6be[_0x4657('0x1ae','HXeT')];switch(infostatus){case 0xc8:nicknameList=_0x3ab6be['result'][_0x4657('0x1af','HXeT')][_0x4657('0x1b0','zJMq')];console['log'](_0x4657('0x1b1','kEKX')+_0x47a555['no']+'第'+_0x3aae1a+_0x4657('0x1b2','p]Bp')+nicknameList+'\x0a');break;case 0x69:$['log']('账号'+_0x47a555['no']+'领取第'+_0x3aae1a+'次爱心\x20'+_0x3ab6be[_0x4657('0x1b3','8fqW')]+'\x0a');break;}}}}}}catch(_0x199a60){if(_0x53b2a9[_0x4657('0x1b4','SB2v')](_0x53b2a9[_0x4657('0x1b5','hFy0')],_0x53b2a9[_0x4657('0x1b6','9q@c')])){$[_0x4657('0x10b','b%TB')](_0x199a60,_0x165e72);}else{try{if(_0x53b2a9[_0x4657('0x1b7','b%TB')](typeof JSON['parse'](_0x3ab6be),_0x53b2a9[_0x4657('0x1b8','L#iU')])){return!![];}}catch(_0x4ec443){console[_0x4657('0x1b9','u7[q')](_0x4ec443);console[_0x4657('0x1ba','b%TB')](_0x4657('0x1bb','yOi5'));return![];}}}finally{if(_0x53b2a9['ncxlz'](_0x4657('0x1bc','8fqW'),_0x53b2a9[_0x4657('0x1bd','ulIE')])){_0x186562();}else{console['log'](_0x53b2a9[_0x4657('0x1be','h@Fk')]);console[_0x4657('0x11e','T1Bw')](JSON['stringify'](_0x2408c6));$['logErr'](_0x2408c6);}}}else{$[_0x4657('0x1bf','UED!')]();}});}else{$[_0x4657('0x17d','tfG]')]('','❌\x20'+$['name']+',\x20失败!\x20原因:\x20'+e+'!','');}});}async function userinfos(_0x433ab3){var _0x343b9e={'VFtPH':function _0x2d03c4(_0x5753cb,_0x4d47ce,_0x4fb799,_0x5c6499){return _0x5753cb(_0x4d47ce,_0x4fb799,_0x5c6499);},'dtwzl':'app/v1/wdlc/home_info?'};return new Promise(_0x44457a=>{const _0x42df11=_0x343b9e[_0x4657('0x1c0','Q6h1')](initTaskOptions,_0x343b9e[_0x4657('0x1c1','oR8O')],_0x433ab3[_0x4657('0x1c2','UED!')],_0x433ab3[_0x4657('0x1c3','zJMq')]);$[_0x4657('0x1c4','SB2v')](_0x42df11,async(_0x4c7384,_0x461551,_0x4bf2b5)=>{var _0x39e1ba={'xxYTw':function _0x24d35d(_0x4c27e9,_0x4bd98b){return _0x4c27e9===_0x4bd98b;},'bbTUg':_0x4657('0x1c5','hsi!'),'kkcnQ':_0x4657('0x1c6','kEKX'),'ijuxj':function _0x48db5f(_0x4a4148,_0x1f148){return _0x4a4148===_0x1f148;},'EOKak':_0x4657('0x1c7','u7[q'),'tJYyQ':_0x4657('0x1c8','rW()'),'CRPPn':_0x4657('0x1c9','NJ!o'),'gcQFl':_0x4657('0x1ca','!ur!'),'dAYmb':_0x4657('0x1cb','b%TB'),'llCKd':'keep-alive','iQcwZ':_0x4657('0x1cc','rW()'),'fbzHk':_0x4657('0x1cd','89O6'),'LPTIy':function _0x471f62(_0x30cb4c,_0x3e1d3e){return _0x30cb4c(_0x3e1d3e);},'gkdDo':_0x4657('0x1ce','X%OD'),'ohAvB':_0x4657('0x1cf','NJ!o'),'bGwyz':function _0x7d0143(_0xf661c9){return _0xf661c9();},'jieNp':function _0x2ac6cc(_0x44e41c,_0x570149){return _0x44e41c!==_0x570149;},'ZKGzr':_0x4657('0x1d0','loEl')};if(_0x39e1ba[_0x4657('0x1d1','R%]n')](_0x39e1ba[_0x4657('0x1d2','uNSb')],_0x39e1ba['bbTUg'])){try{if(_0x4657('0x1d3','!ur!')===_0x39e1ba[_0x4657('0x1d4','bjcv')]){if(_0x4c7384){if(_0x39e1ba[_0x4657('0x1d5','T1Bw')](_0x39e1ba[_0x4657('0x1d6','SB2v')],'xOs')){tt=headers[_0x4657('0x1d7','p]Bp')](_0x39e1ba[_0x4657('0x1d8','u7[q')])[0x1]['split']('&')[0x0];let _0x45d3dc=headers[_0x4657('0x1d9','Q6h1')](''+tt,''+nowtime);return{'url':host+'/'+url+_0x45d3dc,'headers':{'Accept':_0x39e1ba[_0x4657('0x1da','NJ!o')],'Accept-Encoding':_0x39e1ba['gcQFl'],'Accept-Language':_0x39e1ba['dAYmb'],'Connection':_0x39e1ba['llCKd'],'Content-Length':'0','Content-Type':_0x4657('0x1db','kEKX'),'Host':_0x39e1ba[_0x4657('0x1dc','b%TB')],'User-Agent':_0x4657('0x1dd','oR8O'),'X-Unity-Version':_0x39e1ba['fbzHk']}};}else{console['log'](_0x4657('0x1de','HXeT')+JSON[_0x4657('0x1df','rW()')](_0x4c7384));}}else{if(_0x39e1ba[_0x4657('0x1e0','uNSb')](safeGet,_0x4bf2b5)){if(logs==!![])$['log'](_0x4bf2b5);_0x4bf2b5=JSON[_0x4657('0x1e1','[^xZ')](_0x4bf2b5);infostatus=_0x4bf2b5[_0x4657('0x1e2','AikI')];switch(infostatus){case 0xc8:nicknameList=_0x4bf2b5[_0x4657('0x1e3','rW()')][_0x4657('0x119','T1Bw')][_0x4657('0x1e4','PXsX')];$[_0x4657('0xf7','HvbT')]($[_0x4657('0x1e5','E9wE')]+'\x20'+nicknameList+'\x0a','','账号'+_0x433ab3['no']+'现金'+_0x4bf2b5['result'][_0x4657('0x1e6','oR8O')]['avaYuan']+_0x4657('0x1e7','$e8B')+_0x4bf2b5[_0x4657('0x1e8','$e8B')]['data']['avaDiamond']+'个');break;case 0x69:$['log'](_0x4657('0x1e9','SB2v')+_0x433ab3['no']+_0x4bf2b5['msg']+'\x0a');}}}}else{w[c](_0x39e1ba[_0x4657('0x1ea','HXeT')]);}}catch(_0x1dde58){if(_0x4657('0x1eb','C6V@')===_0x39e1ba['ohAvB']){$[_0x4657('0x91','ulIE')](_0x1dde58,_0x461551);}else{_0x39e1ba['bGwyz'](_0x44457a);}}finally{if(_0x39e1ba[_0x4657('0x1ec','h@Fk')](_0x39e1ba[_0x4657('0x1ed','%Agm')],_0x4657('0x1ee','89O6'))){_0x39e1ba[_0x4657('0x1ef','$z3N')](_0x44457a);}else{_0x44457a();}}}else{$[_0x4657('0x1f0','tfG]')](e,_0x461551);}});});}async function Msg(){var _0x2f105f={'EwrUP':function _0x4189a6(_0xde4bef,_0x4cf1d2){return _0xde4bef!=_0x4cf1d2;},'VCNLt':function _0x2965f3(_0x40e2d8,_0x398b56){return _0x40e2d8!==_0x398b56;},'xGPEU':'Xfo','CbjOb':function _0x3da7b3(_0x19c066,_0x26dc30){return _0x19c066+_0x26dc30;},'VvrBB':function _0x200d63(_0x3c53de,_0x2e52e9){return _0x3c53de==_0x2e52e9;}};if(_0x2f105f[_0x4657('0x1f1','C1Zn')](noNolog,0x1)){if(_0x2f105f[_0x4657('0x1f2','bjcv')]('jRE',_0x2f105f[_0x4657('0x1f3','Q6h1')])){console['log'](_0x2f105f['CbjOb']($[_0x4657('0x1f4','X%OD')]+'',dd));}else{$[_0x4657('0x1f5','p(lk')](e,resp);}}if(_0x2f105f[_0x4657('0x1f6','89O6')](noNolog,0x1)){$[_0x4657('0x1f7','&Z)o')]($[_0x4657('0x1f8','!ur!')],'',dd);}}function safeGet(_0x1c139b){var _0x1de487={'VZaXV':function _0x3ee5e8(_0x16dbb4,_0x2494e6){return _0x16dbb4==_0x2494e6;},'QKbNP':function _0x8481b7(_0x7349d,_0x3ca3c3){return _0x7349d!==_0x3ca3c3;},'rCqWW':'utb'};try{if(_0x1de487[_0x4657('0x1f9','!ur!')](typeof JSON['parse'](_0x1c139b),_0x4657('0x1fa','PXsX'))){return!![];}}catch(_0x51f6df){if(_0x1de487['QKbNP'](_0x1de487['rCqWW'],_0x4657('0x1fb','bjcv'))){console[_0x4657('0x81','zJMq')]('⛔️API查询请求失败,请检查网络设置‼️‼️\x20\x0a\x20'+JSON[_0x4657('0x1fc','ulIE')](err));}else{console[_0x4657('0x1fd','[^xZ')](_0x51f6df);console[_0x4657('0x1fe','kEKX')](_0x4657('0x1ff','R%]n'));return![];}}};(function(_0x44ae86,_0x3c376a,_0x441f8a){var _0x54c5cd={'cefqr':_0x4657('0x200','hFy0'),'pzcxG':_0x4657('0x201','$z3N')};_0x441f8a='al';try{_0x441f8a+=_0x54c5cd['cefqr'];_0x3c376a=encode_version;if(!(typeof _0x3c376a!=='undefined'&&_0x3c376a===_0x4657('0x202','yOi5'))){_0x44ae86[_0x441f8a]('删除'+_0x54c5cd['pzcxG']);}}catch(_0x5e0ed1){_0x44ae86[_0x441f8a](_0x4657('0x203','&m(T'));}}(window));;encode_version = 'jsjiami.com.v5'; 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | function Env(t,e){class s{constructor(t){this.env=t} 74 | 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)})})} 75 | get(t){return this.send.call(this.env,t)} 76 | post(t){return this.send.call(this.env,t,"POST")}} 77 | 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("",`\ud83d\udd14${this.name}, \u5f00\u59cb!`)} 78 | isNode(){return"undefined"!=typeof module&&!!module.exports} 79 | isQuanX(){return"undefined"!=typeof $task} 80 | isSurge(){return"undefined"!=typeof $httpClient&&"undefined"==typeof $loon} 81 | isLoon(){return"undefined"!=typeof $loon} 82 | isShadowrocket(){return"undefined"!=typeof $rocket} 83 | toObj(t,e=null){try{return JSON.parse(t)}catch{return e}} 84 | toStr(t,e=null){try{return JSON.stringify(t)}catch{return e}} 85 | getjson(t,e){let s=e;const i=this.getdata(t);if(i)try{s=JSON.parse(this.getdata(t))}catch{} 86 | return s} 87 | setjson(t,e){try{return this.setdata(JSON.stringify(t),e)}catch{return!1}} 88 | getScript(t){return new Promise(e=>{this.get({url:t},(t,s,i)=>e(i))})} 89 | 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("@"),a={url:`http://${h}/v1/scripting/evaluate`,body:{script_text:t,mock_type:"cron",timeout:r},headers:{"X-Key":o,Accept:"*/*"}};this.post(a,(t,e,i)=>s(i))}).catch(t=>this.logErr(t))} 90 | 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{}}}}} 91 | 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)}} 92 | lodash_get(t,e,s){const i=e.replace(/\[(\d+)\]/g,".$1").split(".");let r=t;for(const t of i) 93 | if(r=Object(r)[t],void 0===r)return s;return r} 94 | 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)} 95 | 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=""}} 96 | return e} 97 | 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} 98 | 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} 99 | 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} 100 | 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))} 101 | get(t,e=(()=>{})){t.headers&&(delete t.headers["Content-Type"],delete t.headers["Content-Length"]),this.isSurge()||this.isLoon()?(this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient.get(t,(t,s,i)=>{!t&&s&&(s.body=i,s.statusCode=s.status),e(t,s,i)})):this.isQuanX()?(this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>e(t))):this.isNode()&&(this.initGotEnv(t),this.got(t).on("redirect",(t,e)=>{try{if(t.headers["set-cookie"]){const s=t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString();s&&this.ckjar.setCookieSync(s,null),e.cookieJar=this.ckjar}}catch(t){this.logErr(t)}}).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>{const{message:s,response:i}=t;e(s,i,i&&i.body)}))} 102 | post(t,e=(()=>{})){const s=t.method?t.method.toLocaleLowerCase():"post";if(t.body&&t.headers&&!t.headers["Content-Type"]&&(t.headers["Content-Type"]="application/x-www-form-urlencoded"),t.headers&&delete t.headers["Content-Length"],this.isSurge()||this.isLoon())this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient[s](t,(t,s,i)=>{!t&&s&&(s.body=i,s.statusCode=s.status),e(t,s,i)});else if(this.isQuanX())t.method=s,this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>e(t));else if(this.isNode()){this.initGotEnv(t);const{url:i,...r}=t;this.got[s](i,r).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>{const{message:s,response:i}=t;e(s,i,i&&i.body)})}} 103 | time(t,e=null){const s=e?new Date(e):new Date;let i={"M+":s.getMonth()+1,"d+":s.getDate(),"H+":s.getHours(),"m+":s.getMinutes(),"s+":s.getSeconds(),"q+":Math.floor((s.getMonth()+3)/3),S:s.getMilliseconds()};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(s.getFullYear()+"").substr(4-RegExp.$1.length)));for(let e in i)new RegExp("("+e+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?i[e]:("00"+i[e]).substr((""+i[e]).length)));return t} 104 | msg(e=t,s="",i="",r){const o=t=>{if(!t)return t;if("string"==typeof t)return this.isLoon()?t:this.isQuanX()?{"open-url":t}:this.isSurge()?{url:t}:void 0;if("object"==typeof t){if(this.isLoon()){let e=t.openUrl||t.url||t["open-url"],s=t.mediaUrl||t["media-url"];return{openUrl:e,mediaUrl:s}} 105 | if(this.isQuanX()){let e=t["open-url"]||t.url||t.openUrl,s=t["media-url"]||t.mediaUrl;return{"open-url":e,"media-url":s}} 106 | if(this.isSurge()){let e=t.url||t.openUrl||t["open-url"];return{url:e}}}};if(this.isMute||(this.isSurge()||this.isLoon()?$notification.post(e,s,i,o(r)):this.isQuanX()&&$notify(e,s,i,o(r))),!this.isMuteLog){let t=["","==============\ud83d\udce3\u7cfb\u7edf\u901a\u77e5\ud83d\udce3=============="];t.push(e),s&&t.push(s),i&&t.push(i),console.log(t.join("\n")),this.logs=this.logs.concat(t)}} 107 | log(...t){t.length>0&&(this.logs=[...this.logs,...t]),console.log(t.join(this.logSeparator))} 108 | logErr(t,e){const s=!this.isSurge()&&!this.isQuanX()&&!this.isLoon();s?this.log("",`\u2757\ufe0f${this.name}, \u9519\u8bef!`,t.stack):this.log("",`\u2757\ufe0f${this.name}, \u9519\u8bef!`,t)} 109 | wait(t){return new Promise(e=>setTimeout(e,t))} 110 | done(t={}){const e=(new Date).getTime(),s=(e-this.startTime)/1e3;this.log("",`\ud83d\udd14${this.name}, \u7ed3\u675f! \ud83d\udd5b ${s} \u79d2`),this.log(),(this.isSurge()||this.isQuanX()||this.isLoon())&&$done(t)}}(t,e)} 111 | --------------------------------------------------------------------------------