say4n / dns.amplify

a tiny proof of concept to understand dns amplification attacks

Home Page:https://blog.sayan.page/dns-amplification-go/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

a tiny proof of concept to understand dns amplification attacks

https://blog.sayan.page/dns-amplification-go/

License:MIT License


Languages

Language:Go 100.0%