Skip to content

Instantly share code, notes, and snippets.

View domiko96's full-sized avatar

Dominik Kogel domiko96

View GitHub Profile
@domiko96
domiko96 / docker-compose.yml
Created November 14, 2021 19:51
Docker-compose nextcloud setup
version: "3.9"
services:
caddy:
image: caddy
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
@domiko96
domiko96 / much_udp_unicast.py
Last active May 12, 2022 12:28
Send udp packets with python
import socket
from time import sleep
def main():
interfaces = socket.getaddrinfo(host=socket.gethostname(), port=None, family=socket.AF_INET)
allips = [ip[-1][0] for ip in interfaces]
msg = b"spammy message nruonaeoiaestosdiaeoddiaobdipiaefobdiaeoni"
sport = 35424