This is a simple keylogger and mouse movement logger implemented using Python with Tkinter and pynput libraries.
This program captures keyboard events and logs the pressed keys, as well as mouse movements, clicks, and scrolls. The logged data is displayed in a GUI window and saved to a log file called "keylog.txt".
- Python 3.x
- Tkinter library
- pynput library
-
Install the required libraries by running the following command:
-
Run the Python script:
-
The window will be hidden from the user's view, and the program will start logging keyboard events and mouse movements.
-
Press keys or move the mouse to see the logged data in the GUI window.
-
To stop the keylogger, press the Escape key, F12 key, or Scroll Lock key.
-
The logged data will be saved to the "keylog.txt" file.
Please note that keyloggers and mouse loggers have privacy and security implications. Use this program responsibly and only with the consent of the users involved. Be aware of any legal restrictions or regulations regarding the use of such software in your jurisdiction.