metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Plugin::Alias#cleanup
The cleanup routine for plugins gives them a chance to undo any actions they may have done to the framework. For instance, if a console dispatcher was added, then it should be removed in the cleanup routine.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open plugins/alias.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Plugin--Alias-cleanup-for-pr
# Commit to gitgit add plugins/alias.rbgit commit -m "better docs for Plugin::Alias#cleanup"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Plugin--Alias-cleanup-for-pr
hub pull-request
# Celebrate!