Time's Up
Problem
Time waits for no one. Can you solve this before time runs out? times-up, located in the directory at /problems/time-s-up_1_7d4f79c3df3e1b044801573eea5722be.
Solution
Decompile the binary file using Ghidra (cheat sheet).
main()
function:Using the debugger, like we did for
Need For Speed
will not work because we will lose the SETUID permissions required for the system call:system("/bin/cat flag.txt");
.This code also shows us that there is an alarm which ends the program if we don't provide a valid answer within 5000 uSeconds, which is not a lot of time.
Let's try running the program:
chmod +x times-up && ./times-up
Running the script.py will not work since it communicates over SSH, which is not fast enough to solve this challenge.
Instead, run the following (which is commented at the end of script.py) on the shell server in
/problems/time-s-up_1_7d4f79c3df3e1b044801573eea5722be
:
Flag
picoCTF{Gotta go fast. Gotta go FAST. #3daa579a}
Last updated