metasploit-framework

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

Ruby

Metasploit Framework

Plugin::Wiki#initialize

Constructs a new instance of the plugin and registers the console
dispatcher. It also extends Rex by adding the following methods:
  * Rex::Text::Table.to_dokuwiki
  * Rex::Text::Table.to_mediawiki

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open plugins/wiki.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Plugin--Wiki-initialize-for-pr


# Commit to git

git add plugins/wiki.rbgit commit -m "better docs for Plugin::Wiki#initialize"


# 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--Wiki-initialize-for-pr

hub pull-request


# Celebrate!