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 3
From the course: Developing Ethical Hacking Tools with Python
Writing a keylogger in Python: Part 3
Hello and welcome to this lesson on Ethical Hacking Tools with Python. The agenda for today is actually testing the keylogger we've written in the previous two lessons. So if you don't know what I'm talking about, please go ahead and watch the previous two lessons to get you back on track. Now we want to test this keylogger in a safe environment, which is why I'm going to be using a virtual machine called Metasploitable 2. To have it up and running on your system, you need VirtualBox and you also need the Metasploitable 2 image and the resources document accompanying this video. You have further instructions on how to install them, so please make sure to check it out before moving on with this video. Now I already have Metasploitable 2 up and running here, so I'm logged in with the user MSF admin and the password MSF admin. Now we'll actually do an ifconfig to make sure the IP in the keylogger code matches this machine's IP. So ifconfig. And we can see that the ETH zeros Inet address…