Tuesday, March 13, 2012

Let's try to convert the standalone exploit for vserver to a metasploit module. If you think that this task is complicated you're wrong because what we need, is only a template taken from this corelan tutorial and edit few things.

Once finished editing we move the script in a metasploit subfolder (the most appropriate) and then we start metasploit. If once started we don't see errors it means that the module was loaded successfully.

Now it's time to use it.

After setting up remote host and payload we launch the exploit to see if it works.

It works !

As you can see is very easy to convert a standalone exploit to a metasploit module.