@offgridsec/kira-lite-mcp 0.1.5 → 0.1.6
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/README.md +3 -59
- package/config/CLAUDE.md +0 -18
- package/dist/config.js +1 -1
- package/dist/core/engines/kira-core.js +1 -1
- package/dist/core/engines/osv.js +1 -1
- package/dist/core/engines/runner.js +1 -1
- package/dist/core/scanner.js +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.js +1 -1
- package/dist/rules/docker.js +1 -1
- package/dist/rules/go.js +1 -1
- package/dist/rules/index.js +1 -1
- 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/kubernetes.js +1 -1
- 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.js +1 -1
- 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/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/package.json +1 -1
package/README.md
CHANGED
|
@@ -108,16 +108,6 @@ Copy-Item "$pkg\config\settings.local.json" .claude\settings.local.json
|
|
|
108
108
|
> - Tell the user what you found and what you fixed
|
|
109
109
|
> - This applies to ALL files: .js, .ts, .py, .go, .java, .rb, .php, .yaml, .tf, Dockerfile, etc.
|
|
110
110
|
>
|
|
111
|
-
> ## ONBOARDING — First-time registration check
|
|
112
|
-
>
|
|
113
|
-
> On your **FIRST interaction** in any new conversation, you MUST call `get_config`.
|
|
114
|
-
>
|
|
115
|
-
> - If `registered` is `true`, do NOT mention registration. Proceed normally.
|
|
116
|
-
> - If `registered` is `false` AND `registrationSkippedUntil` is a future date, do NOT ask. The user already skipped.
|
|
117
|
-
> - If `registered` is `false` AND `registrationSkippedUntil` is `null`, ask the user:
|
|
118
|
-
> > "Kira-Lite is active! Would you like to register your email? You'll get: new vulnerability rule alerts, security advisories for popular frameworks, and product updates. Just share your email or say 'skip'."
|
|
119
|
-
> - If the user provides an email, call `register`. If they skip, call `skip_registration` (7-day cooldown).
|
|
120
|
-
> - Do NOT ask about registration more than once per conversation.
|
|
121
111
|
> ```
|
|
122
112
|
>
|
|
123
113
|
> </details>
|
|
@@ -237,14 +227,6 @@ You MUST call the `scan_code` MCP tool before EVERY code change. No exceptions.
|
|
|
237
227
|
4. For edits to existing files, use `scan_diff` with original and new code
|
|
238
228
|
5. If scan returns critical or high findings, DO NOT write the code
|
|
239
229
|
6. Tell the user what you found and what you fixed
|
|
240
|
-
|
|
241
|
-
# ONBOARDING — First-time registration check
|
|
242
|
-
On your FIRST interaction in any new conversation, call `get_config`.
|
|
243
|
-
- If `registered` is false and `registrationSkippedUntil` is null, ask the user:
|
|
244
|
-
"Kira-Lite is active! Would you like to register your email? You'll get: new vulnerability rule alerts, security advisories, and product updates. Share your email or say 'skip'."
|
|
245
|
-
- If user provides email, call `register`. If they skip, call `skip_registration` (7-day cooldown).
|
|
246
|
-
- If `registered` is true or `registrationSkippedUntil` is a future date, do not ask.
|
|
247
|
-
- Do NOT ask about registration more than once per conversation.
|
|
248
230
|
```
|
|
249
231
|
|
|
250
232
|
#### Step 3 — Verify
|
|
@@ -285,14 +267,6 @@ You MUST call the `scan_code` MCP tool before EVERY code change. No exceptions.
|
|
|
285
267
|
4. For edits to existing files, use `scan_diff` with original and new code
|
|
286
268
|
5. If scan returns critical or high findings, DO NOT write the code
|
|
287
269
|
6. Tell the user what you found and what you fixed
|
|
288
|
-
|
|
289
|
-
# ONBOARDING — First-time registration check
|
|
290
|
-
On your FIRST interaction in any new conversation, call `get_config`.
|
|
291
|
-
- If `registered` is false and `registrationSkippedUntil` is null, ask the user:
|
|
292
|
-
"Kira-Lite is active! Would you like to register your email? You'll get: new vulnerability rule alerts, security advisories, and product updates. Share your email or say 'skip'."
|
|
293
|
-
- If user provides email, call `register`. If they skip, call `skip_registration` (7-day cooldown).
|
|
294
|
-
- If `registered` is true or `registrationSkippedUntil` is a future date, do not ask.
|
|
295
|
-
- Do NOT ask about registration more than once per conversation.
|
|
296
270
|
```
|
|
297
271
|
|
|
298
272
|
#### Step 3 — Verify
|
|
@@ -333,14 +307,6 @@ You MUST call the `scan_code` MCP tool before EVERY code change. No exceptions.
|
|
|
333
307
|
4. For edits to existing files, use `scan_diff` with original and new code
|
|
334
308
|
5. If scan returns critical or high findings, DO NOT write the code
|
|
335
309
|
6. Tell the user what you found and what you fixed
|
|
336
|
-
|
|
337
|
-
# ONBOARDING — First-time registration check
|
|
338
|
-
On your FIRST interaction in any new conversation, call `get_config`.
|
|
339
|
-
- If `registered` is false and `registrationSkippedUntil` is null, ask the user:
|
|
340
|
-
"Kira-Lite is active! Would you like to register your email? You'll get: new vulnerability rule alerts, security advisories, and product updates. Share your email or say 'skip'."
|
|
341
|
-
- If user provides email, call `register`. If they skip, call `skip_registration` (7-day cooldown).
|
|
342
|
-
- If `registered` is true or `registrationSkippedUntil` is a future date, do not ask.
|
|
343
|
-
- Do NOT ask about registration more than once per conversation.
|
|
344
310
|
```
|
|
345
311
|
|
|
346
312
|
#### Step 3 — Verify
|
|
@@ -377,14 +343,6 @@ You MUST call the `scan_code` MCP tool before EVERY code change. No exceptions.
|
|
|
377
343
|
4. For edits to existing files, use `scan_diff` with original and new code
|
|
378
344
|
5. If scan returns critical or high findings, DO NOT write the code
|
|
379
345
|
6. Tell the user what you found and what you fixed
|
|
380
|
-
|
|
381
|
-
# ONBOARDING — First-time registration check
|
|
382
|
-
On your FIRST interaction in any new conversation, call `get_config`.
|
|
383
|
-
- If `registered` is false and `registrationSkippedUntil` is null, ask the user:
|
|
384
|
-
"Kira-Lite is active! Would you like to register your email? You'll get: new vulnerability rule alerts, security advisories, and product updates. Share your email or say 'skip'."
|
|
385
|
-
- If user provides email, call `register`. If they skip, call `skip_registration` (7-day cooldown).
|
|
386
|
-
- If `registered` is true or `registrationSkippedUntil` is a future date, do not ask.
|
|
387
|
-
- Do NOT ask about registration more than once per conversation.
|
|
388
346
|
```
|
|
389
347
|
|
|
390
348
|
#### Step 3 — Verify
|
|
@@ -430,14 +388,6 @@ You MUST call the `scan_code` MCP tool before EVERY code change. No exceptions.
|
|
|
430
388
|
4. For edits to existing files, use `scan_diff` with original and new code
|
|
431
389
|
5. If scan returns critical or high findings, DO NOT write the code
|
|
432
390
|
6. Tell the user what you found and what you fixed
|
|
433
|
-
|
|
434
|
-
# ONBOARDING — First-time registration check
|
|
435
|
-
On your FIRST interaction in any new conversation, call `get_config`.
|
|
436
|
-
- If `registered` is false and `registrationSkippedUntil` is null, ask the user:
|
|
437
|
-
"Kira-Lite is active! Would you like to register your email? You'll get: new vulnerability rule alerts, security advisories, and product updates. Share your email or say 'skip'."
|
|
438
|
-
- If user provides email, call `register`. If they skip, call `skip_registration` (7-day cooldown).
|
|
439
|
-
- If `registered` is true or `registrationSkippedUntil` is a future date, do not ask.
|
|
440
|
-
- Do NOT ask about registration more than once per conversation.
|
|
441
391
|
```
|
|
442
392
|
|
|
443
393
|
#### Step 3 — Verify
|
|
@@ -480,14 +430,6 @@ You MUST call the `scan_code` MCP tool before EVERY code change. No exceptions.
|
|
|
480
430
|
4. For edits to existing files, use `scan_diff` with original and new code
|
|
481
431
|
5. If scan returns critical or high findings, DO NOT write the code
|
|
482
432
|
6. Tell the user what you found and what you fixed
|
|
483
|
-
|
|
484
|
-
# ONBOARDING — First-time registration check
|
|
485
|
-
On your FIRST interaction in any new conversation, call `get_config`.
|
|
486
|
-
- If `registered` is false and `registrationSkippedUntil` is null, ask the user:
|
|
487
|
-
"Kira-Lite is active! Would you like to register your email? You'll get: new vulnerability rule alerts, security advisories, and product updates. Share your email or say 'skip'."
|
|
488
|
-
- If user provides email, call `register`. If they skip, call `skip_registration` (7-day cooldown).
|
|
489
|
-
- If `registered` is true or `registrationSkippedUntil` is a future date, do not ask.
|
|
490
|
-
- Do NOT ask about registration more than once per conversation.
|
|
491
433
|
```
|
|
492
434
|
|
|
493
435
|
---
|
|
@@ -569,11 +511,13 @@ Register your email to receive security updates — new vulnerability rules, sec
|
|
|
569
511
|
|
|
570
512
|
### How it works
|
|
571
513
|
|
|
572
|
-
|
|
514
|
+
Registration is **server-driven** — no instructions file setup required. The first time you use any scan tool (`scan_code`, `scan_file`, or `scan_diff`), the server automatically appends a registration prompt to the scan results if you haven't registered yet. You can:
|
|
573
515
|
|
|
574
516
|
- **Register** — provide your email and the assistant calls `register`
|
|
575
517
|
- **Skip** — say "skip" and you won't be asked again for 7 days
|
|
576
518
|
|
|
519
|
+
The prompt appears once per session and respects the 7-day skip cooldown. No `CLAUDE.md`, `.cursorrules`, or other instructions file is needed to trigger registration.
|
|
520
|
+
|
|
577
521
|
### Manual registration
|
|
578
522
|
|
|
579
523
|
You can also register anytime by asking your AI assistant:
|
package/config/CLAUDE.md
CHANGED
|
@@ -24,21 +24,3 @@ RIGHT (always do this):
|
|
|
24
24
|
- If scan returns critical or high findings, DO NOT write the code
|
|
25
25
|
- Tell the user what you found and what you fixed
|
|
26
26
|
- This applies to ALL files: .js, .ts, .py, .go, .java, .rb, .php, .yaml, .tf, Dockerfile, etc.
|
|
27
|
-
|
|
28
|
-
## ONBOARDING — First-time registration check
|
|
29
|
-
|
|
30
|
-
On your **FIRST interaction** in any new conversation, you MUST call `get_config`.
|
|
31
|
-
|
|
32
|
-
- If `registered` is `true`, do NOT mention registration. Proceed normally.
|
|
33
|
-
- If `registered` is `false` AND `registrationSkippedUntil` is a future date, do NOT ask about registration. The user already skipped — respect the cooldown.
|
|
34
|
-
- If `registered` is `false` AND `registrationSkippedUntil` is `null` (expired or never set), ask the user:
|
|
35
|
-
> "Kira-Lite security scanner is active and protecting your code! Would you like to register your email? It's optional, but here's what you get:
|
|
36
|
-
>
|
|
37
|
-
> - **New vulnerability rules** — get notified when Kira adds detection for new CVEs and attack patterns
|
|
38
|
-
> - **Security advisories** — early alerts for critical vulnerabilities affecting popular frameworks and libraries
|
|
39
|
-
> - **Product updates** — new features, engine improvements, and expanded language support
|
|
40
|
-
>
|
|
41
|
-
> Just share your email and I'll register you, or say 'skip' to continue without it."
|
|
42
|
-
- If the user provides an email, call the `register` tool with their email.
|
|
43
|
-
- If the user declines or says "skip", call the `skip_registration` tool to record it (suppresses the prompt for 7 days).
|
|
44
|
-
- **Do NOT ask about registration more than once per conversation.**
|
package/dist/config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x226df3,_0x5a6540){const _0x4b5a76={_0x142955:0xac,_0x6fe969:0x96,_0x1814ba:0x30f,_0xdc6c23:0x94,_0x318368:0x304,_0x2cd2a9:0x317,_0x24f076:0x31c,_0x30204f:0x8b,_0x483460:0x2fb,_0x2921ca:0xa8,_0x1facaa:0x88,_0x21aea4:0x80},_0x54fb05={_0x5cd67c:0x37};function _0x2371ed(_0x3cfd1b,_0xd204eb){return _0x15de(_0x3cfd1b-0x23d,_0xd204eb);}function _0x3d6eb8(_0x2d5da0,_0x788b27){return _0x15de(_0x2d5da0- -_0x54fb05._0x5cd67c,_0x788b27);}const _0x270aad=_0x226df3();while(!![]){try{const _0x5cb805=-parseInt(_0x3d6eb8(_0x4b5a76._0x142955,_0x4b5a76._0x6fe969))/(-0xd88+-0x3*-0xa79+-0x15*0xda)*(-parseInt(_0x2371ed(0x30a,_0x4b5a76._0x1814ba))/(-0x11*-0x165+0x229*0xf+-0x56*0xa7))+-parseInt(_0x3d6eb8(_0x4b5a76._0xdc6c23,0x85))/(-0x4f5+-0x20ed*-0x1+-0x1bf5)*(-parseInt(_0x2371ed(0x30d,_0x4b5a76._0x318368))/(0x3*-0xb9b+-0x3c4*-0x3+0x1*0x1789))+-parseInt(_0x3d6eb8(0x81,0x70))/(-0x323*-0x6+0x26f0+-0x39bd)+parseInt(_0x2371ed(_0x4b5a76._0x2cd2a9,_0x4b5a76._0x24f076))/(-0xea4*-0x1+0x318+-0x11b6)+-parseInt(_0x3d6eb8(0xa6,_0x4b5a76._0x30204f))/(0x1d9e+0x42*0x10+-0x21b7)*(parseInt(_0x2371ed(0x301,_0x4b5a76._0x483460))/(0x683*-0x2+0x37b+0x331*0x3))+-parseInt(_0x3d6eb8(_0x4b5a76._0x2921ca,_0x4b5a76._0x1facaa))/(-0x1a7*0x2+0x1347+-0xff*0x10)+parseInt(_0x3d6eb8(_0x4b5a76._0x21aea4,0xa0))/(-0x15ab+0x1*-0x554+0x1b09);if(_0x5cb805===_0x5a6540)break;else _0x270aad['push'](_0x270aad['shift']());}catch(_0x576863){_0x270aad['push'](_0x270aad['shift']());}}}(_0x5465,-0xaabe2+0x46c84+0xd0188));import{readFileSync,writeFileSync,mkdirSync}from'node:fs';import{join}from'node:path';function _0x15de(_0x273492,_0x3938a2){_0x273492=_0x273492-(-0x58*-0x2c+0x2*0x10e7+0x9*-0x55d);const _0x89157d=_0x5465();let _0x4a544c=_0x89157d[_0x273492];if(_0x15de['QZENQF']===undefined){var _0x1dd6f3=function(_0x3440b3){const _0x282ae7='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x356258='',_0xaabdf6='';for(let _0x2da078=0x193e+-0x1d2c+-0x2*-0x1f7,_0x309a41,_0x3c177e,_0xc8c3be=0x2223+-0x1c2b+-0x4*0x17e;_0x3c177e=_0x3440b3['charAt'](_0xc8c3be++);~_0x3c177e&&(_0x309a41=_0x2da078%(-0x248d*0x1+0x2562+-0x13*0xb)?_0x309a41*(0x7f8+0x1e59+-0x2611)+_0x3c177e:_0x3c177e,_0x2da078++%(-0x8f1+0x725+0x1d0))?_0x356258+=String['fromCharCode'](0x1d*0x2+-0x3*0xa9f+0x20a2&_0x309a41>>(-(-0x47*0x4+0x155*0x5+0x58b*-0x1)*_0x2da078&-0xb*0x273+-0x40b+-0x15*-0x17a)):0x9*-0x1b7+0x1*0x166e+-0x6ff){_0x3c177e=_0x282ae7['indexOf'](_0x3c177e);}for(let _0x75b9bf=0xec*-0x1e+-0x1*0x17f9+0x33a1,_0x2b206d=_0x356258['length'];_0x75b9bf<_0x2b206d;_0x75b9bf++){_0xaabdf6+='%'+('00'+_0x356258['charCodeAt'](_0x75b9bf)['toString'](-0x2197+-0xb5*-0x1f+0xbbc))['slice'](-(0x449+0x1e32+-0x2279));}return decodeURIComponent(_0xaabdf6);};_0x15de['DWTNcy']=_0x1dd6f3,_0x15de['pEjcqI']={},_0x15de['QZENQF']=!![];}const _0x41e40d=_0x89157d[0x100c+0x364+-0x137*0x10],_0x2041a2=_0x273492+_0x41e40d,_0x3404f3=_0x15de['pEjcqI'][_0x2041a2];return!_0x3404f3?(_0x4a544c=_0x15de['DWTNcy'](_0x4a544c),_0x15de['pEjcqI'][_0x2041a2]=_0x4a544c):_0x4a544c=_0x3404f3,_0x4a544c;}import{homedir}from'node:os';const _0x44835a={};_0x44835a[_0x58e0b8(0x156,0x173)+'ode']=_0x5be677(0x256,0x269)+_0x5be677(0x26b,0x277);const DEFAULT_CONFIG=_0x44835a,VALID_SCAN_MODES=[_0x58e0b8(0x14d,0x145)+_0x5be677(0x26b,0x255),_0x5be677(0x245,0x248)+'ve','manua'+'l'];function getConfigDir(){const _0x2bd302={_0x57f436:0x2d3};function _0x3b3089(_0x13d46a,_0x5c312c){return _0x5be677(_0x13d46a- -0x535,_0x5c312c);}const _0x5ffa68={'bcTLN':function(_0x54e384){return _0x54e384();}};return join(_0x5ffa68['bcTLN'](homedir),'.kira'+_0x3b3089(-0x2f2,-_0x2bd302._0x57f436));}function getConfigPath(){const _0x681530={_0x10c65f:0x31c,_0xca6ee7:0x2db,_0x527eeb:0x305},_0x1f9697={_0x511db4:0xd},_0x109a81={};function _0x428dd8(_0x35dc65,_0x106120){return _0x5be677(_0x106120-0xb4,_0x35dc65);}_0x109a81[_0x428dd8(0x32d,_0x681530._0x10c65f)]='confi'+_0x428dd8(_0x681530._0xca6ee7,0x2e9)+'n';function _0x434d7d(_0x412e66,_0x1e4a28){return _0x58e0b8(_0x412e66- -_0x1f9697._0x511db4,_0x1e4a28);}const _0xa683cd=_0x109a81;return join(getConfigDir(),_0xa683cd[_0x428dd8(_0x681530._0x527eeb,0x31c)]);}function _0x5465(){const _0x48b4dd=['quTQsee','CMvJDxi','BguUANm','v3PNCK8','zxjywva','zw1HAwW','wKvQD0C','Aw5JBhu','rxDqEfm','u3L3uLa','uNnXzMm','su5ADwO','zY5QC28','AfbgqM4','veDbtMW','B052Dg4','vKvMAK0','Devor2e','nJe0nZi1mePmDLfoBW','ndi3ndq3mhroqNDzuq','zwrvBNq','zNLeAvi','DKXsDvC','y29UzMK','z2LMEq','CgfYC2u','lwXPDgu','ww1kC0m','B24TC2e','qvrfrMe','r1zpt0y','odi2nfDiALPWqG','C3rYAw4','tvjtseC','ChjVzMK','qwLjsey','zgvZ','AezYCwm','nZqWmtmZu0v4DeHe','D2T4DNy','mKvfuKDjqG','ANz0rMG','DxrMltG','nfLhCg9trW','y1fmD3i','zxzLCNK','vMjPqM8','B2rL','AuTsDMu','r0DmA2q','C2L2zq','B2HAvw4','uM5gAuO','nde3odm4mKzICK5pBG','C2nHBK0','wfzRsuK','otCZzhPLsNHg','t1L2uui','mZK5nZm5nxPnDMXsza','y0zZDfq','AeXoAMW','rhL1u0W','mZi3nZi1ywPfDeTM','q0PizxO','qwXRCgu','C2TPCha','lwvKAxq'];_0x5465=function(){return _0x48b4dd;};return _0x5465();}export function loadConfig(){const _0xfd561e={_0x46898c:0xf5,_0x323404:0x206,_0x1bc616:0x21d,_0x5cc9c9:0x112,_0x4a29d3:0xfd,_0x4133b8:0x108,_0x36f7a5:0x1ee,_0x438cd2:0x11d,_0x555421:0x113,_0x1039bf:0x201,_0x3ae0da:0x1d9,_0x170487:0xee,_0x211fbe:0x106,_0x572929:0x1f1,_0xf415dc:0x225,_0xbbc435:0x1f6,_0x1fa83f:0x1e5,_0x1d0259:0x1f3,_0x5cfb04:0x214,_0x31e3fc:0x1f0,_0x37b937:0x1f0,_0x3eb78a:0x107,_0x1c6746:0x121,_0x13f97b:0x115,_0x292488:0x10f,_0x4e0565:0xf7,_0x17920b:0xfd};function _0x182a1c(_0x2e4771,_0x4e3e5b){return _0x5be677(_0x4e3e5b- -0x455,_0x2e4771);}function _0x1d8dc7(_0x53812d,_0x3acac8){return _0x5be677(_0x53812d- -0x14c,_0x3acac8);}const _0x5ae70b={'tENGa':function(_0x429522,_0x48a8f0,_0x459f70){return _0x429522(_0x48a8f0,_0x459f70);},'MRSHG':function(_0x5647b7){return _0x5647b7();},'yEaEA':_0x1d8dc7(0xf4,_0xfd561e._0x46898c)+'g.jso'+'n','dZNvG':function(_0x591c4d,_0x436d56,_0x260276,_0x5e0e00){return _0x591c4d(_0x436d56,_0x260276,_0x5e0e00);},'jvtFh':function(_0x3cf923){return _0x3cf923();},'AKjHA':_0x182a1c(-0x1f4,-0x202),'Alkpe':function(_0x322655,_0x56ed98){return _0x322655!==_0x56ed98;},'iKRve':_0x182a1c(-_0xfd561e._0x323404,-_0xfd561e._0x1bc616),'OYvQB':_0x1d8dc7(0xf8,_0xfd561e._0x5cc9c9),'erXYP':function(_0x531746,_0x55021d){return _0x531746===_0x55021d;},'hAnxD':_0x1d8dc7(_0xfd561e._0x4a29d3,_0xfd561e._0x4133b8)+'g','hLNjl':_0x182a1c(-_0xfd561e._0x36f7a5,-0x205),'fyDiR':'cJzfo'};try{if(_0x5ae70b[_0x1d8dc7(_0xfd561e._0x438cd2,_0xfd561e._0x555421)](_0x5ae70b[_0x182a1c(-_0xfd561e._0x1039bf,-0x1fc)],_0x5ae70b[_0x182a1c(-_0xfd561e._0x3ae0da,-0x1f3)])){const _0x49d900=_0x5ae70b[_0x1d8dc7(_0xfd561e._0x170487,0x100)](readFileSync,_0x5ae70b[_0x1d8dc7(_0xfd561e._0x211fbe,0xed)](getConfigPath),_0x5ae70b[_0x182a1c(-_0xfd561e._0x572929,-0x1e9)]),_0x5ee0d5=JSON['parse'](_0x49d900);if(_0x5ee0d5&&_0x5ae70b[_0x1d8dc7(0xe1,0xcf)](typeof _0x5ee0d5[_0x1d8dc7(_0xfd561e._0x555421,0x110)+_0x182a1c(-0x206,-0x1fd)],_0x5ae70b['hAnxD'])&&VALID_SCAN_MODES[_0x182a1c(-0x204,-_0xfd561e._0xf415dc)+'des'](_0x5ee0d5[_0x182a1c(-0x1f6,-_0xfd561e._0xbbc435)+_0x182a1c(-_0xfd561e._0x1fa83f,-0x1fd)])){const _0x3c1a30={};return _0x3c1a30[_0x182a1c(-_0xfd561e._0x1d0259,-0x1f6)+_0x182a1c(-_0xfd561e._0x5cfb04,-0x1fd)]=_0x5ee0d5[_0x1d8dc7(0x113,_0xfd561e._0x4a29d3)+'ode'],_0x3c1a30;}const _0x2db786={...DEFAULT_CONFIG};return _0x2db786;}else return _0x5ae70b[_0x182a1c(-0x233,-0x21b)](_0xcc3a69,_0x5ae70b[_0x182a1c(-_0xfd561e._0x31e3fc,-0x20b)](_0xeed618),_0x5ae70b['yEaEA']);}catch{if(_0x5ae70b['erXYP'](_0x5ae70b[_0x182a1c(-0x1d8,-_0xfd561e._0x37b937)],_0x5ae70b[_0x1d8dc7(0xf2,_0xfd561e._0x3eb78a)])){const _0x11fec4=_0x4aca91(),_0x24ca20={};_0x24ca20[_0x1d8dc7(_0xfd561e._0x1c6746,_0xfd561e._0x13f97b)+_0x1d8dc7(_0xfd561e._0x292488,_0xfd561e._0x4e0565)]=!![],_0x5ae70b['tENGa'](_0x42dd5c,_0x11fec4,_0x24ca20),_0x5ae70b['dZNvG'](_0x5d3574,_0x5ae70b['jvtFh'](_0x300fa9),_0x104748[_0x1d8dc7(_0xfd561e._0x17920b,0xef)+'gify'](_0xdeef6b,null,-0x14cd+0x1*0x61f+-0x2*-0x758),_0x5ae70b['AKjHA']);}else{const _0x4a9d6f={...DEFAULT_CONFIG};return _0x4a9d6f;}}}export function saveConfig(_0x54eed1){const _0x389b92={_0x44fe0e:0x3fb,_0xa27b49:0x30a,_0x296273:0x3ff},_0x3f27e2={'IqKBl':function(_0xa4d72f){return _0xa4d72f();},'TGANl':function(_0x20bdba,_0x46cccb,_0xc4e0b5){return _0x20bdba(_0x46cccb,_0xc4e0b5);},'cQLwr':function(_0xd3020f,_0x5dfe7b,_0x1f5611,_0x5468b9){return _0xd3020f(_0x5dfe7b,_0x1f5611,_0x5468b9);},'Rsqfc':function(_0x1e394f){return _0x1e394f();}},_0x2c45fd=_0x3f27e2['IqKBl'](getConfigDir);function _0x1c9acb(_0x14ff89,_0x139832){return _0x58e0b8(_0x139832-0x2b8,_0x14ff89);}function _0x1bce48(_0x115e57,_0x1d88d6){return _0x5be677(_0x115e57-0xcc,_0x1d88d6);}const _0x4d927c={};_0x4d927c['recur'+'sive']=!![],_0x3f27e2[_0x1c9acb(_0x389b92._0x44fe0e,0x3e6)](mkdirSync,_0x2c45fd,_0x4d927c),_0x3f27e2[_0x1bce48(0x321,0x317)](writeFileSync,_0x3f27e2[_0x1bce48(0x2ff,_0x389b92._0xa27b49)](getConfigPath),JSON[_0x1c9acb(0x40e,0x3f8)+'gify'](_0x54eed1,null,0xd6c+0x2e7*0xc+-0xd*0x3b6),_0x1c9acb(_0x389b92._0x296273,0x402));}function getProfilePath(){const _0x1851ed={_0x3c8c66:0x37,_0x1b2ab0:0x1a8,_0x559338:0x192,_0x134db0:0x6b,_0xcd0dc6:0x75},_0x4963d8={_0x1bd72b:0x4d},_0x1d7a2e={'cFstT':function(_0xecc772,_0x100294,_0x27680b){return _0xecc772(_0x100294,_0x27680b);},'IobUV':function(_0x40ad9c){return _0x40ad9c();},'GVOOF':_0x1eba7d(-0x67,-0x56)+_0x1eba7d(-0x44,-_0x1851ed._0x3c8c66)+'on'};function _0xe0d016(_0x1651a0,_0x456bfa){return _0x58e0b8(_0x1651a0-_0x4963d8._0x1bd72b,_0x456bfa);}function _0x1eba7d(_0x234158,_0x48eaae){return _0x5be677(_0x234158- -0x2b2,_0x48eaae);}return _0x1d7a2e[_0xe0d016(_0x1851ed._0x1b2ab0,_0x1851ed._0x559338)](join,_0x1d7a2e['IobUV'](getConfigDir),_0x1d7a2e[_0x1eba7d(-_0x1851ed._0x134db0,-_0x1851ed._0xcd0dc6)]);}function _0x58e0b8(_0x47d67a,_0x1be757){return _0x15de(_0x47d67a-0x7b,_0x1be757);}function _0x5be677(_0x5a76a0,_0x5ba54d){return _0x15de(_0x5a76a0-0x184,_0x5ba54d);}export function loadProfile(){const _0x359323={_0x40a7d3:0x4a6,_0x15ffd5:0x4a0,_0x20c8f0:0x49c,_0x20f143:0x49d,_0x4c9a9f:0x291,_0x5edb7a:0x299,_0x4aba37:0x277,_0x1797f8:0x27f,_0x159182:0x2ba,_0xdb316d:0x2bd,_0x43e50b:0x47e,_0xbf2cfd:0x2a4,_0xeb2ff0:0x297,_0x5eea2b:0x499,_0x51f12:0x481,_0x2c63d8:0x482,_0x59120d:0x2b5,_0x2ee9d0:0x479,_0x4860d8:0x48f,_0x42a761:0x291,_0x4efcd6:0x4bd,_0x268b66:0x4a1,_0x398a1b:0x2b5,_0x27c544:0x288,_0x2c5300:0x298,_0x2994e:0x2a7,_0xe8375:0x278,_0x20e7e0:0x28d,_0x40c6dd:0x484,_0x192843:0x490,_0x151497:0x2b5,_0x3b9d9c:0x484,_0x1a85fa:0x4a0,_0x3a7a88:0x2b6,_0x3fa59c:0x495,_0x117062:0x286,_0x361fdd:0x2c4,_0x460572:0x2a2,_0x2c1340:0x483,_0xb4e2f9:0x47b,_0x5496bc:0x2b1,_0x7c5656:0x298,_0x2a2904:0x28a,_0x3fd43d:0x2aa,_0x824208:0x4ab,_0x18ebe2:0x2a3,_0xb3f57f:0x2a3},_0x261b00={'ohZUn':function(_0x5dc832){return _0x5dc832();},'WzgrO':_0x157dc8(_0x359323._0x40a7d3,_0x359323._0x15ffd5),'SywRP':function(_0x233c70,_0x13bbc7){return _0x233c70===_0x13bbc7;},'EwPxS':function(_0x1ca4c7,_0x34af9f){return _0x1ca4c7===_0x34af9f;},'VbiBo':_0x157dc8(_0x359323._0x20c8f0,_0x359323._0x20f143)+'g','GGLkd':function(_0x2dd7ae,_0xf7d818,_0x3edcc0){return _0x2dd7ae(_0xf7d818,_0x3edcc0);},'ZEjwG':function(_0x5a0f84){return _0x5a0f84();},'RnFiJ':function(_0x2fa8da,_0x4a5957,_0x4a5422){return _0x2fa8da(_0x4a5957,_0x4a5422);},'VEfjM':_0x1c9d37(_0x359323._0x4c9a9f,0x297),'ATEFa':'GXsPk','hPFBn':_0x1c9d37(0x281,_0x359323._0x5edb7a),'DyuSL':_0x1c9d37(_0x359323._0x4aba37,_0x359323._0x1797f8)};function _0x157dc8(_0x24e3c9,_0x46e3f2){return _0x58e0b8(_0x24e3c9-0x35c,_0x46e3f2);}function _0x1c9d37(_0x2a8df2,_0x2762c9){return _0x5be677(_0x2762c9-0x4b,_0x2a8df2);}try{const _0x36899f=_0x261b00[_0x157dc8(0x4b0,0x4cc)](readFileSync,getProfilePath(),_0x261b00[_0x1c9d37(0x2d5,_0x359323._0x159182)]),_0x3e3a8f=JSON['parse'](_0x36899f),_0x180201={};if(_0x3e3a8f&&_0x261b00[_0x1c9d37(0x299,0x27d)](typeof _0x3e3a8f[_0x1c9d37(0x275,0x279)],_0x261b00[_0x1c9d37(_0x359323._0xdb316d,0x2a2)])){if(_0x261b00[_0x157dc8(0x484,_0x359323._0x43e50b)](_0x261b00[_0x1c9d37(_0x359323._0xbf2cfd,0x284)],_0x1c9d37(0x27c,_0x359323._0xeb2ff0)))_0x180201[_0x157dc8(0x481,_0x359323._0x5eea2b)]=_0x3e3a8f[_0x157dc8(_0x359323._0x51f12,_0x359323._0x2c63d8)];else return{};}if(_0x3e3a8f&&typeof _0x3e3a8f[_0x1c9d37(0x2c6,_0x359323._0x59120d)+_0x157dc8(0x490,_0x359323._0x2ee9d0)+'il']===_0x261b00[_0x157dc8(0x4aa,_0x359323._0x4860d8)]){if(_0x261b00[_0x1c9d37(0x29b,_0x359323._0x42a761)]!==_0x261b00[_0x157dc8(0x489,0x49d)])_0x180201[_0x157dc8(_0x359323._0x4efcd6,_0x359323._0x268b66)+'edUnt'+'il']=_0x3e3a8f[_0x1c9d37(0x2ae,_0x359323._0x398a1b)+_0x1c9d37(0x297,_0x359323._0x27c544)+'il'];else{const _0x5eee57=_0x13301d(_0x261b00[_0x1c9d37(_0x359323._0x2c5300,_0x359323._0x2994e)](_0x5a3281),_0x261b00['WzgrO']),_0x5a8b45=_0x11858c[_0x1c9d37(_0x359323._0xe8375,_0x359323._0x20e7e0)](_0x5eee57),_0x5232f0={};return _0x5a8b45&&_0x261b00[_0x157dc8(0x485,_0x359323._0x20f143)](typeof _0x5a8b45['email'],_0x157dc8(0x49c,0x47f)+'g')&&(_0x5232f0[_0x157dc8(0x481,0x462)]=_0x5a8b45['email']),_0x5a8b45&&_0x261b00[_0x157dc8(_0x359323._0x40c6dd,_0x359323._0x20f143)](typeof _0x5a8b45[_0x157dc8(0x4bd,0x4cf)+_0x157dc8(_0x359323._0x192843,0x493)+'il'],_0x261b00['VbiBo'])&&(_0x5232f0['skipp'+_0x157dc8(0x490,0x49b)+'il']=_0x5a8b45[_0x1c9d37(0x2d5,_0x359323._0x151497)+'edUnt'+'il']),_0x5232f0;}}return _0x180201;}catch{if(_0x261b00[_0x157dc8(_0x359323._0x3b9d9c,_0x359323._0x1a85fa)](_0x261b00[_0x1c9d37(0x2c6,0x2b1)],_0x261b00[_0x1c9d37(_0x359323._0x3a7a88,0x2b1)]))return{};else try{const _0x198ebb=_0x261b00[_0x1c9d37(0x2c2,0x2a5)](_0x1b60fa,_0x261b00[_0x1c9d37(0x26a,0x27a)](_0x4f625c),_0x261b00['WzgrO']),_0x4faa64=_0x24c68e[_0x157dc8(_0x359323._0x3fa59c,0x49d)](_0x198ebb);if(_0x4faa64&&_0x261b00[_0x1c9d37(0x291,0x27d)](typeof _0x4faa64[_0x1c9d37(0x2aa,0x2aa)+_0x1c9d37(_0x359323._0x117062,0x2a3)],_0x261b00[_0x1c9d37(_0x359323._0x361fdd,_0x359323._0x460572)])&&_0x386829[_0x157dc8(_0x359323._0x2c1340,_0x359323._0xb4e2f9)+_0x1c9d37(_0x359323._0x5496bc,_0x359323._0x7c5656)](_0x4faa64[_0x1c9d37(_0x359323._0x2a2904,_0x359323._0x3fd43d)+_0x157dc8(_0x359323._0x824208,0x4ae)])){const _0x190c7c={};return _0x190c7c['scanM'+_0x1c9d37(0x2b3,_0x359323._0x18ebe2)]=_0x4faa64[_0x157dc8(0x4b2,0x4c7)+_0x1c9d37(0x2a6,_0x359323._0xb3f57f)],_0x190c7c;}const _0x5c7365={..._0x1ed3ae};return _0x5c7365;}catch{const _0x52bc88={..._0x2eae88};return _0x52bc88;}}}export function saveProfile(_0x3fa1f2){const _0x41e573={_0xbc7185:0x121,_0x4c7cd7:0x120,_0x3aabc2:0x10a,_0x4a1c2c:0x112,_0x2febe4:0x102,_0x2549f4:0x100,_0xa40481:0xeb},_0x23182b={_0x33cb53:0x208},_0x458d50={'XVkII':function(_0x50f55c){return _0x50f55c();},'vLRuW':'utf-8'},_0x1d8f2c=getConfigDir();function _0x3b2bab(_0x110c71,_0x10da38){return _0x5be677(_0x110c71- -_0x23182b._0x33cb53,_0x10da38);}const _0x2c2400={};_0x2c2400['recur'+'sive']=!![];function _0x3f88fe(_0xb1a153,_0xf23e44){return _0x5be677(_0xb1a153- -0x13f,_0xf23e44);}mkdirSync(_0x1d8f2c,_0x2c2400),writeFileSync(_0x458d50[_0x3f88fe(_0x41e573._0xbc7185,_0x41e573._0x4c7cd7)](getProfilePath),JSON[_0x3f88fe(_0x41e573._0x3aabc2,_0x41e573._0x4a1c2c)+_0x3f88fe(_0x41e573._0x2febe4,0x120)](_0x3fa1f2,null,-0x12*-0x96+0xbe8+0x1672*-0x1),_0x458d50[_0x3f88fe(_0x41e573._0x2549f4,_0x41e573._0xa40481)]);}
|
|
1
|
+
function _0x31fb94(_0x2122fe,_0x15b3a0){const _0x46ddd6={_0x261ffc:0x15b};return _0x1dfe(_0x15b3a0-_0x46ddd6._0x261ffc,_0x2122fe);}(function(_0x13f73f,_0x356878){const _0x224fb0={_0x55ea28:0x4d6,_0x1d0319:0x4ce,_0x2f111e:0x4bb,_0x16a99b:0x4b6,_0x17478a:0x36,_0x1ad6fa:0x4d7,_0xe747d8:0x4e2,_0x4d9c1a:0x3f,_0x505e07:0x33,_0x4d6ca5:0x1e},_0x2a0ce8={_0x432d82:0x38d};function _0x45a5ea(_0x29f6ad,_0x255542){return _0x1dfe(_0x29f6ad-_0x2a0ce8._0x432d82,_0x255542);}function _0x55334c(_0x2a25cf,_0x2f1552){return _0x1dfe(_0x2f1552- -0x115,_0x2a25cf);}const _0x5cce62=_0x13f73f();while(!![]){try{const _0x40b660=-parseInt(_0x45a5ea(0x4dc,_0x224fb0._0x55ea28))/(0x1ffa*-0x1+-0x2*-0x12b+-0x1da5*-0x1)*(parseInt(_0x45a5ea(0x4c8,0x4d3))/(0xa1*0x4+0x779*0x1+-0x9fb))+parseInt(_0x45a5ea(_0x224fb0._0x1d0319,0x4ca))/(-0x24cd*0x1+-0x24c0+-0x932*-0x8)*(parseInt(_0x45a5ea(0x4ba,0x4bb))/(-0x1d89+0x2466+-0x6d9))+-parseInt(_0x45a5ea(_0x224fb0._0x2f111e,_0x224fb0._0x16a99b))/(0x1*0xce9+-0x1a67+0xd83)+parseInt(_0x55334c(0x30,_0x224fb0._0x17478a))/(-0x10a5*-0x1+0x26c5+-0x3764)*(parseInt(_0x45a5ea(_0x224fb0._0x1ad6fa,_0x224fb0._0xe747d8))/(-0x26bc+0x44+0x267f))+-parseInt(_0x55334c(0x31,0x25))/(0x283+-0x6b1*0x1+0x436)*(-parseInt(_0x55334c(0x36,_0x224fb0._0x4d9c1a))/(-0x1b90+-0x246d*-0x1+-0x8d4*0x1))+parseInt(_0x55334c(0x40,_0x224fb0._0x505e07))/(0x1*-0x1e8f+-0x241*-0x5+0x1354)+-parseInt(_0x45a5ea(0x4cf,0x4b6))/(-0x1*0x1eac+-0x2380+-0x43*-0xfd)*(parseInt(_0x55334c(0x2e,_0x224fb0._0x4d6ca5))/(0x115*-0xd+0xc0*-0x3+0x47*0x3b));if(_0x40b660===_0x356878)break;else _0x5cce62['push'](_0x5cce62['shift']());}catch(_0x197730){_0x5cce62['push'](_0x5cce62['shift']());}}}(_0x2dd6,0x4f5*-0x11b+0x83f13+0x3*0x83f2));function _0x2c1161(_0x256735,_0x3f7f30){return _0x1dfe(_0x256735-0x9e,_0x3f7f30);}import{readFileSync,writeFileSync,mkdirSync}from'node:fs';function _0x1dfe(_0x46dcb3,_0x3060c1){_0x46dcb3=_0x46dcb3-(-0x2459+-0xd04+0x327e);const _0x1ced18=_0x2dd6();let _0x4929da=_0x1ced18[_0x46dcb3];if(_0x1dfe['FqLWQX']===undefined){var _0x4a153f=function(_0x4c2c4f){const _0x235657='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x561a9f='',_0x5e3ca9='';for(let _0x24ecec=0x11*0xff+0x14a4+-0x2593,_0x204a19,_0x2953e9,_0x7cbff9=-0x1*-0x12+-0x2618+0x2606;_0x2953e9=_0x4c2c4f['charAt'](_0x7cbff9++);~_0x2953e9&&(_0x204a19=_0x24ecec%(0x1*-0x150b+0x481+0x108e)?_0x204a19*(0x17c3+0x1*0xcdb+0x31*-0xbe)+_0x2953e9:_0x2953e9,_0x24ecec++%(0x4*0x43f+-0x1b59+-0x1*-0xa61))?_0x561a9f+=String['fromCharCode'](0x3*-0xf4+-0x6d3*0x2+0x1181&_0x204a19>>(-(0xedc+-0x260d+0x1733)*_0x24ecec&0x89+0x10*-0xf8+0x3*0x4ff)):-0x98a*-0x2+0x2461+-0x1*0x3775){_0x2953e9=_0x235657['indexOf'](_0x2953e9);}for(let _0x7e8617=0x3*-0x174+-0x2e8+0x744,_0x5cfe39=_0x561a9f['length'];_0x7e8617<_0x5cfe39;_0x7e8617++){_0x5e3ca9+='%'+('00'+_0x561a9f['charCodeAt'](_0x7e8617)['toString'](0x2173+0xb2b+0x1647*-0x2))['slice'](-(0x26d2+-0x7cf*-0x1+0x5*-0x953));}return decodeURIComponent(_0x5e3ca9);};_0x1dfe['VNVBvG']=_0x4a153f,_0x1dfe['hneKGv']={},_0x1dfe['FqLWQX']=!![];}const _0x5c7577=_0x1ced18[-0x1dcb+0x139*-0xb+0x2b3e],_0xb6bd28=_0x46dcb3+_0x5c7577,_0x2b64cc=_0x1dfe['hneKGv'][_0xb6bd28];return!_0x2b64cc?(_0x4929da=_0x1dfe['VNVBvG'](_0x4929da),_0x1dfe['hneKGv'][_0xb6bd28]=_0x4929da):_0x4929da=_0x2b64cc,_0x4929da;}import{join}from'node:path';import{homedir}from'node:os';const _0x162038={};_0x162038[_0x2c1161(0x1e2,0x1d3)+_0x31fb94(0x28c,0x27e)]=_0x2c1161(0x1e3,0x1e4)+'-edit';const DEFAULT_CONFIG=_0x162038,VALID_SCAN_MODES=[_0x2c1161(0x1e3,0x1ec)+_0x2c1161(0x1c9,0x1cb),'on-sa'+'ve','manua'+'l'];function getConfigDir(){const _0x32dacd={_0x1bdf05:0x38c,_0x212e73:0x367,_0x137857:0x378},_0x22fae1={_0x5f5d85:0x14b},_0xf5bf29={'BRenu':function(_0x2ed457,_0x5d6faf,_0x4b4df1){return _0x2ed457(_0x5d6faf,_0x4b4df1);},'Gtizn':function(_0x19b39d){return _0x19b39d();},'zgrIo':_0x313c33(0x390,_0x32dacd._0x1bdf05)+'-lite'};function _0x313c33(_0x465598,_0x5b78e3){return _0x31fb94(_0x465598,_0x5b78e3-0xf8);}function _0x489dd2(_0x5d4aa8,_0x4c3d51){return _0x31fb94(_0x5d4aa8,_0x4c3d51- -_0x22fae1._0x5f5d85);}return _0xf5bf29[_0x313c33(0x38f,0x374)](join,_0xf5bf29[_0x489dd2(0x128,0x136)](homedir),_0xf5bf29[_0x313c33(_0x32dacd._0x212e73,_0x32dacd._0x137857)]);}function getConfigPath(){const _0x42b445={_0x3d3650:0x15f,_0x36776e:0x378,_0x483b91:0x383,_0x316455:0x369,_0x360da5:0x36f,_0x21a2c3:0x375},_0x20c170={_0x217dae:0xdd};function _0x58d22c(_0x5c4b17,_0x24a924){return _0x31fb94(_0x24a924,_0x5c4b17-_0x20c170._0x217dae);}const _0x378662={'INCtr':function(_0x492744,_0x269128,_0x4a97db){return _0x492744(_0x269128,_0x4a97db);},'lUZPB':function(_0x3650a2){return _0x3650a2();},'vsggX':_0x819d49(-_0x42b445._0x3d3650,-0x14e)+_0x58d22c(_0x42b445._0x36776e,_0x42b445._0x483b91)+'n'};function _0x819d49(_0x54e6bd,_0x315824){return _0x2c1161(_0x54e6bd- -0x33a,_0x315824);}return _0x378662[_0x58d22c(0x37e,_0x42b445._0x316455)](join,_0x378662[_0x819d49(-0x16b,-0x155)](getConfigDir),_0x378662[_0x58d22c(_0x42b445._0x360da5,_0x42b445._0x21a2c3)]);}export function loadConfig(){const _0x2f5718={_0x4f564e:0x26d,_0x169f5f:0x156,_0x39c214:0x29e,_0x9f5a7b:0x29f,_0x4c3050:0x149,_0x2f7b5c:0x16d,_0x27ff9a:0x126,_0x56283f:0x28a,_0x3dff96:0x16e,_0x37c991:0x279,_0x5cae3f:0x28a,_0x4ff425:0x12e},_0xb63398={_0x3c457b:0x325},_0x47202f={_0x551814:0x15};function _0x32e910(_0x2f87bc,_0x75d440){return _0x31fb94(_0x2f87bc,_0x75d440- -_0x47202f._0x551814);}function _0x43997b(_0x1655fb,_0xa96cab){return _0x2c1161(_0xa96cab- -_0xb63398._0x3c457b,_0x1655fb);}const _0x2b1461={'jRCet':function(_0x16e9e1,_0x1fb8ab,_0x590591){return _0x16e9e1(_0x1fb8ab,_0x590591);},'CuawS':_0x32e910(_0x2f5718._0x4f564e,0x27f)+'-lite','PfePz':function(_0x1991ad,_0x50026c,_0xef3253){return _0x1991ad(_0x50026c,_0xef3253);},'tdQHD':function(_0x546b2e){return _0x546b2e();},'crdns':_0x43997b(-0x169,-0x158),'cryQV':function(_0x51f07d,_0x75701c){return _0x51f07d===_0x75701c;},'MtOjt':_0x43997b(-_0x2f5718._0x169f5f,-0x14b)+'g'};try{const _0x2bf07d=_0x2b1461[_0x32e910(0x283,0x278)](readFileSync,_0x2b1461[_0x32e910(0x2a3,0x289)](getConfigPath),_0x2b1461['crdns']),_0x47833b=JSON['parse'](_0x2bf07d);if(_0x47833b&&_0x2b1461[_0x32e910(0x2b3,_0x2f5718._0x39c214)](typeof _0x47833b[_0x32e910(_0x2f5718._0x9f5a7b,0x28a)+_0x32e910(0x265,0x269)],_0x2b1461[_0x43997b(-0x163,-_0x2f5718._0x4c3050)])&&VALID_SCAN_MODES[_0x43997b(-_0x2f5718._0x2f7b5c,-0x151)+_0x43997b(-_0x2f5718._0x27ff9a,-0x131)](_0x47833b[_0x32e910(0x28d,_0x2f5718._0x56283f)+_0x43997b(-_0x2f5718._0x3dff96,-0x164)])){if(_0x32e910(0x2b7,0x29d)!==_0x43997b(-0x146,-0x15d)){const _0x2766ba={};return _0x2766ba['scanM'+'ode']=_0x47833b[_0x32e910(_0x2f5718._0x37c991,_0x2f5718._0x5cae3f)+'ode'],_0x2766ba;}else return _0x2b1461[_0x43997b(-0x14e,-0x15f)](_0x1320d3,_0x408289(),_0x2b1461[_0x43997b(-_0x2f5718._0x4ff425,-0x13e)]);}const _0x203c4e={...DEFAULT_CONFIG};return _0x203c4e;}catch{const _0x1be211={...DEFAULT_CONFIG};return _0x1be211;}}export function saveConfig(_0x2940d9){const _0x4c3db1={_0x3c0809:0x77,_0x4b1f14:0x68,_0x541214:0x5e,_0x11a32d:0x2f,_0x174eaa:0x7d,_0x391cbf:0x66,_0x41b4bd:0x2a,_0x54cc10:0x3},_0x3e8847={_0x4cd3c4:0x1c2},_0xf4f398={'aCPrm':function(_0x553626){return _0x553626();},'uArDQ':function(_0x4a10c2,_0x40d9dc,_0x387b1c){return _0x4a10c2(_0x40d9dc,_0x387b1c);}},_0x27bc2a=_0xf4f398[_0x5ea8d0(0x72,_0x4c3db1._0x3c0809)](getConfigDir);function _0x4e46b7(_0x38c964,_0x5be089){return _0x2c1161(_0x38c964- -_0x3e8847._0x4cd3c4,_0x5be089);}function _0x5ea8d0(_0x445a3,_0x572f66){return _0x2c1161(_0x572f66- -0x174,_0x445a3);}const _0xee5db3={};_0xee5db3[_0x5ea8d0(_0x4c3db1._0x4b1f14,0x71)+_0x5ea8d0(0x75,_0x4c3db1._0x541214)]=!![],_0xf4f398[_0x4e46b7(_0x4c3db1._0x11a32d,0x1f)](mkdirSync,_0x27bc2a,_0xee5db3),writeFileSync(getConfigPath(),JSON[_0x5ea8d0(_0x4c3db1._0x174eaa,_0x4c3db1._0x391cbf)+_0x4e46b7(_0x4c3db1._0x41b4bd,0x2f)](_0x2940d9,null,0x19*0x98+-0x68f+-0xd*0xa3),_0x4e46b7(0xb,-_0x4c3db1._0x54cc10));}function getProfilePath(){const _0x453c93={_0x59bc92:0x3ca,_0x46bca3:0x3e4};function _0x4a32b9(_0x2170e5,_0x1e7fb1){return _0x31fb94(_0x1e7fb1,_0x2170e5-0x13a);}function _0x2430ed(_0x33abc5,_0x15ddb4){return _0x31fb94(_0x15ddb4,_0x33abc5- -0x402);}const _0x1eabbb={'wIeSz':function(_0x4ab620,_0x2f0b76,_0xf60e20){return _0x4ab620(_0x2f0b76,_0xf60e20);},'mmPBJ':function(_0x42f00c){return _0x42f00c();}};return _0x1eabbb[_0x2430ed(-0x185,-0x192)](join,_0x1eabbb[_0x2430ed(-0x177,-0x17d)](getConfigDir),'profi'+_0x4a32b9(_0x453c93._0x59bc92,_0x453c93._0x46bca3)+'on');}export function loadProfile(){const _0x48b350={_0x103fa8:0x2a2,_0x2a40f8:0x28b,_0x505379:0x51a,_0x25b556:0x50c,_0x22c44c:0x291,_0x182add:0x506,_0x3dc796:0x4f4,_0x107177:0x2a7,_0xca04de:0x29c,_0x125300:0x2a3,_0x1309b8:0x4fa,_0x430f80:0x27d,_0x55185a:0x4e7,_0x37b18b:0x4e3,_0x3c4a26:0x4d3,_0x239480:0x4e8,_0x5b368f:0x508,_0x45a01b:0x2a3,_0x5b3ce9:0x289,_0x1200bd:0x27e};function _0x43a05a(_0x3d9a58,_0x264e6a){return _0x31fb94(_0x264e6a,_0x3d9a58- -0x9);}function _0x1dc968(_0x1e4045,_0x435a29){return _0x2c1161(_0x435a29-0x31e,_0x1e4045);}const _0x33f79a={'wdBTm':function(_0x174001,_0xb5167e){return _0x174001!==_0xb5167e;},'vHiOp':function(_0xc3a2f3,_0x3389cf,_0x2f9a93){return _0xc3a2f3(_0x3389cf,_0x2f9a93);},'gNDnd':function(_0x17abe7){return _0x17abe7();},'qfyLS':function(_0x105778,_0x47e7e9){return _0x105778===_0x47e7e9;},'SlovT':'strin'+'g','Ujlsk':function(_0x32720c,_0xca20a2){return _0x32720c===_0xca20a2;}};try{if(_0x33f79a['wdBTm'](_0x43a05a(_0x48b350._0x103fa8,_0x48b350._0x2a40f8),_0x1dc968(_0x48b350._0x505379,_0x48b350._0x25b556))){const _0xe7585e={..._0x4db99e};return _0xe7585e;}else{const _0x59a9e8=_0x33f79a[_0x43a05a(_0x48b350._0x22c44c,0x2a3)](readFileSync,_0x33f79a[_0x1dc968(_0x48b350._0x182add,_0x48b350._0x3dc796)](getProfilePath),'utf-8'),_0x4bed1b=JSON[_0x43a05a(0x2a4,0x2b1)](_0x59a9e8),_0x26407a={};return _0x4bed1b&&_0x33f79a[_0x43a05a(_0x48b350._0x107177,_0x48b350._0xca04de)](typeof _0x4bed1b[_0x1dc968(0x4f6,0x4e0)],_0x33f79a[_0x43a05a(_0x48b350._0x125300,0x2af)])&&(_0x26407a[_0x1dc968(_0x48b350._0x1309b8,0x4e0)]=_0x4bed1b[_0x43a05a(0x276,_0x48b350._0x430f80)]),_0x4bed1b&&_0x33f79a[_0x1dc968(_0x48b350._0x55185a,_0x48b350._0x37b18b)](typeof _0x4bed1b[_0x1dc968(_0x48b350._0x3c4a26,_0x48b350._0x239480)+_0x1dc968(0x518,_0x48b350._0x5b368f)+'il'],_0x33f79a[_0x43a05a(_0x48b350._0x45a01b,_0x48b350._0x5b3ce9)])&&(_0x26407a['skipp'+_0x1dc968(0x522,_0x48b350._0x5b368f)+'il']=_0x4bed1b[_0x43a05a(_0x48b350._0x1200bd,0x28d)+_0x43a05a(0x29e,0x28f)+'il']),_0x26407a;}}catch{return{};}}function _0x2dd6(){const _0x4a6a78=['C2L2zq','BguUANm','Aw5JBhu','DNnNz1G','z05eBMq','lMTPCMe','mta0mJi1nLrVDxzMtG','nJa2mZHIqxbXweG','C3rYAw4','y29UzMK','txrpANq','DKHPt3a','zY5QC28','ntuWnxL1v0zuvW','otaZmwfoqLrhzG','Dgrrseq','C2nHBK0','zxzLCNK','su5dDhi','CMvJDxi','nduWnJaXmgLRB3vTza','q3vHD1m','otfSu1r4tLC','mtG4mtq4tvvRswzy','zwrvBNq','yunqCM0','z2LMEq','mtfVvwHICKS','qM9osM8','u2XVDLq','CgfYC2u','DufYrfe','mtHcywTyrhe','Cwz5tfm','zgvZ','vuPStxK','y3j5uvy','qLjLBNu','D0LLu3O','B2rL','zw1HAwW','EMDYsw8','r3rPEM4','vwPSC2S','ALjdzxq','A1P5rgy','veDnwNu','lwvKAxq','C2TPCha','mZy0rg1PtgHK','mJm1odK2mgHtEMrxsG','DxrMltG','Bw1qqKO','BfvAuei','ugzLuhO','mJG5mMvcEe9HwG'];_0x2dd6=function(){return _0x4a6a78;};return _0x2dd6();}export function saveProfile(_0x3a4ff1){const _0x1f27c5={_0x45aab0:0xfc,_0x5d3e0c:0x256,_0x542836:0x256,_0x479890:0x274,_0x446564:0x264,_0x3b7f25:0x24d,_0xee592a:0x24f},_0x199a2e={_0x3aa652:0x4f8},_0x46243e={'kZyDf':function(_0xf0368d){return _0xf0368d();},'JHWlb':function(_0x40576f,_0xfb2080,_0xfb280c){return _0x40576f(_0xfb2080,_0xfb280c);}};function _0xae56af(_0x198f76,_0x396685){return _0x31fb94(_0x198f76,_0x396685- -_0x199a2e._0x3aa652);}const _0x3e8d40=_0x46243e[_0xdc2d14(-0xf5,-_0x1f27c5._0x45aab0)](getConfigDir);function _0xdc2d14(_0x42f5a2,_0x3d644f){return _0x2c1161(_0x42f5a2- -0x2bc,_0x3d644f);}const _0x2b1c5a={};_0x2b1c5a[_0xae56af(-0x26b,-_0x1f27c5._0x5d3e0c)+_0xae56af(-_0x1f27c5._0x542836,-0x269)]=!![],_0x46243e['JHWlb'](mkdirSync,_0x3e8d40,_0x2b1c5a),writeFileSync(_0x46243e[_0xae56af(-0x273,-_0x1f27c5._0x479890)](getProfilePath),JSON[_0xae56af(-_0x1f27c5._0x446564,-0x261)+_0xae56af(-_0x1f27c5._0x3b7f25,-_0x1f27c5._0xee592a)](_0x3a4ff1,null,0xd7+0x120e*-0x1+0x1139),'utf-8');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x46d940,_0x378362){const _0x3e4ffe={_0x5791b0:0x185,_0x903b6c:0x17f,_0x356959:0x171,_0x34d1a1:0x16e,_0x52cff4:0x160,_0x3eca1c:0x13d,_0x47be23:0x156,_0x4a6f24:0x157,_0x23f20f:0x163,_0x17c008:0x1af,_0x330d1f:0x1c8,_0x584a87:0x1cf},_0x45a331={_0xe205da:0x4f},_0x31a1ae={_0x528d47:0xd};function _0x279167(_0x26b46e,_0x2dc360){return _0xc02f(_0x2dc360- -_0x31a1ae._0x528d47,_0x26b46e);}const _0x3fe842=_0x46d940();function _0x9f62b6(_0x2b609b,_0x23d647){return _0xc02f(_0x23d647-_0x45a331._0xe205da,_0x2b609b);}while(!![]){try{const _0x59cf24=-parseInt(_0x279167(0x15f,_0x3e4ffe._0x5791b0))/(0x163b+-0x1098+-0x5a2)+-parseInt(_0x279167(_0x3e4ffe._0x903b6c,_0x3e4ffe._0x356959))/(-0xf*0x1d3+-0xe61+-0x20*-0x14e)*(-parseInt(_0x279167(_0x3e4ffe._0x34d1a1,_0x3e4ffe._0x52cff4))/(0x13ca+-0xa1b+0x2*-0x4d6))+-parseInt(_0x279167(_0x3e4ffe._0x3eca1c,0x166))/(-0xed2+0x9db*-0x1+0x15*0x12d)+parseInt(_0x279167(0x17a,_0x3e4ffe._0x47be23))/(-0x145b+0x25c0+-0x1160)*(parseInt(_0x279167(0x162,0x149))/(-0x12f*-0x6+-0x9*-0x40f+-0x3*0xe89))+parseInt(_0x279167(0x17f,_0x3e4ffe._0x4a6f24))/(-0x1dc3+0xc9*-0x1+0x1e93)+parseInt(_0x9f62b6(0x1e0,0x1c1))/(0x6*0x500+0x1*-0xb23+0x3*-0x647)*(-parseInt(_0x279167(_0x3e4ffe._0x23f20f,0x15b))/(-0x68*-0x41+-0x8f3+-0x116c))+parseInt(_0x9f62b6(_0x3e4ffe._0x17c008,_0x3e4ffe._0x330d1f))/(0x2568+-0x1a61+-0x61*0x1d)*(parseInt(_0x9f62b6(0x1b5,_0x3e4ffe._0x584a87))/(0x1049+0x3bf*-0x3+-0x501));if(_0x59cf24===_0x378362)break;else _0x3fe842['push'](_0x3fe842['shift']());}catch(_0x218985){_0x3fe842['push'](_0x3fe842['shift']());}}}(_0x3e62,-0x315ee+0x20eff+-0x8d*-0x6b5));import{runCommand,isToolAvailable}from'./runner.js';import{createRequire}from'node:module';function _0x4cb0fe(_0x431d5d,_0x1327e7){const _0x183b0f={_0x50fe5e:0x271};return _0xc02f(_0x431d5d- -_0x183b0f._0x50fe5e,_0x1327e7);}import{accessSync,constants}from'node:fs';function _0xc02f(_0x9c81a2,_0x18daec){_0x9c81a2=_0x9c81a2-(-0x1f4*0x5+0x261a*0x1+-0x1b0f);const _0x1f837e=_0x3e62();let _0x22e597=_0x1f837e[_0x9c81a2];if(_0xc02f['eUdcCl']===undefined){var _0x49f7bb=function(_0x298c86){const _0x24960f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x37703e='',_0xe44c0a='';for(let _0x33bf3f=0x1*-0x135d+0x94*-0x7+-0x1cd*-0xd,_0x4fd286,_0x4a4af7,_0x182482=-0x1d4d+0x57b*0x7+-0x74*0x14;_0x4a4af7=_0x298c86['charAt'](_0x182482++);~_0x4a4af7&&(_0x4fd286=_0x33bf3f%(-0xe83+0x105f+-0x76*0x4)?_0x4fd286*(-0x7a7+-0x566+0xd4d)+_0x4a4af7:_0x4a4af7,_0x33bf3f++%(-0x1cc+0x5*-0x5d5+0x1ef9))?_0x37703e+=String['fromCharCode'](0x224d*0x1+-0xb51*-0x1+-0x2c9f&_0x4fd286>>(-(-0x70a+-0x264f+0x2d5b*0x1)*_0x33bf3f&0x10*-0x245+-0x1*-0x91f+0x1*0x1b37)):0x3*-0x6f3+-0x16f8+0x2bd1){_0x4a4af7=_0x24960f['indexOf'](_0x4a4af7);}for(let _0x3155e3=0x26*0x5a+0xeb5+0x1df*-0xf,_0x3b5bdf=_0x37703e['length'];_0x3155e3<_0x3b5bdf;_0x3155e3++){_0xe44c0a+='%'+('00'+_0x37703e['charCodeAt'](_0x3155e3)['toString'](0x259d+0x227a+-0x4807))['slice'](-(-0x2575+-0x1*0x1747+0x3cbe));}return decodeURIComponent(_0xe44c0a);};_0xc02f['pfWgdx']=_0x49f7bb,_0xc02f['eCVixh']={},_0xc02f['eUdcCl']=!![];}const _0x1bc2dc=_0x1f837e[0xbe*-0x29+0x1943+0x52b],_0x1596b2=_0x9c81a2+_0x1bc2dc,_0x32c646=_0xc02f['eCVixh'][_0x1596b2];return!_0x32c646?(_0x22e597=_0xc02f['pfWgdx'](_0x22e597),_0xc02f['eCVixh'][_0x1596b2]=_0x22e597):_0x22e597=_0x32c646,_0x22e597;}const _0x3f2389={};function _0x44d116(_0x2cca03,_0x680e09){const _0x59e1a0={_0x4d9cc0:0x182};return _0xc02f(_0x2cca03- -_0x59e1a0._0x4d9cc0,_0x680e09);}_0x3f2389[_0x44d116(-0x6,-0x21)+'n-arm'+'64']=_0x4cb0fe(-0x11a,-0x117)+'ridse'+_0x4cb0fe(-0x107,-0x12e)+_0x4cb0fe(-0x10b,-0x102)+_0x4cb0fe(-0x112,-0x11e)+'win-a'+_0x44d116(0x18,0x1c),_0x3f2389[_0x44d116(-0x6,0x2)+'n-x64']=_0x44d116(-0x2b,-0x3d)+_0x4cb0fe(-0x11d,-0x122)+_0x44d116(-0x18,-0x31)+_0x44d116(-0x1c,-0x41)+_0x44d116(-0x23,-0x3c)+_0x44d116(-0x1,0xe)+'64',_0x3f2389['linux'+_0x44d116(0xa,0x2f)]=_0x44d116(-0x2b,-0x29)+'ridse'+_0x4cb0fe(-0x107,-0xf5)+'a-cor'+_0x4cb0fe(-0x114,-0x12c)+_0x44d116(-0xb,0xe)+'4',_0x3f2389[_0x44d116(-0x3b,-0x20)+'-arm6'+'4']=_0x4cb0fe(-0x11a,-0x10d)+'ridse'+_0x4cb0fe(-0x107,-0x122)+_0x4cb0fe(-0x10b,-0x103)+_0x44d116(-0x25,-0x7)+_0x4cb0fe(-0x11e,-0x128)+'m64',_0x3f2389['win32'+_0x4cb0fe(-0xe5,-0xf6)]='@offg'+_0x4cb0fe(-0x11d,-0x103)+_0x4cb0fe(-0x107,-0x114)+_0x4cb0fe(-0x10b,-0x134)+'e-win'+_0x44d116(-0x11,-0x16)+'4';const PLATFORM_PACKAGES=_0x3f2389;let resolvedBinaryPath;export function resolveKiraCoreBinary(){const _0x1e4234={_0xf5130:0x2a0,_0x890e78:0x294,_0x5adfd8:0x32e,_0x47bb3a:0x270,_0x3c2789:0x28c,_0x2c5caf:0x296,_0x3c4aee:0x34d,_0x1b3f16:0x326,_0x4895a6:0x279,_0x2e39e6:0x2ea,_0x11592f:0x2e1,_0x308bba:0x340,_0x1f1915:0x32b,_0x34f05e:0x2a0,_0x18caa8:0x282,_0x585e04:0x2eb,_0x3c273d:0x313,_0x225067:0x2f6},_0x296c63={_0x19009b:0x31a},_0x53d370={'ZVMyX':function(_0x353b1f,_0x336dc9){return _0x353b1f!==_0x336dc9;},'BxviL':_0x3e71e2(-_0x1e4234._0xf5130,-_0x1e4234._0x890e78),'yguFu':function(_0xa0dbcb,_0x2b6641){return _0xa0dbcb(_0x2b6641);},'KCnlp':_0x7ea66f(0x346,_0x1e4234._0x5adfd8),'bxEeg':function(_0x44bd29,_0x4d3421){return _0x44bd29|_0x4d3421;},'DFfuN':function(_0x59de01,_0x12808c,_0x291aa8){return _0x59de01(_0x12808c,_0x291aa8);}};function _0x3e71e2(_0x35cbf1,_0x384ae0){return _0x4cb0fe(_0x384ae0- -0x16d,_0x35cbf1);}if(_0x53d370['ZVMyX'](resolvedBinaryPath,undefined))return resolvedBinaryPath;const _0x20025c=process[_0x3e71e2(-_0x1e4234._0x47bb3a,-_0x1e4234._0x3c2789)+_0x3e71e2(-0x27a,-_0x1e4234._0x2c5caf)]+'-'+process[_0x7ea66f(0x351,0x32d)];function _0x7ea66f(_0x32b000,_0x4e8f8a){return _0x44d116(_0x4e8f8a-_0x296c63._0x19009b,_0x32b000);}const _0x2aa76a=PLATFORM_PACKAGES[_0x20025c];if(!_0x2aa76a)return _0x53d370[_0x7ea66f(_0x1e4234._0x3c4aee,_0x1e4234._0x1b3f16)](_0x53d370[_0x3e71e2(-_0x1e4234._0x4895a6,-0x273)],_0x53d370['BxviL'])?(_0xc19139=null,null):(resolvedBinaryPath=null,null);try{const _0x30de45=_0x53d370[_0x7ea66f(0x329,0x32c)](createRequire,import.meta.url),_0x28f740=_0x53d370[_0x3e71e2(-0x264,-0x24a)](_0x30de45,_0x2aa76a),_0x446123=process[_0x7ea66f(0x2e7,_0x1e4234._0x2e39e6)+_0x7ea66f(_0x1e4234._0x11592f,0x2e0)]===_0x53d370[_0x7ea66f(_0x1e4234._0x308bba,_0x1e4234._0x1f1915)]?constants[_0x3e71e2(-_0x1e4234._0x34f05e,-_0x1e4234._0x18caa8)]:_0x53d370[_0x3e71e2(-0x279,-0x25b)](constants[_0x7ea66f(0x30f,0x2f4)],constants[_0x7ea66f(_0x1e4234._0x585e04,0x2e8)]);return _0x53d370[_0x7ea66f(_0x1e4234._0x3c273d,_0x1e4234._0x225067)](accessSync,_0x28f740,_0x446123),resolvedBinaryPath=_0x28f740,_0x28f740;}catch{return resolvedBinaryPath=null,null;}}export async function checkKiraCoreAvailable(){const _0x245072={_0x2fafc8:0x19c,_0x349a6f:0x87,_0x81393:0x6f,_0x3520ef:0x54},_0x7da93a={_0x5750f9:0x17e},_0x2598b7={_0x1c343b:0x1a4},_0x452afa={'hMzLI':function(_0x4a9625,_0x16549b){return _0x4a9625!==_0x16549b;},'cTeGW':function(_0x51c1d4,_0x264a1f){return _0x51c1d4(_0x264a1f);},'DOsfb':_0x257b0a(_0x245072._0x2fafc8,0x1be)+'core'};function _0x257b0a(_0x3142c6,_0xc1d39a){return _0x44d116(_0x3142c6-_0x2598b7._0x1c343b,_0xc1d39a);}if(_0x452afa[_0x27b33e(0x93,_0x245072._0x349a6f)](resolveKiraCoreBinary(),null))return!![];function _0x27b33e(_0x5f549b,_0x333a33){return _0x4cb0fe(_0x5f549b-_0x7da93a._0x5750f9,_0x333a33);}return _0x452afa[_0x27b33e(_0x245072._0x81393,_0x245072._0x3520ef)](isToolAvailable,_0x452afa[_0x27b33e(0x9a,0x98)]);}function _0x3e62(){const _0x32c7fa=['wf9psW','zMXrzgu','CgXHDgy','DxGTyxi','CMLKC2u','yKTHzgu','mty4nNHWwK9tBq','qg9MzMC','CvPUvfa','BwfW','yxzHAwW','zwrmAw4','rL9psW','zs1SAw4','rezMDu4','zs1Kyxi','y3DL','wuzHtgO','y1rLr1C','otq1uMzxBK1Y','nJu2mtmXr0XcqunQ','BMDZ','ys1JB3i','BgLUzq','mteXnte5zMvZwg5Q','BgfUz3u','yY9RAxi','qNH2AuW','DgL0Bgu','nNncwgLxwG','BuHHvKq','C3rHDhu','ls1MB3i','mZiTEdy','mZjXqKffv0e','nJiZotiWt0fytvn6','zM5fv3G','C3vTBwe','BMvZ','DxGTEdy','Aw5L','ndm3mgT5yuLoCq','A2LYys0','uMTcA0K','zgfYD2K','rwfWC3y','mJmWnZCWsNLRywPe','C25PCha','nta5m0XlrerQqq','D2LUlxG','zML4','yNHfzwC','Axb0Aw8','zw5NAw4','Ae16teK','y29Yzq','wfPvA08','x2nVzgu','Bwf0','CMvZDwW','lxG2na','re9ZzMi','wLznEvG','Axr5','C3rYAw4','ANnVBG','mtK5nJeZBNDPrxvP','s0nUBha','EwD1rNu','yxjJAa','D2LUmZi','ywjSzq','zML4zwq','z2LMEq','CM02na','BgLUDxG','B3jT','DgLTzw8','wwjhu0G','y29SDw0','CgfYC2u','C2nHBM4','ywDL','sMLIvMO'];_0x3e62=function(){return _0x32c7fa;};return _0x3e62();}export async function runKiraCore(_0x3fd3fd,_0x400812,_0x49733d){const _0x3d0b03={_0x35fe9d:0x202,_0x8457e5:0x1c,_0x38aa14:0x1,_0x52f488:0x1b,_0x3b44e3:0x1eb,_0x41ff83:0x208,_0xdb1dca:0x238,_0x1aa1b8:0x22b,_0x1fb44e:0x2,_0x26f710:0x21,_0x3bb664:0x2a,_0x32af47:0x25,_0x20455f:0x215,_0x1484c7:0x201,_0x5e6b24:0xe,_0x19e36b:0x48,_0x1f11cc:0x23,_0x49b23e:0x14,_0x49e2f7:0x213,_0x54f818:0x38,_0xb8e52b:0x21,_0xbce879:0x6,_0x1518bd:0x14,_0x1a87cd:0x22c,_0x4bf38c:0x22f,_0x43a8cb:0x22a,_0x51808f:0x1e2,_0x3e6e0b:0x1e2,_0x1ae559:0x207,_0x568d67:0x21e,_0x176c73:0x1f7,_0x45e203:0x1d1,_0x16fab7:0x1e5,_0x3d6988:0x16,_0x500c75:0x1d,_0x20fd4f:0x25c,_0x566910:0x11,_0xc312cd:0x13,_0x1b0483:0x246,_0x193f05:0x231,_0x37151c:0x21b},_0xee48a={_0x5b7d79:0x10b},_0x265ae0={'XZUkO':function(_0x40833a,_0x334f03){return _0x40833a(_0x334f03);},'JibVj':'win32','qZnTP':function(_0x107211,_0x172a66){return _0x107211|_0x172a66;},'YFaLj':function(_0x348f8d,_0x36a8fe,_0x4329a8){return _0x348f8d(_0x36a8fe,_0x4329a8);},'fnEWx':function(_0x4311cb,_0x135be5){return _0x4311cb===_0x135be5;},'flQde':function(_0x3ce3c7){return _0x3ce3c7();},'mHaVD':_0xf07211(-0x1f4,-_0x3d0b03._0x35fe9d)+_0x3e075a(_0x3d0b03._0x8457e5,0x18),'bKade':function(_0x4df217,_0x3b9aa5){return _0x4df217||_0x3b9aa5;},'RkBkI':function(_0x196eb7,_0x257e6f,_0x288ade,_0x398916){return _0x196eb7(_0x257e6f,_0x288ade,_0x398916);},'Eapsv':_0x3e075a(-0x14,_0x3d0b03._0x38aa14)+_0x3e075a(0x1c,_0x3d0b03._0x52f488),'zKRXs':_0xf07211(-0x1f5,-_0x3d0b03._0x3b44e3),'jzKsE':'fQSPg'};function _0xf07211(_0x4d3a75,_0x509110){return _0x4cb0fe(_0x509110- -_0xee48a._0x5b7d79,_0x4d3a75);}const _0x4360cf=await checkKiraCoreAvailable();if(!_0x4360cf)return _0x265ae0[_0xf07211(-0x206,-_0x3d0b03._0x41ff83)]('mIJCL','aKPZW')?null:null;const _0xf93eb8=_0x265ae0[_0xf07211(-_0x3d0b03._0xdb1dca,-_0x3d0b03._0x1aa1b8)](resolveKiraCoreBinary)??_0x265ae0[_0x3e075a(_0x3d0b03._0x1fb44e,-0x1)],_0x1f74e1=JSON[_0x3e075a(0x1,_0x3d0b03._0x26f710)+_0x3e075a(0x25,_0x3d0b03._0x3bb664)]({'code':_0x3fd3fd,'language':_0x265ae0[_0x3e075a(-_0x3d0b03._0x32af47,-0x1a)](_0x400812,''),'filename':_0x265ae0[_0x3e075a(-0x2d,-0x1a)](_0x49733d,'')}),_0x4b008f={};function _0x3e075a(_0x3236da,_0x5073ac){return _0x44d116(_0x5073ac-0x13,_0x3236da);}_0x4b008f['stdin']=_0x1f74e1,_0x4b008f[_0xf07211(-_0x3d0b03._0x20455f,-0x233)+'ut']=0xea60;const _0x50ac1d=await _0x265ae0[_0xf07211(-0x22b,-_0x3d0b03._0x1484c7)](runCommand,_0xf93eb8,[_0x265ae0[_0x3e075a(0xb,_0x3d0b03._0x5e6b24)],_0x265ae0['zKRXs']],_0x4b008f);try{if('kmXvj'!==_0x265ae0['jzKsE']){const _0x578a5c=JSON[_0x3e075a(-_0x3d0b03._0x19e36b,-_0x3d0b03._0x1f11cc)](_0x50ac1d['stdou'+'t']),_0x5ded8a=_0x578a5c['findi'+'ngs'][_0x3e075a(-0x14,-0x16)](_0x24e193=>({'id':_0x24e193['id'],'severity':_0x24e193['sever'+_0xf07211(-0x1ee,-0x1ed)],'cwe':_0x24e193[_0x3e075a(-0x29,-0xf)],'title':_0x24e193[_0xf07211(-0x208,-0x210)],'description':_0x24e193['descr'+_0x3e075a(-0x1,0x15)+'n'],'line':_0x24e193[_0x3e075a(-0x19,-0x8)],'column':_0x24e193[_0xf07211(-0x226,-0x231)+'n'],'endLine':_0x24e193['end_l'+_0x3e075a(0x2c,0x9)],'snippet':_0x24e193[_0xf07211(-0x1f5,-0x1fd)+'et'],'fix':_0x24e193[_0x3e075a(-0x17,0x13)],'fixedCode':_0x24e193[_0x3e075a(0x39,0x29)+_0x3e075a(0x23,0x1a)],'engine':'kira-'+_0xf07211(-0x218,-0x1f5)})),_0x260123={};_0x260123[_0x3e075a(_0x3d0b03._0x49b23e,0x0)+'s']=_0x578a5c['statu'+'s'],_0x260123['langu'+_0xf07211(-0x20c,-0x22e)]=_0x578a5c[_0xf07211(-0x220,-_0x3d0b03._0x49e2f7)+_0x3e075a(-_0x3d0b03._0x54f818,-_0x3d0b03._0xb8e52b)],_0x260123['scann'+_0x3e075a(_0x3d0b03._0xbce879,-_0x3d0b03._0x1518bd)+'es']=_0x578a5c[_0xf07211(-_0x3d0b03._0x1a87cd,-_0x3d0b03._0x4bf38c)+'ed_li'+_0xf07211(-0x206,-0x206)],_0x260123['findi'+_0xf07211(-_0x3d0b03._0x43a8cb,-0x217)]=_0x5ded8a,_0x260123[_0xf07211(-_0x3d0b03._0x51808f,-0x207)+'ry']=_0x578a5c[_0xf07211(-_0x3d0b03._0x3e6e0b,-_0x3d0b03._0x1ae559)+'ry'],_0x260123[_0xf07211(-_0x3d0b03._0x568d67,-_0x3d0b03._0x176c73)+'es']=[];const _0x69751c={};return _0x69751c[_0x3e075a(-0x5,-0x15)+_0xf07211(-_0x3d0b03._0x45e203,-_0x3d0b03._0x16fab7)]=!![],_0x69751c[_0x3e075a(0x1a,0x1c)+'t']=_0x260123,_0x69751c;}else{const _0xb32008=_0x265ae0['XZUkO'](_0x1df99e,import.meta.url),_0x395231=_0x265ae0[_0x3e075a(0x3e,0x19)](_0xb32008,_0x43aae4),_0x5aa579=_0x19714a[_0x3e075a(-_0x3d0b03._0x3d6988,-_0x3d0b03._0x500c75)+_0xf07211(-_0x3d0b03._0x20fd4f,-0x234)]===_0x265ae0[_0x3e075a(-0x3c,-0x20)]?_0x120e92[_0x3e075a(_0x3d0b03._0x566910,-_0x3d0b03._0xc312cd)]:_0x265ae0[_0x3e075a(-0x1f,-0x17)](_0x3f28c9[_0xf07211(-_0x3d0b03._0x1b0483,-0x220)],_0x108b0d[_0xf07211(-0x20c,-_0x3d0b03._0x1a87cd)]);return _0x265ae0[_0xf07211(-_0x3d0b03._0x193f05,-_0x3d0b03._0x37151c)](_0x2658d6,_0x395231,_0x5aa579),_0x291969=_0x395231,_0x395231;}}catch{return null;}}
|
|
1
|
+
(function(_0x1ca039,_0x4a97c7){const _0x1b5c70={_0x49c7e6:0x271,_0x379ef9:0x15f,_0x138795:0x121,_0x514bbd:0x155,_0x409c52:0x156,_0x3a2782:0x147,_0x40e309:0x13d,_0x16dd00:0x28b,_0x311b0b:0x266,_0x133b9f:0x247,_0x387d5a:0x240,_0x154257:0x248,_0x219d4e:0x245,_0x2c5eab:0x17d,_0x3ac098:0x107},_0x4b8776={_0x17236a:0x5b},_0x13a0eb={_0x5f09d1:0xc9};function _0x55cc71(_0x43a94a,_0x32af28){return _0x1607(_0x32af28-_0x13a0eb._0x5f09d1,_0x43a94a);}function _0x1fdca3(_0x423115,_0x36fa02){return _0x1607(_0x423115- -_0x4b8776._0x17236a,_0x36fa02);}const _0x3991d6=_0x1ca039();while(!![]){try{const _0x2741ab=parseInt(_0x55cc71(0x255,_0x1b5c70._0x49c7e6))/(-0x1*0x1fe1+-0x165*-0x1+0x1e7d)*(-parseInt(_0x55cc71(0x23e,0x23e))/(-0x1901+0x1*-0x12eb+0x2bee))+-parseInt(_0x1fdca3(0x154,_0x1b5c70._0x379ef9))/(0x23b5+-0x1*0x2c3+-0x20ef)*(parseInt(_0x1fdca3(0x11d,_0x1b5c70._0x138795))/(0x22*0xe5+0x1f*-0x119+0x3a1*0x1))+parseInt(_0x1fdca3(_0x1b5c70._0x514bbd,_0x1b5c70._0x409c52))/(0x4cd*-0x1+0x26a1+-0x21cf)+parseInt(_0x1fdca3(_0x1b5c70._0x3a2782,_0x1b5c70._0x40e309))/(0x13d4+-0x1*-0x25bf+-0x398d)*(parseInt(_0x55cc71(_0x1b5c70._0x16dd00,_0x1b5c70._0x311b0b))/(-0x25bc+0x2*-0x1a6+0x290f))+-parseInt(_0x55cc71(_0x1b5c70._0x133b9f,_0x1b5c70._0x387d5a))/(-0x9d5+0x2279+-0x189c)*(parseInt(_0x55cc71(_0x1b5c70._0x154257,_0x1b5c70._0x219d4e))/(0x289*-0x2+0x1e50*-0x1+0x236b*0x1))+-parseInt(_0x55cc71(0x232,0x229))/(0x29*-0x33+-0x51*0x71+0x2bf6*0x1)*(-parseInt(_0x55cc71(0x261,0x233))/(-0x1*0x3dc+-0x137*-0x11+0x1*-0x10c0))+-parseInt(_0x1fdca3(0x15e,_0x1b5c70._0x2c5eab))/(0x1*-0x1220+0x1618+-0x3ec)*(-parseInt(_0x1fdca3(_0x1b5c70._0x3ac098,0x132))/(-0x2af+-0x2d*-0x7b+0x1*-0x12e3));if(_0x2741ab===_0x4a97c7)break;else _0x3991d6['push'](_0x3991d6['shift']());}catch(_0x5dfaec){_0x3991d6['push'](_0x3991d6['shift']());}}}(_0x4dfa,0xfd704+0x14bcce+-0x1625d2));import{runCommand,isToolAvailable}from'./runner.js';import{createRequire}from'node:module';import{accessSync,constants}from'node:fs';const _0x3e37b3={};_0x3e37b3[_0x59f573(0xc0,0xce)+_0x59f573(0xf0,0xee)+'64']=_0x5c317e(0x40c,0x3e8)+_0x59f573(0xe6,0xc4)+_0x59f573(0xe9,0xba)+_0x5c317e(0x3c0,0x3df)+_0x5c317e(0x3fa,0x400)+_0x5c317e(0x3d7,0x3cd)+_0x5c317e(0x3de,0x3c9),_0x3e37b3[_0x59f573(0xc0,0xda)+_0x59f573(0xfa,0x101)]=_0x59f573(0xc3,0xde)+_0x5c317e(0x435,0x40b)+'c/kir'+_0x59f573(0xba,0xcd)+_0x5c317e(0x429,0x400)+_0x5c317e(0x413,0x3f7)+'64';function _0x4dfa(){const _0x2a0dbf=['zgfYD2K','reTpyK8','Dvj3teC','qg9MzMC','A2LYys0','BMvZ','zMT6sMS','DxGTEdy','Bty0','BgLUDxG','tg1Ut1G','vwnQtNe','zML4zwq','zgvZy3i','A0zYuM8','AMDQt2K','yxzHAwW','C3rKAw4','D2LUlxG','CgfYC2u','C3rHDhu','lxG2na','BgLUzq','rNH1Ahu','ywDL','t01irhq','ote0odiZC1DRu2PS','zs1Kyxi','rL9psW','z2LMEq','zxr3y2O','nJbyy2D0Dwq','zw5Kx2W','B3jT','C3rYAw4','y29Kzq','mZiTEdy','mLn4DxPmDq','CMLKC2u','ANnVBG','zs1SAw4','yY9RAxi','zg5vtM0','BgfUz3u','mtaXntu1nfLoAhLXDa','ntG3nJq4nvbfuLL5za','Axr5','ANzAvfe','BI1HCM0','ls1MB3i','zs13Aw4','zwrmAw4','BMDZ','wf9psW','mti2mtu2mtjkrNPqtwy','Axb0Aw8','AMP3r1e','CMvZDwW','BI14nJq','mJe3ntb3B3rcCKC','zw5NAw4','mtneshPtz2K','ChPgD3u','BwfW','rujct2m','zML4','CM02na','DgLTzw8','C3vTBwe','ntqWmw9VsNzmAG','D2LUlwe','C3rKB3u','DLLgqMq','zMLUzgK','CgXHDgy','yw1L','ChPKALO','Ag5ZufO','AMzuufC','C2nHBM4','mta2odC0neHOAhfOAq','C2v2zxi','otG2mZq2nfrzEej4wq','mtzgsenzzgq','rvHJAg8','BxzqENu','ywjSzq','oujbtKjmra','ys1JB3i','DxGTyxi','y29Yzq','y3DL','Aw5L','y29SDw0'];_0x4dfa=function(){return _0x2a0dbf;};return _0x4dfa();}function _0x59f573(_0x1646b5,_0x49bf26){const _0xb228c9={_0x3985d6:0xc3};return _0x1607(_0x1646b5- -_0xb228c9._0x3985d6,_0x49bf26);}_0x3e37b3[_0x59f573(0xc9,0xac)+_0x5c317e(0x3ec,0x3fa)]=_0x59f573(0xc3,0x96)+'ridse'+_0x5c317e(0x410,0x40e)+_0x59f573(0xba,0xc4)+_0x59f573(0xe8,0xfc)+_0x5c317e(0x3c5,0x3ec)+'4';function _0x5c317e(_0x21f651,_0x580a82){return _0x1607(_0x580a82-0x262,_0x21f651);}_0x3e37b3[_0x59f573(0xc9,0xa6)+'-arm6'+'4']=_0x5c317e(0x416,0x3e8)+_0x59f573(0xe6,0xb9)+'c/kir'+_0x59f573(0xba,0x8d)+_0x5c317e(0x423,0x40d)+_0x59f573(0xbb,0xc9)+_0x59f573(0xc8,0xba),_0x3e37b3['win32'+_0x5c317e(0x3f1,0x3fa)]=_0x59f573(0xc3,0xb3)+_0x5c317e(0x41c,0x40b)+'c/kir'+_0x59f573(0xba,0xc0)+_0x59f573(0xf2,0xf9)+_0x59f573(0xe4,0x107)+'4';const PLATFORM_PACKAGES=_0x3e37b3;let resolvedBinaryPath;function _0x1607(_0x10d247,_0x490729){_0x10d247=_0x10d247-(-0x39*0x1b+-0xc49+0x13ac);const _0x1dcb12=_0x4dfa();let _0x324a77=_0x1dcb12[_0x10d247];if(_0x1607['irEzqE']===undefined){var _0x2d8c18=function(_0x3155ce){const _0x11cbe3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3daa8c='',_0x2572cc='';for(let _0x377348=-0x1a26*-0x1+-0x2f*0x65+-0xb1*0xb,_0x117054,_0x26faf7,_0x496105=-0x3*-0x9c8+0x1e2e+-0x3b86;_0x26faf7=_0x3155ce['charAt'](_0x496105++);~_0x26faf7&&(_0x117054=_0x377348%(0x2*0x810+-0x1*0xc2b+-0x3f1*0x1)?_0x117054*(-0x36f+-0x53*-0x2c+-0xa95)+_0x26faf7:_0x26faf7,_0x377348++%(0x13fc+-0x3*0x595+0x1*-0x339))?_0x3daa8c+=String['fromCharCode'](0x165c+0x709+-0x2*0xe33&_0x117054>>(-(0x4b9+-0xaa*0xc+0x341)*_0x377348&-0x9b1+-0x48a+0xe41)):0x35a+-0x1b60+0x1806){_0x26faf7=_0x11cbe3['indexOf'](_0x26faf7);}for(let _0x326932=-0x1b35+0x20*-0x25+0x1*0x1fd5,_0x5ed74e=_0x3daa8c['length'];_0x326932<_0x5ed74e;_0x326932++){_0x2572cc+='%'+('00'+_0x3daa8c['charCodeAt'](_0x326932)['toString'](-0x3*0x32f+0xa*-0xcd+0x15b*0xd))['slice'](-(-0xf9e+-0x3*0x377+0x1a05));}return decodeURIComponent(_0x2572cc);};_0x1607['rsfxfU']=_0x2d8c18,_0x1607['sKrQuB']={},_0x1607['irEzqE']=!![];}const _0x28d935=_0x1dcb12[-0x12e+0x7da+-0x6ac*0x1],_0x5132fb=_0x10d247+_0x28d935,_0x54a651=_0x1607['sKrQuB'][_0x5132fb];return!_0x54a651?(_0x324a77=_0x1607['rsfxfU'](_0x324a77),_0x1607['sKrQuB'][_0x5132fb]=_0x324a77):_0x324a77=_0x54a651,_0x324a77;}export function resolveKiraCoreBinary(){const _0xfa7c5e={_0x1612d6:0x355,_0x2f2d2e:0x1a1,_0x407315:0x1c8,_0x218a66:0x1b8,_0x4df576:0x356,_0x28a57e:0x170,_0x4d933c:0x182,_0x4f718b:0x1d7,_0x1ee652:0x1d0,_0x5113f2:0x325,_0x5bcd1b:0x327,_0x5a4db8:0x1c4,_0x3471f2:0x199,_0x2cf311:0x174,_0x2c80c3:0x329,_0x489d8b:0x319,_0x550d90:0x354,_0x99ab6f:0x313,_0x15029a:0x1b0,_0x3b1e07:0x314,_0x3afe81:0x1ce,_0x5c9e3b:0x1ee,_0x1c30ce:0x1c3,_0x5c22bf:0x32a,_0xe64725:0x36c},_0x203d76={'Fxuhu':function(_0x52996b,_0x4de30d){return _0x52996b(_0x4de30d);},'jfTPW':function(_0x51e757,_0x1e1a5a){return _0x51e757===_0x1e1a5a;},'mvPzu':'win32','RTtcX':function(_0x28bf9b,_0xc0d49c,_0x48241c){return _0x28bf9b(_0xc0d49c,_0x48241c);},'dnUNm':function(_0x325ce5,_0x46d206){return _0x325ce5!==_0x46d206;},'jjwGQ':_0x2af650(0x32b,_0xfa7c5e._0x1612d6),'hbfhJ':'hChpe','vYFBd':function(_0x2dd020,_0xf7c7c4){return _0x2dd020(_0xf7c7c4);},'EBBOc':function(_0x58b6db,_0x46018c){return _0x58b6db|_0x46018c;},'nWlSg':function(_0xe7bf80,_0x1a1243){return _0xe7bf80!==_0x1a1243;},'pzdjZ':_0xd7e230(-0x1ad,-_0xfa7c5e._0x2f2d2e),'LmnOX':_0xd7e230(-_0xfa7c5e._0x407315,-_0xfa7c5e._0x218a66)};if(_0x203d76[_0x2af650(0x384,0x361)](resolvedBinaryPath,undefined))return resolvedBinaryPath;const _0x3372b7=process['platf'+_0x2af650(_0xfa7c5e._0x4df576,0x358)]+'-'+process['arch'];function _0x2af650(_0x35be7b,_0x2c0d65){return _0x5c317e(_0x35be7b,_0x2c0d65- -0xae);}const _0x52048e=PLATFORM_PACKAGES[_0x3372b7];function _0xd7e230(_0x197aa5,_0x5da768){return _0x5c317e(_0x197aa5,_0x5da768- -0x59f);}if(!_0x52048e)return resolvedBinaryPath=null,null;try{if(_0x203d76['jfTPW'](_0x203d76[_0xd7e230(-_0xfa7c5e._0x28a57e,-_0xfa7c5e._0x4d933c)],_0x203d76['hbfhJ']))return _0x1101b0=null,null;else{const _0x5116ff=_0x203d76[_0xd7e230(-_0xfa7c5e._0x4f718b,-_0xfa7c5e._0x1ee652)](createRequire,import.meta.url),_0x1f6a9e=_0x203d76['vYFBd'](_0x5116ff,_0x52048e),_0x2b1d0b=_0x203d76[_0x2af650(_0xfa7c5e._0x5113f2,_0xfa7c5e._0x5bcd1b)](process[_0x2af650(0x349,0x323)+_0xd7e230(-_0xfa7c5e._0x5a4db8,-_0xfa7c5e._0x3471f2)],_0x203d76['mvPzu'])?constants[_0xd7e230(-_0xfa7c5e._0x2cf311,-0x19e)]:_0x203d76[_0x2af650(_0xfa7c5e._0x2c80c3,_0xfa7c5e._0x489d8b)](constants['F_OK'],constants[_0x2af650(_0xfa7c5e._0x550d90,0x36c)]);return accessSync(_0x1f6a9e,_0x2b1d0b),resolvedBinaryPath=_0x1f6a9e,_0x1f6a9e;}}catch{if(_0x203d76['nWlSg'](_0x203d76[_0x2af650(_0xfa7c5e._0x99ab6f,0x325)],_0x203d76[_0xd7e230(-0x1bc,-_0xfa7c5e._0x15029a)]))return resolvedBinaryPath=null,null;else{const _0x34734a=_0x544f79(import.meta.url),_0x47f8a0=_0x203d76[_0xd7e230(-0x180,-0x1a3)](_0x34734a,_0x32ec1c),_0x11fbc8=_0x203d76[_0x2af650(_0xfa7c5e._0x3b1e07,0x327)](_0x4223fb[_0xd7e230(-0x1b8,-_0xfa7c5e._0x3afe81)+_0xd7e230(-0x1a8,-0x199)],_0x203d76[_0xd7e230(-_0xfa7c5e._0x5c9e3b,-_0xfa7c5e._0x1c30ce)])?_0x2a4896['F_OK']:_0x5ea394[_0x2af650(_0xfa7c5e._0x5c22bf,0x353)]|_0x14d110[_0x2af650(0x38e,_0xfa7c5e._0xe64725)];return _0x203d76['RTtcX'](_0x2b7f98,_0x47f8a0,_0x11fbc8),_0x411998=_0x47f8a0,_0x47f8a0;}}}export async function checkKiraCoreAvailable(){const _0x54760b={_0x44bedd:0x4f0,_0x546650:0x4ec,_0x3dc88d:0x72,_0x4b6cbb:0x58,_0x148b17:0x92,_0x1e408f:0x4ce},_0x4f5408={_0x85b57f:0x141},_0x2547c4={'jgjOi':function(_0x5d33f5,_0xf19c20){return _0x5d33f5!==_0xf19c20;},'hnsPZ':function(_0x35ffff){return _0x35ffff();},'Ffkyh':function(_0x5f00d0,_0xc6d9cf){return _0x5f00d0(_0xc6d9cf);},'EXcho':'kira-'+_0x415b85(_0x54760b._0x44bedd,_0x54760b._0x546650)};if(_0x2547c4[_0x243f9c(-_0x54760b._0x3dc88d,-_0x54760b._0x4b6cbb)](_0x2547c4[_0x243f9c(-_0x54760b._0x148b17,-0xa4)](resolveKiraCoreBinary),null))return!![];function _0x243f9c(_0x4d95d6,_0x3215bc){return _0x59f573(_0x4d95d6- -_0x4f5408._0x85b57f,_0x3215bc);}function _0x415b85(_0x598560,_0x4979f0){return _0x5c317e(_0x598560,_0x4979f0-0x10b);}return _0x2547c4['Ffkyh'](isToolAvailable,_0x2547c4[_0x415b85(_0x54760b._0x1e408f,0x4e6)]);}export async function runKiraCore(_0x54dee2,_0x557579,_0x90be28){const _0x321520={_0x1b8ff4:0x22e,_0x231541:0x221,_0x361e45:0x535,_0x31efad:0x51c,_0x89bdac:0x547,_0x2f0040:0x226,_0x24ca4d:0x573,_0x360cac:0x55f,_0x59481e:0x28c,_0x125bae:0x57f,_0x1180d7:0x24f,_0x551fb1:0x54a,_0x38427e:0x254,_0x3599ac:0x264,_0x37f065:0x52c,_0x12f65b:0x279,_0x447618:0x245,_0x194825:0x274,_0x5c35db:0x27e,_0x5560a2:0x54d,_0x9bf49a:0x242,_0x41b448:0x56c,_0x294b18:0x268,_0x5a16c8:0x559,_0x45b980:0x50a,_0x19439f:0x52d,_0x26bf3a:0x250,_0x1ee62c:0x24e,_0x2c642d:0x580,_0x34bc9a:0x570,_0x22a630:0x516,_0x2f3051:0x522,_0x4e80df:0x245,_0x5049f0:0x248,_0x45c297:0x26a,_0xadad8f:0x216},_0x59b8c={_0x934f72:0x63a},_0x17bee7={_0x39747f:0x157},_0x5a10ad={'UCBse':function(_0x5b09cf){return _0x5b09cf();},'RyxsC':function(_0x25f330){return _0x25f330();},'jvZTQ':'kira-'+'core','fkzJk':function(_0x1e7b67,_0x5540f3,_0x8736f3,_0x444aa4){return _0x1e7b67(_0x5540f3,_0x8736f3,_0x444aa4);},'kFrRo':_0xe484c8(0x542,0x56d)+'mat','DKObO':_0x4b8fa4(-_0x321520._0x1b8ff4,-_0x321520._0x231541)},_0x570f6f=await _0x5a10ad['UCBse'](checkKiraCoreAvailable);if(!_0x570f6f)return _0xe484c8(_0x321520._0x361e45,_0x321520._0x31efad)===_0xe484c8(0x55b,_0x321520._0x89bdac)?!![]:null;const _0x1ea923=_0x5a10ad['RyxsC'](resolveKiraCoreBinary)??_0x5a10ad[_0x4b8fa4(-_0x321520._0x2f0040,-0x22f)],_0x5b3c64={};_0x5b3c64[_0xe484c8(_0x321520._0x24ca4d,_0x321520._0x360cac)]=_0x54dee2,_0x5b3c64[_0xe484c8(0x56d,0x567)+'age']=_0x557579||'',_0x5b3c64['filen'+_0x4b8fa4(-0x268,-_0x321520._0x59481e)]=_0x90be28||'';const _0x487e44=JSON[_0xe484c8(_0x321520._0x125bae,0x55e)+_0xe484c8(0x541,0x559)](_0x5b3c64);function _0xe484c8(_0x166c00,_0x44dd11){return _0x5c317e(_0x166c00,_0x44dd11-_0x17bee7._0x39747f);}function _0x4b8fa4(_0x31dfcf,_0x34df00){return _0x5c317e(_0x34df00,_0x31dfcf- -_0x59b8c._0x934f72);}const _0x32e17b={};_0x32e17b[_0x4b8fa4(-0x244,-0x270)]=_0x487e44,_0x32e17b[_0xe484c8(0x51f,0x521)+'ut']=0xea60;const _0xb96311=await _0x5a10ad[_0x4b8fa4(-0x24f,-_0x321520._0x1180d7)](runCommand,_0x1ea923,[_0x5a10ad[_0xe484c8(0x571,_0x321520._0x551fb1)],_0x5a10ad[_0x4b8fa4(-_0x321520._0x38427e,-_0x321520._0x3599ac)]],_0x32e17b);try{const _0x2e979e=JSON[_0xe484c8(_0x321520._0x37f065,0x54f)](_0xb96311[_0x4b8fa4(-0x26c,-_0x321520._0x12f65b)+'t']),_0x219afc=_0x2e979e[_0x4b8fa4(-0x26a,-_0x321520._0x447618)+'ngs'][_0x4b8fa4(-_0x321520._0x194825,-_0x321520._0x5c35db)](_0x2a6980=>({'id':_0x2a6980['id'],'severity':_0x2a6980[_0xe484c8(0x518,0x52f)+_0xe484c8(0x562,0x56a)],'cwe':_0x2a6980[_0xe484c8(0x51c,0x539)],'title':_0x2a6980['title'],'description':_0x2a6980[_0x4b8fa4(-0x248,-0x242)+_0x4b8fa4(-0x21e,-0x1f1)+'n'],'line':_0x2a6980[_0x4b8fa4(-0x23f,-0x21a)],'column':_0x2a6980[_0x4b8fa4(-0x256,-0x263)+'n'],'endLine':_0x2a6980[_0x4b8fa4(-0x235,-0x260)+_0x4b8fa4(-0x257,-0x23b)],'snippet':_0x2a6980['snipp'+'et'],'fix':_0x2a6980[_0xe484c8(0x54e,0x51f)],'fixedCode':_0x2a6980[_0x4b8fa4(-0x249,-0x267)+'_code'],'engine':_0xe484c8(0x55a,0x540)+_0x4b8fa4(-0x259,-0x247)})),_0x55d7fa={};_0x55d7fa[_0xe484c8(_0x321520._0x5560a2,0x550)+'s']=_0x2e979e[_0x4b8fa4(-0x241,-_0x321520._0x9bf49a)+'s'],_0x55d7fa['langu'+_0xe484c8(_0x321520._0x41b448,0x554)]=_0x2e979e[_0xe484c8(0x54c,0x567)+_0xe484c8(0x53d,0x554)],_0x55d7fa[_0x4b8fa4(-0x264,-_0x321520._0x294b18)+_0xe484c8(_0x321520._0x5a16c8,0x56f)+'es']=_0x2e979e[_0xe484c8(_0x321520._0x45b980,_0x321520._0x19439f)+'ed_li'+_0x4b8fa4(-_0x321520._0x26bf3a,-_0x321520._0x1ee62c)],_0x55d7fa[_0xe484c8(0x506,0x527)+_0xe484c8(_0x321520._0x2c642d,_0x321520._0x34bc9a)]=_0x219afc,_0x55d7fa[_0xe484c8(0x528,0x522)+'ry']=_0x2e979e[_0xe484c8(_0x321520._0x22a630,_0x321520._0x2f3051)+'ry'],_0x55d7fa[_0x4b8fa4(-0x277,-0x287)+'es']=[];const _0x88c54b={};return _0x88c54b[_0x4b8fa4(-_0x321520._0x4e80df,-_0x321520._0x5049f0)+_0x4b8fa4(-0x25d,-_0x321520._0x45c297)]=!![],_0x88c54b[_0x4b8fa4(-0x21c,-_0x321520._0xadad8f)+'t']=_0x55d7fa,_0x88c54b;}catch{return null;}}
|