Skip to content

pys07/Keylogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages