metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Rex::ServiceManager#stop
Stop a service using a given klass and arguments. These should mirror what was originally passed to start exactly. If the reference count of the service drops to zero the service will be destroyed.
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-for-pr
# Commit to gitgit add lib/rex/service_manager.rbgit commit -m "better docs for Rex::ServiceManager#stop"
# 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-for-pr
hub pull-request
# Celebrate!