The challenge gives a Linux program, warm. Download it, mark it executable with chmod +x warm, and run it: it asks for -h. ./warm -h prints the flag.
| Platform | picoGym (picoCTF 2021) |
| Verified against | vivian-dai's picoCTF 2021 writeups |
| Category | General Skills |
| Difficulty | Beginner |
| Tools | wget chmod strings |
This challenge teaches the first thing to try with any unknown command-line tool: ask it for help.
Provided: the executable warm
Stuck? Try a hint before reading the solution
Run the program and read what it asks for.
chmod +x warm, then ./warm -h.
Download the file from the challenge page (in the picoCTF webshell or any Linux machine), then give it execute permission — downloaded files aren't executable by default:
$ wget https://mercury.picoctf.net/static/.../warm
$ chmod +x warm
Running it without arguments tells you what it wants:
$ ./warm
... Pass me a -h to learn what I can do!
$ ./warm -h
... I actually don't do much, but I do have this flag here: picoCTF{***}
The flag is stored as plain text inside the binary, so strings finds it without executing anything — a safer habit for programs you don't trust:
$ strings warm | grep picoCTF
The flag is deliberately hidden — follow the method, you've earned it. 💪
Two habits worth keeping from a 10-point challenge:
-h / --help is the first thing to try on any unknown toolchmod +x before ./program worksstrings reveals text embedded in a binary without running itDiscuss this writeup with the community on the CTFdojo Discord.
Join the Discord →