metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Net::DNS::Header#tc=
Set the +tc+ flag (truncated packet) to either +true+ ot +false+. You can also use 0 or 1. The truncated flag is used in response packets to indicate that the amount of data to be trasmitted exceedes the maximum allowed by the protocol in use, tipically UDP, and that the data present in the packet has been truncated. A different protocol (such has TCP) need to be used to retrieve full data. Must only be set in DNS answer packets.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/net/dns/header.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Net--DNS--Header-tc--for-pr
# Commit to gitgit add lib/net/dns/header.rbgit commit -m "better docs for Net::DNS::Header#tc="
# 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--Header-tc--for-pr
hub pull-request
# Celebrate!