LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 12-29-2004, 09:17 PM   #1
Laptop2250
Member
 
Registered: Oct 2003
Posts: 131

Rep: Reputation: 15
keylogger in java?


Is it possible to make a keylogger in java? I don't mean a super secret keylogger, I mean just a plain keylogger that will save typed keys to a .txt file?

-If I am in firefox typing this, and I had a java keylogger open would it be able to save these words to a .txt file? Or would I have to be in the java window typing keys for them to register?

thx in advance
 
Old 12-30-2004, 05:44 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,493

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
I guess you can't without using native methods due to the sandbox protection environment.
 
Old 01-08-2005, 05:27 PM   #3
german
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Debian etch, Gentoo
Posts: 312

Rep: Reputation: 30
you would end up writing about 75% of the program in a native language, because Java is not allowed to see what is going on outside of its focus... IE if an AWT window is not selected, the Java process will not receive notification of the keystrokes
 
  


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
keylogger? |2ainman Linux - Security 4 08-21-2013 03:48 AM
*working* kernel based keylogger for honeypot? TotalDefiance Linux - Security 4 11-05-2005 11:25 AM
Summer Project: Create keylogger MDBlueIce Programming 7 07-20-2005 08:08 AM
Keylogger / session monitoring in real time? houler Linux - Security 2 04-06-2005 09:21 PM
help with lkl keylogger br0k3n Linux - Software 0 07-22-2004 04:55 PM


All times are GMT -5. The time now is 01:25 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 Google+: linuxquestions
Open Source Consulting | Domain Registration