metasploit-framework

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

Ruby

Metasploit Framework

Net::DNS::RR#comp_data

Return the RR object in binary data format, suitable
for using in network streams, with names compressed.
Must pass as arguments the offset inside the packet
and an hash of compressed names.

This method is to be used in other classes and is
not intended for user space programs.

TO FIX in one of the future releases

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-comp_data-for-pr


# Commit to git

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


# 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-comp_data-for-pr

hub pull-request


# Celebrate!