metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Rex::Post::Meterpreter::PacketDispatcher#dispatch_inbound_packet
Dispatches and processes an inbound packet. If the packet is a response that has an associated waiter, the waiter is notified. Otherwise, the packet is passed onto any registered dispatch handlers until one returns success.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/rex/post/meterpreter/packet_dispatcher.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rex--Post--Meterpreter--PacketDispatcher-dispatch_inbound_packet-for-pr
# Commit to gitgit add lib/rex/post/meterpreter/packet_dispatcher.rbgit commit -m "better docs for Rex::Post::Meterpreter::PacketDispatcher#dispatch_inbound_packet"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Rex--Post--Meterpreter--PacketDispatcher-dispatch_inbound_packet-for-pr
hub pull-request
# Celebrate!