O'Reilly logo

Metasploit Penetration Testing Cookbook by Abhinav Singh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Penetration testing on a Windows XP SP2 machine

Let us now get our hands into the world of exploits. To start with, we will work on the most primary, yet most widely used, operating system, Windows XP. In this recipe, we will see how we can use Metasploit to break into our target system which is running on the Windows XP machine. We will be using the commands we learnt in the previous recipe and then move ahead to select exploits and payloads, and set up various required parameters.

Getting ready

We will start our penetration testing process right from msfconsole. So, launch the console and perform a port scan to gather information about the target. We have discussed port scanning in detail in the previous chapter. Here, I will assume that you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required