feat(scanner): revert lsof command for futurevuls users (#1770)

This commit is contained in:
MaineK00n
2023-10-20 12:07:20 +09:00
committed by GitHub
parent a1c1f4ce60
commit b9db5411cd
9 changed files with 10 additions and 15 deletions

View File

@@ -90,7 +90,7 @@ func (o *rocky) sudoNoPasswdCmdsFastRoot() []cmd {
{"stat /proc/1/exe", exitStatusZero},
{"ls -l /proc/1/exe", exitStatusZero},
{"cat /proc/1/maps", exitStatusZero},
{"lsof -i -P -n -V", exitStatusZero},
{"lsof -i -P -n", exitStatusZero},
}
}
return []cmd{