This is a Python-based keylogger program that records keystrokes and periodically sends the logged data to a specified webhook URL. The program uses the keyboard library to capture keystrokes and requests to send the data.
- Logs all keystrokes typed on the keyboard.
- Sends the logged keystrokes to a webhook at regular intervals (default: 10 seconds).
- Utilizes threading to handle periodic HTTP requests without interrupting the keylogging process.
- Python 3.7 or higher
- Installed dependencies:
keyboard,requests
Download or clone the project files to your local machine.
Creating a virtual environment ensures that dependencies are managed cleanly.
-
Open a terminal in the project folder.
-
Run the following commands:
python -m venv myvenv myvenv\Scripts\activate
-
Install Dependencies After activating the virtual environment, install the required packages:
pip install -r requirements.txt\
You can create an executable file for the keylogger program using pyinstaller.
pip install pyinstaller
pyinstaller --onefile keylogger.py