]> git.scottworley.com Git - keystroke-timestamps/log
keystroke-timestamps
12 years agoMake EOF fatal
Scott Worley [Thu, 26 Dec 2013 08:44:55 +0000 (00:44 -0800)]
Make EOF fatal

12 years agoUse select() to wait for data
Scott Worley [Thu, 26 Dec 2013 08:34:45 +0000 (00:34 -0800)]
Use select() to wait for data

In preparation for handling multiple inputs.

12 years agoPrint usec timestamps correctly
Scott Worley [Thu, 26 Dec 2013 07:55:28 +0000 (23:55 -0800)]
Print usec timestamps correctly

Don't drop zeros following the decimal point.

12 years agoSpecify keyboard device as an option
Scott Worley [Thu, 26 Dec 2013 07:54:06 +0000 (23:54 -0800)]
Specify keyboard device as an option

12 years agoParse options with getopt instead of strcmp
Scott Worley [Thu, 26 Dec 2013 07:17:28 +0000 (23:17 -0800)]
Parse options with getopt instead of strcmp

12 years agoOnly print to-the-second resolution by default.
Scott Worley [Thu, 5 Sep 2013 05:06:29 +0000 (22:06 -0700)]
Only print to-the-second resolution by default.

Put microseconds behind a flag.

This makes it harder to do timing analysis on the log file to try to
turn this into a keylogger.

(More precise timing information is still available to an on-line attack
by watching the flush timings or by watching the CPU usage and run state
of the process.)

12 years agoSort includes
Scott Worley [Thu, 5 Sep 2013 05:03:40 +0000 (22:03 -0700)]
Sort includes

12 years agoAdd proper error reporting for open failures
Scott Worley [Wed, 4 Sep 2013 18:04:58 +0000 (11:04 -0700)]
Add proper error reporting for open failures

12 years agoInitial version
Scott Worley [Wed, 4 Sep 2013 18:04:37 +0000 (11:04 -0700)]
Initial version