Code Monkey home page Code Monkey logo

synflood's Introduction

SYN Flooder with spoofed source IP

this is a tool that can perform a SYN flood attack on a target server using raw sockets and multithreading.

What is a SYN flood attack?

A SYN flood attack is a form of denial-of-service (DoS) or distributed denial-of-service (DDoS) attack that exploits the TCP handshake process to overwhelm a server with open connections. The attacker sends massive numbers of SYN packets, which are part of the initial connection request, without responding to the corresponding acknowledgements. The server has to spend resources waiting for half-opened connections, which can consume enough resources to make the system unresponsive to legitimate traffic.

Features

  • Uses raw sockets to create and send custom TCP packets with spoofed IP addresses
  • Uses multithreading to increase the speed and efficiency of the attack
  • Requires root privileges and a POSIX system to run

Installation

To install SYN Flooder, clone this repository and compile the source code using gcc:

git clone https://github.com/MidasVanVeen/synflood.git
cd synflood
gcc synflood.c -o synflood -lpthread
# or build using make
make all

Usage

To use this SYN flooder, run it as root and provide two arguments: the target IP address and the target port number. For example:

sudo ./synflood 192.168.0.1 80

This will launch a predefined number of threads (defined in the source code) that will each send SYN packets continuously to port 80 of 192.168.0.1 until the program receives a SIGINT signal (Ctrl+C).

Disclaimer

This tool is for educational purposes only. Do not use it for illegal or malicious activities. I am not responsible for any consequences of using this tool.

synflood's People

Contributors

midasvanveen avatar

Stargazers

 avatar z3ntl3 avatar AnAverageBeing avatar

Watchers

 avatar

Forkers

egida

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.