PicoCTF Writeup – Obedient Cat

# Information:

CTF Name: PicoCTF

CTF Challenge: Obedient Cat

Challenge Category: General Skills

Challenge Points: 5

picoCTF 2021

# Used Tools:

  • Linux
  • cat

# Challenge Description:

This file has a flag in plain sight (aka “in-the-clear”).

Hints:

Hint 1
Any hints about entering a command into the Terminal (such as the next one), will start with a ‘$’… everything after the dollar sign will be typed (or copy and pasted) into your Terminal.
Hint 2
To get the file accessible in your shell, enter the following in the Terminal prompt: $ wget https://mercury.picoctf.net/static/0e428b2db9788d31189329bed089ce98/flag
Hint 3
$ man cat

# Writeup

Hello, and welcome to another picoCTF challenge writeup. First I downloaded the flag (that you can get under Challenge Description).

Step 1

I ran the command cat¹, and I was presented with the flag.

¹What does the command cat do?

The command cat is used on the operating system Linux, and its purpose is to print the content of a file.
That being said, when you are trying to print the content of a file, if you use the command cat, you need to put the name of the file that you are trying to open in front of the cat command (like you see in the image above).
In this case, the name of the file is “flag”.

And the flag is:

Show flag
picoCTF{s4n1ty_v3r1f13d_2fd6ed29}


Thank you very much for reading!

Cheers,

SoBatista


Share this post:

Popular posts

Leave a Reply

Your email address will not be published. Required fields are marked *