From the course: Developing Ethical Hacking Tools with Python
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Writing a keylogger in Python: Part 1
From the course: Developing Ethical Hacking Tools with Python
Writing a keylogger in Python: Part 1
Hello and welcome to another Ethical Hacking Tools with Python video. I'm very excited about what we're going to code over the next few lessons. Now you might wonder what is that all about? So we're going to call the keylogger, which is a simple program that is going to record all the keys that are pressed on a computer. And that's actually not all, because we're also going to code a feature that will send the keylogger log file to an FTP server. So a double functionality keylogger plus automatic upload to a server. Now of course you could further develop this to add more functionality, but I'll leave that up to your imagination. So what are the prerequisites? The great thing about this is that there is a library in Python called Pynput which allows us to work at a very high level, writing only a few lines of code to actually get a functional keylogger. Now there are many other libraries, more lower level or even basic Python that lets you do the same thing, but it would require much…