mirror of
https://github.com/KingJin-web/zy.git
synced 2025-12-16 23:19:32 +08:00
873 lines
49 KiB
JavaScript
873 lines
49 KiB
JavaScript
//环境变量xf 填cookie#BrowserUa#User-Agent#SystemUa#Ks-PkgId#请求体里的message#备注
|
||
|
||
const _0x45d392 = _0x40b8;
|
||
(function (_0x59d77, _0x15d575) {
|
||
const _0x2c0eb3 = _0x40b8, _0x5df512 = _0x59d77();
|
||
while (!![]) {
|
||
try {
|
||
const _0x1180db = -parseInt(_0x2c0eb3(0x1e1)) / 0x1 + parseInt(_0x2c0eb3(0x1fe)) / 0x2 * (parseInt(_0x2c0eb3(0x1ba)) / 0x3) + parseInt(_0x2c0eb3(0x1c5)) / 0x4 * (parseInt(_0x2c0eb3(0x1f6)) / 0x5) + parseInt(_0x2c0eb3(0x1b4)) / 0x6 * (parseInt(_0x2c0eb3(0x1dd)) / 0x7) + -parseInt(_0x2c0eb3(0x1e6)) / 0x8 * (-parseInt(_0x2c0eb3(0x19f)) / 0x9) + parseInt(_0x2c0eb3(0x1fd)) / 0xa + -parseInt(_0x2c0eb3(0x206)) / 0xb;
|
||
if (_0x1180db === _0x15d575) break; else _0x5df512['push'](_0x5df512['shift']());
|
||
} catch (_0x1abf5b) {
|
||
_0x5df512['push'](_0x5df512['shift']());
|
||
}
|
||
}
|
||
}(_0x7ac7, 0x5221c));
|
||
const _0x394785 = new _0x2895c9('喜番'), _0x3aa3e8 = 'xf', _0x13cd9b = 0x0;
|
||
let _0x3bde5e = 0x0, _0x572cc3 = ['@', '\x0a'];
|
||
msg = '';
|
||
|
||
function _0x7ac7() {
|
||
const _0x195884 = ['getDate', 'Content-Length', 'all', 'post', 'test', 'application/x-www-form-urlencoded', 'valueForKey', '1272628MpFPHZ', '{\x22version\x22:\x223.3.55.2.8\x22,\x22appVersion\x22:\x222.6.3.2\x22,\x22appId\x22:\x221091400011\x22,\x22message\x22:\x22', ',\x20结束!\x20🕛\x20', 'isMute', ',\x22continuousTimes\x22:0,\x22taskId\x22:6005}}', 'isSurge', 'isMuteLog', 'writedata', 'parse', 'data', 'getTime', 'toStr', 'deviceInfo', 'amount', 'logErr', 'slice', '未找到CK', '个账号', ',\x20开始!', 'toObj', ']\x20\x20加密失败\x20❌\x20了呢,原因', ']\x20\x20', 'cktough', '/v1/scripting/evaluate', '3459316NUsrFX', 'http://', 'loaddata', 'isQuanX', '546882wMutnf', 'resolve', 'catch', 'http', 'request', '2668264nkZIlV', 'match', 'statusCode', '\x0a【debug】=============这是', 'http://111.231.107.4:6689/sign', ']\x20\x20已黑鸡,停止运行', 'messag', 'getMilliseconds', 'got', './sendNotify', 'sign', 'toast', 'media-url', 'json解析后数据============', 'log', 'concat', '5qOgkmC', 'stringify', 'getdata', 'initGotEnv', 'lodash_get', 'setCookieSync', 'application/json;\x20application/json;\x20charset=utf-8', '127770jJuPNY', '10EaPgUJ', 'push', 'readFileSync', 'getScript', 'dmd', 'logSeparator', 'random', 'ckjar', '5978291nhqhSE', 'http://111.231.107.4:6689/e', '共找到', '\x22}],\x22taskSessionId\x22:', 'finally', 'fetch', '失败了!请稍后尝试!!', 'toString', '*/*', 'startTime', 'http://111.231.107.4:6689/d', 'timeout', 'getSeconds', 'task', 'https://tube.e.kuaishou.com/rest/e/tube/inspire/task/report', ']\x20\x20等待解密响应体', '\x0a\x0a【debug】===============这是', 'object', 'getval', 'done', 'name', 'GITHUB', 'opts', 'exec', 'then', 'cwd', '返回数据==============', 'getMonth', '\x0a【debug】===============这是', '{\x22appVersion\x22:\x222.6.3.2\x22,\x22kpn\x22:\x22XIFAN\x22,\x22channel\x22:\x22ANDROID_VIVO_BA_XFDJXM_NSET_XIFAN_VIVO\x22,\x22originChannel\x22:\x22ANDROID_VIVO_BA_XFDJXM_NSET_XIFAN_VIVO\x22,\x22protocolVersion\x22:\x222.0\x22,\x22kwaiMerchantSdkVersion\x22:\x221.0.0\x22,\x22SDKVersion\x22:\x223.3.55.2.8\x22,\x22SDKVersionCode\x22:3035502,\x22sdkApiVersion\x22:\x223.3.55.2\x22,\x22sdkApiVersionCode\x22:3035502,\x22sdkType\x22:2,\x22deviceInfo\x22:{\x22oaid\x22:\x22\x22,\x22romName\x22:\x22VIVO\x22,\x22osType\x22:1,\x22osBit\x22:64,\x22osApi\x22:34,\x22osVersion\x22:\x2214\x22,\x22language\x22:\x22zh\x22,\x22screenWidth\x22:1080,\x22screenHeight\x22:2313,\x22deviceWidth\x22:360,\x22deviceHeight\x22:771,\x22androidId\x22:\x22\x22,\x22deviceId\x22:\x22', 'openUrl', 'open-url', 'getjson', 'Keep-Alive', 'get', 'POST', 'now', 'isNode', 'tough-cookie', 'call', 'set-cookie', 'deviceId', 'body', 'setdata', 'writeFileSync', 'GET', ']\x20\x20已停止,跳过后续执行', 'redirect', 'env', 'stopped', 'existsSync', 'userId', ',\x22values\x22:[-0.10635516047477722,0.11213109642267227,9.805432319641113]}]}},\x22appUserInfo\x22:{\x22userRecoBit\x22:1},\x22timestamp\x22:', 'getHours', ',\x22inspireTaskReportParam\x22:{\x22posId\x22:10914000012,\x22ecpm\x22:41670,\x22neoInfos\x22:[{\x22extParam\x22:{\x22taskType\x22:1,\x22llsId\x22:\x224\x22,\x22creativeId\x22:', '{\x22data\x22:\x20\x22', 'floor', 'Content-Type', 'runScript', 'message', 'logs', 'send', ']\x20\x20解密失败\x20❌\x20了呢,原因', 'method', 'dataFile', '请求信息===============', 'isArray', 'null', '\x22,\x22deviceBit\x22:1,\x22arch\x22:\x22aarch64\x22,\x22kwaiNebulaVersionName\x22:\x2212.2.20.7490\x22,\x22wechatVersionName\x22:\x228.0.60\x22,\x22systemBootTime\x22:\x22626f584d-3a5d-4e1f-a413-f03e3fe90e2d\x22,\x22systemUpdateTime\x22:\x221750913072.215024123\x22,\x22abi\x22:\x22arm64\x22,\x22socName\x22:\x22Unknown\x22,\x22boardPlatform\x22:\x22taro\x22,\x22firstInstallOpen\x22:true},\x22clientFunction\x22:{\x22enableUserFission\x22:true},\x22appInfo\x22:{\x22appId\x22:\x221091400011\x22,\x22name\x22:\x22喜番免费短剧\x22,\x22packageName\x22:\x22com.kwai.theater\x22,\x22version\x22:\x222.6.3.2\x22,\x22sha1\x22:\x22E8:7A:F7:8A:50:EC:4F:48:75:83:D5:EA:D8:AC:6A:5C:DA:29:BA:F0\x22},\x22tkVersion\x22:\x225.1.4\x22,\x22adSdkVersion\x22:\x223.3.55.2\x22,\x22networkInfo\x22:{\x22connectionType\x22:100,\x22operatorType\x22:3},\x22clientDynamicType\x22:\x220\x22,\x22abi\x22:\x22arm64\x22,\x22socName\x22:\x22Unknown\x22,\x22boardPlatform\x22:\x22taro\x22,\x22kGeoInfo\x22:{},\x22ext\x22:{\x22modeInfo\x22:{\x22cpuCount\x22:8,\x22cpuAbi\x22:\x22arm64-v8a\x22,\x22batteryPercent\x22:50,\x22totalMemorySize\x22:11823714304,\x22availableMemorySize\x22:4358930432,\x22totalDiskSize\x22:238189031424,\x22availableDiskSize\x22:57468551168,\x22imsi\x22:\x22\x22,\x22iccid\x22:\x22\x22,\x22bootTime\x22:233857,\x22romName\x22:\x22VIVO\x22,\x22romVersion\x22:\x2214.1\x22,\x22romBuildTimestamp\x22:1732676038000,\x22ringerMode\x22:2,\x22audioStreamInfo\x22:[{\x22maxVolume\x22:6,\x22minVolume\x22:1,\x22currentVolume\x22:6},{\x22streamType\x22:1,\x22maxVolume\x22:7,\x22currentVolume\x22:7},{\x22streamType\x22:2,\x22maxVolume\x22:7,\x22currentVolume\x22:7},{\x22streamType\x22:3,\x22maxVolume\x22:15,\x22currentVolume\x22:2},{\x22streamType\x22:4,\x22maxVolume\x22:7,\x22currentVolume\x22:7},{\x22streamType\x22:5,\x22maxVolume\x22:7,\x22currentVolume\x22:6}],\x22baseBandVersion\x22:\x22SS.DE.2.0-00780.7-WAIPIO_GEN_PACK-1.10720.323,SS.DE.2.0-00780.7-WAIPIO_GEN_PACK-1.10720.323\x22,\x22fingerPrint\x22:\x22vivo/PD2172/PD2172:14/UP1A.231005.007/compiler11271053:user/release-keys\x22,\x22screenBrightness\x22:-1,\x22isCharging\x22:false,\x22chargeType\x22:0,\x22simCardInfo\x22:{\x22phoneCount\x22:2,\x22activePhoneCount\x22:0},\x22environmentInfo\x22:{\x22isRoot\x22:2,\x22isXPosed\x22:2,\x22isFrameworkHooked\x22:2,\x22isVirtual\x22:0,\x22isAdbEnabled\x22:1,\x22isEmulator\x22:2,\x22isGroupControl\x22:2},\x22sensorEventInfoList\x22:[{\x22sensorType\x22:1,\x22timestamp\x22:', '账号[', ']\x20\x20已停止,跳过执行', 'assign', 'cookieJar', 'string', 'write', 'index', '9khDCYV', 'setval', 'box.dat', 'headers', 'cookie', 'split', 'application/json', 'Cookie', 'join', '\x22,\x22randomDeviceId\x22:\x22\x22,\x22deviceIdTag\x22:0,\x22cloudIdTag\x22:7,\x22deviceVendor\x22:\x22vivo\x22,\x22platform\x22:3,\x22deviceModel\x22:\x22V2172A\x22,\x22deviceBrand\x22:\x22vivo\x22,\x22eGid\x22:\x22', 'status', 'indexOf', '\x0a==================\x20喜番开始\x20==================\x0a', 'CookieJar', 'substr', 'lodash_set', 'isNeedRewrite', 'undefined', '{\x22data\x22:', 'length', 'callee', '6TctBVU', 'path', ',\x22taskToken\x22:\x22\x22},\x22idempotentId\x22:\x224_', 'replace', 'msg', ',\x20错误!', '160872eFVESr', 'cron', 'url', 'isLoon'];
|
||
_0x7ac7 = function () {
|
||
return _0x195884;
|
||
};
|
||
return _0x7ac7();
|
||
}
|
||
|
||
let _0x1e9244 = msg,
|
||
_0x1ebc51 = (_0x394785[_0x45d392(0x178)]() ? process[_0x45d392(0x183)][_0x3aa3e8] : _0x394785['getdata'](_0x3aa3e8)) || '',
|
||
_0x4ee2de = [], _0x489ae0 = 0x0, _0x722626 = 0x0;
|
||
|
||
async function _0x972199() {
|
||
const _0x57f3b8 = _0x45d392;
|
||
console['log'](_0x57f3b8(0x1ab)), taskall = [];
|
||
for (let _0xfccdc9 of _0x4ee2de) {
|
||
{
|
||
taskall[_0x57f3b8(0x1ff)](await _0xfccdc9['dm'](_0x57f3b8(0x1ec)));
|
||
}
|
||
}
|
||
await Promise[_0x57f3b8(0x1c0)](taskall);
|
||
}
|
||
|
||
class _0x89aecd {
|
||
constructor(_0x40710e) {
|
||
const _0x72b33 = _0x45d392;
|
||
this[_0x72b33(0x19e)] = ++_0x489ae0, this['ck'] = _0x40710e[_0x72b33(0x1a4)]('#'), this['cookie'] = this['ck'][0x0], this['bu'] = this['ck'][0x1], this['ua'] = this['ck'][0x2], this['su'] = this['ck'][0x3], this['kp'] = this['ck'][0x4], this[_0x72b33(0x18e)] = this['ck'][0x5];
|
||
const _0x2f69ca = this[_0x72b33(0x1a3)][_0x72b33(0x1e7)](/userId=([^;]+)/);
|
||
this[_0x72b33(0x186)] = _0x2f69ca ? _0x2f69ca[0x1] : '未知', this[_0x72b33(0x184)] = ![];
|
||
}
|
||
|
||
async [_0x45d392(0x160)](_0xad56ae, _0x403f4b, _0x10cbdc, _0x836548) {
|
||
const _0x1520ae = _0x45d392;
|
||
if (this[_0x1520ae(0x184)]) {
|
||
console[_0x1520ae(0x1f4)](_0x1520ae(0x198) + this['index'] + '][' + this['userId'] + _0x1520ae(0x199));
|
||
return;
|
||
}
|
||
try {
|
||
{
|
||
const _0x298fb8 = {
|
||
'User-Agent': this['ua'],
|
||
'Connection': _0x1520ae(0x174),
|
||
'Content-Type': _0x1520ae(0x1fc),
|
||
'Ks-Sig3': _0x10cbdc,
|
||
'Ks-Encoding': '2',
|
||
'BrowserUa': this['bu'],
|
||
'SystemUa': this['su'],
|
||
'Ks-PkgId': this['kp'],
|
||
'Cookie': this[_0x1520ae(0x1a3)]
|
||
};
|
||
let _0x2b12d5 = {
|
||
'method': _0x1520ae(0x1c1),
|
||
'url': _0x1520ae(0x161),
|
||
'headers': _0x298fb8,
|
||
'body': _0x1520ae(0x1c6) + _0x403f4b + '\x22}'
|
||
}, _0x49358a = await _0x547347(_0x2b12d5, _0x836548);
|
||
if (_0x49358a['result'] == 0x1) {
|
||
_0x513ddc('账号[' + this[_0x1520ae(0x19e)] + '][' + this['userId'] + _0x1520ae(0x162));
|
||
if (this['stopped']) {
|
||
console[_0x1520ae(0x1f4)](_0x1520ae(0x198) + this[_0x1520ae(0x19e)] + '][' + this[_0x1520ae(0x186)] + _0x1520ae(0x181));
|
||
return;
|
||
}
|
||
await this[_0x1520ae(0x202)](_0x49358a[_0x1520ae(0x1ce)]);
|
||
} else {
|
||
_0x513ddc(_0x1520ae(0x198) + this['index'] + '][' + this[_0x1520ae(0x186)] + ']\x20\x20请求失败\x20❌\x20了呢,原因' + _0x49358a['msg']), console[_0x1520ae(0x1f4)](_0x49358a);
|
||
}
|
||
}
|
||
} catch (_0x120d5e) {
|
||
{
|
||
console[_0x1520ae(0x1f4)](_0x120d5e);
|
||
}
|
||
}
|
||
}
|
||
|
||
async ['e'](_0x41d4b0, _0x390ca7) {
|
||
const _0x44f7f8 = _0x45d392;
|
||
if (this[_0x44f7f8(0x184)]) {
|
||
console['log'](_0x44f7f8(0x198) + this[_0x44f7f8(0x19e)] + '][' + this[_0x44f7f8(0x186)] + ']\x20\x20已停止,跳过执行');
|
||
return;
|
||
}
|
||
try {
|
||
{
|
||
const _0x3dcbad = {'Content-Type': _0x44f7f8(0x1a5)};
|
||
let _0x47f59f = {
|
||
'method': _0x44f7f8(0x1c1),
|
||
'url': _0x44f7f8(0x154),
|
||
'headers': _0x3dcbad,
|
||
'body': _0x44f7f8(0x1b1) + _0x41d4b0 + '}'
|
||
}, _0x244d5b = await _0x547347(_0x47f59f, _0x390ca7);
|
||
if (_0x244d5b) {
|
||
let _0x1f1772 = _0x244d5b,
|
||
_0x83fa0a = '/rest/e/tube/inspire/task/report&&{\x22version\x22:\x223.3.55.2.8\x22,\x22appVersion\x22:\x222.6.3.2\x22,\x22appId\x22:\x221091400011\x22,\x22message\x22:\x22' + _0x1f1772 + '\x22}',
|
||
_0x4ca6fc = JSON['stringify'](_0x83fa0a);
|
||
if (this[_0x44f7f8(0x184)]) {
|
||
console[_0x44f7f8(0x1f4)]('账号[' + this[_0x44f7f8(0x19e)] + '][' + this[_0x44f7f8(0x186)] + _0x44f7f8(0x181));
|
||
return;
|
||
}
|
||
await this['sign'](_0x4ca6fc, _0x1f1772);
|
||
} else {
|
||
_0x513ddc('账号[' + this['index'] + '][' + this['userId'] + _0x44f7f8(0x1d9) + _0x244d5b['msg']), console[_0x44f7f8(0x1f4)](_0x244d5b);
|
||
}
|
||
}
|
||
} catch (_0x45b230) {
|
||
{
|
||
console[_0x44f7f8(0x1f4)](_0x45b230);
|
||
}
|
||
}
|
||
}
|
||
|
||
async ['dm'](_0x1c4d08) {
|
||
const _0x526b94 = _0x45d392;
|
||
if (this[_0x526b94(0x184)]) {
|
||
console['log'](_0x526b94(0x198) + this['index'] + '][' + this[_0x526b94(0x186)] + _0x526b94(0x199));
|
||
return;
|
||
}
|
||
try {
|
||
{
|
||
const _0x495240 = {'Content-Type': _0x526b94(0x1a5)};
|
||
let _0x75762f = {
|
||
'method': _0x526b94(0x1c1),
|
||
'url': _0x526b94(0x15d),
|
||
'headers': _0x495240,
|
||
'body': _0x526b94(0x18a) + this[_0x526b94(0x18e)] + '\x22}'
|
||
}, _0x53e93a = await _0x547347(_0x75762f, _0x1c4d08);
|
||
if (_0x53e93a) {
|
||
console[_0x526b94(0x1f4)](_0x526b94(0x198) + this['index'] + '][' + this[_0x526b94(0x186)] + ']\x20\x20message解密成功咯');
|
||
let _0x27a616 = _0x53e93a[_0x526b94(0x1d1)][_0x526b94(0x17c)],
|
||
_0x1c06ae = _0x53e93a[_0x526b94(0x1d1)]['eGid'],
|
||
_0x292148 = _0x526b94(0x170) + _0x27a616 + _0x526b94(0x1a8) + _0x1c06ae + _0x526b94(0x197) + Math['floor'](Date['now']() / 0x3e8) + ',\x22values\x22:[-0.09696517139673233,0.10235211998224258,9.832687377929688]},{\x22sensorType\x22:4,\x22timestamp\x22:' + Math[_0x526b94(0x18b)](Date['now']() / 0x3e8) + ',\x22values\x22:[0,1.5271181473508477E-4,-1.5271181473508477E-4]},{\x22sensorType\x22:9,\x22timestamp\x22:' + Math[_0x526b94(0x18b)](Date[_0x526b94(0x177)]() / 0x3e8) + _0x526b94(0x187) + Date[_0x526b94(0x177)]() + _0x526b94(0x189) + _0x588679() + _0x526b94(0x1b6) + _0x588679() + _0x526b94(0x156) + Date[_0x526b94(0x177)]() + _0x526b94(0x1c9),
|
||
_0x5e5175 = JSON['stringify'](_0x292148);
|
||
if (this['stopped']) {
|
||
console[_0x526b94(0x1f4)](_0x526b94(0x198) + this[_0x526b94(0x19e)] + '][' + this[_0x526b94(0x186)] + _0x526b94(0x181));
|
||
return;
|
||
}
|
||
await this['e'](_0x5e5175);
|
||
} else {
|
||
_0x513ddc(_0x526b94(0x198) + this[_0x526b94(0x19e)] + '][' + this['userId'] + _0x526b94(0x191) + _0x53e93a[_0x526b94(0x1b8)]), console[_0x526b94(0x1f4)](_0x53e93a);
|
||
}
|
||
}
|
||
} catch (_0x2e5b2e) {
|
||
{
|
||
console['log'](_0x2e5b2e);
|
||
}
|
||
}
|
||
}
|
||
|
||
async ['dmd'](_0x5d2ffb, _0x49cca4) {
|
||
const _0x35daa6 = _0x45d392;
|
||
if (this[_0x35daa6(0x184)]) {
|
||
console[_0x35daa6(0x1f4)](_0x35daa6(0x198) + this['index'] + '][' + this['userId'] + _0x35daa6(0x199));
|
||
return;
|
||
}
|
||
try {
|
||
{
|
||
const _0xdfd16a = {'Content-Type': 'application/json'};
|
||
let _0x3f3251 = {
|
||
'method': 'post',
|
||
'url': _0x35daa6(0x15d),
|
||
'headers': _0xdfd16a,
|
||
'body': _0x35daa6(0x18a) + _0x5d2ffb + '\x22}'
|
||
}, _0x266bea = await _0x547347(_0x3f3251, _0x49cca4);
|
||
if (_0x266bea) {
|
||
_0x513ddc(_0x35daa6(0x198) + this[_0x35daa6(0x19e)] + '][' + this['userId'] + _0x35daa6(0x1da) + _0x266bea[_0x35daa6(0x1f1)] + '\x20' + _0x266bea[_0x35daa6(0x1d2)]);
|
||
if (_0x266bea[_0x35daa6(0x1d2)] === 0x1 || _0x266bea[_0x35daa6(0x1d2)][_0x35daa6(0x1d2)] === 0x32) {
|
||
console[_0x35daa6(0x1f4)](_0x35daa6(0x198) + this[_0x35daa6(0x19e)] + '][' + this[_0x35daa6(0x186)] + _0x35daa6(0x1eb)), this[_0x35daa6(0x184)] = !![];
|
||
return;
|
||
}
|
||
} else {
|
||
_0x513ddc(_0x35daa6(0x198) + this[_0x35daa6(0x19e)] + '][' + this[_0x35daa6(0x186)] + _0x35daa6(0x191) + _0x266bea['msg']), console[_0x35daa6(0x1f4)](_0x266bea);
|
||
}
|
||
}
|
||
} catch (_0x3e13f1) {
|
||
{
|
||
console['log'](_0x3e13f1);
|
||
}
|
||
}
|
||
}
|
||
|
||
async [_0x45d392(0x1f0)](_0x4218e0, _0x173f6e, _0x5090a4) {
|
||
const _0x5dbaec = _0x45d392;
|
||
if (this[_0x5dbaec(0x184)]) {
|
||
console['log'](_0x5dbaec(0x198) + this[_0x5dbaec(0x19e)] + '][' + this['userId'] + ']\x20\x20已停止,跳过执行');
|
||
return;
|
||
}
|
||
try {
|
||
{
|
||
const _0x400f64 = {'Content-Type': 'application/json'};
|
||
let _0x567a6f = {
|
||
'method': 'post',
|
||
'url': _0x5dbaec(0x1ea),
|
||
'headers': _0x400f64,
|
||
'body': _0x5dbaec(0x1b1) + _0x4218e0 + '}'
|
||
}, _0x46a840 = await _0x547347(_0x567a6f, _0x5090a4);
|
||
if (_0x46a840) {
|
||
let _0x4d6d77 = _0x46a840;
|
||
console[_0x5dbaec(0x1f4)]('随机等待' + _0x46e2f1() + '秒'), await _0x2cf93a(_0x46e2f1());
|
||
if (this[_0x5dbaec(0x184)]) {
|
||
console[_0x5dbaec(0x1f4)](_0x5dbaec(0x198) + this[_0x5dbaec(0x19e)] + '][' + this[_0x5dbaec(0x186)] + ']\x20\x20已停止,跳过后续执行');
|
||
return;
|
||
}
|
||
await this[_0x5dbaec(0x160)](_0x4218e0, _0x173f6e, _0x4d6d77);
|
||
} else {
|
||
_0x513ddc(_0x5dbaec(0x198) + this['index'] + '][' + this[_0x5dbaec(0x186)] + ']\x20\x20sign加密失败\x20❌\x20了呢,原因' + _0x46a840[_0x5dbaec(0x1b8)]), console['log'](_0x46a840);
|
||
}
|
||
}
|
||
} catch (_0xe145a) {
|
||
{
|
||
console[_0x5dbaec(0x1f4)](_0xe145a);
|
||
}
|
||
}
|
||
}
|
||
}
|
||
|
||
function _0x40b8(_0x49bffa, _0x52590b) {
|
||
const _0x7ac767 = _0x7ac7();
|
||
return _0x40b8 = function (_0x40b823, _0x5fe9bf) {
|
||
_0x40b823 = _0x40b823 - 0x154;
|
||
let _0x5d90b0 = _0x7ac767[_0x40b823];
|
||
return _0x5d90b0;
|
||
}, _0x40b8(_0x49bffa, _0x52590b);
|
||
}
|
||
|
||
!(async () => {
|
||
const _0x506b85 = _0x45d392;
|
||
if (!await _0x4bbb48()) return;
|
||
if (_0x4ee2de[_0x506b85(0x1b2)] > 0x0) {
|
||
await _0x972199();
|
||
}
|
||
await _0x1afe3e(msg);
|
||
})()[_0x45d392(0x1e3)](_0x4d6261 => console[_0x45d392(0x1f4)](_0x4d6261))[_0x45d392(0x157)](() => _0x394785[_0x45d392(0x166)]());
|
||
|
||
async function _0x4bbb48() {
|
||
const _0x3db53a = _0x45d392;
|
||
if (_0x1ebc51) {
|
||
let _0x1de082 = _0x572cc3[0x0];
|
||
for (let _0x52d6d4 of _0x572cc3) if (_0x1ebc51[_0x3db53a(0x1aa)](_0x52d6d4) > -0x1) {
|
||
_0x1de082 = _0x52d6d4;
|
||
break;
|
||
}
|
||
for (let _0x36f124 of _0x1ebc51['split'](_0x1de082)) _0x36f124 && _0x4ee2de[_0x3db53a(0x1ff)](new _0x89aecd(_0x36f124));
|
||
_0x722626 = _0x4ee2de[_0x3db53a(0x1b2)];
|
||
} else {
|
||
console['log'](_0x3db53a(0x1d5));
|
||
return;
|
||
}
|
||
return console[_0x3db53a(0x1f4)](_0x3db53a(0x155) + _0x722626 + _0x3db53a(0x1d6)), !![];
|
||
}
|
||
|
||
function _0x588679() {
|
||
const _0x3f3f14 = _0x45d392, _0x4b6019 = 0x5f5e100, _0x34a564 = 0x3b9ac9ff, _0x3b606d = _0x34a564 - _0x4b6019 + 0x1,
|
||
_0x1d9dcd = Math[_0x3f3f14(0x18b)](Math[_0x3f3f14(0x204)]() * _0x3b606d) + _0x4b6019;
|
||
return _0x1d9dcd;
|
||
}
|
||
|
||
function _0x46e2f1() {
|
||
const _0x5c6a1f = _0x45d392, _0x1cdf74 = 0x6, _0x4283aa = 0xa, _0x3c70d4 = _0x4283aa - _0x1cdf74 + 0x1,
|
||
_0x4f9814 = Math[_0x5c6a1f(0x18b)](Math[_0x5c6a1f(0x204)]() * _0x3c70d4) + _0x1cdf74;
|
||
return _0x4f9814;
|
||
}
|
||
|
||
async function _0x547347(_0x343840, _0x5dd676) {
|
||
const _0x4022b9 = _0x45d392;
|
||
var _0x81b286 = require(_0x4022b9(0x1e5));
|
||
return new Promise(_0xbc9ddc => {
|
||
const _0x2b5ce0 = _0x4022b9;
|
||
if (!_0x5dd676) {
|
||
let _0x3b9fb4 = arguments[_0x2b5ce0(0x1b3)]['toString'](), _0xeee73e = /function\s*(\w*)/i,
|
||
_0x38d09e = _0xeee73e[_0x2b5ce0(0x16a)](_0x3b9fb4);
|
||
_0x5dd676 = _0x38d09e[0x1];
|
||
}
|
||
if (_0x3bde5e) {
|
||
console[_0x2b5ce0(0x1f4)](_0x2b5ce0(0x16f) + _0x5dd676 + _0x2b5ce0(0x194)), console['log'](_0x343840);
|
||
}
|
||
_0x81b286(_0x343840, function (_0x2a6c4a, _0x1b93a4) {
|
||
const _0x494610 = _0x2b5ce0;
|
||
if (_0x2a6c4a) throw new Error(_0x2a6c4a);
|
||
let _0x482a67 = _0x1b93a4[_0x494610(0x17d)];
|
||
try {
|
||
if (_0x3bde5e) {
|
||
console['log'](_0x494610(0x163) + _0x5dd676 + _0x494610(0x16d)), console['log'](_0x482a67);
|
||
}
|
||
if (typeof _0x482a67 == _0x494610(0x19c)) {
|
||
if (_0x20d89f(_0x482a67)) {
|
||
let _0x4d90d8 = JSON['parse'](_0x482a67);
|
||
if (_0x3bde5e) {
|
||
console[_0x494610(0x1f4)](_0x494610(0x1e9) + _0x5dd676 + _0x494610(0x1f3)), console['log'](_0x4d90d8);
|
||
}
|
||
_0xbc9ddc(_0x4d90d8);
|
||
} else {
|
||
let _0x4580ff = _0x482a67;
|
||
_0xbc9ddc(_0x4580ff);
|
||
}
|
||
|
||
function _0x20d89f(_0x17da97) {
|
||
const _0x5a4b60 = _0x494610;
|
||
{
|
||
if (typeof _0x17da97 == 'string') {
|
||
try {
|
||
{
|
||
if (typeof JSON[_0x5a4b60(0x1cd)](_0x17da97) == _0x5a4b60(0x164)) {
|
||
return !![];
|
||
}
|
||
}
|
||
} catch (_0x53739a) {
|
||
{
|
||
return ![];
|
||
}
|
||
}
|
||
}
|
||
return ![];
|
||
}
|
||
}
|
||
} else {
|
||
let _0x321654 = _0x482a67;
|
||
_0xbc9ddc(_0x321654);
|
||
}
|
||
} catch (_0x3a3ac8) {
|
||
{
|
||
console['log'](_0x2a6c4a, _0x1b93a4), console[_0x494610(0x1f4)]('\x0a\x20' + _0x5dd676 + _0x494610(0x159));
|
||
}
|
||
} finally {
|
||
{
|
||
_0xbc9ddc();
|
||
}
|
||
}
|
||
});
|
||
});
|
||
}
|
||
|
||
function _0x2cf93a(_0x229ee8) {
|
||
return new Promise(function (_0x54f3f1) {
|
||
{
|
||
setTimeout(_0x54f3f1, _0x229ee8 * 0x3e8);
|
||
}
|
||
});
|
||
}
|
||
|
||
function _0x513ddc(_0x375da2) {
|
||
const _0x5e10f2 = _0x45d392;
|
||
if (_0x394785[_0x5e10f2(0x178)]()) {
|
||
if (_0x375da2) {
|
||
console['log']('' + _0x375da2), msg += '\x0a' + _0x375da2;
|
||
}
|
||
} else {
|
||
console[_0x5e10f2(0x1f4)]('' + _0x375da2), msg += '\x0a' + _0x375da2;
|
||
}
|
||
}
|
||
|
||
async function _0x1afe3e(_0x290b57) {
|
||
const _0x49605c = _0x45d392;
|
||
if (!_0x290b57) return;
|
||
if (_0x13cd9b > 0x0) {
|
||
if (_0x394785[_0x49605c(0x178)]()) {
|
||
var _0x508f26 = require(_0x49605c(0x1ef));
|
||
await _0x508f26['sendNotify'](_0x394785[_0x49605c(0x167)], _0x290b57);
|
||
} else {
|
||
_0x394785['msg'](_0x394785['name'], '', _0x290b57);
|
||
}
|
||
} else {
|
||
console[_0x49605c(0x1f4)](_0x290b57);
|
||
}
|
||
}
|
||
|
||
function _0x2895c9(_0x35f787, _0x2db8cf) {
|
||
const _0x270653 = _0x45d392;
|
||
'undefined' != typeof process && JSON[_0x270653(0x1f7)](process[_0x270653(0x183)])[_0x270653(0x1aa)](_0x270653(0x168)) > -0x1 && process['exit'](0x0);
|
||
|
||
class _0x56031b {
|
||
constructor(_0x70e0d2) {
|
||
const _0x5a580c = _0x270653;
|
||
{
|
||
this[_0x5a580c(0x183)] = _0x70e0d2;
|
||
}
|
||
}
|
||
|
||
[_0x270653(0x190)](_0x251e02, _0xe9db8c = _0x270653(0x180)) {
|
||
const _0x6d34a5 = _0x270653;
|
||
{
|
||
_0x251e02 = _0x6d34a5(0x19c) == typeof _0x251e02 ? {'url': _0x251e02} : _0x251e02;
|
||
let _0x565ffe = this[_0x6d34a5(0x175)];
|
||
return 'POST' === _0xe9db8c && (_0x565ffe = this['post']), new Promise((_0x11934d, _0x281602) => {
|
||
{
|
||
_0x565ffe['call'](this, _0x251e02, (_0x1701a0, _0x4b3a1f, _0x50991a) => {
|
||
{
|
||
_0x1701a0 ? _0x281602(_0x1701a0) : _0x11934d(_0x4b3a1f);
|
||
}
|
||
});
|
||
}
|
||
});
|
||
}
|
||
}
|
||
|
||
[_0x270653(0x175)](_0x3e50c8) {
|
||
const _0x432d78 = _0x270653;
|
||
{
|
||
return this[_0x432d78(0x190)]['call'](this[_0x432d78(0x183)], _0x3e50c8);
|
||
}
|
||
}
|
||
|
||
[_0x270653(0x1c1)](_0xac2c95) {
|
||
const _0x4568f2 = _0x270653;
|
||
{
|
||
return this[_0x4568f2(0x190)][_0x4568f2(0x17a)](this[_0x4568f2(0x183)], _0xac2c95, _0x4568f2(0x176));
|
||
}
|
||
}
|
||
}
|
||
|
||
return new class {
|
||
constructor(_0x9ac714, _0x57e255) {
|
||
const _0x36831c = _0x270653;
|
||
{
|
||
this[_0x36831c(0x167)] = _0x9ac714, this[_0x36831c(0x1e4)] = new _0x56031b(this), this[_0x36831c(0x1ce)] = null, this[_0x36831c(0x193)] = _0x36831c(0x1a1), this['logs'] = [], this[_0x36831c(0x1c8)] = ![], this[_0x36831c(0x1af)] = ![], this[_0x36831c(0x203)] = '\x0a', this['startTime'] = new Date()[_0x36831c(0x1cf)](), Object['assign'](this, _0x57e255), this[_0x36831c(0x1f4)]('', '🔔' + this[_0x36831c(0x167)] + _0x36831c(0x1d7));
|
||
}
|
||
}
|
||
|
||
[_0x270653(0x178)]() {
|
||
const _0x2fd293 = _0x270653;
|
||
{
|
||
return _0x2fd293(0x1b0) != typeof module && !!module['exports'];
|
||
}
|
||
}
|
||
|
||
[_0x270653(0x1e0)]() {
|
||
const _0x196a39 = _0x270653;
|
||
{
|
||
return _0x196a39(0x1b0) != typeof $task;
|
||
}
|
||
}
|
||
|
||
[_0x270653(0x1ca)]() {
|
||
const _0x5830d6 = _0x270653;
|
||
{
|
||
return _0x5830d6(0x1b0) != typeof $httpClient && _0x5830d6(0x1b0) == typeof $loon;
|
||
}
|
||
}
|
||
|
||
[_0x270653(0x1bd)]() {
|
||
const _0x5bdb03 = _0x270653;
|
||
{
|
||
return _0x5bdb03(0x1b0) != typeof $loon;
|
||
}
|
||
}
|
||
|
||
[_0x270653(0x1d8)](_0x52d411, _0x5ac546 = null) {
|
||
const _0x3ee049 = _0x270653;
|
||
{
|
||
try {
|
||
{
|
||
return JSON[_0x3ee049(0x1cd)](_0x52d411);
|
||
}
|
||
} catch {
|
||
{
|
||
return _0x5ac546;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
|
||
[_0x270653(0x1d0)](_0x2f66bc, _0x4e1419 = null) {
|
||
{
|
||
try {
|
||
{
|
||
return JSON['stringify'](_0x2f66bc);
|
||
}
|
||
} catch {
|
||
{
|
||
return _0x4e1419;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
|
||
[_0x270653(0x173)](_0x5cd1e5, _0x5f40ac) {
|
||
const _0x26bea0 = _0x270653;
|
||
{
|
||
let _0x478600 = _0x5f40ac;
|
||
const _0x481834 = this[_0x26bea0(0x1f8)](_0x5cd1e5);
|
||
if (_0x481834) try {
|
||
{
|
||
_0x478600 = JSON[_0x26bea0(0x1cd)](this['getdata'](_0x5cd1e5));
|
||
}
|
||
} catch {
|
||
}
|
||
return _0x478600;
|
||
}
|
||
}
|
||
|
||
['setjson'](_0x3c5800, _0x3850f0) {
|
||
const _0x43a08e = _0x270653;
|
||
{
|
||
try {
|
||
{
|
||
return this[_0x43a08e(0x17e)](JSON[_0x43a08e(0x1f7)](_0x3c5800), _0x3850f0);
|
||
}
|
||
} catch {
|
||
{
|
||
return ![];
|
||
}
|
||
}
|
||
}
|
||
}
|
||
|
||
[_0x270653(0x201)](_0x5444a0) {
|
||
{
|
||
return new Promise(_0x13252a => {
|
||
const _0x5b62ef = _0x40b8;
|
||
{
|
||
const _0x58e247 = {'url': _0x5444a0};
|
||
this[_0x5b62ef(0x175)](_0x58e247, (_0x30c949, _0x46a4e6, _0x578d70) => _0x13252a(_0x578d70));
|
||
}
|
||
});
|
||
}
|
||
}
|
||
|
||
[_0x270653(0x18d)](_0x3ea192, _0x2fcd18) {
|
||
{
|
||
return new Promise(_0x4ceb05 => {
|
||
const _0x47cc3a = _0x40b8;
|
||
{
|
||
let _0x4610e2 = this[_0x47cc3a(0x1f8)]('@chavy_boxjs_userCfgs.httpapi');
|
||
_0x4610e2 = _0x4610e2 ? _0x4610e2['replace'](/\n/g, '')['trim']() : _0x4610e2;
|
||
let _0x21bb59 = this['getdata']('@chavy_boxjs_userCfgs.httpapi_timeout');
|
||
_0x21bb59 = _0x21bb59 ? 0x1 * _0x21bb59 : 0x14, _0x21bb59 = _0x2fcd18 && _0x2fcd18['timeout'] ? _0x2fcd18[_0x47cc3a(0x15e)] : _0x21bb59;
|
||
const _0x56ab6e = {
|
||
'script_text': _0x3ea192,
|
||
'mock_type': _0x47cc3a(0x1bb),
|
||
'timeout': _0x21bb59
|
||
}, [_0x2a05b4, _0x5e43e0] = _0x4610e2[_0x47cc3a(0x1a4)]('@'), _0x4007d3 = {
|
||
'url': _0x47cc3a(0x1de) + _0x5e43e0 + _0x47cc3a(0x1dc),
|
||
'body': _0x56ab6e,
|
||
'headers': {'X-Key': _0x2a05b4, 'Accept': _0x47cc3a(0x15b)}
|
||
};
|
||
this[_0x47cc3a(0x1c1)](_0x4007d3, (_0xf6f9f3, _0x3f6957, _0x1f2515) => _0x4ceb05(_0x1f2515));
|
||
}
|
||
})['catch'](_0x479a20 => this['logErr'](_0x479a20));
|
||
}
|
||
}
|
||
|
||
['loaddata']() {
|
||
const _0x2192e2 = _0x270653;
|
||
{
|
||
if (!this['isNode']()) return {};
|
||
{
|
||
{
|
||
this['fs'] = this['fs'] ? this['fs'] : require('fs'), this[_0x2192e2(0x1b5)] = this[_0x2192e2(0x1b5)] ? this[_0x2192e2(0x1b5)] : require('path');
|
||
const _0x5df7c0 = this['path']['resolve'](this[_0x2192e2(0x193)]),
|
||
_0x481948 = this['path']['resolve'](process['cwd'](), this[_0x2192e2(0x193)]),
|
||
_0x4c11aa = this['fs']['existsSync'](_0x5df7c0),
|
||
_0x4dcc5f = !_0x4c11aa && this['fs'][_0x2192e2(0x185)](_0x481948);
|
||
if (!_0x4c11aa && !_0x4dcc5f) return {};
|
||
{
|
||
{
|
||
const _0x429302 = _0x4c11aa ? _0x5df7c0 : _0x481948;
|
||
try {
|
||
{
|
||
return JSON[_0x2192e2(0x1cd)](this['fs'][_0x2192e2(0x200)](_0x429302));
|
||
}
|
||
} catch (_0x4347e4) {
|
||
{
|
||
return {};
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
|
||
[_0x270653(0x1cc)]() {
|
||
const _0x404ddd = _0x270653;
|
||
{
|
||
if (this[_0x404ddd(0x178)]()) {
|
||
this['fs'] = this['fs'] ? this['fs'] : require('fs'), this[_0x404ddd(0x1b5)] = this[_0x404ddd(0x1b5)] ? this['path'] : require(_0x404ddd(0x1b5));
|
||
const _0x1e61a6 = this[_0x404ddd(0x1b5)]['resolve'](this[_0x404ddd(0x193)]),
|
||
_0x40d97c = this[_0x404ddd(0x1b5)][_0x404ddd(0x1e2)](process[_0x404ddd(0x16c)](), this[_0x404ddd(0x193)]),
|
||
_0x47e064 = this['fs'][_0x404ddd(0x185)](_0x1e61a6),
|
||
_0x1d0467 = !_0x47e064 && this['fs'][_0x404ddd(0x185)](_0x40d97c),
|
||
_0x883a86 = JSON['stringify'](this[_0x404ddd(0x1ce)]);
|
||
_0x47e064 ? this['fs'][_0x404ddd(0x17f)](_0x1e61a6, _0x883a86) : _0x1d0467 ? this['fs'][_0x404ddd(0x17f)](_0x40d97c, _0x883a86) : this['fs'][_0x404ddd(0x17f)](_0x1e61a6, _0x883a86);
|
||
}
|
||
}
|
||
}
|
||
|
||
['lodash_get'](_0x329cd9, _0x54e2b1, _0x5e5e33) {
|
||
const _0x41b30d = _0x270653;
|
||
{
|
||
const _0x49b491 = _0x54e2b1[_0x41b30d(0x1b7)](/\[(\d+)\]/g, '.$1')[_0x41b30d(0x1a4)]('.');
|
||
let _0x56a6e8 = _0x329cd9;
|
||
for (const _0x4a8980 of _0x49b491) if (_0x56a6e8 = Object(_0x56a6e8)[_0x4a8980], undefined === _0x56a6e8) return _0x5e5e33;
|
||
return _0x56a6e8;
|
||
}
|
||
}
|
||
|
||
[_0x270653(0x1ae)](_0x45a13f, _0x5d11cd, _0x3603d0) {
|
||
const _0xfe4bbe = _0x270653;
|
||
{
|
||
return Object(_0x45a13f) !== _0x45a13f ? _0x45a13f : (Array[_0xfe4bbe(0x195)](_0x5d11cd) || (_0x5d11cd = _0x5d11cd['toString']()['match'](/[^.[\]]+/g) || []), _0x5d11cd[_0xfe4bbe(0x1d4)](0x0, -0x1)['reduce']((_0xae75a0, _0x65ae03, _0x274363) => Object(_0xae75a0[_0x65ae03]) === _0xae75a0[_0x65ae03] ? _0xae75a0[_0x65ae03] : _0xae75a0[_0x65ae03] = Math['abs'](_0x5d11cd[_0x274363 + 0x1]) >> 0x0 == +_0x5d11cd[_0x274363 + 0x1] ? [] : {}, _0x45a13f)[_0x5d11cd[_0x5d11cd[_0xfe4bbe(0x1b2)] - 0x1]] = _0x3603d0, _0x45a13f);
|
||
}
|
||
}
|
||
|
||
[_0x270653(0x1f8)](_0x4158a2) {
|
||
const _0x1be394 = _0x270653;
|
||
{
|
||
let _0x10264f = this[_0x1be394(0x165)](_0x4158a2);
|
||
if (/^@/[_0x1be394(0x1c2)](_0x4158a2)) {
|
||
const [, _0x3da66c, _0x402533] = /^@(.*?)\.(.*?)$/['exec'](_0x4158a2),
|
||
_0x5122a5 = _0x3da66c ? this[_0x1be394(0x165)](_0x3da66c) : '';
|
||
if (_0x5122a5) try {
|
||
{
|
||
const _0x20ad3a = JSON[_0x1be394(0x1cd)](_0x5122a5);
|
||
_0x10264f = _0x20ad3a ? this[_0x1be394(0x1fa)](_0x20ad3a, _0x402533, '') : _0x10264f;
|
||
}
|
||
} catch (_0x22e329) {
|
||
{
|
||
_0x10264f = '';
|
||
}
|
||
}
|
||
}
|
||
return _0x10264f;
|
||
}
|
||
}
|
||
|
||
[_0x270653(0x17e)](_0x1d446e, _0x2a93ef) {
|
||
const _0x1038ea = _0x270653;
|
||
{
|
||
let _0x46cb6e = ![];
|
||
if (/^@/[_0x1038ea(0x1c2)](_0x2a93ef)) {
|
||
const [, _0x52b50e, _0x1adc11] = /^@(.*?)\.(.*?)$/['exec'](_0x2a93ef),
|
||
_0x44f8dc = this['getval'](_0x52b50e),
|
||
_0x4b41f7 = _0x52b50e ? _0x1038ea(0x196) === _0x44f8dc ? null : _0x44f8dc || '{}' : '{}';
|
||
try {
|
||
{
|
||
const _0x17f211 = JSON['parse'](_0x4b41f7);
|
||
this[_0x1038ea(0x1ae)](_0x17f211, _0x1adc11, _0x1d446e), _0x46cb6e = this[_0x1038ea(0x1a0)](JSON[_0x1038ea(0x1f7)](_0x17f211), _0x52b50e);
|
||
}
|
||
} catch (_0xc645b7) {
|
||
{
|
||
const _0x52a1b5 = {};
|
||
this['lodash_set'](_0x52a1b5, _0x1adc11, _0x1d446e), _0x46cb6e = this[_0x1038ea(0x1a0)](JSON[_0x1038ea(0x1f7)](_0x52a1b5), _0x52b50e);
|
||
}
|
||
}
|
||
} else _0x46cb6e = this[_0x1038ea(0x1a0)](_0x1d446e, _0x2a93ef);
|
||
return _0x46cb6e;
|
||
}
|
||
}
|
||
|
||
[_0x270653(0x165)](_0x292054) {
|
||
const _0x54a931 = _0x270653;
|
||
{
|
||
return this[_0x54a931(0x1ca)]() || this['isLoon']() ? $persistentStore['read'](_0x292054) : this['isQuanX']() ? $prefs[_0x54a931(0x1c4)](_0x292054) : this[_0x54a931(0x178)]() ? (this['data'] = this[_0x54a931(0x1df)](), this[_0x54a931(0x1ce)][_0x292054]) : this['data'] && this[_0x54a931(0x1ce)][_0x292054] || null;
|
||
}
|
||
}
|
||
|
||
[_0x270653(0x1a0)](_0x4cf800, _0x337907) {
|
||
const _0x1716e4 = _0x270653;
|
||
{
|
||
return this[_0x1716e4(0x1ca)]() || this[_0x1716e4(0x1bd)]() ? $persistentStore[_0x1716e4(0x19d)](_0x4cf800, _0x337907) : this[_0x1716e4(0x1e0)]() ? $prefs['setValueForKey'](_0x4cf800, _0x337907) : this[_0x1716e4(0x178)]() ? (this[_0x1716e4(0x1ce)] = this[_0x1716e4(0x1df)](), this[_0x1716e4(0x1ce)][_0x337907] = _0x4cf800, this['writedata'](), !![]) : this[_0x1716e4(0x1ce)] && this['data'][_0x337907] || null;
|
||
}
|
||
}
|
||
|
||
[_0x270653(0x1f9)](_0x30c05c) {
|
||
const _0x5148db = _0x270653;
|
||
{
|
||
this[_0x5148db(0x1ee)] = this[_0x5148db(0x1ee)] ? this[_0x5148db(0x1ee)] : require(_0x5148db(0x1ee)), this[_0x5148db(0x1db)] = this[_0x5148db(0x1db)] ? this[_0x5148db(0x1db)] : require(_0x5148db(0x179)), this[_0x5148db(0x205)] = this[_0x5148db(0x205)] ? this[_0x5148db(0x205)] : new this['cktough'][(_0x5148db(0x1ac))](), _0x30c05c && (_0x30c05c['headers'] = _0x30c05c[_0x5148db(0x1a2)] ? _0x30c05c[_0x5148db(0x1a2)] : {}, undefined === _0x30c05c[_0x5148db(0x1a2)][_0x5148db(0x1a6)] && undefined === _0x30c05c[_0x5148db(0x19b)] && (_0x30c05c[_0x5148db(0x19b)] = this[_0x5148db(0x205)]));
|
||
}
|
||
}
|
||
|
||
[_0x270653(0x175)](_0x5742e6, _0x4b1593 = () => {
|
||
}) {
|
||
const _0x2a9900 = _0x270653;
|
||
{
|
||
const _0x1f8cf4 = {'X-Surge-Skip-Scripting': ![]}, _0x78a777 = {'hints': ![]};
|
||
_0x5742e6['headers'] && (delete _0x5742e6['headers'][_0x2a9900(0x18c)], delete _0x5742e6[_0x2a9900(0x1a2)][_0x2a9900(0x1bf)]), this[_0x2a9900(0x1ca)]() || this[_0x2a9900(0x1bd)]() ? (this['isSurge']() && this['isNeedRewrite'] && (_0x5742e6[_0x2a9900(0x1a2)] = _0x5742e6[_0x2a9900(0x1a2)] || {}, Object[_0x2a9900(0x19a)](_0x5742e6['headers'], _0x1f8cf4)), $httpClient[_0x2a9900(0x175)](_0x5742e6, (_0x124ea6, _0x57b620, _0x5baf59) => {
|
||
const _0x4ce83d = _0x2a9900;
|
||
{
|
||
!_0x124ea6 && _0x57b620 && (_0x57b620[_0x4ce83d(0x17d)] = _0x5baf59, _0x57b620[_0x4ce83d(0x1e8)] = _0x57b620[_0x4ce83d(0x1a9)]), _0x4b1593(_0x124ea6, _0x57b620, _0x5baf59);
|
||
}
|
||
})) : this[_0x2a9900(0x1e0)]() ? (this[_0x2a9900(0x1af)] && (_0x5742e6[_0x2a9900(0x169)] = _0x5742e6[_0x2a9900(0x169)] || {}, Object[_0x2a9900(0x19a)](_0x5742e6[_0x2a9900(0x169)], _0x78a777)), $task[_0x2a9900(0x158)](_0x5742e6)[_0x2a9900(0x16b)](_0x2b3213 => {
|
||
{
|
||
const {
|
||
statusCode: _0x20bc27,
|
||
statusCode: _0x1f1715,
|
||
headers: _0x5089e0,
|
||
body: _0x417c7e
|
||
} = _0x2b3213, _0x84c9c = {
|
||
'status': _0x20bc27,
|
||
'statusCode': _0x1f1715,
|
||
'headers': _0x5089e0,
|
||
'body': _0x417c7e
|
||
};
|
||
_0x4b1593(null, _0x84c9c, _0x417c7e);
|
||
}
|
||
}, _0x1af06b => _0x4b1593(_0x1af06b))) : this[_0x2a9900(0x178)]() && (this[_0x2a9900(0x1f9)](_0x5742e6), this[_0x2a9900(0x1ee)](_0x5742e6)['on'](_0x2a9900(0x182), (_0x4ad48a, _0x582547) => {
|
||
const _0x400f75 = _0x2a9900;
|
||
{
|
||
try {
|
||
{
|
||
if (_0x4ad48a['headers'][_0x400f75(0x17b)]) {
|
||
const _0x5c1bb2 = _0x4ad48a[_0x400f75(0x1a2)][_0x400f75(0x17b)]['map'](this['cktough']['Cookie'][_0x400f75(0x1cd)])[_0x400f75(0x15a)]();
|
||
_0x5c1bb2 && this[_0x400f75(0x205)][_0x400f75(0x1fb)](_0x5c1bb2, null), _0x582547[_0x400f75(0x19b)] = this[_0x400f75(0x205)];
|
||
}
|
||
}
|
||
} catch (_0x1d8244) {
|
||
{
|
||
this[_0x400f75(0x1d3)](_0x1d8244);
|
||
}
|
||
}
|
||
}
|
||
})[_0x2a9900(0x16b)](_0x4730c2 => {
|
||
{
|
||
const {
|
||
statusCode: _0x1dd7b7,
|
||
statusCode: _0x4f0673,
|
||
headers: _0x5ceb6f,
|
||
body: _0x540f62
|
||
} = _0x4730c2, _0x2727d9 = {
|
||
'status': _0x1dd7b7,
|
||
'statusCode': _0x4f0673,
|
||
'headers': _0x5ceb6f,
|
||
'body': _0x540f62
|
||
};
|
||
_0x4b1593(null, _0x2727d9, _0x540f62);
|
||
}
|
||
}, _0x24c9a3 => {
|
||
const _0x5648e1 = _0x2a9900;
|
||
{
|
||
const {message: _0x253935, response: _0x494331} = _0x24c9a3;
|
||
_0x4b1593(_0x253935, _0x494331, _0x494331 && _0x494331[_0x5648e1(0x17d)]);
|
||
}
|
||
}));
|
||
}
|
||
}
|
||
|
||
['post'](_0x35bcdb, _0x46ced6 = () => {
|
||
}) {
|
||
const _0x3ef5fe = _0x270653, _0xc80b1 = {'X-Surge-Skip-Scripting': ![]}, _0x18c099 = {'hints': ![]};
|
||
if (_0x35bcdb['body'] && _0x35bcdb[_0x3ef5fe(0x1a2)] && !_0x35bcdb[_0x3ef5fe(0x1a2)][_0x3ef5fe(0x18c)] && (_0x35bcdb[_0x3ef5fe(0x1a2)][_0x3ef5fe(0x18c)] = _0x3ef5fe(0x1c3)), _0x35bcdb[_0x3ef5fe(0x1a2)] && delete _0x35bcdb['headers'][_0x3ef5fe(0x1bf)], this['isSurge']() || this['isLoon']()) this[_0x3ef5fe(0x1ca)]() && this[_0x3ef5fe(0x1af)] && (_0x35bcdb['headers'] = _0x35bcdb[_0x3ef5fe(0x1a2)] || {}, Object[_0x3ef5fe(0x19a)](_0x35bcdb['headers'], _0xc80b1)), $httpClient[_0x3ef5fe(0x1c1)](_0x35bcdb, (_0x3f7f4b, _0x5d2ce9, _0x5655b1) => {
|
||
const _0x570686 = _0x3ef5fe;
|
||
{
|
||
!_0x3f7f4b && _0x5d2ce9 && (_0x5d2ce9[_0x570686(0x17d)] = _0x5655b1, _0x5d2ce9['statusCode'] = _0x5d2ce9[_0x570686(0x1a9)]), _0x46ced6(_0x3f7f4b, _0x5d2ce9, _0x5655b1);
|
||
}
|
||
}); else {
|
||
if (this[_0x3ef5fe(0x1e0)]()) _0x35bcdb[_0x3ef5fe(0x192)] = _0x3ef5fe(0x176), this['isNeedRewrite'] && (_0x35bcdb[_0x3ef5fe(0x169)] = _0x35bcdb[_0x3ef5fe(0x169)] || {}, Object[_0x3ef5fe(0x19a)](_0x35bcdb['opts'], _0x18c099)), $task['fetch'](_0x35bcdb)[_0x3ef5fe(0x16b)](_0x33fe1a => {
|
||
{
|
||
const {
|
||
statusCode: _0x3e1bb3,
|
||
statusCode: _0x3dba01,
|
||
headers: _0x3ea863,
|
||
body: _0x29efd4
|
||
} = _0x33fe1a, _0x9b9799 = {
|
||
'status': _0x3e1bb3,
|
||
'statusCode': _0x3dba01,
|
||
'headers': _0x3ea863,
|
||
'body': _0x29efd4
|
||
};
|
||
_0x46ced6(null, _0x9b9799, _0x29efd4);
|
||
}
|
||
}, _0x4ca15d => _0x46ced6(_0x4ca15d)); else {
|
||
if (this[_0x3ef5fe(0x178)]()) {
|
||
this[_0x3ef5fe(0x1f9)](_0x35bcdb);
|
||
const {url: _0x4ba3c8, ..._0x284ab4} = _0x35bcdb;
|
||
this['got']['post'](_0x4ba3c8, _0x284ab4)[_0x3ef5fe(0x16b)](_0x372316 => {
|
||
{
|
||
const {
|
||
statusCode: _0x27ca44,
|
||
statusCode: _0x5b091e,
|
||
headers: _0x432106,
|
||
body: _0x33d8ee
|
||
} = _0x372316, _0x1c163d = {
|
||
'status': _0x27ca44,
|
||
'statusCode': _0x5b091e,
|
||
'headers': _0x432106,
|
||
'body': _0x33d8ee
|
||
};
|
||
_0x46ced6(null, _0x1c163d, _0x33d8ee);
|
||
}
|
||
}, _0x12b26c => {
|
||
const _0x48bf5c = _0x3ef5fe, {message: _0x1f27ae, response: _0x9e0c6d} = _0x12b26c;
|
||
_0x46ced6(_0x1f27ae, _0x9e0c6d, _0x9e0c6d && _0x9e0c6d[_0x48bf5c(0x17d)]);
|
||
});
|
||
}
|
||
}
|
||
}
|
||
}
|
||
|
||
['time'](_0x43631a, _0x59d1d7 = null) {
|
||
const _0x50ac70 = _0x270653, _0x446188 = _0x59d1d7 ? new Date(_0x59d1d7) : new Date();
|
||
let _0x2b582d = {
|
||
'M+': _0x446188[_0x50ac70(0x16e)]() + 0x1,
|
||
'd+': _0x446188[_0x50ac70(0x1be)](),
|
||
'H+': _0x446188[_0x50ac70(0x188)](),
|
||
'm+': _0x446188['getMinutes'](),
|
||
's+': _0x446188[_0x50ac70(0x15f)](),
|
||
'q+': Math['floor']((_0x446188['getMonth']() + 0x3) / 0x3),
|
||
'S': _0x446188[_0x50ac70(0x1ed)]()
|
||
};
|
||
/(y+)/[_0x50ac70(0x1c2)](_0x43631a) && (_0x43631a = _0x43631a['replace'](RegExp['$1'], (_0x446188['getFullYear']() + '')['substr'](0x4 - RegExp['$1'][_0x50ac70(0x1b2)])));
|
||
for (let _0x24eed8 in _0x2b582d) new RegExp('(' + _0x24eed8 + ')')['test'](_0x43631a) && (_0x43631a = _0x43631a['replace'](RegExp['$1'], 0x1 == RegExp['$1'][_0x50ac70(0x1b2)] ? _0x2b582d[_0x24eed8] : ('00' + _0x2b582d[_0x24eed8])[_0x50ac70(0x1ad)](('' + _0x2b582d[_0x24eed8])[_0x50ac70(0x1b2)])));
|
||
return _0x43631a;
|
||
}
|
||
|
||
[_0x270653(0x1b8)](_0x4c7683 = _0x35f787, _0x55fc62 = '', _0x4150c2 = '', _0x2e46d3) {
|
||
const _0x92cf5b = _0x270653, _0x5e2a2a = _0x5a3be7 => {
|
||
const _0x489d94 = _0x40b8;
|
||
if (!_0x5a3be7) return _0x5a3be7;
|
||
if (_0x489d94(0x19c) == typeof _0x5a3be7) return this[_0x489d94(0x1bd)]() ? _0x5a3be7 : this['isQuanX']() ? {'open-url': _0x5a3be7} : this[_0x489d94(0x1ca)]() ? {'url': _0x5a3be7} : undefined;
|
||
if (_0x489d94(0x164) == typeof _0x5a3be7) {
|
||
if (this[_0x489d94(0x1bd)]()) {
|
||
let _0x5788bc = _0x5a3be7[_0x489d94(0x171)] || _0x5a3be7[_0x489d94(0x1bc)] || _0x5a3be7[_0x489d94(0x172)],
|
||
_0x32cd00 = _0x5a3be7['mediaUrl'] || _0x5a3be7[_0x489d94(0x1f2)];
|
||
const _0x3251a9 = {'openUrl': _0x5788bc, 'mediaUrl': _0x32cd00};
|
||
return _0x3251a9;
|
||
}
|
||
if (this[_0x489d94(0x1e0)]()) {
|
||
let _0x2bd374 = _0x5a3be7[_0x489d94(0x172)] || _0x5a3be7['url'] || _0x5a3be7[_0x489d94(0x171)],
|
||
_0x2623aa = _0x5a3be7[_0x489d94(0x1f2)] || _0x5a3be7['mediaUrl'];
|
||
const _0x4d0250 = {'open-url': _0x2bd374, 'media-url': _0x2623aa};
|
||
return _0x4d0250;
|
||
}
|
||
if (this[_0x489d94(0x1ca)]()) {
|
||
let _0x30a0ac = _0x5a3be7['url'] || _0x5a3be7[_0x489d94(0x171)] || _0x5a3be7[_0x489d94(0x172)];
|
||
const _0x5a58b5 = {'url': _0x30a0ac};
|
||
return _0x5a58b5;
|
||
}
|
||
}
|
||
};
|
||
if (this[_0x92cf5b(0x1c8)] || (this[_0x92cf5b(0x1ca)]() || this[_0x92cf5b(0x1bd)]() ? $notification[_0x92cf5b(0x1c1)](_0x4c7683, _0x55fc62, _0x4150c2, _0x5e2a2a(_0x2e46d3)) : this['isQuanX']() && $notify(_0x4c7683, _0x55fc62, _0x4150c2, _0x5e2a2a(_0x2e46d3))), !this[_0x92cf5b(0x1cb)]) {
|
||
let _0x19c49a = ['', '==============📣系统通知📣=============='];
|
||
_0x19c49a['push'](_0x4c7683), _0x55fc62 && _0x19c49a[_0x92cf5b(0x1ff)](_0x55fc62), _0x4150c2 && _0x19c49a[_0x92cf5b(0x1ff)](_0x4150c2), console[_0x92cf5b(0x1f4)](_0x19c49a[_0x92cf5b(0x1a7)]('\x0a')), this[_0x92cf5b(0x18f)] = this['logs'][_0x92cf5b(0x1f5)](_0x19c49a);
|
||
}
|
||
}
|
||
|
||
[_0x270653(0x1f4)](..._0xf8cfe1) {
|
||
const _0x5f33b3 = _0x270653;
|
||
_0xf8cfe1[_0x5f33b3(0x1b2)] > 0x0 && (this[_0x5f33b3(0x18f)] = [...this[_0x5f33b3(0x18f)], ..._0xf8cfe1]), console['log'](_0xf8cfe1[_0x5f33b3(0x1a7)](this[_0x5f33b3(0x203)]));
|
||
}
|
||
|
||
['logErr'](_0x494ff5, _0x4c5422) {
|
||
const _0x1c5f12 = _0x270653,
|
||
_0x3bdbed = !this[_0x1c5f12(0x1ca)]() && !this[_0x1c5f12(0x1e0)]() && !this[_0x1c5f12(0x1bd)]();
|
||
_0x3bdbed ? this[_0x1c5f12(0x1f4)]('', '❗️' + this['name'] + _0x1c5f12(0x1b9), _0x494ff5['stack']) : this[_0x1c5f12(0x1f4)]('', '❗️' + this['name'] + _0x1c5f12(0x1b9), _0x494ff5);
|
||
}
|
||
|
||
['wait'](_0x4d0528) {
|
||
return new Promise(_0x301b41 => setTimeout(_0x301b41, _0x4d0528));
|
||
}
|
||
|
||
['done'](_0x110dca = {}) {
|
||
const _0x53e859 = _0x270653, _0x55a428 = new Date()[_0x53e859(0x1cf)](),
|
||
_0x378f09 = (_0x55a428 - this[_0x53e859(0x15c)]) / 0x3e8;
|
||
this[_0x53e859(0x1f4)]('', '🔔' + this[_0x53e859(0x167)] + _0x53e859(0x1c7) + _0x378f09 + '\x20秒'), this[_0x53e859(0x1f4)](), (this[_0x53e859(0x1ca)]() || this[_0x53e859(0x1e0)]() || this[_0x53e859(0x1bd)]()) && $done(_0x110dca);
|
||
}
|
||
}(_0x35f787, _0x2db8cf);
|
||
} |