Skip to content

A simple ethical keylogger built in Python, designed for educational purposes. It logs keystrokes with timestamps and saves them to a file. The keylogger includes user consent prompts and is time-limited for secure usage. Ideal for learning about keystroke monitoring and ethical programming practices.

Notifications You must be signed in to change notification settings

Maharkk/PRODIGY_CS_04

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Simple Keylogger

This project is a basic keylogger built in Python, designed for educational and ethical purposes. It logs keystrokes with timestamps and saves them to a log file. The program emphasizes user consent and provides an option to specify the duration for which keystrokes are logged.

Features

  • User Consent: A disclaimer is displayed, and the user must accept the terms before running the keylogger.
  • Time-Limited Logging: Users can specify how long the keylogger should run.
  • Timestamped Keystrokes: Each keystroke is logged with a timestamp for clarity.
  • Simple and Lightweight: Focused on simplicity, making it easy to understand and use for educational purposes.

Installation

  1. Clone the repository:

    git clone https://github.com/Maharkk/PRODIGY_CS_04.git
    cd ethical-keylogger
  2. Install the required Python library:

    pip install pynput

Usage

  1. Run the Python script:

    python keylogger.py
  2. You will be prompted to agree to the disclaimer and set a time limit for logging keystrokes.

  3. Once the time limit is reached, the keystrokes will be saved to keystrokes_log.txt.

Disclaimer

This keylogger is intended for ethical and educational purposes only. You must have explicit permission to use this software on any device or system. Unauthorized use can violate laws and privacy regulations. The author is not responsible for any misuse of this software. .

About

A simple ethical keylogger built in Python, designed for educational purposes. It logs keystrokes with timestamps and saves them to a file. The keylogger includes user consent prompts and is time-limited for secure usage. Ideal for learning about keystroke monitoring and ethical programming practices.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages