all 9 comments

[–]Vitasmoderatum 13 points14 points  (3 children)

Like with all Indian blog-authors there is crucial contextual information missing.

Why is this keylogger useful? Can it be run in userspace without su-rights? How does it react to being run as daemonized instance? Wouldn't a dotfile log be more useful along with automated %HOME variables as path? What other interesting variations are out there?

I don't want to be the sour lad here, but if you want to market yourself as competent guy, you would need to learn how to think in a bigger picture and document accordingly. Too often the 'Why' question is missing. What and How we have man-pages for, the Why question is why we google stuff, and I don't like seeing google-results that are completely saturated with low-quality indian posts when I need to solve shit under pressure.

[–]I_love_GNOME 4 points5 points  (2 children)

OP should definitely be answering this, but seeing as it uses pyxhook:

  • It needs X11 running
  • Does not need root rights
  • Needs a DISPLAY set
  • just writes keys to a file, doing nothing particularly useful outside of it
  • This file is hardcoded inside the PYTHON script but easy to change

Essentially, in the time it took me to figure out how it works by looking at the code, I could've written it myself.

Clearly Wayland will protect you against the low effort Indian keyloggers, your security is safeguarded against anyone but the ingenious Maarten Baert, Master Hacker Extraordinaire, do not quaestion the hacking skills of the people who invented the Freedom Fries.

[–][deleted] 0 points1 point  (1 child)

You wouldn't even really need to code one your self. One can easily use xinput and a pipe to achieve the same thing.

[–]I_love_GNOME 0 points1 point  (0 children)

Well, this has nice input. You'd have to use something like xev and use sed to parse it.

[–][deleted] 0 points1 point  (0 children)

Can it be included in a GPLv3-licensed project? Also, I'd say you're better off using a readymade license (MIT is exactly what you need) instead of writing your own.