Skip to content

A simple python based Key-Logger project in Cyber Security

License

Notifications You must be signed in to change notification settings

ramprasathmk/keylogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keylogger

Keylogger

Keylogger is a Python-based project designed to capture and log keystrokes. It demonstrates how key-logging can be used for various purposes, such as monitoring typing activity for research, troubleshooting keyboard issues, or learning how keyloggers work for cybersecurity education.

⚠️ Note: This project is for educational purposes only. Please use responsibly and only on systems you have permission to monitor.


🚀 Features

  • Capture Keystrokes: Records every keystroke made on the keyboard.
  • Logs to File: Saves keystrokes into a log file for later analysis.
  • Hidden Execution: Runs in the background without user interference.
  • Modular Design: Built with functions that can be easily customized or extended.

📦 Project Structure

The project contains the following main files:

  • keylogger.py - The main script that initiates the keylogger.
  • requirements.txt - Lists all the Python libraries needed for this project.

</> Technologies Used

Techs Used

🛠️ Setup and Installation

Follow these steps to get the project up and running on your local machine.

Prerequisites

  • Python 3.x: Make sure you have Python installed. You can download it from python.org.
  • Git: (Optional) To clone the repository from GitHub.

Installation

1. Clone the Repository

  git clone https://github.com/ramprasathmk/keylogger.git
  cd keylogger

2. Set Up Virtual Environment

Run this command to create and activate a virtual environment (recommended):

  python -m venv env

3. Activate the Virtual Environment

  • Windows:
  env\Scripts\activate
  • MacOS/Linux:
  source env/bin/activate

4. Install Requirements

Install the required dependencies:

  pip install -r requirements.txt

🔍 Usage

Once you've set up the environment, you're ready to run the keylogger.

1. Run the Keylogger

  • To start logging keystrokes, run:
  python keylogger.py

2. Check Logs

  • Keystrokes are saved in a file (specified within the script). Open this file to view the logged keystrokes.

3. How it works?

⚠️ Disclaimer

  • This keylogger is intended for educational and research purposes only. Unauthorized keylogging is illegal and unethical. Only run this on systems you have permission to monitor.

💡 Customization and Expansion

  • Logging Format: You can adjust how keystrokes are logged (timestamps, formatting, etc.) within the script.
  • Additional Features: Try adding email reporting, screenshots, or encryption to further enhance functionality.

🧑‍💻 Contributing

  • Contributions are welcome! Feel free to open issues or submit pull requests to improve the project. Always ensure compliance with ethical guidelines and project goals.

📄 License

  • This project is licensed under the MIT License - see the LICENSE file for details.

🙋‍♂️ Questions?

  • If you have any questions or need clarification, feel free to reach out via the GitHub Issues section.

  • This README provides a friendly, clear, and ethical overview, and ensures users understand both setup and legal considerations.

✨ Show your support

Give a ⭐ if you like this repository!

Happy Logging! 🔍

Releases

No releases published

Packages

No packages published