Keylogger For FreeBSD

Chuck Swiger cswiger at
Tue Jun 17 12:32:48 PDT 2003

Rohit wrote:
> I'd like to write a keylogger for my freebsd box. Something that would log all 
> keyboard activity on my pc. I have peeked at the keyboard files in the 
> kernel. However, if someone could point me int the right direction... it will 
> be greatly appreciated.

At the shell level, something like the history command or 'script' is probably 
more useful.  However, for a starting point maybe see /usr/src/sys/dev/kbd.


More information about the freebsd-questions mailing list