Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

⌨️ Simple Keylogger - Python Keystroke Logger

This is a Python-based keylogger that captures and logs keystrokes in real-time and saves them into a text file. Built using the pynput library, this project is a beginner-friendly introduction to monitoring keyboard activity.


✨ Features

  • 📥 Logs every key press (letters, numbers, symbols, special keys)
  • 💾 Automatically saves logs to key_log.txt
  • ⏹️ Press ESC to stop logging
  • 🧑‍💻 Lightweight and runs in the background

🧠 What is a Keylogger?

A keylogger is a program that records the keys struck on a keyboard. This one logs input locally for educational purposes only.


🚀 Getting Started

📋 Prerequisites

  • Python 3.x installed
  • Required library:
pip install pynput

🛠️ How to Run

  1. Clone this repository:
git clone https://github.com/pys07/PRODIGY_CS_04.git
cd PRODIGY_CS_04
  1. Run the script:
python keylogger.py
  1. Type something in the terminal or another window
  2. Press ESC to stop the logger
  3. Open key_log.txt to view the logged keystrokes

▶️ Watch Demo


📂 Project Structure

PRODIGY_CS_02/
├── keylogger.py               
└── README.md        

🧪 Sample Output

A keylogger is a program that records every keystroke made on a keyboard. It captures typed information secretly or for monitoring purposes.

🔒 Disclaimer

This project is intended strictly for educational use only. Unauthorized use of keyloggers is unethical and may be illegal. Use responsibly, and only on machines where you have permission.


✍️ Author

Made with ♥ by Payal Samant

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages