metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Msf::Modules::Loader::Base#create_namespace_module
Returns a nested module to wrap the MetasploitModule class so that it doesn't overwrite other (metasploit) module's classes. The wrapper module must be named so that active_support's autoloading code doesn't break when searching constants from inside the Metasploit class.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/msf/core/modules/loader/base.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Msf--Modules--Loader--Base-create_namespace_module-for-pr
# Commit to gitgit add lib/msf/core/modules/loader/base.rbgit commit -m "better docs for Msf::Modules::Loader::Base#create_namespace_module"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Msf--Modules--Loader--Base-create_namespace_module-for-pr
hub pull-request
# Celebrate!