Changowero
April 11th, 2011, 07:23 AM
Hey!
I'm trying to make a Keylogger, just to learn Linux a little better.
I have already Googled some info, and I think I have to read from a dev/input. In my computer,
when I "cat /dev/input/event1" a lot of junk appears on the terminal (when I hit a key), so I
think I already found the correct event. However, it's just weird symbols and nonsense. I read
those are the scancodes, but I can't get any meaning out of them.
How can I interpret them? Also, in what language would you do it? Python? C?
Thanks!
I'm trying to make a Keylogger, just to learn Linux a little better.
I have already Googled some info, and I think I have to read from a dev/input. In my computer,
when I "cat /dev/input/event1" a lot of junk appears on the terminal (when I hit a key), so I
think I already found the correct event. However, it's just weird symbols and nonsense. I read
those are the scancodes, but I can't get any meaning out of them.
How can I interpret them? Also, in what language would you do it? Python? C?
Thanks!