metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Metasploit::Framework::Telnet::Client#connect
This method establishes an Telnet connection to host and port specified by the RHOST and RPORT options, respectively. After connecting, the banner message is read in and stored in the 'banner' attribute. This method has the benefit of handling telnet option negotiation.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/metasploit/framework/telnet/client.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Metasploit--Framework--Telnet--Client-connect-for-pr
# Commit to gitgit add lib/metasploit/framework/telnet/client.rbgit commit -m "better docs for Metasploit::Framework::Telnet::Client#connect"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Metasploit--Framework--Telnet--Client-connect-for-pr
hub pull-request
# Celebrate!