Skip to content

A simple keylogger written in C++ for educational and ethical research purposes. It records keystrokes and saves them to a log file. ⚠️ Use only on systems you own or have permission to test.

Notifications You must be signed in to change notification settings

talha-shabbir/KeyLogger-Windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

KeyLogger-Windows

Overview

This is a simple keylogger written in C++ that records keystrokes and saves them to a file (keys.txt). It runs in the background and logs user input, including special keys like Enter, Backspace, Shift, and more.

Features

  • Logs all key presses
  • Hides the console window for stealth mode
  • Records special keys with descriptive labels
  • Saves logs to keys.txt

Installation & Usage

Prerequisites

  • Windows OS
  • A C++ compiler (e.g., MinGW, MSVC)

Compilation

 g++ keylogger.cpp -o keylogger

Running the Program

 ./keylogger

The program will start logging keystrokes and store them in keys.txt.

Disclaimer

This project is for educational and ethical research purposes only. Unauthorized use of keyloggers is illegal and punishable by law. Use this responsibly and only on systems you own or have explicit permission to test.

About

A simple keylogger written in C++ for educational and ethical research purposes. It records keystrokes and saves them to a log file. ⚠️ Use only on systems you own or have permission to test.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages