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

preview_player
Показать описание
❤️ Support me because corporate sponsors rarely do!

🔥 Need a resume/cover letter? Check out my templates!

👊 Join the community!

My Other Socials🤳

Рекомендации по теме
Комментарии
Автор

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

matthewpalmer
Автор

Hey Joshua!, great tutorial

YOU CAN'T RUN THE SCRIPT READ
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

facu
Автор

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

alvin
Автор

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?

pythonieeinoth
Автор

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!

unclelizard
Автор

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

ggRebs
Автор

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

ephraimmulilo
Автор

that exact same keylogger code I saw it in one of the videos of David Bombal . It will be good if someone explained what the code should do by parts. Beginners are lost like myself. Also there is an option to compile the code with nuitka to convert the py to exe to run it in windows without python . thanks for the info .

luismarrero
Автор

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

SpiderWolf
Автор

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

MrInfamousComic
Автор

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

gordonrarity
Автор

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?

littlebenplanet
Автор

Were is the link? I think I'm dumb

b_ghoster
Автор

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.

markangelolandas
Автор

Have to admit i dont really understand what you do before you start to code. Would be neat if someone could explain.

tostupidforname
Автор

I need help, so I’m assuming it’s how I wrote the code? But basically when I run the logger the messages only show up in one line where the variable inside the “ “ just keeps changing to the letter I hit on the keyboard instead of actually logging it in a separate line of text. Also it opens a .txt file but again nothing get recorded there. Thanks for the help, and great vid.

leo.grey
Автор

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.

thecaptain
Автор

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.

BillyBob-wqdz
Автор

Thanks for the tutorial! I like how in detail you go.

GabrielKGardner
Автор

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?

JustAdude