Remove sshd listener false positive

This commit is contained in:
Thomas Stromberg 2022-10-13 18:02:14 -04:00
parent 59dc85a931
commit 3562bc898e
Failed to extract signature
1 changed files with 3 additions and 1 deletions

View File

@ -8,4 +8,6 @@ SELECT * FROM (
)
WHERE INSTR(cmdline, '@notty') > 0
OR
INSTR(open_files, '/dev/ptmx') = 0;
(
open_files != "/dev/null" AND INSTR(open_files, '/dev/ptmx') = 0
)