Skip to content

Instantly share code, notes, and snippets.

View HeraldOD's full-sized avatar
🥝

HeraldOD

🥝
View GitHub Profile
@HeraldOD
HeraldOD / tarpit.py
Created October 4, 2025 08:30
HTTP Tarpit
import asyncio
import random
# based on https://nullprogram.com/blog/2019/03/22/
port = 8080
delay = 6.9
async def handler(reader, writer):
print('Got connection')