1
0
mirror of https://github.com/dimkouv/Linux-Keylogger.git synced 2025-05-19 05:00:08 -07:00
Linux-Keylogger/README.md
2016-11-24 18:14:44 -05:00

26 lines
454 B
Markdown

# Linux Keylogger
# How to use
1. Find your keyboard device
Your keyboard device should be in the below format
```
/dev/input/eventX
```
Find it using
```sh
$ cat /var/log/Xorg.0.log | grep /dev/input | grep -i keyboard
```
2. Run keylogger
```sh
$ sudo bin/keylogger /dev/input/eventX
```
3. Now whatever you type should be printed in the terminal.
If you want to keep in log file use
```sh
$ sudo bin/keylogger /dev/input/eventX > logfile.txt
```