cscg ist super

This commit is contained in:
2026-04-10 03:31:12 +02:00
parent 7a9dfeda60
commit db0324c43d
99 changed files with 92358 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
import socket
import os
PORT = 1337
os.system("""
IFACE=$(ip -o link | grep -i 52:54:00:DD:EE:FF | cut -d':' -f2 | xargs);
ip addr add 192.168.100.2/24 dev "$IFACE";
ip link set "$IFACE" up);
""")
os.system("dd if=/dev/vda of=/flag")
FLAG = open("/flag", "rb").read()
s = socket.socket()
s.bind(("0.0.0.0", PORT))
s.listen(1)
while True:
c, _ = s.accept()
c.send(FLAG)
c.close()