CTF · General Skills · picoCTF

Obedient Cat

Link to Solve the Lab:- https://play.picoctf.org/practice/challenge/147?category=5&page=1

If you don’t know about the CAT command then Below is the link to the Short and Sweet tutorial you can refer to understand the CAT Command

https://www.geeksforgeeks.org/cat-command-in-linux-with-examples/

Hello Everyone,

So Today we are Solving the Lab in the ‘General Skills’ Category.

All the things we are doing are in Kali Linux.

As you can see in the Screenshot of the Description

Description

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

Hints

  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 copied and pasted) into your Terminal.
  2. To get the file accessible in your shell, enter the following in the Terminal prompt: $ wget https://mercury.picoctf.net/static/0e428b2db9788d31189329bed089ce98/flag
  3. $ man cat

So there are Three Hints As you can see above and their Explanation are Below

Above Hint’s Explanation

  1. It is Saying that all the Commands we Enter in the Terminal are After Doller{$} Sign.
  2. Hint Download the “flag” file using the “wget” command.
  3. Command to get Manual Page of CAT command(Manual Page Means Descriptive Help menu)

So let’s start Solving the Lab

Steps

  1. Run the “ls” Command As You can see that Directory is Empty
  2. Paste the “wget https://mercury.picoctf.net/static/0e428b2db9788d31189329bed089ce98/flag” Command in the Terminal and Press Enter
  3. Run “ls” Command
  4. Run “cat flag

Screenshot of the Above Steps

So Lab is Solved.

FLag :- picoCTF{s4n1ty_v3r1f13d_2fd6ed29}

Leave a Reply

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