1
0
mirror of https://github.com/dimkouv/Linux-Keylogger.git synced 2025-05-15 20:10:20 -07:00

Update README.md

This commit is contained in:
Dimitrios Kouveris 2016-11-26 23:43:48 -05:00 committed by GitHub
parent 5c5a8375c5
commit 80cfce0bf9

View File

@ -18,24 +18,23 @@ $ sudo ./install.sh
$ sudo keylogger $ sudo keylogger
``` ```
- Customize <hr>
Give log file
- Optional
Give custom log file
```sh ```sh
$ keylogger -o /path/to/my/logfile.txt $ keylogger -o /path/to/my/logfile.txt
``` ```
<hr>
Give keyboard device Change keyboard device
```sh ```sh
$ keylogger -k /dev/input/eventX $ keylogger -k /dev/input/eventX
``` ```
> Find your keyboard device Find your keyboard device. It should be in the below format.
> Your keyboard device should be
> /dev/input/eventX > /dev/input/eventX
Find it using
```sh ```sh
$ cat /var/log/Xorg.0.log | grep /dev/input | grep -i keyboard $ cat /var/log/Xorg.0.log | grep /dev/input | grep -i keyboard
``` ```
@ -44,5 +43,5 @@ $ cat /var/log/Xorg.0.log | grep /dev/input | grep -i keyboard
<hr> <hr>
- Open ```/usr/share/keylogger/.options``` for manual settings. - Open ```/usr/share/keylogger/.options``` for manual settings.
- To hide keylogger press Ctrl+Z and then close the terminal. - To hide keylogger press Ctrl+Z and then close the terminal. Close it using ```sudo killall keylogger```.