metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Rex::ServiceManager.stop_by_alias
Stop a service using the alias that's associated with it.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/rex/service_manager.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rex--ServiceManager-stop_by_alias-for-pr
# Commit to gitgit add lib/rex/service_manager.rbgit commit -m "better docs for Rex::ServiceManager.stop_by_alias"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Rex--ServiceManager-stop_by_alias-for-pr
hub pull-request
# Celebrate!