From db7f06bf1be93dbfe43ef928b2310a7a4311072e Mon Sep 17 00:00:00 2001 From: Antti K Date: Tue, 29 Jul 2014 21:05:00 +0200 Subject: Document origin and inspiration in a separate file This keeps source separate from history. --- origin.markdown | 16 ++++++++++++++++ xkbcat.c | 12 ++---------- 2 files changed, 18 insertions(+), 10 deletions(-) create mode 100644 origin.markdown diff --git a/origin.markdown b/origin.markdown new file mode 100644 index 0000000..3220566 --- /dev/null +++ b/origin.markdown @@ -0,0 +1,16 @@ +The `xspy` X11 keylogger was written, according to its source code comments, by +Jon A. Maxwell. The source was found [floating about on the web][1] on Jul +26th, 2014. The `xspy` program has been included in security-focused Linux +distributions (at least BackTrack and BlackArch) seemingly in the same +unchanged source form. + +According the comments, the program was written by Jon A. Maxwell (noted to +also be known as "JAM") with the email address `jmaxwell@acm.vt.edu`. The +author was not contactable. + +The code was rewritten to be more amenable to machine parsing and for +GNU-C11-compatibility by Antti Korpi `an@cyan.io`. To sufficiently distinguish +the completely different API and purpose, it was renamed. + + +[1]: https://www.eigenheimstrasse.de/~ben/keyspeedapplet/xspy.c diff --git a/xkbcat.c b/xkbcat.c index 6fa7cd6..32c427e 100644 --- a/xkbcat.c +++ b/xkbcat.c @@ -1,16 +1,8 @@ /* xkbcat - Monitors key presses globally across X11. - - A rather simplified version of - `xspy` by Jon A. Maxwell (JAM) - as modified for easier physical key monitoring by Antti Korpi . - */ + ------ -/* - xspy polls the keyboard to determine the state of all keys on - the keyboard. By comparing results it determines which key has - been pressed. In this way it echos to the user all physical keys typed. + Monitors key presses globally across X11. */ #include -- cgit v1.3-2-g0d8e