diff --git a/README.md b/README.md index 6c7c834..81af2b3 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Linux Keylogger # How to use -1. Find your keyboard device +Find your keyboard device Your keyboard device should be in the below format ``` /dev/input/eventX @@ -11,15 +11,21 @@ Find it using $ cat /var/log/Xorg.0.log | grep /dev/input | grep -i keyboard ``` -2. Run keylogger +- Run keylogger ```sh $ 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 ```sh $ sudo bin/keylogger /dev/input/eventX > logfile.txt ``` + + + +@TODO +1. Find keyboard device automatically +2. Write logs to structured html file