The challenge gives you a file called flag. Download it and run cat flag — the contents are the flag, in plain text.
| Platform | picoGym |
| Verified against | vivian-dai's picoCTF 2021 writeups |
| Category | General Skills |
| Difficulty | Absolute beginner |
| Tools | cat wget |
Obedient Cat exists to make sure you can do the two things almost every challenge needs: get a file onto your machine and look inside it.
Provided: a single file named flag
Stuck? Try a hint before reading the solution
The file is plain text despite having no extension.
Download it and print it with cat.
Either click the file link on the challenge page, or copy the link and download it from a terminal (the exact URL is shown on the challenge page):
wget https://mercury.picoctf.net/static/.../flag
Working in a terminal from the start pays off — most later challenges assume you can.
cat (short for concatenate) prints a file's contents to the terminal. The file has no extension, but that doesn't matter — it's plain text:
$ cat flag
picoCTF{***}
Copy the whole string, including picoCTF{ and the closing }, and submit it.
The flag is deliberately hidden — follow the method, you've earned it. 💪
Simple, but it sets the pattern for everything else:
cat file prints a text file; wget URL downloads oneDiscuss this writeup with the community on the CTFdojo Discord.
Join the Discord →