Hello everyone,
I know this question has been asked before but it is possible to write a keylogger in java? Before assumptions are made I'm not trying to hack anyone or do anything illegal. I simply have a team project in my data structures class and I am an aspiring computer forensic scientist. I'm not looking for the program to hide in Windows processes I just want to know if it is possible to get the basic functionality of a keylogger in this language.
Thanks
soteri0s 0
Newbie Poster
Recommended Answers
Jump to PostJava lacks the low level operating system hooks to do this, and that's by design.
You'd need to use JNI or JNA to do the actual sneaky stuff and pass that information to a Java process.
Jump to Postbut it is possible to write a keylogger in java?
I haven't done it, but I have seen someone create a program that included one before. It is much more common with other languages as mentioned above.
All 5 Replies
endsamsara -2
Light Poster
jwenting 1,889
duckman Team Colleague
KirkPatrick 28
Junior Poster
homo 0
Newbie Poster
peter_budo 2,532
Code tags enforcer Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.