metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Plugin::Lab#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/lab.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Plugin--Lab-cleanup-for-pr
# Commit to gitgit add plugins/lab.rbgit commit -m "better docs for Plugin::Lab#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--Lab-cleanup-for-pr
hub pull-request
# Celebrate!