metasploit-framework

https://github.com/rapid7/metasploit-framework

Ruby

Metasploit Framework

Plugin::Lab#controller=

The constructor is called when an instance of the plugin is created.  The
framework instance that the plugin is being associated with is passed in
the framework parameter.  Plugins should call the parent constructor when
inheriting from Msf::Plugin to ensure that the framework attribute on
their instance gets set.

Source | Google | Stack overflow

Edit

git clone [email protected]:rapid7/metasploit-framework.git

cd metasploit-framework

open plugins/lab.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Plugin--Lab-controller--for-pr


# Commit to git

git add plugins/lab.rbgit commit -m "better docs for Plugin::Lab#controller="


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Plugin--Lab-controller--for-pr

hub pull-request


# Celebrate!