a tiny proof of concept to understand dns amplification attacks
It is the entry point to the codebase. The request URL, the forged source IP, the DNS server to send the request to are all defined her.
This houses the various data structures to craft a DNS query message. The crafted message is then sent over UDP to the DNS server.
This file is a copy of this file with more verbose documentation. It creates a UDP frame with a given payload (our DNS query).
This file defines various utility functions used by the main.go file.
This codebase is strictly for educational purposes.