metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Msf::Handler::ReverseTcpDoubleSSL#detect_input_output
Accept two sockets and determine which one is the input and which is the output. This method assumes that these sockets pipe to a remote shell, it should overridden if this is not the case.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/msf/core/handler/reverse_tcp_double_ssl.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Msf--Handler--ReverseTcpDoubleSSL-detect_input_output-for-pr
# Commit to gitgit add lib/msf/core/handler/reverse_tcp_double_ssl.rbgit commit -m "better docs for Msf::Handler::ReverseTcpDoubleSSL#detect_input_output"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Msf--Handler--ReverseTcpDoubleSSL-detect_input_output-for-pr
hub pull-request
# Celebrate!