Commit Graph

25 Commits

Author SHA1 Message Date
Stefan Friese 0498013d1d added status of agents to the webui 2025-01-27 16:00:52 +00:00
Stefan Friese c0764ac41d used random names to identify the agents for execution of commands, moved agentCreate step from the agent itself to the websocket server. THis means a more simple agent is possible, because it only needs to do a single request to the websocket. Cleanup needed now 2025-01-24 13:35:45 +00:00
Stefan Friese 54604ff488 cleanup 2025-01-23 11:56:50 +00:00
Stefan Friese 789097fd79 cleanup 2025-01-23 07:57:30 +00:00
Stefan Friese 9e45adfff5 solved issue with the style of presentation of the agent response on the website. Added agentType to the api, agent and database 2025-01-22 16:02:44 +00:00
Stefan Friese 323c04af89 added reconnection functionality to the agent, which is used if the server is not reachable 2025-01-21 14:03:07 +00:00
Stefan Friese 555d235c3d added more clear output 2025-01-20 15:32:13 +00:00
gurkenhabicht 3e4722e3ca fixed websocket messages, which were plaintext or just bytes. A JSON object was needed to differentiate between commands and what was returned to the server as a response. The random naming function now has lower case suffixes 2025-01-19 22:13:52 +01:00
Stefan Friese 68f135fb7b changed hardcoded database configuration to environment variables. Other configuration can also be added to the configuration struct for further usage inside the app. Added an environment file to source for development and usage outside the cluster. 2025-01-17 09:04:20 +00:00
Stefan Friese eb53fd5b3d removed pkg dir 2025-01-15 15:42:44 +00:00
Stefan Friese a0cd4acbc2 bump 2025-01-15 15:41:12 +00:00
Stefan Friese bdb11641d3 moved parts like websocket server, name generator and api to the src directory. Removed redundant code from main.go. Removed templates and directories which won't be needed 2025-01-15 15:38:23 +00:00
Stefan Etringer 81af5973de Merge pull request 'add autogeneration of help target for Makefile' (#1) from autogenerate-makefile-help into master
Reviewed-on: #1
2025-01-15 08:32:48 +01:00
Alexander Hinrichs fdc6c4aac6 add autogeneration of help target for Makefile
Will aggregate targets and comments behind the target, sort them by
target alphabetically and print the output. Removes requirement to
update help target everytime something changes. targets without comment
will not appear in help output.
2025-01-15 07:52:03 +01:00
Stefan Friese 5335bf27fd added random name generator 2025-01-14 16:02:14 +00:00
Stefan Friese 324c8bd1a4 added Makefiles 2025-01-14 15:09:09 +00:00
Stefan Friese 4e714159a6 cleanup 2025-01-14 14:47:04 +00:00
gurkenhabicht b6056297f4 added random suffix and prefix list 2025-01-11 02:36:21 +01:00
gurkenhabicht 35ec77e5c6 added IP address to the agents 2025-01-10 02:47:33 +01:00
Stefan Friese 2f2485fc25 deleted binary 2025-01-09 21:05:04 +01:00
gurkenhabicht 6431f480a4 added agent 2025-01-09 16:43:13 +01:00
gurkenhabicht d087696c09 added agent 2025-01-09 16:42:27 +01:00
gurkenhabicht cb8d779a57 added crud functionality 2025-01-08 17:59:04 +01:00
gurkenhabicht 2131f370ee init 2025-01-06 11:07:53 +01:00
Stefan Etringer b246ef706c Initial commit 2025-01-06 10:59:01 +01:00