🦖Random - TFCCTF 2023
Last updated
Last updated
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main()
{
setbuf(stdout, NULL);
srand(time(0));
for(int i = 0; i < 10; i++)
{
printf("%d\n", rand());
}
}from pwn import *
elf = ELF("./random")
r = remote("challs.tfcctf.com", 32345)
payload = process("./mimic").read()
print(payload)
r.sendline(payload)
r.interactive()