metasploit-framework

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

Ruby

Metasploit Framework

RbMysql::Protocol.value2net

convert Ruby value to netdata
=== Argument
v :: [Object] Ruby value.
=== Return
String :: netdata
=== Exception
ProtocolError :: value too large / value is not supported

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open lib/rbmysql/protocol.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-RbMysql--Protocol-value2net-for-pr


# Commit to git

git add lib/rbmysql/protocol.rbgit commit -m "better docs for RbMysql::Protocol.value2net"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-RbMysql--Protocol-value2net-for-pr

hub pull-request


# Celebrate!