metasploit-framework

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

Ruby

Metasploit Framework

Msf::RPC::RPC_Core#rpc_add_module_path

Adds a new local file system path (local to the server) as a module path. The module must be
accessible to the user running the Metasploit service, and contain a top-level directory for
each module type such as: exploits, nop, encoder, payloads, auxiliary, post. Also note that
this will not unload modules that were deleted from the file system that were previously loaded.

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open lib/msf/core/rpc/v10/rpc_core.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Msf--RPC--RPC_Core-rpc_add_module_path-for-pr


# Commit to git

git add lib/msf/core/rpc/v10/rpc_core.rbgit commit -m "better docs for Msf::RPC::RPC_Core#rpc_add_module_path"


# 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--RPC--RPC_Core-rpc_add_module_path-for-pr

hub pull-request


# Celebrate!