metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Msf::Module::DataStore#share_datastore
Overrides the class' own datastore with the one supplied. This is used to allow modules to share datastores, such as a payload sharing an exploit module's datastore.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/msf/core/module/data_store.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Msf--Module--DataStore-share_datastore-for-pr
# Commit to gitgit add lib/msf/core/module/data_store.rbgit commit -m "better docs for Msf::Module::DataStore#share_datastore"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Msf--Module--DataStore-share_datastore-for-pr
hub pull-request
# Celebrate!