LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   lkl user space keylogger needs keymap file (https://www.linuxquestions.org/questions/linux-software-2/lkl-user-space-keylogger-needs-keymap-file-201315/)

foustware 07-05-2004 08:34 AM

lkl user space keylogger needs keymap file
 
Hello all, i've been wanting a keylogger for my suse 9 linux box for a while now. I see all this commercial software for windows but there doesn't seem to be alot for linux. I got a link from google for lkl. It seemed promising so i downloaded it, but it needs a keymap file and i'm not sure where mine is. When i check in yast under editor for /etc/sysconfig files, it says the keytable is set as us.map.gz but i don't know where the keymap file being used is. can anyone help?

Oliv' 07-05-2004 10:16 AM

Hello,

Keymaps files are stored in /usr/share/keymaps/i386/... for precise info, see: http://mirror.vtx.ch/lfs/lfs/view/5....ter06/kbd.html

Oliv'

foustware 07-05-2004 08:39 PM

Thanks, but...
 
Thanks for the reply, however, my path is /usr/share/kbd/keymaps/i386 and that doesn't work when i run lkl. When i try i get the following...


Linux:/usr/local/bin # ./lkl -l -k /usr/share/kbd/keymaps/i386 -o /home/joelfoust/lkl_log.log

Started to log port 0x60. Keymap is /usr/share/kbd/keymaps/i386. The logfile is /home/joelfoust/lkl_log.log.

unable to find keymap-file: No such file or directory
unable to find UPPER case keymap file, check it!
linux:/usr/local/bin #

Oliv' 07-06-2004 08:06 AM

I've downloaded lkl sources and it seems that it does not use /usr/share/keymaps file but its own file store in /where/is/lkl/keymaps.
So the correct command line seems to be for you:
./lkl -l -k us_km -o /home/joelfoust/lkl_log.log
If the results are wrong, you can try with "us_kmALT" or "us_kmUP" instead :)

Oliv'

foustware 07-06-2004 02:19 PM

thanks
 
Thanks, it turns out the sources i downloaded from freashmeat didn't have all of the files for the installation. I didn't have any problems installing lkl but it definetly didn't have the keymaps folder. I searched on google for lkl sources and got all the files in one download. Now i have it running thanks to your help. I wouldn't even had known there were missing files if you hadn't told me about the included keymaps.

If anyone wants the complete lkl they can get it from here:

http://distro.ibiblio.org/pub/linux/...r/sources/lkl/

thanks again!

ark_learn 10-18-2007 09:49 AM

lkl segmentation fault
 
Hi,
When i try to start lkl

lkl -l -k /lib/kbd/keymaps/i386/ -o /tmp/orbit-lkl.log

Started to log port 0x60. Keymap is /lib/kbd/keymaps/i386/. The logfile is /tmp/orbit-lkl.log.
Segmentation fault

and there is no file /tmp/orbit-lkl.log create can anyone help me out to fix this


All times are GMT -5. The time now is 10:27 PM.