metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
MetasploitModule#stop_play
Maybe it's just me not understanding the /stop API correctly, but when I send a request to
/stop, it doesn't actually do anything. It is sort of possible to stop my video by looking
through framework.threads.each {|t| puts t[:tm_name]}, and then kill the right thread. But
if there are multiple appletv_display_video running, we don't seem to have a good way to
kill the right thread we want. We could kill them all, but we shouldn't do that. So I'll
just leave this method here, and then we'll think about how to do it later.Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open modules/auxiliary/admin/appletv/appletv_display_video.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MetasploitModule-stop_play-for-pr
# Commit to gitgit add modules/auxiliary/admin/appletv/appletv_display_video.rbgit commit -m "better docs for MetasploitModule#stop_play"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-MetasploitModule-stop_play-for-pr
hub pull-request
# Celebrate!