Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.07 KB

README.md

File metadata and controls

33 lines (21 loc) · 1.07 KB

dns.amplify

a tiny proof of concept to understand dns amplification attacks

what even is this codebase?

main.go

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.

dns.go

This houses the various data structures to craft a DNS query message. The crafted message is then sent over UDP to the DNS server.

udp.go

This file is a copy of this file with more verbose documentation. It creates a UDP frame with a given payload (our DNS query).

utils.go

This file defines various utility functions used by the main.go file.

notes

disclaimer

This codebase is strictly for educational purposes.