Check out below to learn how to install them. These keyloggers are simple and bare bones, however they work great! Feel free to fork to improve if your want. Currently, there are three keylogger programs for the major operating systems; Windows, Mac and Linux.
Please note, currently there is no known way to track keylogs in secure area on Mac, such as password inputs. Yes, it really defies the point of a keylogger, but...
Simply compile into an .exe, and then run.
There are two files; klog_visible and klog_invisible. It is pretty simple, but I will expand:
klog_visible
is visible, and the window does not close when typing. Great for testing it out. klog_invisible
makes the window of the logger disappear, and it also starts up hidden from view. Note that it is still visible in the task manager.
Both of these save the keystrokes to a .txt file when closed.
This is a little more complicated, as its Apple after all! Please note, it does not work for secure areas such as password inputs. I have not found a work around yet.
Download the repo. It will install in /usr/local/bin/keylogger
.
Install it:
$ git clone https://github.com/GiacomoLaw/Keylogger && cd keylogger
$ make && make install
It will log to /var/log/keystroke.log
. This may require root access, but you can change that if you want. Set where you want it to log:
$ keylogger ~/logfile.txt
Logging to: /var/log/keystroke.log
Want to make it start on system startup?
$ sudo make startup
That will run it on startup.
$ sudo make uninstall
Will uninstall the program, but not the logs.
You'll need to install python-xlib if you don't have it.
sudo apt-get install python-xlib
Check that you have git installed, and then run this.
git clone https://github.com/GiacomoLaw/Keylogger
This will clone this entire repo. Find the linux folder, extract it, and open it. Rename the extracted folder to linux-logger
Then run this:
giacomo@vostro:~$ cd linux-logger/
Set where you want the log to go before running this step.
giacomo@vostro:~/linux-logger$ python keylogger.py
<class 'Xlib.protocol.request.QueryExtension'>
<class 'Xlib.protocol.request.QueryExtension'>
RECORD extension version 1.13
The keylogger is now running! It will log your strokes to the file you specified. Stop it by hitting the grave key. Thats the one under escape on a standard keyboard.
You can make it run on startup:
python /home/giacomo/py-keylogger/keylogger.py
Feel free to contribute to fix any problems, or to submit an issue!
Please note, this repo is for educational purposes only. No contributors are to fault for any actions done by this program.