LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-05-2004, 08:34 AM   #1
foustware
Member
 
Registered: Dec 2003
Posts: 42

Rep: Reputation: 15
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?
 
Old 07-05-2004, 10:16 AM   #2
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
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'
 
Old 07-05-2004, 08:39 PM   #3
foustware
Member
 
Registered: Dec 2003
Posts: 42

Original Poster
Rep: Reputation: 15
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 #
 
Old 07-06-2004, 08:06 AM   #4
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
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'
 
Old 07-06-2004, 02:19 PM   #5
foustware
Member
 
Registered: Dec 2003
Posts: 42

Original Poster
Rep: Reputation: 15
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!
 
Old 10-18-2007, 09:49 AM   #6
ark_learn
LQ Newbie
 
Registered: Oct 2007
Posts: 1

Rep: Reputation: Disabled
Question 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
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
notify user space application from the kernel space lordofring Linux - Software 2 06-22-2009 12:32 PM
lkl - help with the log file arlenagha Linux - Software 1 07-19-2006 11:51 AM
help with lkl keylogger br0k3n Linux - Software 0 07-22-2004 04:55 PM
User Space - Kernel Space basu_arani Programming 3 05-25-2004 11:46 AM
How to recover damage xserver keymap file J_Szucs Linux - General 0 02-01-2004 10:18 AM


All times are GMT -5. The time now is 03:25 AM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration