This repository provides the necessary Linux udev rules to allow your Ducky One X keyboard to natively interface with the official configuration tool (one-x.duckyhub.io/stroke) on Linux.
By default, Linux distributions prevent standard users from reading and writing to raw HID devices for security reasons. Because standard access tags can sometimes fail, this repository uses universally open 0666 permissions. To mitigate security risks, a toggle script is provided so you can enable access only when needed.
sudo ./toggle_ducky_access.sh on
The included 99-ducky-onex.rules uses universally open 0666 permissions to ensure reliable detection across all browser setups. This theoretically allows any user or background service on the machine to interact with the keyboard. To ensure your system remains secure, always run the toggle script with the off argument when you are done configuring your device:
sudo ./toggle_ducky_access.sh off
After running the command, unplug and replug the keyboard to secure it.
0x3233systemd-logind and udev.3 commits
Hacker News (1)
Shell
100.0%
This repository provides the necessary Linux udev rules to allow your Ducky One X keyboard to natively interface with the official configuration tool (one-x.duckyhub.io/stroke) on Linux.
By default, Linux distributions prevent standard users from reading and writing to raw HID devices for security reasons. Because standard access tags can sometimes fail, this repository uses universally open 0666 permissions. To mitigate security risks, a toggle script is provided so you can enable access only when needed.
sudo ./toggle_ducky_access.sh on
The included 99-ducky-onex.rules uses universally open 0666 permissions to ensure reliable detection across all browser setups. This theoretically allows any user or background service on the machine to interact with the keyboard. To ensure your system remains secure, always run the toggle script with the off argument when you are done configuring your device:
sudo ./toggle_ducky_access.sh off
After running the command, unplug and replug the keyboard to secure it.
0x3233systemd-logind and udev.Hacker News (1)
3 commits
Shell
100.0%