@offgridsec/kira-lite-mcp 0.1.7 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/INSTALL.md +21 -6
- package/README.md +11 -13
- package/config/settings.local.json +2 -2
- package/dist/config.js +1 -1
- package/dist/core/engines/osv.js +1 -1
- package/dist/core/engines/runner.js +1 -1
- package/dist/core/scanner.d.ts +0 -7
- package/dist/core/scanner.js +1 -1
- package/dist/core/types.d.ts +1 -1
- package/dist/core/utils.js +1 -1
- package/dist/index.js +1 -1
- package/dist/rules/c-cpp.js +1 -1
- package/dist/rules/cicd.js +1 -1
- package/dist/rules/csharp-extended.d.ts +16 -0
- package/dist/rules/csharp-extended.js +1 -0
- package/dist/rules/csharp.js +1 -1
- package/dist/rules/docker.js +1 -1
- package/dist/rules/go-extended.d.ts +15 -0
- package/dist/rules/go-extended.js +1 -0
- package/dist/rules/go.js +1 -1
- package/dist/rules/graphql-extended.d.ts +8 -0
- package/dist/rules/graphql-extended.js +1 -0
- package/dist/rules/index.d.ts +11 -1
- package/dist/rules/index.js +1 -1
- package/dist/rules/java-extended.d.ts +15 -0
- package/dist/rules/java-extended.js +1 -0
- package/dist/rules/java.js +1 -1
- package/dist/rules/javascript-extended.js +1 -1
- package/dist/rules/javascript.js +1 -1
- package/dist/rules/kotlin.d.ts +17 -0
- package/dist/rules/kotlin.js +1 -0
- package/dist/rules/kubernetes.js +1 -1
- package/dist/rules/php-extended.d.ts +16 -0
- package/dist/rules/php-extended.js +1 -0
- package/dist/rules/php.js +1 -1
- package/dist/rules/python-extended.js +1 -1
- package/dist/rules/python.js +1 -1
- package/dist/rules/ruby-extended.d.ts +16 -0
- package/dist/rules/ruby-extended.js +1 -0
- package/dist/rules/ruby.js +1 -1
- package/dist/rules/rust.d.ts +16 -0
- package/dist/rules/rust.js +1 -0
- package/dist/rules/secrets-extended.js +1 -1
- package/dist/rules/secrets.js +1 -1
- package/dist/rules/shell.js +1 -1
- package/dist/rules/swift.d.ts +17 -0
- package/dist/rules/swift.js +1 -0
- package/dist/rules/terraform.js +1 -1
- package/dist/telemetry.js +1 -1
- package/dist/tools/fix-vulnerability.js +1 -1
- package/dist/tools/scan-code.js +1 -1
- package/dist/tools/scan-dependencies.js +1 -1
- package/dist/tools/scan-diff.js +1 -1
- package/dist/tools/scan-file.js +1 -1
- package/dist/tools/scan-new-imports.d.ts +26 -0
- package/dist/tools/scan-new-imports.js +1 -0
- package/hook.mjs +25 -22
- package/package.json +6 -6
- package/dist/core/engines/kira-core.d.ts +0 -16
- package/dist/core/engines/kira-core.js +0 -1
package/INSTALL.md
CHANGED
|
@@ -150,7 +150,7 @@ Open `.claude/settings.local.json` and merge these two sections:
|
|
|
150
150
|
**2. Add to `hooks` object:**
|
|
151
151
|
|
|
152
152
|
```json
|
|
153
|
-
"
|
|
153
|
+
"PreToolUse": [
|
|
154
154
|
{
|
|
155
155
|
"matcher": "Write|Edit",
|
|
156
156
|
"hooks": [
|
|
@@ -191,7 +191,7 @@ Open `.claude/settings.local.json` and merge these two sections:
|
|
|
191
191
|
]
|
|
192
192
|
},
|
|
193
193
|
"hooks": {
|
|
194
|
-
"
|
|
194
|
+
"PreToolUse": [
|
|
195
195
|
{
|
|
196
196
|
"matcher": "Write|Edit",
|
|
197
197
|
"hooks": [
|
|
@@ -260,11 +260,11 @@ get_config()
|
|
|
260
260
|
| File | Purpose | Scope |
|
|
261
261
|
|------|---------|-------|
|
|
262
262
|
| `CLAUDE.md` | Instructs the AI to call `scan_code` before every Edit/Write | Per-project |
|
|
263
|
-
| `.claude/settings.local.json` | Auto-allows kira-lite tools +
|
|
263
|
+
| `.claude/settings.local.json` | Auto-allows kira-lite tools + pre-write hook enforcement | Per-project |
|
|
264
264
|
| `~/.kira-lite/config.json` | Scan frequency configuration | User-wide |
|
|
265
265
|
| `~/.kira-lite/device-id` | Anonymous device ID for telemetry | User-wide |
|
|
266
266
|
|
|
267
|
-
> **Important:** Hooks (`
|
|
267
|
+
> **Important:** Hooks (`PreToolUse`) only work in **project-level** `.claude/settings.local.json`. Do NOT add hooks to the user-level `~/.claude/settings.local.json`.
|
|
268
268
|
|
|
269
269
|
---
|
|
270
270
|
|
|
@@ -294,9 +294,24 @@ rm -rf ~/.kira-lite
|
|
|
294
294
|
|
|
295
295
|
## Troubleshooting
|
|
296
296
|
|
|
297
|
-
### "Settings Error:
|
|
297
|
+
### "Settings Error: PreToolUse: Invalid key in record"
|
|
298
298
|
|
|
299
|
-
|
|
299
|
+
Hooks are in your **user-level** settings file (`~/.claude/settings.local.json`). Hooks only work at the project level (`.claude/settings.local.json` inside your project). Remove the `hooks` section from the user-level file and re-run the per-project setup in Step 3.
|
|
300
|
+
|
|
301
|
+
### Upgrading from an older installation
|
|
302
|
+
|
|
303
|
+
If your `.claude/settings.local.json` has `PostToolCall` or `PostToolUse` in the hooks section, update it to `PreToolUse`. This is a one-time change that enables the hook to **block** vulnerable writes instead of just reporting after the fact:
|
|
304
|
+
|
|
305
|
+
```json
|
|
306
|
+
"hooks": {
|
|
307
|
+
"PreToolUse": [
|
|
308
|
+
{
|
|
309
|
+
"matcher": "Write|Edit",
|
|
310
|
+
"hooks": [{ "type": "command", "command": "npx --yes @offgridsec/kira-lite-mcp/hook.mjs" }]
|
|
311
|
+
}
|
|
312
|
+
]
|
|
313
|
+
}
|
|
314
|
+
```
|
|
300
315
|
|
|
301
316
|
### MCP not showing in `/mcp`
|
|
302
317
|
|
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ Security tools shouldn't live in a separate tab. Kira-Lite runs **inside your AI
|
|
|
11
11
|
- **Scans before code hits disk** — vulnerabilities are caught and fixed in the same conversation
|
|
12
12
|
- **Works where you already are** — Claude Code, Cursor, Windsurf, Codex, Antigravity, or any MCP-compatible editor
|
|
13
13
|
- **Zero config to start** — one `npx` command, no API keys, no accounts
|
|
14
|
-
- **Your code stays local** —
|
|
14
|
+
- **Your code stays local** — source code never leaves your machine; dependency scanning queries OSV.dev with package names only
|
|
15
15
|
|
|
16
16
|
## Prerequisites
|
|
17
17
|
|
|
@@ -135,7 +135,7 @@ Copy-Item "$pkg\config\settings.local.json" .claude\settings.local.json
|
|
|
135
135
|
> **Add to `hooks` object:**
|
|
136
136
|
>
|
|
137
137
|
> ```json
|
|
138
|
-
> "
|
|
138
|
+
> "PreToolUse": [
|
|
139
139
|
> {
|
|
140
140
|
> "matcher": "Write|Edit",
|
|
141
141
|
> "hooks": [
|
|
@@ -176,7 +176,7 @@ Copy-Item "$pkg\config\settings.local.json" .claude\settings.local.json
|
|
|
176
176
|
> ]
|
|
177
177
|
> },
|
|
178
178
|
> "hooks": {
|
|
179
|
-
> "
|
|
179
|
+
> "PreToolUse": [
|
|
180
180
|
> {
|
|
181
181
|
> "matcher": "Write|Edit",
|
|
182
182
|
> "hooks": [
|
|
@@ -544,15 +544,9 @@ register({ email: "user@example.com" })
|
|
|
544
544
|
|
|
545
545
|
## How It Works
|
|
546
546
|
|
|
547
|
-
Kira-Lite
|
|
547
|
+
Kira-Lite runs entirely on your machine using a built-in regex engine with 376 security rules — no external tools, no binaries, no compilation required. It works on every platform Node.js supports.
|
|
548
548
|
|
|
549
|
-
|
|
550
|
-
|----------|------------------|
|
|
551
|
-
| macOS (arm64, x64) | Bundled |
|
|
552
|
-
| Linux (x64, arm64) | Bundled |
|
|
553
|
-
| Windows (x64) | Bundled |
|
|
554
|
-
|
|
555
|
-
If Kira-Core is not available for your platform, Kira-Lite falls back to its built-in regex engine, which provides the same rule coverage.
|
|
549
|
+
For **dependency vulnerability scanning**, Kira-Lite queries [OSV.dev](https://osv.dev) — your package list is sent to the OSV API, but your source code never leaves your machine.
|
|
556
550
|
|
|
557
551
|
## Dependency Vulnerability Scanning
|
|
558
552
|
|
|
@@ -779,9 +773,13 @@ The built-in rules map to **50+ distinct CWEs**, including:
|
|
|
779
773
|
- **Cursor / Windsurf / VS Code:** Restart the IDE after adding the MCP config
|
|
780
774
|
- **All tools:** Ensure Node.js >= 18 is installed and `npx` is available in your PATH
|
|
781
775
|
|
|
782
|
-
### "Settings Error:
|
|
776
|
+
### "Settings Error: PreToolUse: Invalid key in record" (Claude Code)
|
|
777
|
+
|
|
778
|
+
Hooks are in the **user-level** settings file (`~/.claude/settings.local.json`). Hooks only work at project level (`.claude/settings.local.json` inside your project). Remove the `hooks` section from the user-level file and re-run Step 3.
|
|
779
|
+
|
|
780
|
+
### Upgrading from an older installation
|
|
783
781
|
|
|
784
|
-
|
|
782
|
+
If your `.claude/settings.local.json` has `PostToolCall` or `PostToolUse` in the hooks section, update it to `PreToolUse`. This enables the hook to **block** vulnerable writes instead of reporting after the fact.
|
|
785
783
|
|
|
786
784
|
### Scans returning "Skipped"
|
|
787
785
|
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
]
|
|
11
11
|
},
|
|
12
12
|
"hooks": {
|
|
13
|
-
"
|
|
13
|
+
"PreToolUse": [
|
|
14
14
|
{
|
|
15
15
|
"matcher": "Write|Edit",
|
|
16
16
|
"hooks": [
|
|
17
17
|
{
|
|
18
18
|
"type": "command",
|
|
19
|
-
"command": "
|
|
19
|
+
"command": "npx --yes @offgridsec/kira-lite-mcp/hook.mjs"
|
|
20
20
|
}
|
|
21
21
|
]
|
|
22
22
|
}
|
package/dist/config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x1e5f53,_0x2dec90){const _0xbdafff={_0x26c2c8:0x274,_0x2e61fc:0x28c,_0xed3198:0x1f3,_0x4ca431:0x1c4,_0x1164c6:0x1b8,_0x1fad5f:0x292,_0x4b62b3:0x292,_0x27d92a:0x270,_0x1e3f3f:0x1c6,_0x168004:0x29c,_0x47fbfb:0x290,_0x1e01b1:0x2a2},_0x48e72c={_0x2beb16:0x262},_0x2fb62e={_0x1ea6c6:0x1df};function _0x1890bc(_0x4a73e5,_0x2fe756){return _0x5986(_0x4a73e5-_0x2fb62e._0x1ea6c6,_0x2fe756);}const _0x85b833=_0x1e5f53();function _0xf2789(_0x9264c6,_0x2b652b){return _0x5986(_0x9264c6- -_0x48e72c._0x2beb16,_0x2b652b);}while(!![]){try{const _0x34581a=-parseInt(_0x1890bc(0x293,_0xbdafff._0x26c2c8))/(-0x1e*-0x12e+0x434+-0x5*0x7eb)*(-parseInt(_0x1890bc(0x26d,_0xbdafff._0x2e61fc))/(0x1*-0xea9+-0x851+-0x1*-0x16fc))+parseInt(_0xf2789(-0x1db,-_0xbdafff._0xed3198))/(-0x1ebb+-0x2402*0x1+0x42c0)+-parseInt(_0xf2789(-_0xbdafff._0x4ca431,-0x1cc))/(-0xba9*-0x3+0x7cc*0x2+-0x328f)+parseInt(_0xf2789(-_0xbdafff._0x1164c6,-0x1c0))/(0xf94*0x2+-0x1a7a+-0x4a9)+-parseInt(_0x1890bc(_0xbdafff._0x1fad5f,_0xbdafff._0x4b62b3))/(0xa*0x3e+-0x25*0xb9+0x1f*0xc9)*(parseInt(_0x1890bc(_0xbdafff._0x27d92a,0x25a))/(-0x7bd+0x5c*0x1f+-0x360))+-parseInt(_0xf2789(-0x1e0,-_0xbdafff._0x1e3f3f))/(-0x442+-0x28*-0x4e+0x3*-0x2a2)+-parseInt(_0x1890bc(0x282,_0xbdafff._0x168004))/(-0x1*-0x49+-0x987*0x4+-0x4*-0x977)*(-parseInt(_0x1890bc(_0xbdafff._0x47fbfb,_0xbdafff._0x1e01b1))/(0x1*0x1f1b+-0x1423+-0xaee));if(_0x34581a===_0x2dec90)break;else _0x85b833['push'](_0x85b833['shift']());}catch(_0x5a0b28){_0x85b833['push'](_0x85b833['shift']());}}}(_0x2b18,-0x4e69*-0xa+-0x263d8*0x5+0x10f269));import{readFileSync,writeFileSync,mkdirSync}from'node:fs';import{join}from'node:path';import{homedir}from'node:os';const _0x5e08d3={};function _0x2b18(){const _0x46aaab=['zgvZ','EeLTyMm','qLbQAeS','v3bfBem','lwXPDgu','wwHUr1u','tMfQrgC','uwfKsxm','z2LMEq','mZKXnJu2ohfODe5QtG','q3D4ALi','q1LKufO','AwjNAwO','uK9Kv0e','mti0nJm0n1jcreXzAW','zKviEg8','sfnYDgq','C2TPCha','C3rYAw4','vwHwu2e','lMTPCMe','nZu1mtK0zK9xDuHZ','zxzLCNK','sezlBwe','mJu3nduWmMrlD1j0Aa','rxPNrwu','z09zCe4','DxrMltG','uwvdqLy','ChPHBLi','zhncD2e','BwfUDwe','yujrrfm','BfPbAfG','zwrvBNq','B1bJu2e','AKDmr3y','mtmYntaWD2TJrxfW','zMfjwhq','DxrjDLu','Awnfq1u','C2nHBK0','mtyXmuzSDNvntq','CMvJDxi','twPrEK0','wK1usKq','lwvKAxq','rgn4vM8','Aw5JBhu','oda2mJCWyM9fCuDs','B24TC2e','CgfYC2u','zY5QC28','zMjTvuy','r2rgz0u','zw1HAwW','ndy0otb1y2TjrhO','BxvuBK4','mtjKv3D1qLa','mwzKyu9SuG','BguUANm','wM1gzK8','tgTMA0C','B2rL','C2L2zq','rKTItvK'];_0x2b18=function(){return _0x46aaab;};return _0x2b18();}_0x5e08d3['scanM'+_0x148cf4(0x3f8,0x3fe)]=_0x4c5a98(-0x1ea,-0x1f2)+_0x148cf4(0x42d,0x42f);const DEFAULT_CONFIG=_0x5e08d3,VALID_SCAN_MODES=['every'+_0x4c5a98(-0x1d2,-0x1bc),_0x148cf4(0x450,0x433)+'ve',_0x148cf4(0x426,0x420)+'l'];function getConfigDir(){const _0x12b9d2={_0x15971c:0xd1,_0x2c0af5:0x389,_0x573454:0xd9},_0x11d5c8={_0x290960:0x7c};function _0x9f6ae9(_0x36a964,_0x4b29ce){return _0x148cf4(_0x4b29ce,_0x36a964- -_0x11d5c8._0x290960);}function _0x3b6100(_0x30aa6d,_0x323dc8){return _0x4c5a98(_0x30aa6d-0x2b3,_0x323dc8);}const _0x35a98b={'CwxjR':function(_0x2ca11e,_0x483ca2,_0x1d3145){return _0x2ca11e(_0x483ca2,_0x1d3145);},'faIXt':function(_0x424c50){return _0x424c50();},'jqszM':_0x3b6100(0xc7,_0x12b9d2._0x15971c)+_0x9f6ae9(_0x12b9d2._0x2c0af5,0x389)};return _0x35a98b[_0x9f6ae9(0x38f,0x39f)](join,_0x35a98b[_0x3b6100(_0x12b9d2._0x573454,0xfa)](homedir),_0x35a98b['jqszM']);}function _0x4c5a98(_0x58a1e7,_0x3f22d0){return _0x5986(_0x58a1e7- -0x279,_0x3f22d0);}function _0x148cf4(_0xb0cf13,_0x3fc6b9){const _0x4ea1d0={_0x55084f:0x388};return _0x5986(_0x3fc6b9-_0x4ea1d0._0x55084f,_0xb0cf13);}function getConfigPath(){const _0x5d820d={_0x3f015a:0x30d,_0x52bfc5:0x32e,_0x1afae5:0x179,_0x550f2f:0x16d},_0x3ac8a6={_0xf66210:0x128},_0xc75fb0={_0xeb4e6a:0x56d};function _0x21572b(_0x4f171e,_0x1f362b){return _0x148cf4(_0x4f171e,_0x1f362b- -_0xc75fb0._0xeb4e6a);}function _0x4c5f53(_0x2e7a47,_0x402648){return _0x148cf4(_0x402648,_0x2e7a47- -_0x3ac8a6._0xf66210);}const _0x29a412={'aBQDS':function(_0x378f5a,_0x3713fa,_0x387b85){return _0x378f5a(_0x3713fa,_0x387b85);},'FKbMY':'confi'+_0x4c5f53(_0x5d820d._0x3f015a,_0x5d820d._0x52bfc5)+'n'};return _0x29a412[_0x21572b(-0x12e,-0x14c)](join,getConfigDir(),_0x29a412[_0x21572b(-_0x5d820d._0x1afae5,-_0x5d820d._0x550f2f)]);}export function loadConfig(){const _0x54cf78={_0x4ba0e1:0x5d,_0x3bbcdc:0x26b,_0x2b3038:0x5e,_0x55e99d:0x57,_0x5a5bb6:0x260,_0x509c29:0x3b,_0x4db7e6:0x49,_0x416f10:0x242,_0x811941:0x23e,_0x446a29:0x218,_0x533087:0x22f,_0x1b8a1f:0x26a,_0xbe9a33:0x252,_0x282104:0x5c,_0x2bf2e3:0x3e,_0x38a95b:0x5f,_0x48957c:0x67,_0x507e06:0x229,_0x4255ac:0x26d,_0x447c6d:0x253,_0x34f360:0x239,_0x985104:0x34,_0x38011a:0x3e,_0x34cb69:0x5c,_0x5e8f69:0x6a,_0x4c7ab3:0x225,_0x252727:0x23f,_0xcbcf4e:0x240,_0x24e2b0:0x237,_0x54eee9:0x69,_0x54666b:0x227};function _0x17afea(_0x55c4de,_0x3b686e){return _0x4c5a98(_0x3b686e- -0x62,_0x55c4de);}function _0x233a14(_0x47b5fe,_0x2d27b0){return _0x4c5a98(_0x2d27b0-0x199,_0x47b5fe);}const _0x5649e0={'icECU':function(_0x217d0a){return _0x217d0a();},'pzanR':function(_0x161629,_0x22ce2b,_0x377cd6,_0x4b0d1d){return _0x161629(_0x22ce2b,_0x377cd6,_0x4b0d1d);},'BDGYR':_0x233a14(-_0x54cf78._0x4ba0e1,-0x4c),'HSrtd':function(_0x56fa02,_0x5e5cd9){return _0x56fa02===_0x5e5cd9;},'QeCBV':_0x233a14(-0x88,-0x6b),'dsBwa':function(_0x968937,_0x38b9c1,_0x5608e0){return _0x968937(_0x38b9c1,_0x5608e0);},'jGLGv':function(_0x32b751){return _0x32b751();},'DCdzE':_0x17afea(-0x267,-0x250)+'g','zaxBt':_0x17afea(-_0x54cf78._0x3bbcdc,-0x261),'fEHxo':_0x17afea(-0x269,-0x25f),'NajDg':_0x17afea(-0x267,-0x24f)};try{if(_0x5649e0[_0x233a14(-_0x54cf78._0x2b3038,-_0x54cf78._0x55e99d)](_0x17afea(-_0x54cf78._0x5a5bb6,-0x266),_0x5649e0[_0x17afea(-0x264,-0x246)])){const _0x4a594e=_0x5649e0[_0x233a14(-_0x54cf78._0x509c29,-_0x54cf78._0x4db7e6)](readFileSync,_0x5649e0[_0x17afea(-_0x54cf78._0x416f10,-_0x54cf78._0x811941)](getConfigPath),'utf-8'),_0x423b22=JSON[_0x17afea(-_0x54cf78._0x446a29,-_0x54cf78._0x533087)](_0x4a594e);if(_0x423b22&&_0x5649e0[_0x17afea(-_0x54cf78._0x1b8a1f,-_0x54cf78._0xbe9a33)](typeof _0x423b22[_0x233a14(-_0x54cf78._0x282104,-_0x54cf78._0x2bf2e3)+_0x233a14(-0x4f,-0x6a)],_0x5649e0['DCdzE'])&&VALID_SCAN_MODES[_0x233a14(-0x17,-0x37)+_0x233a14(-_0x54cf78._0x38a95b,-_0x54cf78._0x48957c)](_0x423b22[_0x17afea(-_0x54cf78._0x507e06,-0x239)+'ode'])){if(_0x5649e0['zaxBt']===_0x5649e0[_0x17afea(-_0x54cf78._0x4255ac,-_0x54cf78._0x447c6d)]){const _0x5adfbe={..._0x27524d};return _0x5adfbe;}else{const _0x12c893={};return _0x12c893[_0x17afea(-0x24c,-_0x54cf78._0x34f360)+_0x233a14(-0x81,-0x6a)]=_0x423b22[_0x233a14(-_0x54cf78._0x985104,-_0x54cf78._0x38011a)+'ode'],_0x12c893;}}const _0x3d89b5={...DEFAULT_CONFIG};return _0x3d89b5;}else{const _0x48664d={};return _0x48664d[_0x17afea(-0x23c,-0x239)+'ode']=_0x412454[_0x233a14(-_0x54cf78._0x34cb69,-0x3e)+_0x233a14(-0x88,-_0x54cf78._0x5e8f69)],_0x48664d;}}catch{if(_0x5649e0['HSrtd'](_0x5649e0[_0x233a14(-0x49,-0x61)],_0x17afea(-_0x54cf78._0x4c7ab3,-_0x54cf78._0x252727))){const _0x4cd11b=_0x5649e0[_0x233a14(-0x31,-0x3f)](_0x4a71e4),_0x58ca31={};_0x58ca31[_0x17afea(-_0x54cf78._0xcbcf4e,-_0x54cf78._0x24e2b0)+_0x233a14(-0x6d,-_0x54cf78._0x54eee9)]=!![],_0x366776(_0x4cd11b,_0x58ca31),_0x5649e0[_0x17afea(-_0x54cf78._0x54666b,-0x245)](_0x44b31b,_0x38c244(),_0x524e36[_0x233a14(-0x52,-0x55)+_0x233a14(-0x4c,-_0x54cf78._0x38a95b)](_0x2528de,null,0x19ea+0x5*0x621+-0x1f*0x1d3),_0x5649e0['BDGYR']);}else{const _0x188e53={...DEFAULT_CONFIG};return _0x188e53;}}}export function saveConfig(_0x26df9c){const _0x3152b1={_0x3a8456:0xe4,_0x13fb88:0xe3,_0x2b7dcf:0xe5,_0x3cf548:0xd6,_0x222ffd:0xd4,_0x8156d:0x185,_0x40f348:0x102,_0x227b9d:0xe9},_0x326ee8={_0x57fc98:0x26d},_0x5e1879={_0x52dae6:0x338},_0x321651={'abBer':function(_0x506df3){return _0x506df3();},'ROdWA':function(_0x4e92b1,_0x3e41ac,_0x30bc9e,_0x575402){return _0x4e92b1(_0x3e41ac,_0x30bc9e,_0x575402);},'MjQzM':function(_0x3b71ca){return _0x3b71ca();},'muTnN':_0x3a12ad(_0x3152b1._0x3a8456,0xdd)},_0x3f3d7e=_0x321651['abBer'](getConfigDir),_0x46a963={};_0x46a963[_0x3a12ad(0xf4,_0x3152b1._0x13fb88)+_0x3a12ad(0xc7,_0x3152b1._0x2b7dcf)]=!![];function _0x3a12ad(_0x1a9a81,_0x33b284){return _0x148cf4(_0x33b284,_0x1a9a81- -_0x5e1879._0x52dae6);}function _0x5d3f67(_0x126020,_0x30bbfe){return _0x148cf4(_0x30bbfe,_0x126020- -_0x326ee8._0x57fc98);}mkdirSync(_0x3f3d7e,_0x46a963),_0x321651[_0x3a12ad(_0x3152b1._0x3cf548,_0x3152b1._0x3a8456)](writeFileSync,_0x321651[_0x3a12ad(0xf5,_0x3152b1._0x222ffd)](getConfigPath),JSON[_0x5d3f67(0x1a6,_0x3152b1._0x8156d)+'gify'](_0x26df9c,null,0x1f3*-0xb+-0x761*0x2+0x2435),_0x321651[_0x3a12ad(_0x3152b1._0x40f348,_0x3152b1._0x227b9d)]);}function getProfilePath(){const _0x33d3dd={_0x106433:0x469,_0x449a5c:0x160,_0x8c2b8d:0x17e,_0xc2dcf7:0x172},_0x45e266={_0x4426ec:0x285};function _0x1f2e7d(_0x5936ff,_0x4dca40){return _0x148cf4(_0x5936ff,_0x4dca40- -_0x45e266._0x4426ec);}const _0x37279c={'BPjhK':function(_0x16a0af,_0x2fcb5b,_0x242eaf){return _0x16a0af(_0x2fcb5b,_0x242eaf);},'HFKma':function(_0x37902a){return _0x37902a();},'ZMTJD':'profi'+_0x5194d3(_0x33d3dd._0x106433,0x478)+'on'};function _0x5194d3(_0x489376,_0x9bcad8){return _0x4c5a98(_0x489376-0x62d,_0x9bcad8);}return _0x37279c[_0x1f2e7d(_0x33d3dd._0x449a5c,_0x33d3dd._0x8c2b8d)](join,_0x37279c[_0x1f2e7d(_0x33d3dd._0xc2dcf7,0x193)](getConfigDir),_0x37279c[_0x5194d3(0x45a,0x449)]);}function _0x5986(_0x296b59,_0x4054da){_0x296b59=_0x296b59-(0x2430+-0x2*-0x8bd+-0x3536);const _0x6eb901=_0x2b18();let _0x197a4d=_0x6eb901[_0x296b59];if(_0x5986['PKaKSz']===undefined){var _0x1035f3=function(_0x2dcf1e){const _0x476b29='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xa347c5='',_0x4e20e0='';for(let _0x39e937=0x2*0x9bb+-0x7*-0x12f+-0x1bbf,_0x2d7f7d,_0x4a1b6c,_0x1e706f=-0x3*-0x741+0xfd6+-0x2599;_0x4a1b6c=_0x2dcf1e['charAt'](_0x1e706f++);~_0x4a1b6c&&(_0x2d7f7d=_0x39e937%(0x11e5+0x1*-0xa89+-0x758)?_0x2d7f7d*(0x4e1*-0x1+0xe0e+-0x8ed)+_0x4a1b6c:_0x4a1b6c,_0x39e937++%(0x1f5+-0x25fd+0x240c*0x1))?_0xa347c5+=String['fromCharCode'](-0xa03+-0x7*-0x3b7+-0xeff&_0x2d7f7d>>(-(-0x4*0x4a1+0x3d8+0xeae)*_0x39e937&-0x1bdc+0xf8*0x14+0x882)):0x719+0x441+-0xb5a){_0x4a1b6c=_0x476b29['indexOf'](_0x4a1b6c);}for(let _0x268627=0x43*0x61+0xf4*0x17+-0x2f4f,_0x4ad7b8=_0xa347c5['length'];_0x268627<_0x4ad7b8;_0x268627++){_0x4e20e0+='%'+('00'+_0xa347c5['charCodeAt'](_0x268627)['toString'](-0x2*0x9a9+0x63b*0x1+-0xd27*-0x1))['slice'](-(-0x1322+-0x7f*0x2f+-0x1*-0x2a75));}return decodeURIComponent(_0x4e20e0);};_0x5986['esdaKz']=_0x1035f3,_0x5986['exbiUv']={},_0x5986['PKaKSz']=!![];}const _0x568231=_0x6eb901[-0x17fb*-0x1+-0x705+0x1*-0x10f6],_0x3ac917=_0x296b59+_0x568231,_0x5e5395=_0x5986['exbiUv'][_0x3ac917];return!_0x5e5395?(_0x197a4d=_0x5986['esdaKz'](_0x197a4d),_0x5986['exbiUv'][_0x3ac917]=_0x197a4d):_0x197a4d=_0x5e5395,_0x197a4d;}export function loadProfile(){const _0x391daa={_0x3e5f47:0x1d8,_0x1530c5:0x1cb,_0x16fee4:0x224,_0x7f2eb3:0x213,_0x353637:0x234,_0x2c24cd:0x1d1,_0x547db3:0x21f,_0x10ebbf:0x21c,_0x485c94:0x202,_0xde2b1c:0x1e8,_0x271253:0x228,_0x3fb03a:0x1e8,_0x2d0e44:0x232,_0x5ef936:0x1d2,_0x1882c3:0x1d7},_0x29606c={'YhnGU':function(_0x37ecf5,_0x5ed62b,_0x1b450e){return _0x37ecf5(_0x5ed62b,_0x1b450e);},'DcxVo':function(_0x54befd){return _0x54befd();},'utIvU':_0x367167(0x218,0x226),'CYdPZ':function(_0x539feb,_0x178ade){return _0x539feb===_0x178ade;},'ZmFfO':_0xdbadc0(_0x391daa._0x3e5f47,0x1c2)+'g','lZAhX':function(_0x534579,_0x584ec0){return _0x534579!==_0x584ec0;},'fbmUF':'aWILN','ibgij':'glNDn'};function _0x367167(_0x4c4129,_0x2ec5f5){return _0x4c5a98(_0x4c4129-0x3fd,_0x2ec5f5);}function _0xdbadc0(_0x4f91c8,_0x2d2d4f){return _0x4c5a98(_0x4f91c8-0x3c6,_0x2d2d4f);}try{const _0x4f25f7=_0x29606c[_0xdbadc0(_0x391daa._0x1530c5,0x1bd)](readFileSync,_0x29606c[_0x367167(0x22c,0x20b)](getProfilePath),_0x29606c[_0x367167(0x224,_0x391daa._0x16fee4)]),_0x48bfb2=JSON[_0x367167(0x230,_0x391daa._0x7f2eb3)](_0x4f25f7),_0x53c76f={};return _0x48bfb2&&_0x29606c['CYdPZ'](typeof _0x48bfb2['email'],_0x29606c[_0x367167(0x1f8,0x20d)])&&(_0x53c76f['email']=_0x48bfb2[_0x367167(_0x391daa._0x353637,0x24b)]),_0x48bfb2&&_0x29606c[_0xdbadc0(_0x391daa._0x2c24cd,0x1b2)](typeof _0x48bfb2['skipp'+_0x367167(_0x391daa._0x547db3,_0x391daa._0x10ebbf)+'il'],_0x29606c[_0x367167(0x1f8,_0x391daa._0x485c94)])&&(_0x53c76f[_0xdbadc0(0x1d7,_0x391daa._0xde2b1c)+_0x367167(0x21f,_0x391daa._0x271253)+'il']=_0x48bfb2['skipp'+_0xdbadc0(_0x391daa._0x3fb03a,0x1d4)+'il']),_0x53c76f;}catch{if(_0x29606c[_0x367167(0x21e,0x237)](_0x29606c[_0x367167(_0x391daa._0x2d0e44,0x221)],_0x29606c[_0xdbadc0(_0x391daa._0x5ef936,_0x391daa._0x3fb03a)]))return{};else _0x43bff5[_0x367167(0x20e,0x204)+_0x367167(0x21f,0x207)+'il']=_0x32849a[_0xdbadc0(_0x391daa._0x1882c3,0x1c4)+_0xdbadc0(0x1e8,0x1d3)+'il'];}}export function saveProfile(_0x59a805){const _0x2d9ec0={_0x4b91a9:0x3e2,_0x1df2d0:0x3ca,_0x168340:0x399,_0xb3eb4e:0x3b6,_0x1b0f70:0x3ad,_0x5aee5d:0x3ad,_0x23d5d5:0x3e5,_0xa3f955:0xfe},_0x3a6646={_0x206247:0x52},_0xf872d6={_0x50c216:0x539},_0x52f4ba={'QadIs':function(_0x24cd62){return _0x24cd62();},'GdFgE':function(_0x498699,_0x1806fd,_0x4c5716){return _0x498699(_0x1806fd,_0x4c5716);},'EzgEe':function(_0x1518ed,_0x5514e8,_0x11d73b,_0x513782){return _0x1518ed(_0x5514e8,_0x11d73b,_0x513782);},'gOYpN':_0xb57a9e(_0x2d9ec0._0x4b91a9,_0x2d9ec0._0x1df2d0)},_0x1b87f5=_0x52f4ba[_0xb57a9e(_0x2d9ec0._0x168340,_0x2d9ec0._0xb3eb4e)](getConfigDir),_0x3f0813={};_0x3f0813['recur'+_0xb57a9e(_0x2d9ec0._0x1b0f70,_0x2d9ec0._0x5aee5d)]=!![];function _0x4b07e0(_0x3b139b,_0x313a3d){return _0x148cf4(_0x3b139b,_0x313a3d- -_0xf872d6._0x50c216);}function _0xb57a9e(_0x3b5e84,_0x1d6bb7){return _0x148cf4(_0x3b5e84,_0x1d6bb7- -_0x3a6646._0x206247);}_0x52f4ba[_0xb57a9e(0x3ce,_0x2d9ec0._0x23d5d5)](mkdirSync,_0x1b87f5,_0x3f0813),_0x52f4ba[_0x4b07e0(-_0x2d9ec0._0xa3f955,-0x11f)](writeFileSync,getProfilePath(),JSON['strin'+'gify'](_0x59a805,null,-0x144f+0x3b4+0x109d*0x1),_0x52f4ba[_0x4b07e0(-0x13f,-0x11e)]);}
|
|
1
|
+
(function(_0x4d3752,_0x299a70){const _0x42f23b={_0x3f8ce8:0x137,_0x4ff602:0x162,_0x197706:0x14e,_0x2a1f00:0x18e,_0x583904:0x16e,_0x3a5743:0x17d,_0x41d48e:0x13c,_0x2e931a:0x14d,_0x891df8:0x184,_0x4d8d11:0x189,_0x57f886:0x166},_0x3ec153={_0x29ba7c:0x2b2},_0x55322a={_0x5f0f33:0x28d};function _0x5ea5a6(_0x1d4349,_0xb40dab){return _0x2bea(_0x1d4349- -_0x55322a._0x5f0f33,_0xb40dab);}const _0x33ed52=_0x4d3752();function _0x2813d0(_0x1508a5,_0x5b3b5e){return _0x2bea(_0x1508a5- -_0x3ec153._0x29ba7c,_0x5b3b5e);}while(!![]){try{const _0x328f34=parseInt(_0x5ea5a6(-0x14a,-_0x42f23b._0x3f8ce8))/(0xb74+-0x76a+-0x1*0x409)+parseInt(_0x2813d0(-_0x42f23b._0x4ff602,-0x17c))/(-0x221+0x16e5+-0x14c2)+-parseInt(_0x5ea5a6(-0x13e,-_0x42f23b._0x197706))/(0x2453+0x5*0x2b4+-0x31d4)*(-parseInt(_0x2813d0(-_0x42f23b._0x2a1f00,-0x18c))/(-0x209+-0x12b7+0x14c4))+-parseInt(_0x5ea5a6(-0x141,-0x146))/(-0x140a+-0x8*-0x491+0x1*-0x1079)*(parseInt(_0x5ea5a6(-_0x42f23b._0x583904,-_0x42f23b._0x3a5743))/(-0x1f54+-0x703+-0x3d*-0xa1))+parseInt(_0x5ea5a6(-_0x42f23b._0x41d48e,-_0x42f23b._0x2e931a))/(-0x1e2*0x6+0x1*-0x2681+0x2*0x18ea)+parseInt(_0x5ea5a6(-0x140,-0x141))/(0x9aa+-0xbd3+0x3*0xbb)*(-parseInt(_0x2813d0(-_0x42f23b._0x891df8,-_0x42f23b._0x4d8d11))/(-0x28b+0x198d+-0x16f9))+-parseInt(_0x2813d0(-0x17d,-_0x42f23b._0x57f886))/(-0x1*0x6bb+-0x11f*-0x16+-0x9*0x1fd);if(_0x328f34===_0x299a70)break;else _0x33ed52['push'](_0x33ed52['shift']());}catch(_0x24ca42){_0x33ed52['push'](_0x33ed52['shift']());}}}(_0x3551,0x30f83+0x7474f+-0x5fba2));import{readFileSync,writeFileSync,mkdirSync}from'node:fs';import{join}from'node:path';import{homedir}from'node:os';const _0x23a1c9={};function _0x2bea(_0x36bbf6,_0x481791){_0x36bbf6=_0x36bbf6-(-0x1*-0xbfb+0x18dd+-0x23bb);const _0x4e2c90=_0x3551();let _0x32109e=_0x4e2c90[_0x36bbf6];if(_0x2bea['pzIjtH']===undefined){var _0x282138=function(_0x181627){const _0x4a7acc='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1e9348='',_0x194886='';for(let _0x56abe8=-0xc25*0x2+0xe60*-0x2+0xba*0x49,_0x58360a,_0x5ab996,_0xc38c9a=0x1*0x1c3f+0x19*0x14f+-0x66*0x99;_0x5ab996=_0x181627['charAt'](_0xc38c9a++);~_0x5ab996&&(_0x58360a=_0x56abe8%(0xf20+0x21bd*-0x1+0x12a1)?_0x58360a*(0xf5a+0x1def+-0x2d09)+_0x5ab996:_0x5ab996,_0x56abe8++%(0x7*0x42b+0x4b3*-0x7+0x3bc))?_0x1e9348+=String['fromCharCode'](-0x17e2+0x9dd+0xf04&_0x58360a>>(-(-0x2680+0x255*-0x9+0x3b7f)*_0x56abe8&0x1*-0x1ec2+0x60*0x17+-0x2c5*-0x8)):0x1f2a+-0x7f*-0x39+-0x3b71*0x1){_0x5ab996=_0x4a7acc['indexOf'](_0x5ab996);}for(let _0x56be3e=-0x4*-0x907+0xc3e+-0x2*0x182d,_0x3add66=_0x1e9348['length'];_0x56be3e<_0x3add66;_0x56be3e++){_0x194886+='%'+('00'+_0x1e9348['charCodeAt'](_0x56be3e)['toString'](0x1377+-0x1*0x26eb+0x1384*0x1))['slice'](-(-0x45d*-0x6+0x1549+-0x2f75));}return decodeURIComponent(_0x194886);};_0x2bea['gWgNXM']=_0x282138,_0x2bea['hHpvPP']={},_0x2bea['pzIjtH']=!![];}const _0x393273=_0x4e2c90[0x833*-0x4+-0x43*-0xb+0x6f*0x45],_0x1e061f=_0x36bbf6+_0x393273,_0x5e93f8=_0x2bea['hHpvPP'][_0x1e061f];return!_0x5e93f8?(_0x32109e=_0x2bea['gWgNXM'](_0x32109e),_0x2bea['hHpvPP'][_0x1e061f]=_0x32109e):_0x32109e=_0x5e93f8,_0x32109e;}_0x23a1c9[_0x3ba05d(0x2c6,0x2c6)+_0x522a43(0x3c,0x2b)]='every'+'-edit';function _0x3551(){const _0x311e44=['Aw5JBhu','sMflCxm','zw1HAwW','z2LMEq','lwXPDgu','D2LvufC','CMvJDxi','Bxfeug8','BwfUDwe','lwvKAxq','nKDprw5IAa','r2LmAxa','zwrvBNq','u2zOq20','Ae9Jsee','nhHNt25qEa','s0Lur3a','wNnUD0q','uwvds0C','zuTwvMu','wvPXzM4','t0jtrKq','rfPYzhy','AercDLK','rLLrCM8','oxjPAxPzEa','v1vnCha','zxLJqNu','wg9ryuG','C2TPCha','A3PJs1m','wMvezuq','mtq2ota2ndbiwND1BMW','CgfYC2u','B2PbBKq','y29UzMK','C2L2zq','DxrMltG','terZCK0','tLjothe','Ee5AD2q','DvzyAuC','DLrVvNa','r3nUA2G','u1P4A24','zuvwyMy','mJy0nZiXs0HWBvf1','rg9zDw4','C3rYAw4','ugrnwMK','C2nHBK0','EKnVugy','vfHPr3K','tLreqve','A0Pqyvi','mZaZmJbgCND1Efm','mtuXndmYzevwC1LZ','svfOvMK','mtm1mJq5m3LLrvbSCG','mtaYodi4oejRqMvNuG','mZG0odK0m2TNBKzUwG','B2rL'];_0x3551=function(){return _0x311e44;};return _0x3551();}const DEFAULT_CONFIG=_0x23a1c9;function _0x3ba05d(_0x5f1845,_0x2b58a2){const _0x536704={_0x56e419:0x17f};return _0x2bea(_0x5f1845-_0x536704._0x56e419,_0x2b58a2);}const VALID_SCAN_MODES=['every'+_0x3ba05d(0x29d,0x288),'on-sa'+'ve',_0x3ba05d(0x29c,0x2ae)+'l'];function getConfigDir(){const _0x4c07d7={_0x1b5e4b:0xf5,_0x5bd403:0x3ae,_0x3d27eb:0x3a3},_0x58d8f4={_0x21a2e8:0x10c};function _0x44ce47(_0x18dd38,_0x3bb7c5){return _0x3ba05d(_0x3bb7c5- -0x3b4,_0x18dd38);}function _0x364d65(_0x1f221e,_0x22239f){return _0x3ba05d(_0x1f221e-_0x58d8f4._0x21a2e8,_0x22239f);}const _0x2174a5={'hOcHA':function(_0xa2b53,_0xad4f4b,_0x163798){return _0xa2b53(_0xad4f4b,_0x163798);},'ZsnwD':function(_0x47c293){return _0x47c293();},'ndtQL':'.kira'+_0x44ce47(-_0x4c07d7._0x1b5e4b,-0xde)};return _0x2174a5[_0x364d65(_0x4c07d7._0x5bd403,_0x4c07d7._0x3d27eb)](join,_0x2174a5[_0x364d65(0x3b1,0x39d)](homedir),_0x2174a5['ndtQL']);}function getConfigPath(){const _0x2b123f={_0x799f56:0x2ca,_0x3fff79:0x2b3,_0x4653c9:0x2ba,_0xf7c298:0x2c2},_0x987f56={_0x4fe09f:0x14};function _0x16922f(_0x2e6ed0,_0x475336){return _0x3ba05d(_0x475336-_0x987f56._0x4fe09f,_0x2e6ed0);}function _0x1ea1fc(_0x1944b9,_0xcfb8fe){return _0x522a43(_0x1944b9,_0xcfb8fe- -0x16b);}const _0x3af8c8={'GiLip':function(_0x183ff5,_0x6249a4,_0x407a2b){return _0x183ff5(_0x6249a4,_0x407a2b);},'WUMpp':function(_0x72b60f){return _0x72b60f();},'ojAnD':'confi'+'g.jso'+'n'};return _0x3af8c8[_0x16922f(_0x2b123f._0x799f56,_0x2b123f._0x3fff79)](join,_0x3af8c8[_0x16922f(_0x2b123f._0x4653c9,_0x2b123f._0xf7c298)](getConfigDir),_0x3af8c8[_0x16922f(0x2d4,_0x2b123f._0x799f56)]);}export function loadConfig(){const _0x27b199={_0x344b0c:0x104,_0x24c977:0x111,_0x3aece4:0x11b,_0x44b8be:0x120,_0x4d2f05:0x102,_0x3cbfc3:0xee,_0x119cd3:0xfe,_0x4a2600:0xfc,_0x2bb4e8:0xdc,_0x5b4408:0xf1,_0x28205d:0x112,_0x514ce3:0x10f,_0x3d190d:0xc5,_0x5b736c:0xe1,_0x514d59:0xd8,_0x2e40d3:0xd9,_0x580d22:0xf5,_0x274c5b:0xdb,_0x4e3b44:0x105,_0x3752cc:0xd7,_0x2859d7:0x107,_0x31ac7c:0xc9,_0x2656fc:0xea,_0xc2de75:0xea,_0x43bee2:0x11e,_0x35f151:0x125,_0x2f81c5:0xc5,_0x3e7c9d:0x106,_0x3981c9:0xe8,_0x360b47:0xf6,_0x578ae1:0x131,_0x3ac85a:0x110,_0x545197:0x11e,_0x424f46:0x13a,_0x4d4612:0x113,_0x5b5821:0xf4,_0x3ba204:0x10c,_0x14f368:0xf2},_0x406bc8={_0x35f043:0x1b3},_0x75e967={'SfhCm':function(_0x3671a8){return _0x3671a8();},'IQhVi':function(_0x1a48a6,_0x28bce2,_0x380479){return _0x1a48a6(_0x28bce2,_0x380479);},'PdMZi':function(_0x3dc63e,_0x203904,_0x473a24,_0x43a501){return _0x3dc63e(_0x203904,_0x473a24,_0x43a501);},'vToVp':_0x9366a1(0x106,_0x27b199._0x344b0c),'ZeDeD':function(_0x12d48d,_0x42c101){return _0x12d48d===_0x42c101;},'hDBvY':_0x9366a1(_0x27b199._0x24c977,_0x27b199._0x3aece4)+'g','SZxkn':_0x9366a1(_0x27b199._0x44b8be,0x13f),'GbSUt':function(_0x4a9a6d){return _0x4a9a6d();},'LDsrM':'XgVGp','Gsnkh':_0x9366a1(0x124,0x12a)};function _0x62a784(_0x2c1a62,_0x44d5f4){return _0x522a43(_0x44d5f4,_0x2c1a62-0xca);}function _0x9366a1(_0x141195,_0x3fc638){return _0x3ba05d(_0x141195- -_0x406bc8._0x35f043,_0x3fc638);}try{if(_0x75e967[_0x62a784(0xe4,_0x27b199._0x4d2f05)]!==_0x75e967['SZxkn']){const _0x11bf8f=_0x75e967[_0x9366a1(_0x27b199._0x3cbfc3,_0x27b199._0x119cd3)](_0x481791),_0x59e2e0={};_0x59e2e0[_0x62a784(_0x27b199._0x4a2600,0x10c)+_0x62a784(_0x27b199._0x2bb4e8,0xc5)]=!![],_0x75e967[_0x62a784(_0x27b199._0x5b4408,0xd5)](_0x4e2c90,_0x11bf8f,_0x59e2e0),_0x75e967[_0x9366a1(_0x27b199._0x28205d,_0x27b199._0x514ce3)](_0x32109e,_0x75e967[_0x62a784(_0x27b199._0x3d190d,_0x27b199._0x5b736c)](_0x282138),_0x393273[_0x9366a1(0x111,0x121)+_0x9366a1(0x122,0x114)](_0x1e061f,null,0x12de+0x11ef*-0x1+0x3*-0x4f),_0x75e967[_0x9366a1(0x10b,0xec)]);}else{const _0x55abf1=_0x75e967[_0x62a784(0xf1,0xfd)](readFileSync,_0x75e967['GbSUt'](getConfigPath),_0x62a784(0xdd,_0x27b199._0x514d59)),_0x26037d=JSON[_0x62a784(_0x27b199._0x2e40d3,0xd8)](_0x55abf1);if(_0x26037d&&typeof _0x26037d[_0x62a784(0xea,0xe0)+_0x62a784(_0x27b199._0x580d22,_0x27b199._0x274c5b)]===_0x75e967['hDBvY']&&VALID_SCAN_MODES['inclu'+'des'](_0x26037d[_0x9366a1(0x113,_0x27b199._0x4e3b44)+'ode'])){if(_0x75e967[_0x62a784(_0x27b199._0x3752cc,0xd6)](_0x75e967[_0x9366a1(_0x27b199._0x2859d7,0xed)],_0x75e967[_0x62a784(0xde,_0x27b199._0x31ac7c)])){const _0x11c33d={};return _0x11c33d[_0x62a784(_0x27b199._0x2656fc,_0x27b199._0x580d22)+'ode']=_0x26037d[_0x62a784(_0x27b199._0xc2de75,0xda)+_0x9366a1(_0x27b199._0x43bee2,_0x27b199._0x35f151)],_0x11c33d;}else{const _0x1ca076=_0x245129(_0x75e967[_0x62a784(_0x27b199._0x2f81c5,0xde)](_0xb247a),_0x9366a1(_0x27b199._0x3e7c9d,0xf4)),_0x569928=_0x161204[_0x9366a1(0x102,0x114)](_0x1ca076);if(_0x569928&&_0x75e967['ZeDeD'](typeof _0x569928['scanM'+'ode'],_0x75e967[_0x9366a1(0xf8,_0x27b199._0x3981c9)])&&_0x287c0b[_0x62a784(_0x27b199._0x360b47,0xd9)+'des'](_0x569928[_0x9366a1(0x113,_0x27b199._0x578ae1)+_0x62a784(0xf5,_0x27b199._0x3ac85a)])){const _0x49906e={};return _0x49906e[_0x62a784(_0x27b199._0x2656fc,0xcc)+_0x9366a1(_0x27b199._0x545197,_0x27b199._0x424f46)]=_0x569928[_0x9366a1(_0x27b199._0x4d4612,_0x27b199._0x5b5821)+_0x9366a1(0x11e,0x10c)],_0x49906e;}const _0x449e78={..._0x5bb161};return _0x449e78;}}const _0x213f5a={...DEFAULT_CONFIG};return _0x213f5a;}}catch{if('fkYxu'===_0x75e967[_0x9366a1(_0x27b199._0x3ba204,_0x27b199._0x14f368)])return{};else{const _0x332e72={...DEFAULT_CONFIG};return _0x332e72;}}}export function saveConfig(_0xfbb2b1){const _0xd8bea8={_0x5e2844:0x4a,_0x503af4:0x79,_0xbe6aee:0x404,_0x266490:0x3f6},_0x3d9f04={'kJPaR':function(_0x1dfc80,_0x560da1,_0x3453ce){return _0x1dfc80(_0x560da1,_0x3453ce);},'OBSFD':function(_0x83c6a6,_0x42b7d4,_0x2146c0,_0x26979b){return _0x83c6a6(_0x42b7d4,_0x2146c0,_0x26979b);},'FTogR':function(_0x18ae06){return _0x18ae06();},'eycBu':_0x39e0ca(-0x69,-0x78)},_0x4916fa=getConfigDir();function _0x39e0ca(_0x1544e4,_0x235b46){return _0x522a43(_0x235b46,_0x1544e4- -0x7c);}function _0x4fcae1(_0x170d4b,_0x447cc9){return _0x522a43(_0x447cc9,_0x170d4b-0x3e6);}const _0x682420={};_0x682420[_0x39e0ca(-_0xd8bea8._0x5e2844,-0x42)+_0x39e0ca(-0x6a,-0x5b)]=!![],_0x3d9f04[_0x39e0ca(-0x58,-0x65)](mkdirSync,_0x4916fa,_0x682420),_0x3d9f04[_0x39e0ca(-_0xd8bea8._0x503af4,-0x7e)](writeFileSync,_0x3d9f04['FTogR'](getConfigPath),JSON[_0x4fcae1(_0xd8bea8._0xbe6aee,_0xd8bea8._0x266490)+_0x39e0ca(-0x4d,-0x42)](_0xfbb2b1,null,0x1c0c+-0x312+0x31f*-0x8),_0x3d9f04[_0x4fcae1(0x3ef,0x3f6)]);}function getProfilePath(){const _0x2d747d={_0x4033dc:0x408,_0x429f6e:0x3f8},_0x272cf1={_0x432b9d:0x3f2};function _0x4f675d(_0x425a11,_0x2d2699){return _0x522a43(_0x2d2699,_0x425a11-_0x272cf1._0x432b9d);}const _0x232dc6={'xNZwd':function(_0x3cf3a9){return _0x3cf3a9();}};return join(_0x232dc6[_0x4f675d(_0x2d747d._0x4033dc,_0x2d747d._0x429f6e)](getConfigDir),'profi'+'le.js'+'on');}function _0x522a43(_0x134fb2,_0x26b3cb){const _0x6cce15={_0x4732af:0x127};return _0x2bea(_0x26b3cb- -_0x6cce15._0x4732af,_0x134fb2);}export function loadProfile(){const _0x51d435={_0x209fae:0xf1,_0x289378:0x36d,_0x1512e6:0x345,_0x59c679:0x34f,_0x2d1ed1:0x33c,_0x4a368a:0x369,_0x5a2575:0x364,_0x4b9b0e:0x100,_0x2dca2e:0x35d,_0x2c2934:0xfe,_0x3c0145:0xe0,_0x2674d4:0x369,_0xea5b73:0x367,_0x33c922:0x347,_0x511ca3:0x336,_0x6cb5f2:0x358,_0x2743e5:0xf5,_0x3e01d2:0xf7,_0x350527:0x32c,_0x3585f6:0xef,_0x5d1f8d:0x36b,_0x1fe0da:0x34e,_0x2e6bf3:0x34a,_0x37e20f:0x339,_0x29af69:0x339,_0x2e784a:0x33d,_0x1aeb69:0x342,_0x1028e3:0xcc,_0x288d1f:0x335,_0xa1a535:0x346,_0x5e6f0d:0x349,_0x4d5ea0:0x346,_0x590c4f:0x346,_0x3e49df:0x35d,_0x570310:0x350,_0x47fdb1:0x35d,_0x1962ec:0x350,_0x10c769:0xd4},_0x4169fc={_0x2b2c83:0x102},_0x2b3005={'BpEVl':function(_0x84b257,_0x5625d8,_0x2316d3){return _0x84b257(_0x5625d8,_0x2316d3);},'kzcKS':function(_0x5f30c5){return _0x5f30c5();},'DoYun':_0x110e30(-_0x51d435._0x209fae,-0xda)+'g.jso'+'n','eEVbf':function(_0x60cca0,_0x3dd060,_0x52bb2b){return _0x60cca0(_0x3dd060,_0x52bb2b);},'zCoPf':function(_0x4b30ca){return _0x4b30ca();},'KITGp':function(_0x48f543,_0x42242f){return _0x48f543===_0x42242f;},'YZqfn':_0x33d73b(0x359,_0x51d435._0x289378)+'g','mqDPo':function(_0x2c279d,_0x24ee80){return _0x2c279d!==_0x24ee80;},'joEKt':'wAbnV','uhENA':function(_0x25c86a,_0x466ed4,_0x2a1063){return _0x25c86a(_0x466ed4,_0x2a1063);},'LXgMF':function(_0x268edc){return _0x268edc();},'eKVVe':_0x110e30(-0xef,-0x10c),'iePXU':function(_0x3ef2b3,_0x4fbfa3){return _0x3ef2b3===_0x4fbfa3;},'DZrdv':_0x33d73b(_0x51d435._0x1512e6,_0x51d435._0x59c679),'NRNLq':function(_0x24167c,_0x3ef8a7){return _0x24167c!==_0x3ef8a7;},'TXiGy':_0x33d73b(0x341,0x349)};function _0x110e30(_0x2c60b5,_0x554053){return _0x522a43(_0x554053,_0x2c60b5- -_0x4169fc._0x2b2c83);}function _0x33d73b(_0x68108d,_0x4d0924){return _0x522a43(_0x4d0924,_0x68108d-0x33b);}try{if(_0x2b3005[_0x110e30(-0xcf,-0xdc)]('NrWzE',_0x2b3005['joEKt'])){const _0x27edad=_0x2b3005['uhENA'](readFileSync,_0x2b3005['LXgMF'](getProfilePath),_0x2b3005[_0x33d73b(_0x51d435._0x2d1ed1,0x346)]),_0x1ab77a=JSON['parse'](_0x27edad),_0xc58eee={};if(_0x1ab77a&&_0x2b3005['iePXU'](typeof _0x1ab77a[_0x33d73b(_0x51d435._0x4a368a,_0x51d435._0x5a2575)],_0x2b3005[_0x110e30(-0x100,-_0x51d435._0x4b9b0e)])){if(_0x2b3005['mqDPo'](_0x33d73b(0x352,_0x51d435._0x2dca2e),_0x2b3005[_0x110e30(-_0x51d435._0x2c2934,-_0x51d435._0x3c0145)]))_0xc58eee[_0x33d73b(_0x51d435._0x2674d4,_0x51d435._0xea5b73)]=_0x1ab77a[_0x110e30(-0xd4,-0xc3)];else return _0x2b3005['BpEVl'](_0x44c0b3,_0x2b3005[_0x33d73b(_0x51d435._0x33c922,_0x51d435._0x511ca3)](_0x3889b6),_0x2b3005[_0x33d73b(_0x51d435._0x6cb5f2,0x33a)]);}return _0x1ab77a&&typeof _0x1ab77a[_0x110e30(-0xf7,-_0x51d435._0x2743e5)+_0x110e30(-0x108,-0x11a)+'il']===_0x2b3005['YZqfn']&&(_0xc58eee[_0x110e30(-_0x51d435._0x3e01d2,-0xe3)+'edUnt'+'il']=_0x1ab77a[_0x33d73b(0x346,_0x51d435._0x350527)+_0x110e30(-0x108,-_0x51d435._0x3585f6)+'il']),_0xc58eee;}else{const _0x1f9ae4=_0x2b3005[_0x110e30(-0xe7,-0xe9)](_0x1a2f53,_0x2b3005[_0x33d73b(0x35c,_0x51d435._0x5d1f8d)](_0x4ee64d),_0x33d73b(_0x51d435._0x1fe0da,0x363)),_0x108494=_0x2d3814[_0x33d73b(_0x51d435._0x2e6bf3,0x32f)](_0x1f9ae4),_0x46dd53={};return _0x108494&&_0x2b3005[_0x33d73b(_0x51d435._0x37e20f,_0x51d435._0x29af69)](typeof _0x108494['email'],_0x2b3005[_0x33d73b(_0x51d435._0x2e784a,_0x51d435._0x1aeb69)])&&(_0x46dd53[_0x33d73b(0x369,0x36d)]=_0x108494[_0x110e30(-0xd4,-_0x51d435._0x1028e3)]),_0x108494&&_0x2b3005[_0x33d73b(0x339,0x341)](typeof _0x108494['skipp'+_0x33d73b(_0x51d435._0x288d1f,_0x51d435._0xa1a535)+'il'],_0x2b3005[_0x33d73b(_0x51d435._0x2e784a,_0x51d435._0x5e6f0d)])&&(_0x46dd53[_0x33d73b(_0x51d435._0x4d5ea0,0x344)+'edUnt'+'il']=_0x108494[_0x33d73b(_0x51d435._0x590c4f,_0x51d435._0x3e49df)+_0x110e30(-0x108,-0xfa)+'il']),_0x46dd53;}}catch{if(_0x2b3005[_0x33d73b(_0x51d435._0x570310,_0x51d435._0x1aeb69)](_0x2b3005[_0x33d73b(_0x51d435._0x47fdb1,_0x51d435._0x1962ec)],_0x2b3005[_0x33d73b(0x35d,0x372)]))_0x155bf1[_0x33d73b(0x369,0x384)]=_0x12d9c7[_0x110e30(-_0x51d435._0x10c769,-0xd0)];else return{};}}export function saveProfile(_0x2538e0){const _0x243ebe={_0x488c3b:0xa1,_0x319b92:0xb9,_0x2785c6:0x108,_0x33caf1:0xbb,_0xaf1b09:0xa8,_0x3989ed:0xca,_0x562c2b:0xd9,_0x3a5ce8:0xd7},_0x32e953={_0x3d7037:0xcb},_0x413874={'QeCKG':function(_0x368f0c,_0x4e4b0c,_0x29c2dc){return _0x368f0c(_0x4e4b0c,_0x29c2dc);},'NTDAQ':function(_0x495035,_0x525d21,_0x12b6b2,_0x13e3d0){return _0x495035(_0x525d21,_0x12b6b2,_0x13e3d0);}},_0x2fd5f6=getConfigDir();function _0x7d4e62(_0x5efeda,_0x491ad6){return _0x3ba05d(_0x5efeda- -0x3ae,_0x491ad6);}const _0x5744ae={};function _0x330961(_0x15d7d2,_0x340569){return _0x522a43(_0x15d7d2,_0x340569- -_0x32e953._0x3d7037);}_0x5744ae['recur'+_0x330961(-_0x243ebe._0x488c3b,-_0x243ebe._0x319b92)]=!![],_0x413874[_0x7d4e62(-_0x243ebe._0x2785c6,-0x10b)](mkdirSync,_0x2fd5f6,_0x5744ae),_0x413874[_0x330961(-_0x243ebe._0x33caf1,-_0x243ebe._0xaf1b09)](writeFileSync,getProfilePath(),JSON[_0x330961(-_0x243ebe._0x3989ed,-0xad)+_0x7d4e62(-_0x243ebe._0x562c2b,-0xd2)](_0x2538e0,null,0x3d*-0x71+-0x43+-0x1b32*-0x1),_0x330961(-_0x243ebe._0x3a5ce8,-0xb8));}
|