Skip to content

galihap76/python-ddos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Python DDOS

I build small python script DDOS syn flooding you can modify my script.

What Is DDOS On Syn Flood Attack?

Ok i will share a article on thepythoncode. A SYN flood attack is a common form of a denial of service attack in which an attacker sends a sequence of SYN requests to the target system (can be a router, firewall, Intrusion Prevention Systems (IPS), etc.) in order to consume its resources, preventing legitimate clients to establish a normal connection. TCP SYN flood exploits the first part of the TCP three-way handshake, and since every connection using the TCP protocol requires it, this attack proves to be dangerous and can take down several network components. In order to understand SYN flood, we first need to talk about TCP three-way handshake:

3-way-tcp-handshake

When a client wants to establish a connection to a server via TCP protocol, the client and server exchanges series of messages:

  • The client requests a connection by sending SYN message to the server
  • The server responds with SYN-ACK message (acknowledges the request)
  • The clients responds back with an ACK, and then the connection is started

SYN flood attack involves a malicious user that sends SYN packets repeatedly without responding with ACK, and often with different source ports, which makes the server unaware of the attack, and responds to each attempt with a SYN-ACK packet from each port (The red and green part of the above image). In this way, the server will quickly be unresponsive to legitimate clients.

Install

Windows & Linux

git clone https://github.com/galihap76/python-ddos.git

Termux

You need a root on your termux.

Usage

Windows

main.py -d <ip target> -p <port target>

Linux

python3 main.py -d <ip target> -p <port target>

Library

Detect Vulnerability Target

If you familiar with software NMAP you can detect on vulnerability target.

Command To Detect Vulnerability

nmap -Pn --script vuln <ip target>

Command To Detect Dos Attack

nmap --script dos -Pn <ip target>

You can see on nmap documentation.

Note

If you want do attack ddos on website first i recommend you to need learn networking.

Releases

No releases published

Packages

No packages published

Languages