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

Building a "Windows Firewall De-activator" meterpreter script

So far we have used several meterpreter scripts such as killav.rb and persistence.rb. Let's start discussing about developing our own meterpreter script. Ruby knowledge is essential for writing any module in Metasploit. You should have basic understanding of Ruby. There is not enough documentation available to learn directly about meterpreter scripting. The simplest and best practice is to learn Ruby language and side by side keep looking at the codes of various available modules. You can also read the Metasploit developer guide to understand about the different libraries provided by the framework which you can use while writing your own modules. The documentation can be found at http://dev.metasploit.com/redmine/projects/framework/wiki/DeveloperGuide ...

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