metasploit-framework

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

Ruby

Metasploit Framework

Rex::Proto::Ftp::Client#connect

This method estabilishes a connection to the host on the port
defined in opts{}, if the connection is successful, the method
returns a socket which can be used to communicate with the client

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open lib/rex/proto/ftp/client.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Rex--Proto--Ftp--Client-connect-for-pr


# Commit to git

git add lib/rex/proto/ftp/client.rbgit commit -m "better docs for Rex::Proto::Ftp::Client#connect"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Rex--Proto--Ftp--Client-connect-for-pr

hub pull-request


# Celebrate!