This program is a simple keylogger written in Python. It listens to keyboard input and records all pressed keys into separate log files:
- Normal keys: letters, numbers, and standard symbols
- Numpad keys: numbers from the numeric keypad
- Special keys: like Enter, Backspace, Shift, Ctrl, etc.
- Virtual codes: handles keys that are represented by virtual key codes
- The keylogger also features:
- Live console output with timestamps for each key press
- Optional color-coded logging to differentiate between normal, numpad, and special keys
- Automatic log folder creation (logs/)
⚠️ Intended for educational purposes only. Don’t use it for malicious activities.
- clone this repo
git clone https://github.com/escobez/keylogger- enter in repo
cd ./keylogger- install the dependencies
python -m venv venv
venv\Scripts\activate.bat
pip install -r requirements.txt
- run code
python run.pyIf there is an error, don't look for me
the program listens to keyboard input and saves it to a text file (for me it's kind of obvious). Saves pressed keys into a file in logs/ Special keys saved separately
don't use this for anything wrong (no matter how difficult it is)
If you want to contribute to this shitty project feel free to help and put your name and username in CONTRIBUTORS.