metasploit-framework

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

Ruby

Metasploit Framework

MetasploitModule#sample_custom_method

This is just a sample method that should show up
as sample_cmd in the interface

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open modules/auxiliary/server/local_hwbridge.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-MetasploitModule-sample_custom_method-for-pr


# Commit to git

git add modules/auxiliary/server/local_hwbridge.rbgit commit -m "better docs for MetasploitModule#sample_custom_method"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-MetasploitModule-sample_custom_method-for-pr

hub pull-request


# Celebrate!