LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
LinkBack Search this Thread
Old 06-16-2010, 10:51 AM   #1
anjruu
LQ Newbie
 
Registered: Jun 2010
Posts: 3

Rep: Reputation: 0
Type/Code/Value interpretations for evbug module


In dmesg with the evbug module added to the kernel, how do I translate the Type/Code/Value values to keypresses and mouse moves? I think that these values correspond to keypresses, but I may be (probably am) wrong.



For some background, I am trying to write a keylogger for linux, for non-cracking, non-invasive, scientific-study-related reasons (see below for explanation). The way I have thought of thus far is to add the evbug module to the kernel, and then read the evbug logs using dmesg and filter for lines that contain the word evbug. That said, I need to understand the output, and lines like the following are confusing me.

[ 8753.328583] evbug.c: Event. Dev: input5, Type: 0, Code: 0, Value: 0
[ 8754.250077] evbug.c: Event. Dev: input5, Type: 4, Code: 4, Value: 28
[ 8754.250119] evbug.c: Event. Dev: input5, Type: 1, Code: 28, Value: 1
[ 8754.250142] evbug.c: Event. Dev: input5, Type: 0, Code: 0, Value: 0

Is there a good way of translating these values to keypresses?



The reason I would like the keylogger is to record input to a program that processes perfusion CT data, in order to later replicate, keystroke by keystroke, the input to the program for slightly different data. I am working in a radiology research department, and for some odd unknowable reason, they don't want me downloading a keylogger and installing it on a computer that also contains confidential information. A short script that I have written and can explain to them is alright, though, especially if it just takes output from dmesg and interprets it.



Thanks!
anjruu
 
  


Reply

Tags
keylogger


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
converting c code to c++ causes an type error knobby67 Programming 3 03-25-2010 08:02 AM
xterm/konsole "-e" changes control char interpretations? santana Programming 2 10-15-2009 07:18 PM
How to disable the evbug module? guysoft Debian 2 08-30-2006 08:28 AM
how to implement 'press n within 5 secs to terminate..' type of code aru_04 Programming 7 11-18-2005 01:44 AM
evbug.c flooding /var/log/messages w/ mouse movements, help! hollywoodb Linux - Software 2 05-24-2004 09:56 PM


All times are GMT -5. The time now is 12:48 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration