Shadow-Logger

🔑 Cross-Platform Python ShadowLogger

A simple keylogger written in Python that works on Linux (using evdev) and Windows (using pynput). It logs all keystrokes in plain text to a file and can auto-run on boot in Linux.


📁 Project Structure

keylogger/
├── .gitignore
├── keylogger.py          # Cross-platform logger script
├── keylogger.service     # systemd service for Linux
├── install.sh            # Linux installer
├── uninstall.sh          # Linux uninstaller
├── install.bat           # Windows installer
├── uninstall.bat         # Windows uninstaller
├── requirements.txt      # Required Python packages
└── README.md             # This file

💻 Features


📦 Installation

🐧 Linux

  1. Change device path in keylogger.py if needed (/dev/input/event3)
  2. Run the installer:
sudo ./install.sh
  1. Logs will be saved to:
~/keylog.txt

✅ Automatically runs on system boot via systemd.


🪟 Windows

  1. Install dependencies:
install.bat
  1. Logs will be saved to:
C:\Users\<YourName>\keylog.txt

❌ Uninstallation

Linux:

sudo ./uninstall.sh

Windows:

uninstall.bat

⚙️ Configuration


This software is for educational and ethical research on devices you own.
Unauthorized use may violate privacy laws and is strictly not recommended.