Тёмный
No video :(

How to make a KeyLogger in Java 

mryamz
Подписаться 401
Просмотров 50 тыс.
50% 1

Want the whole project's code?
/ mryamz
----------------------------------------------------------------------------------------------
Here is my advanced key-logger/spyware tutorial series
• Making Spyware in Java
Add JNA to build path.
Download jar from my website:
(Most recent version 8/26/2017)
mryamz.github....
Official Download Cite:
github.com/kwh...
----------------------------------------------------------------------------------------------
Contact Me:
Patron: / mryamz
Donate: paypal.me/mryamz
Email: mryamz.contact@gmail.com
Website: mryamz.github.io
----------------------------------------------------------------------------------------------
Want custom Software?
docs.google.co...

Опубликовано:

 

21 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 173   
@gabe5225
@gabe5225 3 года назад
Thanks. I found out my wife is cheating on me.
@Erbelion
@Erbelion 7 лет назад
>coding on white screen great video anyway!
@mryamz4909
@mryamz4909 7 лет назад
+Erbek Thanks! I usually use a dark theme myself.
@jaybartgis5148
@jaybartgis5148 7 лет назад
This is absolutely genius and is exactly what I'm looking for. I want to make a transparent overlay program for video games that acts as a manual aim bot. It'll have an unfilled transparent rectangle at the center of your screen that you use to measure an enemy player by making it the same size as him (using your scroll button) so you can calculate how far away he is, in order to then calculate the arch you need to give when you shoot. But the problem with my idea was the fact I couldn't get mouse access to my overlay program and to the game at the exact same time. But this video right here is EXACTLY what I want because my program can just get the scroll key data from a native level.
@mryamz4909
@mryamz4909 7 лет назад
+Jay Bartgis I'm glad I can help. If you need any help with that game of yours, let me know (I love making games), my email is in the description
@AddalaShivateja
@AddalaShivateja 7 лет назад
Im unable to use getInstance() r u able to use it and which version JAR file are you using?
@randalljosue
@randalljosue 5 лет назад
How do I disable the mouse tracker? Or how do I disable all that junk info that appears on console about mouse motion?
@pharaoh9483
@pharaoh9483 5 лет назад
+1
@warrenweissbluth1802
@warrenweissbluth1802 4 года назад
@@pharaoh9483 yep someone please explain how to remove all this green text that keeps clogging the console - I am trying to combine this with a scanner class for inputs to the console and its a mess
@mryamz4909
@mryamz4909 4 года назад
I don't remember the exact code, but there's a set logging off method that you can call from inside the Singleton
@mryamz4909
@mryamz4909 4 года назад
Did you find the solution? Someone posted the solution in another comment
@lixiao2882
@lixiao2882 4 года назад
@@mryamz4909 Could you please pin that solution to the top? I also came to the comment section looking for solutions to discern mouse tracking from keyboard input.
@jaybartgis5148
@jaybartgis5148 7 лет назад
Thank you thank you thank you thank you. I usually don't sub to people but I will know to watch your videos when you release them.
@spy_net806
@spy_net806 4 года назад
Says that this getInstance is wrong GlobalScreen.getInstance().addNativeKeyListener(new Main());
@X3GoldenOfficial
@X3GoldenOfficial 2 года назад
Got the same issue here, anyone know a fix for this?
@wyatt-144
@wyatt-144 8 месяцев назад
This reply is really late but I believe GlobalScreen was made abstract in an update so if you change it to GlobalScreen.addNativeKeyListener(…); it should work the same way as in the video
@zehrenics
@zehrenics 4 года назад
If your program also logs everything like mouse position copy and past this in your main method and import the requested stuff // Clear previous logging configurations. LogManager.getLogManager().reset(); // Get the logger for "org.jnativehook" and set the level to off. Logger logger = Logger.getLogger(GlobalScreen.class.getPackage().getName()); logger.setLevel(Level.OFF);
@warrenweissbluth1802
@warrenweissbluth1802 4 года назад
What package do I import?
@PagedMetalX
@PagedMetalX 4 года назад
@@warrenweissbluth1802 ^^^^
@lixiao2882
@lixiao2882 4 года назад
@@warrenweissbluth1802 import static java.util.logging.Level.OFF;
@serped
@serped 2 года назад
Thank you for the tip
@trollmaster7259
@trollmaster7259 11 месяцев назад
where do i put these more precisely?
@Bluecool97
@Bluecool97 4 года назад
How did you put the jar file in the libs folder? Cause I don't have any options to copy it from anywhere
@eggplantunleashed4740
@eggplantunleashed4740 13 дней назад
OS File Manager, Copy to the folder you created.
@stephanienguyen544
@stephanienguyen544 2 года назад
Everything works but can I ask why it only logs in uppercase?
@TheTusharAttar
@TheTusharAttar 6 лет назад
can we run it in the background and log the strokes in a file? so other people do not see any software running
@mryamz4909
@mryamz4909 6 лет назад
+tushar attar you could do that. This app is already a console application, but it's being ran under the JVM. You would only need to compile this java app into a native app (for the OS) then schedule a time for it to run (by the OS)
@pradipsodha6182
@pradipsodha6182 6 лет назад
Error : getInstance() can find Symbol even not find in org.jnativehook.GlobalScree.class
@mryamz4909
@mryamz4909 6 лет назад
The library no longer uses the Singleton design pattern. It's just a regular old class now but with only static access. Remove the getInstance and you'll be fine.
@ahmedemam4493
@ahmedemam4493 6 лет назад
how can i store language typing Arabic ,English,chines and so on
@mryamz4909
@mryamz4909 6 лет назад
+ahmed emam the Java char is capable of storing UTF-16 characters. If you are using a, say Russian keyboard, with the Cyrillic alphabet (и, й, я, щ... ), then the char value will be different then the English alphabet. I know that 'E' is 69 char-wise but 'й' might be 1,937 and '🤤' may be 96,291. UTF-16 supports 1,112,064 unique characters (like different alphabets or emojis). You can apply this same concept to Arabic or Chinese. So you need to figure out what char value coordinates with what symbol you need, for the key logger. Then change the program to your liking. I hard coded it with English chars because I use English 99.99% of the time. But you can code it for any language you'd like.
@vishalbhat6898
@vishalbhat6898 3 года назад
@mryamz can we convert it to executable file which when deployed on others system records input and those records can be stored in our virtual data base or get emailed
@IBAChandler69
@IBAChandler69 Год назад
Hey man i know it’s an old vid but. I followed the video, made my program and found that it was unable to track the keys when being typed into a password box. Any idea on why this is? Very interested.
@topfunnymemer9933
@topfunnymemer9933 4 года назад
How do I disable the programm?😊 I mean on my own pc without deleting?
@mryamz4909
@mryamz4909 4 года назад
You could write some additional functionality. Maybe add functionality so that a combination of keys disable and enable the listener. That's just one example, many things can achieve your goal.
@AddalaShivateja
@AddalaShivateja 7 лет назад
Guys could please some one help me with the version that is working Im using latest version but unable to use getInstance() Plese help me with the version that is working fine
@mryamz4909
@mryamz4909 7 лет назад
Call the method you want but without using getInstance(); Example: GlobalScreen.addNativeMouseWheelListener don't GlobalScreen.getInstance().addNativeMouseWheelListener
@mryamz4909
@mryamz4909 7 лет назад
Also, I did send you the old .jar via email
@petarlakcevic
@petarlakcevic 7 лет назад
Could you send me the old .jar as well?
@mryamz4909
@mryamz4909 7 лет назад
Yes, of course, I should probably put it in the description (I didn't know people wanted to older one haha).Here is a download link to it via google drive: drive.google.com/file/d/0B1tDSRvAg_DiaVpMMHBDeWVNWXM/view?usp=sharing
@petarlakcevic
@petarlakcevic 7 лет назад
Thx mate, I worked it out yesterday, everything works fine! Earned yourself a sub!
@jkresz9606
@jkresz9606 7 лет назад
Hey, I followed along, as I'm working on adding to it, it just cuts to a Build Successful status and ends the application whenever I run it. Even if I create a separate project identical to yours and run it it does the same thing. one thing that might have an effect is the global key listener may still be in place after the global hook is made false, and its just skipping over the line and ending the application. it fixed itself overnight when i ran the project this morning, but after un-commenting the code I added the night previous and running it, it stopped working again. I have no clue whats causing it lol. i've tried closing the project, closing the IDE, etc. I've messed around with the remove key listener options but it didn't do anything to help lol. any ideas?
@mryamz4909
@mryamz4909 7 лет назад
+JKresz mmm that's odd. Send me the project and I'll step through the code a bit and see if I can't debug anything.
@xYesItsBlaze
@xYesItsBlaze 7 лет назад
i got the same problem, did you fix it?
@mryamz4909
@mryamz4909 7 лет назад
+Stance BlaZe They never sent me the project, but you can; I'll see what I can do.
@xYesItsBlaze
@xYesItsBlaze 7 лет назад
mryamz it fixed itself overnight as well
@AddalaShivateja
@AddalaShivateja 7 лет назад
Im unable to use getInstance() r u able to use it and which version JAR file are you using?
@jadebreis3823
@jadebreis3823 Год назад
how can I save inputted keys in a text file? I got the getInstance() error and removed it the program runs fine but whenever I input keys it fades and get flooded by the mouse movement update.
@autumn.variation
@autumn.variation 11 месяцев назад
I made a quick video on how to put it in a text file. Idk what to do about the mouse movement logs tho.
@Noblexz
@Noblexz 7 лет назад
Hey myramz thanks for the great video it's all working and stuff cheers, I'm getting loads of printed data in red, not errors, just printed info. It's not paramount and I can tell you it was doing it before I added the printlines, however it's annoying and if you have an easy way of getting rid of it that'd be great. All I want is key releases and its giving me mountains of data about mouse acceleration, mouse movement coordinates etc.. Cheers!
@mryamz4909
@mryamz4909 7 лет назад
+Cal Mack thank you. I will be sure to include a fix for all that extraneous logging info in my final video in the spyware tutorial series.
@mryamz4909
@mryamz4909 7 лет назад
I put the fix in for you in the description to part 5 of the spyware series.
@thinhtruong9405
@thinhtruong9405 Год назад
Did u fixed it ??
@lestermake5094
@lestermake5094 5 лет назад
When i try to export it , say to that it can't find the main in your class. How can i to fix it
@sarojdevi3955
@sarojdevi3955 4 года назад
Maybe u haven't saved the file with same name as of main class
@MyChannel-no1rr
@MyChannel-no1rr 5 лет назад
Whenever I run this project, the jar file executes the demo inside Eclipse's console. Can anyone help me?
@mryamz4909
@mryamz4909 5 лет назад
What do you want to happen instead?
@MyChannel-no1rr
@MyChannel-no1rr 5 лет назад
I want to execute only my main. By default (in the demo), Mouse and Keyboard are all enabled so console has every single information of my inputs instead of the methods you are using. This is an example of my console: Nov 30, 2018 1:36:51 AM org.jnativehook.GlobalScreen$NativeHookThread enable INFO: process_mouse_moved [459]: Mouse moved to 1252, 755. Nov 30, 2018 1:36:51 AM org.jnativehook.GlobalScreen$NativeHookThread enable INFO: process_mouse_moved [459]: Mouse moved to 1253, 755. Nov 30, 2018 1:36:51 AM org.jnativehook.GlobalScreen$NativeHookThread enable INFO: process_mouse_moved [459]: Mouse moved to 1253, 755. Nov 30, 2018 1:36:51 AM org.jnativehook.GlobalScreen$NativeHookThread enable INFO: process_mouse_moved [459]: Mouse moved to 1253, 755. Nov 30, 2018 1:36:51 AM org.jnativehook.GlobalScreen$NativeHookThread enable INFO: process_mouse_moved [459]: Mouse moved to 1253, 756. Nov 30, 2018 1:36:51 AM org.jnativehook.GlobalScreen$NativeHookThread enable INFO: process_mouse_moved [459]: Mouse moved to 1253, 756. Nov 30, 2018 1:36:51 AM org.jnativehook.GlobalScreen$NativeHookThread enable INFO: process_button_pressed [367]: Button 1 pressed 1 time(s). (1253, 756) Nov 30, 2018 1:36:51 AM org.jnativehook.GlobalScreen$NativeHookThread enable INFO: process_button_released [389]: Button 1 released 1 time(s). (1253, 756) Nov 30, 2018 1:36:51 AM org.jnativehook.GlobalScreen$NativeHookThread enable INFO: process_button_released [411]: Button 1 clicked 1 time(s). (1253, 756) Nov 30, 2018 1:36:51 AM org.jnativehook.GlobalScreen$NativeHookThread enable INFO: hook_get_multi_click_time [208]: GetDoubleClickTime: 480.
@enriquecena2985
@enriquecena2985 4 года назад
@@MyChannel-no1rr i got the same, did you fix it??
@MyChannel-no1rr
@MyChannel-no1rr 4 года назад
@@enriquecena2985 No, unfortunately. I tried a couple of days but I couldn't find a solution.
@aissamboussoufiane7387
@aissamboussoufiane7387 3 года назад
@@MyChannel-no1rr did you find any solutions ? Lol , i'm running on the same problem
@niko9632
@niko9632 6 лет назад
i Export the Programm and start it. Then i typed some words on the Keyboard but the text file was clear. Can you help me pls?
@mryamz4909
@mryamz4909 6 лет назад
+nigggooo I can help. I suspect it has something to do with flushing the data to the file, a falsified appending- parameter. Send me your project, SRC, via my email in the description.
@SaImanKayani
@SaImanKayani 3 года назад
Does this also work when a user is writing a password in the login screen upon starting their computer?
@MithileshDSCS
@MithileshDSCS 4 года назад
@myramz bro ik I'm late but why isnt the keytyped function working?
@mryamz4909
@mryamz4909 4 года назад
Here's a good explanation about the callback stackoverflow.com/questions/7071757/keylistener-keypressed-versus-keytyped
@rivijski9543
@rivijski9543 7 лет назад
hiho, I have still this: Exception in thread "JNativeHook Native Dispatch" java.lang.Error: Unresolved compilation problem: e cannot be resolved at main.Main.nativeKeyReleased(Main.java:30) at org.jnativehook.GlobalScreen.processKeyEvent(Unknown Source) at org.jnativehook.GlobalScreen$1.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) what i must do to fix it? :/
@mryamz4909
@mryamz4909 7 лет назад
+Rivijski I'm not sure what that runtime exception means exactly. Send me your source files through an email and I'll figure the problem out.
@tozeficticio1672
@tozeficticio1672 7 лет назад
How can save the log in a txt file?
@mryamz4909
@mryamz4909 7 лет назад
+Tozé Ficticio If you have everything that is in the video, simply adding the following (like the first line of the main method) will change System.out.println() to be printed to a file. try { System.setOut(new PrintStream(new File("output-file.txt"))); } catch (Exception e) { e.printStackTrace(); }
@tozeficticio1672
@tozeficticio1672 7 лет назад
and for example, i have that code in a class runnable like: public void run() { try { Config conf = new Config(); System.setOut(new PrintStream(new File("keylog/output-file.txt"))); GlobalScreen.registerNativeHook(); GlobalScreen.getInstance().addNativeKeyListener(new Keylog(conf)); } catch (FileNotFoundException | NativeHookException e) { // TODO Auto-generated catch block e.printStackTrace(); } if(Keylog.interrupted()){ pararKeylog(); } } but to make stop this, i have to do this public void run() { while(running){ try { Config conf = new Config(); System.setOut(new PrintStream(new File("keylog/output-file.txt"))); GlobalScreen.registerNativeHook(); GlobalScreen.getInstance().addNativeKeyListener(new Keylog(conf)); } catch (FileNotFoundException | NativeHookException e) { // TODO Auto-generated catch block e.printStackTrace(); } if(Keylog.interrupted()){ pararKeylog(); } } } but when I put running to false the txt file, have very bugs.. how can I stop the thread, but the txt file don't have the bugs?
@kienvu1347
@kienvu1347 6 лет назад
I put @Override but console still auto repeat Date... Info... why @@
@mryamz4909
@mryamz4909 6 лет назад
In Java the annotations are optional. You don't really need them. I tend to rarely use them when working with Java, especially because IDEs do such a good job at providing warnings. I don't know what they have to do with auto repeat, and I don't know what Auto repeat is.
@skrubbed
@skrubbed 4 года назад
hi, i followed all the steps but it says Error: Could not find or load main class main.Main Caused by: java.lang.NoClassDefFoundError: org/jnativehook/keyboard/NativeKeyListener when i run it, how do i fix it?
@tommathew5148
@tommathew5148 4 года назад
Check the syntax you used to run the class thats usually the problem or check if you had renamed your file to something else other than the classname you have given
@mryamz4909
@mryamz4909 4 года назад
I'd bet Tom is right. Probably an invalid main method signature
@crimson149
@crimson149 10 месяцев назад
@@mryamz4909 I too am facing the same issue and double checked the main method signature but the error could not be resolved.Any fixes?
@maddiewaichunas2724
@maddiewaichunas2724 8 месяцев назад
Go back to configuring the class path and move the jnativehook to the class path instead of the module path. Hope that helps!
@liviaweiss9782
@liviaweiss9782 4 года назад
Thanks a lot!!!
@mryamz4909
@mryamz4909 4 года назад
I'm glad you could find something useful about it. Did you like anything in particular?
@liviaweiss9782
@liviaweiss9782 4 года назад
@@mryamz4909 The simplicity of this method Now I'm already making it more readable in cases of [enter], [space], [backspace], [control], etc Thank you vm!
@mryamz4909
@mryamz4909 4 года назад
Good work? How are you making in more readable? There's certainly a lot of possible improvement to make for this codebase.
@liviaweiss9782
@liviaweiss9782 4 года назад
@@mryamz4909 Send me a message in facebook pleas at דניאל מנץ, I'm no fake, its just my name in hebrew, we could talk better on messenger, if you dont mind
@lucascavalcanti1977
@lucascavalcanti1977 7 лет назад
During implements -> "NativeKeyListener cannot be resolved to a type" and doesnt show any options to implement it.
@mryamz4909
@mryamz4909 7 лет назад
+lucas cavalcanti Did you make sure JNativeHook.jar (It can be found it the description) was part of the java build path?
@lucascavalcanti1977
@lucascavalcanti1977 7 лет назад
yep,would it help if I sent you a print of it?
@mryamz4909
@mryamz4909 7 лет назад
+lucas cavalcanti ya sure, shoot me an email of the project as a .zip
@kshitijkala2042
@kshitijkala2042 7 лет назад
I am typing 'a' and it is returning 'A'. How to fix this problem of Uppercase and lowercase???
@mryamz4909
@mryamz4909 7 лет назад
+Kshitij Kala Option 1) yourstring.toLowerCase() Option 2) Almost all the keys have two possible return values. They will do different returns if shifted. You need to create a way to determine whether the key is shifted. A quick fix is just to have a Boolean field variable (that is true when the shift key is pressed) and print the desired key with respect to the shift key.
@kshitijkala2042
@kshitijkala2042 7 лет назад
mryamz ....ok i will try it....
@kshitijkala2042
@kshitijkala2042 7 лет назад
mryamz thank you.. your code is working fine... i didn't notice it earlier....
@juanaguirre3978
@juanaguirre3978 7 лет назад
I got it to work but i am having trouble saving the console output to a text file . Could you help me out ?
@mryamz4909
@mryamz4909 7 лет назад
+Juan Aguirre ya sure. I'll make you a sample program that does just that. What is your email?
@juanaguirre3978
@juanaguirre3978 7 лет назад
its whizzbang103@gmail.com. thank you , I really appreciate your help
@mryamz4909
@mryamz4909 7 лет назад
+Juan Aguirre I sent you the email :)
@juanaguirre3978
@juanaguirre3978 7 лет назад
Thank you so much ! keep up the good work
@amaurysosav8600
@amaurysosav8600 6 лет назад
I also have problem saving data in a output file, can you help me with that please? This is my email : hipergrowl@hotmail.com I really appreciate your help :D
@jackielow4864
@jackielow4864 7 лет назад
Hey Mryamz, this is really embarrassing seeing how I'm a computer science(CIS/CS) major and I should know how to do this myself but don't. But anyway, I am hoping you can help me... I am desperately looking for a key-logger so I can keep tabs on my younger sister. She thinks she's smart because she always clearing the history logs and delete her recycle bin etc... long story short she gave me and my mom enough reason to believe she’s up to no good. So, naturally mom looks at me and tells me to find a way to bust her (seeing how I’m a CIS/CS major hahah). So, I get to thinking, sense she’s smart enough to clean the computer and what not, a keylogger would be best, especially if it emails me the logs and it runs secretly in the background. Only problem is all the key-loggers out there you have to pay to have some of the major features such as it being Hidden, Transfer of logs Via Email, or even it Logging (yeah like ummm isn’t that the whole point?) then there’s others that I simply don’t trust the code. Anyway, so what I’m asking is could you assist me in making a keylogger that I can install on her mac that would do the following: 1) Be hidden (and not easily located) 2) Track everything via Internet / desktop 3) Take screen-shots 4) Save passwords 5) Transfer all that data via email We basically want to know everything as if my mom and I were hovering over her shoulder. So, with that being said we have access to her laptop when she goes to school. I know this is a lot to ask especially since I’m not paying you… but I would appreciate it immensely
@mryamz4909
@mryamz4909 7 лет назад
+Jackie Low haha sure I'll help. Let's build it together. I've made some spyware that does almost all what you'd like, except it sends the keystrokes to NY phone and requires me to run my laptop as a server. Are you familiar with the GitHub? We could start building the spyware asap if you do
@jackielow4864
@jackielow4864 7 лет назад
Oh man, please don't think less of me by asking this but what you mean by "NY phone" (is it another way of saying any phone?) As for GitHub, my friend at college told me about it (I know I should've done more research on it smh)... he said it's a website that allows coders to share their files with other.
@mryamz4909
@mryamz4909 7 лет назад
+Jackie Low oh my bad, NY phone is a typo for saying my phone. I don't think anything less of you. I'm absolutely sure that there's plenty I don't know about programming. How do you propose we build this spyware?
@jackielow4864
@jackielow4864 7 лет назад
Well thats pretty cool, I'm assuming you have a open source phone then--- so android? That's actually cooler than the email in a way. Ummm so I've taken a course in C++ and I know a little about Java. They sadly didn't teach us anything near this lmfao so i doubt "hello world" would apply here. Im assuming its not easy; based off the lack of keyloggers out there for mac compare to windows.
@mryamz4909
@mryamz4909 7 лет назад
+Jackie Low Yes I have an Android. No it's not open source. I just used their open source sdk to write native apps for my phone. Writing this keylogger in java should be very simple to distribue to any platform since any java application is ran on a virtual machine. If you have java on her computer like everyone else does it can be ran. If you know object oriented programming with c++ then java would be fairly easy to pick up.
@georgemathis9236
@georgemathis9236 7 лет назад
Hello, I am also a CS major seeking to learn more than basic print string programs. I think I missed a key step where you copied the .Jar file to paste into the Libs folder. Can you explain how that was done?? :)
@georgemathis9236
@georgemathis9236 7 лет назад
Nvm I missed the download file in the description but for some reason the code still doesn't run even tho there are no syntax errors
@mryamz4909
@mryamz4909 7 лет назад
Make sure that the library has been added to the projects build path.
@meghasaibodimani3158
@meghasaibodimani3158 7 лет назад
My program is also recording the mouse location, how can i ignore that
@mryamz4909
@mryamz4909 7 лет назад
+Meghasai reddy Bodimani Did you purely follow my tutorial or did you add to it? A native mouse listener wasn't part of this tutorial. Maybe you are implementing the wrong interface.
@meghasaibodimani3158
@meghasaibodimani3158 7 лет назад
I got it i downlaoded the jnativehook 1.1.5 which also tracked the movement of the mouse.. Thank you..btw your tutorials are awesome
@mryamz4909
@mryamz4909 7 лет назад
Thanks!
@dhoaltv
@dhoaltv 5 лет назад
thx
@mikehawkishuge6809
@mikehawkishuge6809 7 лет назад
May you please send me the whole main source code?
@mryamz4909
@mryamz4909 7 лет назад
+【 Doim 】 what address shall receive it?
@mikehawkishuge6809
@mikehawkishuge6809 7 лет назад
mryamz my email: domidol@web.de Thank you very much!
@jaybartgis5148
@jaybartgis5148 7 лет назад
It's literally only like... ten lines.... lol
@AddalaShivateja
@AddalaShivateja 7 лет назад
Im unable to use getInstance() r u able to use it and which version JAR file are you using?
@jaybartgis5148
@jaybartgis5148 7 лет назад
try this one. github.com/kwhat/jnativehook/releases/download/2.1.0/jnativehook-2.1.0.zip
@vivekbhatt26
@vivekbhatt26 6 лет назад
it is also printing mouse event automatically. How can we remove it?
@mryamz4909
@mryamz4909 6 лет назад
+Vivek Bhatt Here is how one filters the console output: github.com/kwhat/jnativehook/wiki/ConsoleOutput
@vivekbhatt26
@vivekbhatt26 6 лет назад
thank you so much but I have one more question. how we stop the program on the combination of some keys like Ctrl+Alt+x?
@mryamz4909
@mryamz4909 6 лет назад
+Vivek Bhatt I would create an array of booleans (eg Boolean[] keysPressed = new bool[MaxKeyCodeSize]) where the index of the array coordinates to whether the key is pressed. This way you could check during the end of every key pressed call, if( keysPressed[Native Key Code. X] && keysPressed[Native Key Code. Alt]... ), then system.exit(0)
@stenlan8932
@stenlan8932 7 лет назад
It doesn't log passwords, only regular text. Do you know why this is?
@mryamz4909
@mryamz4909 7 лет назад
+Stenlan It logs everything, passwords, word docs, IDEs, you name it
@jaybartgis5148
@jaybartgis5148 7 лет назад
Why are you trying to create a program that logs passwords?
@AddalaShivateja
@AddalaShivateja 7 лет назад
Im unable to use getInstance() r u able to use it and which version JAR file are you using?
@radharamanrivelli2403
@radharamanrivelli2403 6 лет назад
I have done it and yes it log password too, even mouse coordinates
@AddalaShivateja
@AddalaShivateja 7 лет назад
am i the only one getting error at getInstance() while using latest JAR file?
@AddalaShivateja
@AddalaShivateja 7 лет назад
When i use 1.1.xxxx version i dnt see that error, but all mouse moments on the consolei dnt want them :)
@mryamz4909
@mryamz4909 7 лет назад
+Addala Shivateja the statically accessed getInsurance() method is only needed depending on the version of the library you use. I think, for the more recent versions of the library, you don't need it. Remove it and and then call the static method you want.
@diakritika
@diakritika 11 месяцев назад
Yes, 6 years and still an issue.
@minecraftplayer4203
@minecraftplayer4203 7 лет назад
can i give this to somebody and it will record their keystrokes?
@mryamz4909
@mryamz4909 7 лет назад
+MinecraftPlayer420 yes, but you'd have to build up this software a little further for something like that. I've made a tutorial series for how to do so.
@minecraftplayer4203
@minecraftplayer4203 7 лет назад
Ok, do you know any good ip resolver?
@mryamz4909
@mryamz4909 7 лет назад
+MinecraftPlayer420 which kind? Would one that performs a DNS look up be sufficient?
@minecraftplayer4203
@minecraftplayer4203 7 лет назад
Yes
@mryamz4909
@mryamz4909 7 лет назад
+MinecraftPlayer420 you can actually do this with JavaSE's default api.
@lucaa8494
@lucaa8494 4 года назад
Nice video at all but you dont really explain everything so a viewer who is not such a good programmer and doesnt understand so much will just copy it but dont know what the code does.
@mryamz4909
@mryamz4909 4 года назад
The library we are using uses Java's Native Interface (JNI) and executes the native calls for us depending on our operating system (os). We don't write anything special here. Simply, the users (that's us) of the library simply need to know how to implement an abstract type. We don't even care on whether or not it's an interface or abstract class. This library is open source, so if you want a more technical understanding then try reading the code to the library we use.
@lucaa8494
@lucaa8494 4 года назад
@@mryamz4909 ok that makes sense... I personally do understand it at all and I also worked with this library already, I just talked about some newer coders that may not understand it, but you seem to be right, there is not much more to understand than know how to implement it.
@jonasgrnbek7113
@jonasgrnbek7113 7 лет назад
How could you do this? I am starting school monday, just got new laptop and your .jar file has wrecked my computer :(
@mryamz4909
@mryamz4909 7 лет назад
+Jonas Grønbek I'm sorry to here that, but this jar is totally harmless. Decompile and see for yourself. Heck, the .JAR is even open source.
@liviaweiss9782
@liviaweiss9782 4 года назад
Its not the jar, you should check where have you downloaded it from.
@soninbiz4954
@soninbiz4954 7 лет назад
May you please send me the whole main source code? pls
@soninbiz4954
@soninbiz4954 7 лет назад
Mail: fn.k1ndd@gmail.com
@mryamz4909
@mryamz4909 7 лет назад
+TUGS OFFICAL yeah I'll get you it asap
@mryamz4909
@mryamz4909 7 лет назад
+TUGS OFFICAL sent it
@soninbiz4954
@soninbiz4954 7 лет назад
okey thank you bro :))
@mryamz4909
@mryamz4909 7 лет назад
+TUGS OFFICAL no problem.
@imbfblack4322
@imbfblack4322 4 года назад
Where method getInstance? this prank ?(((
@mryamz4909
@mryamz4909 4 года назад
No, but if you don't have get instance then you probably have a different version of the library. It means all the methods that were formerly accessable only via get instance can now be accessible statically as public static void methods. Remove .getInstance() from the method call you want and everything should work
@mryamz4909
@mryamz4909 4 года назад
Кстати, ты русский?
@drachir000
@drachir000 4 года назад
@@mryamz4909 Same problem, thanks!
@mridulgupta9566
@mridulgupta9566 6 лет назад
Program is running on my laptop but it has one thing which I don't want plz help It also track mouse Jan 11, 2018 5:53:24 PM org.jnativehook.GlobalScreen$NativeHookThread enable INFO: process_button_pressed [338]: Button 0 pressed 1 time(s). (901, 547) I don't want this how to stop any help???
@mryamz4909
@mryamz4909 6 лет назад
+MRIDUL GUPTA all you have to do is adjust the log output. Here's how to do so: github.com/kwhat/jnativehook/wiki/ConsoleOutput
@milosaksic2867
@milosaksic2867 7 лет назад
Hey bro can you make a video how to create email sending keylogger and how to make application and how can we send to someone. I believe my gf is cheating on me she is in another city so I want to check her.
@mryamz4909
@mryamz4909 7 лет назад
+Milos Aksic Are you wanting a tutorial on spyware where the file is run and setup remotely without her knowing?
@milosaksic2867
@milosaksic2867 7 лет назад
Yes, so I can know is she texting to someone else becouse she is spending most time on PC, I want to sent her file like a picture or something and that should be keylogger and after that I will receive messages on my email, can you make tutorial how to create that and send?
@mryamz4909
@mryamz4909 7 лет назад
+Milos Aksic Honestly I've never deployed spyware remotely and invaded someone's privacy. It sounds like a fun challenge, if I can figure it out, when I have the time, I'll make a tutorial on it.
@milosaksic2867
@milosaksic2867 7 лет назад
Nice I hope you will make it, I had the problems with someone spying me so I had to reinstall my windows.
Далее
Italians vs @BayashiTV_  SO CLOSE
00:30
Просмотров 3,9 млн
МАМА И ВАЛДБЕРИС
00:48
Просмотров 717 тыс.
Make your own keylogger in Java in only 8 minutes!
8:33
Software developers are officially cooked
8:57
Просмотров 26 тыс.
BEST WAY to make Desktop Applications in C++
26:00
Просмотров 905 тыс.
Keylogger - Python project sends Email with your keys
12:57
How to Create Trojans Using Powershell
15:53
Просмотров 654 тыс.
C# Remote Keylogger with email sending 1/3
14:35
Просмотров 32 тыс.