metasploit-framework

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

Ruby

Metasploit Framework

Msf::DBManager::ModuleCache#update_all_module_details

Destroys the old Mdm::Module::Detail and creates a new Mdm::Module::Detail for
any module with an Mdm::Module::Detail where the modification time of the
Mdm::Module::Detail#file differs from the Mdm::Module::Detail#mtime.  If the
Mdm::Module::Detail#file no only exists on disk, then the Mdm::Module::Detail
is just destroyed without a new one being created.

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open lib/msf/core/db_manager/module_cache.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Msf--DBManager--ModuleCache-update_all_module_details-for-pr


# Commit to git

git add lib/msf/core/db_manager/module_cache.rbgit commit -m "better docs for Msf::DBManager::ModuleCache#update_all_module_details"


# 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--DBManager--ModuleCache-update_all_module_details-for-pr

hub pull-request


# Celebrate!