Time's Up
Problem
Solution
undefined8 main(void) { init_randomness(); printf("Challenge: "); generate_challenge(); putchar(10); fflush(stdout); puts("Setting alarm..."); fflush(stdout); ualarm(5000,0); printf("Solution? "); __isoc99_scanf(&DAT_00100e68,&guess); if (guess == result) { puts("Congrats! Here is the flag!"); system("/bin/cat flag.txt"); } else { puts("Nope!"); } return 0; }Challenge: (((((2033553839) + (-1699577110)) + (((-545013997) - (67704704)) + ((-1918353553) + (-1516567616)))) + (((-210308874) + (1475601456)) + ((1775129956) + (-2055247704)))) + ((((1330215250) - (-1021292908)) + ((-1623051128) + (-1560439740))) + ((((-748207565) + (215421591)) + (1002169210)) + ((-1314247138) + (1641760225))))) Setting alarm... Solution? Alarm clockfrom pwn import * io = process("./times-up") io.recvuntil("Challenge: ") challenge = io.recvline() answer = eval(challenge) io.sendline(str(answer)) io.interactive()Solution? Congrats! Here is the flag! picoCTF{Gotta go fast. Gotta go FAST. #3daa579a}
Flag
Last updated