News for hackers. Stuff that matters.
Re:Show HN: keysniffer – Linux kernel module to log pressed ... by throwaway0209 on Monday May 16, 2016 @07:22AM (#11705583)
would that yield the same? (i am not able to try it at the moment)
Re:Show HN: keysniffer – Linux kernel module to log pressed ... by rincebrain on Monday May 16, 2016 @07:46AM (#11705676)
Not really - in part because /dev/input is a directory, and in part because I _believe_ reading from /dev/input consumes the event, which would be less than ideal for a silent keylogger. ;)

(/dev/input/XXXX also gives more structured output than just raw key events IIRC.)

Re:Show HN: keysniffer – Linux kernel module to log pressed ... by deutronium on Monday May 16, 2016 @08:54AM (#11705936)
You can actually read keypresses from /dev/input/eventN to make a keylogger, I wrote a simple one in lua.
Re:Show HN: keysniffer – Linux kernel module to log pressed ... by rincebrain on Monday May 16, 2016 @09:00AM (#11705956)
I sit corrected, thank you.