Skip to content

Commit

Permalink
Prepare for release v1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
jarun committed Mar 6, 2018
1 parent 0b57776 commit 33361b3
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
keysniffer v1.7
2018-03-06

What's in?
- Completely commented code for kernel newbies
- Defensive (and redundant) code removal

-------------------------------------------------------------------------------

keysniffer v1.6
2017-12-12

Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# keysniffer
A Linux kernel module to grab keys pressed in the keyboard, or a keylogger.

keysniffer was originally written with the US keyboard (and conforming laptops) in mind. By default it shows human-readable strings for the keys pressed. Optionally, the `keycode shift_mask` pair can be printed in hex or decimal. You can lookup the keycodes in `/usr/include/linux/input-event-codes.h`.
keysniffer was initially written with the US keyboard (and conforming laptops) in mind. By default it shows human-readable strings for the keys pressed. Optionally, the `keycode shift_mask` pair can be printed in hex or decimal. You can lookup the keycodes in `/usr/include/linux/input-event-codes.h`.

The keypress logs are recorded in debugfs as long as the module is loaded. Only root or sudoers can read the log. The module name has been camouflaged to blend-in with other kernel modules.

Expand All @@ -13,7 +13,7 @@ You can, however, execute a script at shutdown or reboot (the procedure would be

<p align="center">
<a href="https://saythanks.io/to/jarun"><img src="https://img.shields.io/badge/say-thanks!-ff69b4.svg" /></a>
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RMLTQ76JSXJ4Q"><img src="https://img.shields.io/badge/Donate-$5-green.svg" alt="Donate via PayPal!" /></a>
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RMLTQ76JSXJ4Q"><img src="https://img.shields.io/badge/PayPal-donate-green.svg" alt="Donate via PayPal!" /></a>
</p>

## Table of contents
Expand Down Expand Up @@ -109,12 +109,13 @@ To check the module details:
# modinfo kisni.ko
filename: kisni.ko
description: Sniff and log keys pressed in the system to debugfs
version: 1.6
version: 1.7
author: Arun Prakash Jana <[email protected]>
license: GPL v2
srcversion: 40AA880EE5017590B293170
srcversion: 26381298B8DB375C50B04EA
depends:
vermagic: 4.4.0-103-generic SMP mod_unload modversions
name: kisni
vermagic: 4.13.0-32-generic SMP mod_unload
parm: codes:log format (0:US keys (default), 1:hex keycodes, 2:dec keycodes) (int)
```

Expand Down
2 changes: 1 addition & 1 deletion keysniffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#define HEX 1 /* Type code for hexadecimal log */
#define DEC 2 /* Type code for decimal log */

#define KEYSNIFFER_VERSION "1.6"
#define KEYSNIFFER_VERSION "1.7"

/* User specified log pattern, used as a module parameter */
static int codes;
Expand Down

0 comments on commit 33361b3

Please sign in to comment.