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

Get Metasploit Penetration Testing Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.