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
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/net/dns/rr.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Net--DNS--RR-comp_data-for-pr
# Commit to gitgit add lib/net/dns/rr.rbgit commit -m "better docs for Net::DNS::RR#comp_data"
# Open pull requestgem 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!