Skip to content
forked from hawell/dns-flood

Original DNS-Flood tool found on code.google.com

Notifications You must be signed in to change notification settings

maxng07/dns-flood

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 

Repository files navigation

dns-flood

This is a fork of https://github.com/hawell/dns-flood

This is a modified version of DNS-Flood tool codename Thanos. The code should not be used in the wild for DOS but for educational, lab testing and verification purposes only.

Use raw sockets to generate DNS flood.

In contrast to fork version it provides:

  • Support additional query (RR) Type - ANY, RRSIG, DNSKEY, HTTPS, SVCB (HTTPS and SVCB still in IETF drafts but already seen deployment)

How to run

Usage:

./dnsflood <query_name> <destination_ip> [options]  
	Options:  
	-t, --type		query type  
	-s, --source-ip		source ip  
	-p, --dest-port		destination port  
	-P, --src-port		source port  
	-i, --interval		interval (in microseconds) between two packets  
	-n, --number		number of DNS requests to send  
	-d, --duration		run for at most this many seconds   
	-r, --random-src	fake random source IP
	-R, --random-sub	prefix with random subdomain names
	-S, --dnssec		make a dnssec query
	-D, --daemon		run as daemon  
	-h, --help		print this message   

Example:

sudo ./thanos_darwin maxng.net 1.1.1.1 -t ANY -d 1
sent 152648 DNS requests in 1.000000 sec.

sudo ./thanos_darwin maxng.net 1.1.1.1 -t ANY -n 30
sent 30 DNS requests in 0.000000 sec.

How to Install

  1. Download C file or clone
  2. Compile using clang or gcc (code has been compiled using both clang and gcc for linux and OSX and works fine)
  3. Use with care

Credits for original version

Original DNS-Flood tool found on code.google.com

Use raw sockets to generate DNS flood.

Original Here: https://code.google.com/p/dns-flood/

Disclaimer

The forked code enhancement was solely developed in my personal capacity and has no associations with my employers past or present.

About

Original DNS-Flood tool found on code.google.com

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.2%
  • Makefile 1.8%