Skip to content

lvb05/Keylogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Keylogger

⚠️ This project is intended only for ethical hacking education and cybersecurity awareness. It does not send data over the internet and is safe to run locally.


πŸ“Œ Overview

This Python-based Keylogger Simulator demonstrates how basic keylogging tools work by capturing keyboard input locally. It helps cybersecurity students and ethical hackers understand the mechanics behind keyloggers in a legal and controlled environment.


πŸš€ Features

  • βœ… Captures all keystrokes with timestamps
  • βœ… Automatically writes logs to logs/key_logs.txt
  • βœ… Terminates safely when the ESC key is pressed
  • βœ… Uses threading to flush logs every 60 seconds
  • βœ… 100% offline – does not send data anywhere
  • βœ… Beginner-friendly and well-documented code

πŸ”§ Installation

  1. Clone the repo or download the ZIP
git clone https://github.com/YOUR_USERNAME/Keylogger-Simulator.git
cd Keylogger-Simulator
  1. Install dependencies
pip install -r requirements.txt
  1. Run the simulator
python keylogger.py

Press ESC key anytime to stop the logger.


πŸ“‚ Sample Output

View the sample log file here:
πŸ‘‰ logs/key_logs.txt

🧠 Why This Project?

Keyloggers are common in both offensive and defensive security:

πŸ›‘οΈ Blue teams learn how to detect them

πŸ•΅οΈ Red teams learn how they’re made (ethically)

πŸ§‘β€πŸŽ“ Students understand keyboard event listeners

This simulator helps bridge the knowledge gap safely.

βš–οΈ Disclaimer

This tool is intended only for personal learning, ethical hacking labs, and red team simulations with full consent. Do not use this on anyone’s device without explicit permission.

β˜• Support

If you found this useful, consider ⭐ starring the repo or connecting with me on LinkedIn.


About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages