We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f270255 commit fb706e9Copy full SHA for fb706e9
src/detection/terminalshell/terminalshell.c
@@ -69,6 +69,7 @@ static bool getShellVersionBash(FFstrbuf* exe, FFstrbuf* exePath, FFstrbuf* vers
69
if (*path == '\0')
70
path = exe->chars;
71
ffBinaryExtractStrings(path, extractBashVersion, version, (uint32_t) strlen("@(#)Bash version 0.0.0(0) release GNU"));
72
+ if (version->length > 0) return true;
73
74
if(!getExeVersionRaw(exe, version))
75
return false;
0 commit comments