Closed jm33-m0 closed 2 years ago
https://github.com/jm33-m0/emp3r0r/blob/51639930444ecb8e21eea31db60a5a16d6230c36/core/cmd/agent/main.go#L156
After IsAgentAlive(), the PID file gets replaced with current process's PID, if we kill it, we will be killing ourselves
IsAgentAlive()
https://github.com/jm33-m0/emp3r0r/blob/51639930444ecb8e21eea31db60a5a16d6230c36/core/cmd/agent/main.go#L156