Skip to content

Instantly share code, notes, and snippets.

View kyaEH's full-sized avatar
:shipit:
HA

Alix M kyaEH

:shipit:
HA
View GitHub Profile
@thom-s
thom-s / dns_amplification.py
Last active April 11, 2024 23:31
Better understanding DNS Amplification DDoS attacks through Python and Scapy.
# Imports
from scapy.all import *
from pprint import pprint
import operator
# Parameters
interface = "eth0" # Interface you want to use
dns_source = "local-ip" # IP of that interface
dns_destination = ["ip1","ip2","ip3"] # List of DNS Server IPs