Supervisord service #82
lap1nou
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Right now, we have to start services manually, like
neo4j
for example, before startingBloodhound
.In Docker we can also install
supervisor
in order to manage services for us, here is how it work: basically, we write service definition in a config file like Systemd:This doesn't require too much changes, basically just an additionnal Linux package install and of course starting the
supervisord
binary each time a container is created, which require to modify thestart
function in theExegolContainer.py
and execute a simpledocker exec
command.Also this is useful for some C2 like
Sliver
andCobal Strike
for example, which need a Teamserver service running, we can also treat it as a service so the end user doesn't have to start it manually each time he start a container. Also, end user can easily add their own service inside the Supervisor config file in case they need something else.I basically already did all the modification to accomplish this locally and it seems to work fine, however before doing a PR I wanted to discuss if you would be interested or not.
Here is a reference:
Beta Was this translation helpful? Give feedback.
All reactions