metasploit-framework

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

Ruby

Metasploit Framework

Msf::Modules::Loader::Base#namespace_module_names

Returns an Array of names to make a fully qualified module name to
wrap the MetasploitModule class so that it doesn't overwrite other
(metasploit) module's classes. Invalid module name characters are
escaped by using 'H*' unpacking and prefixing each code with X so
the code remains a valid module name when it starts with a digit.

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open lib/msf/core/modules/loader/base.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Msf--Modules--Loader--Base-namespace_module_names-for-pr


# Commit to git

git add lib/msf/core/modules/loader/base.rbgit commit -m "better docs for Msf::Modules::Loader::Base#namespace_module_names"


# 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--Modules--Loader--Base-namespace_module_names-for-pr

hub pull-request


# Celebrate!