This project implements a simple keylogger in Python. It captures and logs keystrokes to a text file for monitoring purposes. The keylogger uses the pynput
library to listen for keyboard events, including alphanumeric keys and special keys.
- Logs all keystrokes to a file (
keylog.txt
). - Captures both normal and special keys.
- Exits gracefully when the
Esc
key is pressed.
- Python 3.x
pynput
library
- Clone the repository:
git clone https://github.com/b17w1z4rd/Keylogger.git cd Keylogger
- Install the required library: pip install pynput
- Run the script: python keylogger.py