
C++ tool using libtins to craft and broadcast DHCP requests with random MACs across an IP pool, exhausting DHCP leases to demonstrate DHCP starvation attacks.
This source code uses libtins to manipulate DHCP packets. Creates a DHCP Request of all IP pool range and broadcasts. This is a simple source code just for educational purposes.
The steps explained above, causes an starvation in DHCP IP assignment. So DHCP won't work any more.
This source code was written for educational purposes and run under controlled conditions, It may cause network problems, Use it on your own risk.
Compile and install libtins
Run the following commands on the DHCP Flood directory:
mkdir build
cmake ..
make
Note that you may need root privilege to send packets.
libtins (packet crafting and sniffing library)