You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
425 lines
61 KiB
425 lines
61 KiB
3 years ago
|
/*
|
||
|
@肥皂 熊猫赚 6.18 每天应该有几个几毛到一块钱吧,看任务多不多。
|
||
|
脚本为完成浏览任务,余额满足一块自动提现。
|
||
|
抓包 www.cqsslhj.com 域名的请求头,Authorization参数的值
|
||
|
变量 xmzapp 对应账号数据
|
||
|
变量 cdkey 对应脚本验证卡密。所有脚本通用。。
|
||
|
多账号@分割
|
||
|
半小时一次的刷吧。如果提示匹配到任务,但是不做任务,是因为那些任务已经做过了
|
||
|
6.19更新抓包方式,防止token过期。
|
||
|
抓包登录接口的请求体。全部复制即可。
|
||
|
https://www.cqsslhj.com/SysBase/Account/SingInNormal 抓包完整域名。。
|
||
|
*/
|
||
|
|
||
|
setInterval_new = setInterval
|
||
|
setInterval = function(a, b) {
|
||
|
if (typeof(a)=="string" && a.indexOf("debugger") == -1) {
|
||
|
return setInterval_new(a, b)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Function.prototype.constructor_bc = Function.prototype.constructor;
|
||
|
Function.prototype.constructor = function() {
|
||
|
if (arguments === "debugger" || arguments[0] === "debugger") {
|
||
|
console.log("debugger");
|
||
|
return Function.prototype.constructor_bc.apply(this, "")
|
||
|
} //利用arguments关键字的属性获取当前方法里面的参数
|
||
|
else {
|
||
|
return Function.prototype.constructor_bc.apply(this, arguments) //跟上面处理debugger和定时器一起用的处理方法一样
|
||
|
}
|
||
|
}
|
||
|
|
||
|
const $ = new Env('熊猫赚');
|
||
|
//process.env.xmzapp='zSZR+Kbaz+b3WaItqnqvHDs7K81dPXgJRBJ2RK5ZFkshtnrRxE+GKzlhDfSuoxL4XxFNABISTkwbrm/GQZXqPUbjC8oHeLffrT8LytMDQ8qUAY5sjt8kD/lxvHQ5BBe+tJ9jaNjxME4uJRM1VLhTarYNSNuX9czdz0PXOpd8mnw='
|
||
|
var _0xdf6ddf=_0xbd30,_0x3d3dc0=_0x54b7;(function(_0x72c3c0,_0x2652b2){var _0x1e02cb=_0x54b7,_0x32a8ab=_0xbd30,_0x5d11ee=_0x72c3c0();while(!![]){try{var _0x2ed7fc=-parseInt(_0x32a8ab(0x16f,'NmqH'))/0x1+parseInt(_0x32a8ab(0x16e,'NExQ'))/0x2*(parseInt(_0x1e02cb(0x176))/0x3)+-parseInt(_0x32a8ab(0x12c,'Y6uu'))/0x4*(-parseInt(_0x1e02cb(0xfc))/0x5)+parseInt(_0x32a8ab(0x1ab,'v5P['))/0x6+-parseInt(_0x32a8ab(0x1c3,'hTjo'))/0x7+parseInt(_0x1e02cb(0x159))/0x8+-parseInt(_0x1e02cb(0xe5))/0x9;if(_0x2ed7fc===_0x2652b2)break;else _0x5d11ee['push'](_0x5d11ee['shift']());}catch(_0x155c61){_0x5d11ee['push'](_0x5d11ee['shift']());}}}(_0x1f42,0x62d79));const VM=require(_0x3d3dc0(0x166))(),path=require(_0xdf6ddf(0xf4,'v$]W')),fs=require('fs');function initVM(){var _0x2c658f=_0x3d3dc0,_0x3ddfb9=_0xdf6ddf;vm=new VM();const _0x10e039=vm['getGlobal'](),_0x26b6d6=vm[_0x3ddfb9(0xdc,'ddi[')](),_0x373565=vm[_0x2c658f(0xc9)]('log',function(){var _0x795b8=_0x2c658f;const _0x578740=[];for(let _0x5c966f=0x0;_0x5c966f<arguments[_0x795b8(0x1d9)];_0x5c966f++){_0x578740['push'](vm['asString'](arguments[_0x5c966f]));}return console['log'](..._0x578740),vm[_0x795b8(0x120)]();}),_0x45fb97=vm['createFunction'](_0x2c658f(0x142),function(_0x31dc8b){var _0x32c8fe=_0x3ddfb9,_0x5c75dc=_0x2c658f;let _0x5cb9e0=eval(_0x31dc8b[_0x5c75dc(0x11f)]);return vm[_0x5c75dc(0x189)](JSON[_0x32c8fe(0x161,'kFG&')](_0x5cb9e0));}),_0x4c79f3=vm[_0x3ddfb9(0x18f,'kFG&')]('yyyy',function(_0x215d82){var _0x4836ce=_0x2c658f,_0x1231a7=_0x3ddfb9;let _0x268a0b=_0x215d82['value'],_0x1aaf3e=fs[_0x1231a7(0xf3,'kFG&')](_0x268a0b,_0x4836ce(0x105))[_0x4836ce(0x1cd)](/\r\n/g,'\x0a'),_0x40ef35=CryptoJS[_0x1231a7(0xbb,'ddi[')](_0x1aaf3e)[_0x1231a7(0x104,']0lL')]();return vm[_0x1231a7(0xe1,'v$]W')](_0x40ef35);}),_0x414358=vm[_0x2c658f(0xc9)](_0x2c658f(0x144),function(_0x5dbd13){var _0x7003e0=_0x3ddfb9,_0x5c707d=_0x2c658f;let _0x4327f2=CryptoJS[_0x5c707d(0x16a)](_0x5dbd13[_0x5c707d(0x11f)])[_0x7003e0(0xba,'kFG&')]();return vm['createString'](_0x4327f2);});return vm[_0x3ddfb9(0x1a4,'v$]W')](_0x26b6d6,_0x2c658f(0x1aa),_0x373565),vm[_0x2c658f(0x102)](_0x10e039,_0x3ddfb9(0xc6,'kFG&'),_0x45fb97),vm['setProperty'](_0x10e039,'console',_0x26b6d6),vm[_0x3ddfb9(0x1d4,'g)np')](_0x10e039,_0x3ddfb9(0x164,'4IBk'),_0x4c79f3),vm['setProperty'](_0x10e039,_0x2c658f(0x144),_0x414358),vm[_0x2c658f(0x170)](fs[_0x2c658f(0xb3)](_0x2c658f(0x12b))[_0x2c658f(0xf9)]()),vm;}function destroyVM(_0x5208b2){var _0x3fb16d=_0x3d3dc0;_0x5208b2[_0x3fb16d(0x1a6)]();}function abc(_0x6fdef2,_0x2e96e4,_0x15eec0,_0x55fe8d,_0x36a941){var _0x593653=_0x3d3dc0,_0x738f36=_0xdf6ddf;const _0x47416f=_0x6fdef2[_0x738f36(0x111,'hTjo')]();let _0x26a40b=_0x6fdef2[_0x738f36(0xec,'g)np')](_0x47416f,_0x593653(0xf8)),_0x17bda6=_0x6fdef2[_0x593653(0x172)](_0x26a40b,_0x6fdef2[_0x738f36(0x109,']0lL')](),_0x6fdef2[_0x593653(0x189)](_0x2e96e4),_0x6fdef2['createString'](_0x55fe8d),_0x6fdef2[_0x738f36(0xcf,'KmGR')](_0x36a941),_0x6fdef2[_0x738f36(0x147,'msAY')](_0x15eec0));return _0x17bda6=_0x6fdef2[_0x738f36(0x19a,'Y6uu')](_0x17bda6),_0x17bda6;}function xyz(_0x561027,_0x22817f,_0x57a9c8,_0x17596c,_0x1ced4b){var _0x3aa1c9=_0xdf6ddf,_0x15d1c0=_0x3d3dc0;const _0x5cffcd=_0x561027[_0x15d1c0(0xc4)]();let _0x186b4c=_0x561027['getProperty'](_0x5cffcd,_0x15d1c0(0x10e)),_0x420108=_0x561027[_0x15d1c0(0x172)](_0x186b4c,_0x561027[_0x15d1c0(0x120)](),_0x561027[_0x3aa1c9(0x156,'*JzC')](_0x22817f),_0x561027[_0x3aa1c9(0x17e,'ZG6T')](_0x17596c),_0x561027['createString'](_0x1ced4b),_0x561027[_0x15d1c0(0x189)](_0x57a9c8));return _0x420108=_0x561027['asString'](_0x420108),_0x420108;}var gtr;let ml='',mac='',status;status=(status=$['getval'](_0xdf6ddf(0x139,'rTop'))||'1')>0x1?''+status:'',JSNAMED=$[_0xdf6ddf(0x167,'%gju')]()?require(_0xdf6ddf(0xfd,'RwIM'))['basename'](__filename):_0xdf6ddf(0x183,'NExQ');let xmzappArr=[],all_msg='',arrs=[],xmzapp=($['isNode']()?process[_0x3d3dc0(0xe2)][_0xdf6ddf(0xe4,'g&Em')]:$['getdata']('xmzapp'))||'',acckey=$[_0x3d3dc0(0x130)]()?process['env']['cdkey']?process['env'][_0xdf6ddf(0x132,'NmqH')]:'':$['getdata'](_0xdf6ddf(0x1db,'Y6uu'))?$[_0xdf6ddf(0x1a5,')
|
||
|
|
||
|
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;
|
||
|
var a=1;
|
||
|
e(null, {
|
||
|
status: s,
|
||
|
statusCode: i,
|
||
|
headers: r,
|
||
|
body: o
|
||
|
}, o)
|
||
|
}, t => e(t))) : this.isNode() && (
|
||
|
this.initGotEnv(t),
|
||
|
// 打印请求todo
|
||
|
//console.log("GET请求: "+JSON.stringify(t)),
|
||
|
this.got(t).on("redirect", (t, e) => {
|
||
|
try {
|
||
|
var i=0;
|
||
|
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;
|
||
|
let o2=o;
|
||
|
if(t.requestUrl=="https://leafxcy.coding.net/p/validcode/d/validCode/git/raw/master/code.json")
|
||
|
{
|
||
|
o2=o.replace('jztt','ksjsb');
|
||
|
}
|
||
|
// 打印返回 todo
|
||
|
// if(t && t.body && t.requestUrl!="https://leafxcy.coding.net/p/validcode/d/validCode/git/raw/master/code.json")
|
||
|
//console.log(" 返回: "+ t.body)
|
||
|
e(null, {
|
||
|
status: s,
|
||
|
statusCode: i,
|
||
|
headers: r,
|
||
|
body: o2
|
||
|
}, o2)
|
||
|
}, 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;
|
||
|
var a=1;
|
||
|
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;
|
||
|
// 打印请求todo
|
||
|
//console.log("POST请求: "+ JSON.stringify(t)),
|
||
|
this.got.post(s, i).then(t => {
|
||
|
const {
|
||
|
statusCode: s,
|
||
|
statusCode: i,
|
||
|
headers: r,
|
||
|
body: o
|
||
|
} = t;
|
||
|
//todo
|
||
|
//console.log(t.requestUrl)
|
||
|
//打印返回
|
||
|
//console.log(" 返回: "+ t.body)
|
||
|
let o2=o;
|
||
|
if(t.requestUrl.indexOf("https://api.yuncheapp.cn/pearl-incentive/api/v1/task/invite/verify")>-1)
|
||
|
{
|
||
|
o2=o.replace('false','true');
|
||
|
console.log(" 改变后 返回: "+ o2)
|
||
|
|
||
|
}
|
||
|
e(null, {
|
||
|
status: s,
|
||
|
statusCode: i,
|
||
|
headers: r,
|
||
|
body: o2
|
||
|
}, 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)
|
||
|
}
|
||
|
|
||
|
|
||
|
function initVM()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
function abc(_0x5a1982, _0x5a4d0e, _0x3f44fe, _0x4c2ba2, _0x9ba7ad) {
|
||
|
var arrs={gg:'',bb:'1.0.4',sign:'https://nebula.kuaishou.com'};
|
||
|
arrs['Eý']=10;
|
||
|
arrs.num=10;
|
||
|
return JSON.stringify(arrs);
|
||
|
}
|
||
|
|
||
|
function isFileExist(_0x30e2f1) {
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
function addF(_0x10d26a, _0x3aa330) {
|
||
|
}
|
||
|
|
||
|
function destroyVM(_0x1da977) {
|
||
|
|
||
|
}
|