This project is for educational and personal use only. It is intended to help users understand how key logging works and for ethical cybersecurity learning. Unauthorized use of keyloggers on systems you do not own or have explicit permission to access is illegal and may result in severe consequences. Please use responsibly.
This repository contains three versions of a keylogger:
- Python 3 Version - Runs as a script (keyLogger.py). -- **linux **✅python3 keyLogger.py 
- Standalone Executable (Windows/Linux) - Built using PyInstaller(keyExec). -- windows/linux✅./keyExec 
- macOS Version - .commandfile (keyMacExec.command) -- macOS✅ run then double click file in finderxattr -d com.apple.quarantine keyMacExec.command 
These versions allow logging of keystrokes to a file for personal system monitoring, security research, and ethical hacking practice.
This is the basic script version that runs directly in Python.
- Install dependencies (if needed):
pip install pynput pip install pyinstaller 
pyinstaller --onefile keyExec.pysudo apt install python3-pynput��sudo apt install python3-pyinstaller��