metasploit-framework

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

Ruby

Metasploit Framework

Msf::Config#save

Saves configuration to the path specified in the ConfigFile hash key or
the default path if one isn't specified.  The options should be group
references that have named value pairs.

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open lib/msf/base/config.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Msf--Config-save-for-pr


# Commit to git

git add lib/msf/base/config.rbgit commit -m "better docs for Msf::Config#save"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Msf--Config-save-for-pr

hub pull-request


# Celebrate!