1
0
mirror of https://github.com/dimkouv/Linux-Keylogger.git synced 2025-05-15 21:00:09 -07:00
Linux-Keylogger/README.md
Dimitrios Kouveris c8133fb1ca Update README.md
2016-11-24 18:18:11 -05:00

32 lines
532 B
Markdown

# Linux Keylogger
# How to use
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
```
- Run keylogger
```sh
$ sudo bin/keylogger /dev/input/eventX
```
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
```
@TODO
1. Find keyboard device automatically
2. Write logs to structured html file