Source code for DoS(Denial of Service) Attack in Linux Environment.
- Ping of Death Attack (Developed)
: Sending a Big size ICMP packet to target and make it busy. Big size ICMP packet will be fragmented, Delivered to a target system. Target will take fragment many packets. It makes overload to the target system. - SYN Flooding Attack (Developed)
: This is an attack using the vulnerability of TCP 3-way handshaking. When the Client sends an SYN packet, the server will send the SYN and ACK Packet and wait for the Client's answer. At that time, the Attacker sends a lot of SYN packets. The server will overload due to a lot of waiting for the Client's answer.
This code can run in a Unix system.
If you want to run this code in Windows System, You should use WSL or Cygwin or Virtual Machine.
You can complie this code like this:
Before compile code, make sure that ALL source code file is in same directory.
$ gcc -o DoS DoS.c
After compile and made object file, You can run this code like this:
This code require super-user privileges.
$ sudo ./DoS [Options] [SourceIP] [DestinationIP]
Here is list of options:
- "-i" : Ping of Death Attack
- "-s" : SYN_Flooding Attack
We are welcome to your contribution!
There is no restrictions for contribution.