Add /dev/input/ to SENSITIVE_PATHS for blacklist mode
This commit is contained in:
@@ -259,6 +259,8 @@ const SENSITIVE_PATHS: &[&str] = &[
|
|||||||
// -- D-Bus sockets (can execute commands via systemd) --
|
// -- D-Bus sockets (can execute commands via systemd) --
|
||||||
"/run/dbus",
|
"/run/dbus",
|
||||||
"/var/run/dbus",
|
"/var/run/dbus",
|
||||||
|
// -- input devices (keylogging via evdev) --
|
||||||
|
"/dev/input/",
|
||||||
// -- X11 / Wayland sockets (keystroke injection, screen capture) --
|
// -- X11 / Wayland sockets (keystroke injection, screen capture) --
|
||||||
"/tmp/.X11-unix",
|
"/tmp/.X11-unix",
|
||||||
"/tmp/.ICE-unix",
|
"/tmp/.ICE-unix",
|
||||||
|
|||||||
Reference in New Issue
Block a user