metasploit-framework

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

Ruby

Metasploit Framework

Net::DNS::RR.parse

Return a new RR object of the correct type (like Net::DNS::RR::A
if the type is A) from a binary string, usually obtained from
network stream.

This method is used when parsing a binary packet by the Packet
class.

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open lib/net/dns/rr.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Net--DNS--RR-parse-for-pr


# Commit to git

git add lib/net/dns/rr.rbgit commit -m "better docs for Net::DNS::RR.parse"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Net--DNS--RR-parse-for-pr

hub pull-request


# Celebrate!