fix(scanner): change lsof cmd that should succeed without password (#1769)
This commit is contained in:
@@ -89,7 +89,7 @@ func (o *centos) sudoNoPasswdCmdsFastRoot() []cmd {
|
||||
{"stat /proc/1/exe", exitStatusZero},
|
||||
{"ls -l /proc/1/exe", exitStatusZero},
|
||||
{"cat /proc/1/maps", exitStatusZero},
|
||||
{"lsof -i -P -n", exitStatusZero},
|
||||
{"lsof -i -P -n -V", exitStatusZero},
|
||||
}
|
||||
}
|
||||
return []cmd{
|
||||
|
||||
Reference in New Issue
Block a user