metasploit-framework

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

Ruby

Metasploit Framework

Rex::Proto::Proxy::Socks4a::Client::Packet.recv

A helper function to recv in a Socks4a packet byte by byte.

sf: we could just call raw = sock.get_once but some clients
    seem to need reading this byte by byte instead.

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open lib/rex/proto/proxy/socks4a.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Rex--Proto--Proxy--Socks4a--Client--Packet-recv-for-pr


# Commit to git

git add lib/rex/proto/proxy/socks4a.rbgit commit -m "better docs for Rex::Proto::Proxy::Socks4a::Client::Packet.recv"


# 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--Proxy--Socks4a--Client--Packet-recv-for-pr

hub pull-request


# Celebrate!