A simple keylogger created in Python using "pynput" library. This keylogger records each key press event and logs it to file. Please note this is for ethical purposes only!
- Logs all pressed keys to file
- Records timestamps for the start and stop
- Handles special keys such as scpace, enter, esc, backspace and etc.
- Python 3.x installed
- Pynput library installed
- Clone this repository: git clone https://github.com/aykhanpashayev/keylogger.git
- Install required library: pip install pynput - Windows; sudo apt install python3-pynput - Linux;
- Run: python keylogger.py
- It opens a file named "logFile.txt" and write each pressed key to that file