Saturday, January 4, 2025

[keyc] : A proof-of-concept Linux Keylogger in C

[keyc] : KeyCapture

A simple keylogger for Linux using evdev. This program captures keyboard input. I

t requires root privileges to run. Keyboard device file defaults to event0. 


If different, check /proc/bus/input/devices and run with paramater specifying device file number (X) as in ./keyc X


Key chars are stored in .capt.dat


Compilation

Compile the program with GCC:

  • gcc keyc.c -o keyc

No comments:

Post a Comment