Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

This Python script demonstrates a simple keylogger with a Tkinter GUI for setting the log file path. It records keystrokes and saves them to a log file. The log file's name is generated based on the current date and time.

NotificationsYou must be signed in to change notification settings

DDimov03/Keylogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

This Python script demonstrates a simple keylogger with a Tkinter GUI for setting the log file path. It records keystrokes and saves them to a log file. The log file's name is generated based on the current date and time.

image

Features

  • Records keystrokes and saves them to a log file.
  • Allows you to specify the log file path using a Tkinter GUI.
  • Excludes certain keys from recording (e.g., Shift, Backspace, Caps Lock, etc.).
  • Limits the number of characters per line in the log file.

Requirements

To run this script, you need the following libraries installed:

  • tkinter: For the GUI.
  • pynput: For monitoring and recording keyboard input.

You can installpynput using pip:

pip install pynput

Usage

Clone this repository to your local machine.

git clone https://github.com/DDimov03/Keylogger

Navigate to the project directory.

cd your-repo

Run the script.

python keylogger.py

A GUI window will open. Click the "Browse and Start Logging" button to specify the log file path. The keylogger will start recording after you select a file path.Press Ctrl+C or close the terminal to stop the keylogger.

Customization

You can customize the keylogger by modifying the keylogger.py script:

Change the max_characters_per_line variable to adjust the maximum number of characters per line in the log file.Modify the excluded_keys list to exclude specific keys from recording.

Note

This script is for educational purposes only. Be responsible and use it only for legal and ethical purposes.Respect privacy and obtain proper consent before recording keystrokes on someone else's computer.

About

This Python script demonstrates a simple keylogger with a Tkinter GUI for setting the log file path. It records keystrokes and saves them to a log file. The log file's name is generated based on the current date and time.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp