metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Net::DNS::Names#dn_expand
Expand a compressed name in a DNS Packet object. Please see RFC1025 for an explanation of how the compression in DNS packets works, how may it be useful and how should be handled. This method accept two parameters: a raw packet data and an offset, which indicates the point in the packet in which the parsing has arrived.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/net/dns/names/names.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Net--DNS--Names-dn_expand-for-pr
# Commit to gitgit add lib/net/dns/names/names.rbgit commit -m "better docs for Net::DNS::Names#dn_expand"
# 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--Names-dn_expand-for-pr
hub pull-request
# Celebrate!