summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorGravatar Antti K2014-07-29 21:05:00 +0200
committerGravatar Antti K2014-07-30 01:11:08 +0200
commitdb7f06bf1be93dbfe43ef928b2310a7a4311072e (patch)
treed48e2ba9c915d129758c8be1a71fc9cece36c12e
parent23825cc80443d321f116cc036afd031d6bf3f323 (diff)
downloadxkbcat-db7f06bf1be93dbfe43ef928b2310a7a4311072e.tar.gz
xkbcat-db7f06bf1be93dbfe43ef928b2310a7a4311072e.zip
Document origin and inspiration in a separate file
This keeps source separate from history.
-rw-r--r--origin.markdown16
-rw-r--r--xkbcat.c12
2 files changed, 18 insertions, 10 deletions
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) <jmaxwell@acm.vt.edu>
- as modified for easier physical key monitoring by Antti Korpi <an@cyan.io>.
- */
+ ------
-/*
- 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 <X11/Xlib.h>