- libwebsockets
make
Use sudo
to run. The keylogger will display output to a /tmp/.keylogger.log
file.
You can also get output via websocket on port 33300.
If target device is incorrect. Use the --dev <PATH>
option to specify a device event. List available devices run ls -l /dev/input/by-id/
Example:
sudo out/keylogger --dev /dev/input/event7
Warning
Rootless method gives you direct access to your keyboard. This method poses a potential security risk. Make sure you only use this program for personal use on your own computer.
To run rootless, follow these steps:
-
Create a udev rules file (for example, /etc/udev/rules.d/90-keylogger.rules)
echo "SUBSYSTEM==\"input\", OWNER=\"$USER\", MODE=\"0660\"" | sudo tee /etc/udev/90-keylogger.rules > /dev/null
-
Reload udev rules
sudo udevadm control --reload-rules sudo udevadm trigger
~/.clang-format
base from Google
BasedOnStyle: Google
IndentWidth: 4
ColumnLimit: 120
In Google i trust