more ctf stuff

This commit is contained in:
2025-09-20 21:10:36 +02:00
parent 443a793e6b
commit e0ed1e486b
92 changed files with 14630 additions and 7 deletions

View File

@@ -0,0 +1,21 @@
import sys
import termios
import tty
from pwn import *
# Save original terminal settings
old_settings = termios.tcgetattr(sys.stdin)
try:
# Set terminal to raw -echo mode
tty.setraw(sys.stdin.fileno())
# Connect to challenge
p = remote("goldenridge-of-mind-blowing-harmony.gpn23.ctf.kitctf.de", 443, ssl=True)
p.sendline(b"!'Get out of Jail Free'")
p.interactive()
finally:
# Restore terminal settings after interaction ends
termios.tcsetattr(sys.stdin, termios.TCSADRAIN, old_settings)