GreyWolf is a C-based keylogger for Linux systems. It can capture keystrokes and send them to a file or a remote server. It also includes an exploit server to receive keystrokes from a target machine. This project was developed as part of a System Programming course.
- Keystroke logging to a local file.
- Keystroke logging to a remote server.
- Exploit server to receive keystrokes from a target.
- Dynamic keyboard device detection.
- Handles special keys like Shift, Ctrl, Alt, etc.
- Signal handling for graceful shutdown.
The project uses a makefile for easy compilation.
To compile, run the make command in the project directory:
makeThis will create an executable file named GreyWolf.
To run the keylogger, execute the following command with superuser privileges:
sudo ./GreyWolfWhen you run GreyWolf, you will be presented with a menu with the following options:
- File: Log keystrokes to a file. You will be prompted to enter the file path.
- Network: Log keystrokes to a remote server. You will be prompted to enter the server's IP address.
- Start Exploit Server: Start a server to listen for incoming connections from a target machine running the keylogger.
GreyWolf.c: The main file containing the user interface and logic for choosing the output target.keylogger_core.c: The core keylogging functionality. It captures keystrokes from the keyboard device.keylogger_core.h: Header file forkeylogger_core.c.network_setup.c: Functions for setting up network connections (client and server).network_setup.h: Header file fornetwork_setup.c.makefile: For compiling the project.README.md: This file.
- A C compiler (like GCC).
makeutility.- Linux-based operating system.
This project is unlicensed.