A simple keylogger written in Python.
It records every word typed and saves each one on a new line in a log file.
Install the required library with:
pip install pynputThen run the code with:
python main.pyThe program intercepts keystrokes and, whenever a word is completed, writes it on a new line in the log file.
It can be useful for security testing, controlled monitoring, or as a programming exercise.
⚠️ Legal Notice: Use this script only in authorized environments and with explicit consent from all parties involved. Misuse may be illegal.
Note: This script does not work under WSL. Run it directly on Windows for it to work.