From 12e6f9a73d33f3ae22ce3bea29dfdf0a2519d985 Mon Sep 17 00:00:00 2001 From: Chris Shields Date: Sun, 5 Mar 2023 11:02:30 -0500 Subject: [PATCH] fix defunct processes on nix --- implant/sliver/handlers/handlers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/implant/sliver/handlers/handlers.go b/implant/sliver/handlers/handlers.go index 6e67599543..ccea81f0c1 100644 --- a/implant/sliver/handlers/handlers.go +++ b/implant/sliver/handlers/handlers.go @@ -607,6 +607,7 @@ func executeHandler(data []byte, resp RPCResponse) { } } else { err = cmd.Start() + cmd.Wait() if err != nil { execResp.Response = &commonpb.Response{ Err: fmt.Sprintf("%s", err),