A minimal keylogger that accurately track keyboard strokes made in Python
Image by Markus Spiske from Pixabay
Clone | Download the Repository => then open a terminal | command prompt to your project, and then run the app.py script and your keylogger should up spying on every keystroke you will ever write
git clone https://github.com/Kalebu/python-keylogger
cd python-keylogger
python app.py
A keylogger will automatically open a new file on your project directory and then start storing yours keys, to change the filename, or directory to store the logs, open the script and then adjust the filename at the bottom of script just as illustrated below;
if __name__ == '__main__':
logger = KeyLogger(filename="path-to-logs-file.txt')
logger.main()
input()
The script itself tells, this script is only for educational purpose only, just try it on your computer and use what you know as a faithul warrior who is welly equiped with martial arts but doesn't use it to punish those who don't.
If you have gotta anything to add to the script, please do -> Fork it -> Create a new branch (feature-name) -> Submit your pull requests -> You're merged congrats !!!
If you're facing any issue with the usage of script, well you have (google) so use it well or if you're to lazy to google just raise an issue on this repository.
Hope you learnt something, then just give it star & share it to more of your friends as it founds you
All the credits to kalebu