fix(scanner): change lsof cmd that should succeed without password (#1769)

This commit is contained in:
MaineK00n
2023-10-20 11:48:04 +09:00
committed by GitHub
parent 75e9883d8a
commit a1c1f4ce60
8 changed files with 8 additions and 8 deletions

View File

@@ -102,7 +102,7 @@ func (o *amazon) 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},
}
}