I am researching on keyloggers and as a part of my research I would like to know if its possible to implement keyloggers in java.. TIA
How to create a keylogger in java
Started by anandsaab, Oct 11 2010 11:06 AM
5 replies to this topic
#1
Posted 11 October 2010 - 11:06 AM
|
|
|
#2
Posted 11 October 2010 - 11:24 AM
anandsaab said:
I am researching on keyloggers and as a part of my research I would like to know if its possible to implement keyloggers in java.. TIA
Long answer: No, you can't :)
#3
Posted 11 October 2010 - 11:37 AM
I don't see why not
#4
Posted 11 October 2010 - 01:03 PM
Well, you can make a keylistener. That's no problem. But you must assign the keylistener to something. Like a frame, or a textbox. What a keylogger does, is listen to a key pressed pretty much anywhere, and that's something you can't achieve with Java.
You'll need VB, c#, c, c++, propably a bunch others, to achieve this.
Java is "stuck" inside its little virtual machine where it's running in. It can't look oustide it to see what's happening. (which is good for security reasons)
You'll need VB, c#, c, c++, propably a bunch others, to achieve this.
Java is "stuck" inside its little virtual machine where it's running in. It can't look oustide it to see what's happening. (which is good for security reasons)
#5
Posted 11 October 2010 - 01:27 PM
I thought the virtual machine was just an interpreter? I'm not saying your wrong, just I didn't know that.
#6
Posted 11 October 2010 - 03:29 PM
Not with pure Java: it violates the purpose of Java to NOT allow direct access to hardware (needed for keyloggers). JNI might make it possible, but then you're dealing with C/C++ code.


Sign In
Create Account

Back to top









