Skip to content

ab1120/Keylogger-using-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Keylogger-using-Python

This is a simple keylogger program implemented in Python using the pynput library. The program features a graphical user interface (GUI) that allows you to start and stop the keylogger. It logs pressed keys, including special keys, to a file named log.txt.


Features:-

1. Start and stop the keylogger using the provided GUI buttons.
2. Records both regular character keys and special keys.
3. Logs keystrokes to a text file (log.txt) in the same directory.

Prerequisites:-

1. Python: Make sure you have Python installed on your system. If not, you can download it from the official Python website.
2. "pynput" Library: The keylogger relies on the pynput library. You can install it using the following command:

pip install pynput

Usage:-

1. Clone or download the repository to your local machine.
2. Install the necessary dependencies as mentioned above.
3. Run the keylogger script by executing the following command in your terminal or command prompt:
python keylogger.py
4. The GUI window will open with "Start Keylogger" and "Stop Keylogger" buttons. Click the "Start Keylogger" button to begin recording keystrokes, and click the "Stop Keylogger" button to stop recording.
5. The logged keystrokes will be stored in a file named log.txt in the same directory as the script.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages