mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-04-27 07:59:59 -07:00
Instead of reading/writing to a single QMDL file, we now can manage a directory of several files, and have the ability to start/stop writing to them on the fly. This commit also adds graceful exiting to the server, so we can perform cleanup steps when the server's exiting.
39 lines
1.0 KiB
HTML
39 lines
1.0 KiB
HTML
<html>
|
|
<head>
|
|
<title>ORCA</title>
|
|
<link rel="stylesheet" type="text/css" href="css/style.css">
|
|
<script src="js/main.js"></script>
|
|
<script>
|
|
async function repeatedlyPopulate() {
|
|
await populateDivs();
|
|
setTimeout(repeatedlyPopulate, 1000);
|
|
}
|
|
window.onload = function() {
|
|
repeatedlyPopulate();
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<button onclick="startRecording()">Start Recording</button>
|
|
<button onclick="stopRecording()">Stop Recording</button>
|
|
</div>
|
|
<table id="qmdl-manifest-table">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">Name</th>
|
|
<th scope="col">Date Started</th>
|
|
<th scope="col">Date Stopped</th>
|
|
<th scope="col">Size (bytes)</th>
|
|
<th scope="col">PCAP</th>
|
|
<th scope="col">QMDL</th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
<div>
|
|
<h3>System stats</h3>
|
|
<pre id="system-stats">Loading...</pre>
|
|
</div>
|
|
</body>
|
|
</html>
|