home..
Linux Kernel Custom Keyboard Driver (XOR Encryption)
Mia Vrhovnik / May 2023
C
kernel
driver development
linux
FULL SOURCE CODE:
Description
- The kernel module registers a character device that transfers keyboard input to user space, encrypts it using XOR and then writes it into a file.
- The user space application reads the file, decodes it using XOR and then prints it to the console.
⚠️ WARNING: Experimenting with kernel modules can be dangerous, make sure you know what you are doing before trying to run this code.