Skip to content

Commit 4c96d04

Browse files
committed
TerminalShell (Linux): add ash as a known shell
1 parent d7ef7bc commit 4c96d04

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/detection/terminalshell/terminalshell_linux.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ static void getTerminalShell(FFTerminalShellResult* result, pid_t pid)
150150

151151
//Known shells
152152
if (
153+
strcasecmp(name, "ash") == 0 ||
153154
strcasecmp(name, "bash") == 0 ||
154155
strcasecmp(name, "zsh") == 0 ||
155156
strcasecmp(name, "ksh") == 0 ||

0 commit comments

Comments
 (0)