raul
0d839daf4e
Return pointer to clientList item instead of copy
...
I've also fixed several issues such as the killswitch and RCE functions
failing because of trying to use the struct identifier to access the
clientList array
2024-06-12 09:49:37 +02:00
raul
6c77b7d674
Check if client is online before sending killswitch
2024-06-12 08:10:06 +02:00
raul
d07e6435fb
Fix issues caused by accessing clients via array identifier
2024-06-11 13:41:49 +02:00
raul
85d5bfd1ca
Prevent heartbeat from crashing server when removing clients
2024-06-11 12:30:52 +02:00
raul
bb2620d5ec
Add option to delete clients from list
2024-06-11 12:27:43 +02:00
raul
ecf6e1d443
Allow user to save clients directly to config
2024-06-11 10:45:31 +02:00
raul
4d18d0933c
Add "Save clients" option
2024-06-11 10:43:14 +02:00
raul
fe6d3a7f7c
Use regular user for executing service
...
Praise modular copy-pasteable designs
2024-06-11 10:00:28 +02:00
raul
3194998503
Dockerize application
2024-06-10 12:43:26 +02:00
raul
d1e4d64fd6
Add sample-config folder
2024-06-10 12:42:51 +02:00
raul
594d439ea9
Add assets folder
2024-06-10 11:35:29 +02:00
raul
cd655b4ecc
Small tweaks
2024-06-10 11:35:09 +02:00
raul
0d0ba1618f
Add favicon for control panel
2024-06-10 11:33:31 +02:00
raul
908218ebac
Add option to control heartbeat frequency
2024-06-10 09:31:02 +02:00
raul
9029226adc
Fetch client local IP
2024-06-10 09:18:48 +02:00
raul
1a0c3ef70b
Add "Dump clients" entry
2024-06-10 08:46:08 +02:00
raul
df67a29de9
Check if client is online before trying to execute instructions
2024-06-07 12:39:07 +02:00
raul
1e23bcf356
Correct source code link and htmx CDN link
2024-06-07 12:38:48 +02:00
raul
91d43beac9
Use CDN htmx.js instead
2024-06-07 12:16:52 +02:00
raul
ebde90cce2
Add ability to recover clients from config file
2024-06-07 12:03:30 +02:00
raul
b42f31d4be
Allow selecting clients.json file by parameter
2024-06-07 12:02:36 +02:00
raul
11a186a98e
Add example Tiamat config file
2024-06-07 12:02:16 +02:00
raul
82d2c7a097
Allow recovering clients from json config file
2024-06-07 11:30:16 +02:00
raul
841ad1c3ac
Add structs.go file
2024-06-07 11:29:09 +02:00
raul
e7e24b2310
Create endpoint for dumping client list json
2024-06-07 11:07:35 +02:00
raul
6be659e177
Setting up killswitch frontend
2024-06-07 09:59:33 +02:00
raul
a76a2494b2
Setup killswitch function backend
2024-06-07 09:59:14 +02:00
raul
cb0b3be8c5
Configure killswitch struct
2024-06-07 09:59:04 +02:00
raul
6a21d5bd0b
UX improvements
2024-06-07 08:31:52 +02:00
raul
5bde25c65f
Clean up event logging
2024-06-06 09:53:25 +02:00
raul
513d707df4
Implement backend for RCE
2024-06-06 09:32:35 +02:00
raul
4a0aafe237
Tiny tweaks
2024-06-06 09:32:24 +02:00
raul
f0c31dcd95
Include ability to remotely execute commands
2024-06-06 09:29:39 +02:00
raul
1f95d44e3e
Set up functions for sending commands to client
2024-06-05 09:50:29 +02:00
raul
f26e6e7f57
Tweaks for command window
2024-06-05 09:50:17 +02:00
raul
6d02a4627b
Configure rudimentary setup for requesting commands
2024-06-05 09:47:16 +02:00
raul
67051033d8
Add ID and "Execute command" options
2024-06-05 09:46:47 +02:00
raul
3541a149cf
Add html template for executing commands
2024-06-05 09:45:59 +02:00
raul
be646ca639
Add heartbeat system
2024-06-04 12:41:57 +02:00
raul
b6a6c28bd8
Add OK/Offline field and small improvements
2024-06-04 12:41:09 +02:00
raul
5fed7f5de2
Add htmx.js
2024-06-04 12:34:01 +02:00
raul
a152708dcc
Split Client struct into different structs
2024-06-04 09:37:38 +02:00
raul
7db2633351
Use tables for representing clients
2024-06-04 09:37:19 +02:00
raul
55ec3ad43d
Add extra client fields
2024-06-04 07:53:51 +02:00
raul
15a2b459d4
Add method for sending instructions to clients
2024-06-04 07:53:51 +02:00
raul
dbeceee204
Configure rendering connected clients on HTML
2024-06-04 07:53:51 +02:00
raul
c7e1df3f81
Add HTML boilerplate
2024-06-04 07:53:51 +02:00
raul
54eb74a97e
Get OS info from client
2024-06-04 07:53:51 +02:00
raul
e8b29d5baa
Prepare listening servers
2024-06-04 07:53:51 +02:00
raul
45b6fcacdd
Update dependencies
2024-06-04 07:53:51 +02:00