metasploit-framework

https://github.com/rapid7/metasploit-framework

Ruby

Metasploit Framework

Metasploit::Framework::Telnet::Client#connect_reset_safe

Sometimes telnet servers start RSTing if you get them angry.
This is a short term fix; the problem is that we don't know
if it's going to reset forever, or just this time, or randomly.
A better solution is to get the socket connect to try again
with a little backoff.

Source | Google | Stack overflow

Edit

git clone [email protected]:rapid7/metasploit-framework.git

cd metasploit-framework

open lib/metasploit/framework/telnet/client.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Metasploit--Framework--Telnet--Client-connect_reset_safe-for-pr


# Commit to git

git add lib/metasploit/framework/telnet/client.rbgit commit -m "better docs for Metasploit::Framework::Telnet::Client#connect_reset_safe"


# Open pull request

gem 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_reset_safe-for-pr

hub pull-request


# Celebrate!