From 4c96d0453efd8679723baea96888eae238f17839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Sat, 7 Oct 2023 15:15:24 +0800 Subject: [PATCH] TerminalShell (Linux): add `ash` as a known shell --- src/detection/terminalshell/terminalshell_linux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/detection/terminalshell/terminalshell_linux.c b/src/detection/terminalshell/terminalshell_linux.c index 957a0b304..ad2c09dd3 100644 --- a/src/detection/terminalshell/terminalshell_linux.c +++ b/src/detection/terminalshell/terminalshell_linux.c @@ -150,6 +150,7 @@ static void getTerminalShell(FFTerminalShellResult* result, pid_t pid) //Known shells if ( + strcasecmp(name, "ash") == 0 || strcasecmp(name, "bash") == 0 || strcasecmp(name, "zsh") == 0 || strcasecmp(name, "ksh") == 0 ||