mirror of
https://github.com/dimkouv/Linux-Keylogger.git
synced 2025-05-15 16:10:12 -07:00
Update README.md
This commit is contained in:
parent
2bcf74b185
commit
c8133fb1ca
12
README.md
12
README.md
@ -1,7 +1,7 @@
|
|||||||
# Linux Keylogger
|
# Linux Keylogger
|
||||||
|
|
||||||
# How to use
|
# How to use
|
||||||
1. Find your keyboard device
|
Find your keyboard device
|
||||||
Your keyboard device should be in the below format
|
Your keyboard device should be in the below format
|
||||||
```
|
```
|
||||||
/dev/input/eventX
|
/dev/input/eventX
|
||||||
@ -11,15 +11,21 @@ Find it using
|
|||||||
$ cat /var/log/Xorg.0.log | grep /dev/input | grep -i keyboard
|
$ cat /var/log/Xorg.0.log | grep /dev/input | grep -i keyboard
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Run keylogger
|
- Run keylogger
|
||||||
```sh
|
```sh
|
||||||
$ sudo bin/keylogger /dev/input/eventX
|
$ sudo bin/keylogger /dev/input/eventX
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
3. Now whatever you type should be printed in the terminal.
|
Now whatever you type should be printed in the terminal.
|
||||||
If you want to keep in log file use
|
If you want to keep in log file use
|
||||||
```sh
|
```sh
|
||||||
$ sudo bin/keylogger /dev/input/eventX > logfile.txt
|
$ sudo bin/keylogger /dev/input/eventX > logfile.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@TODO
|
||||||
|
1. Find keyboard device automatically
|
||||||
|
2. Write logs to structured html file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user