Magikarp Ground Mission

Vishal Rashmika published on
1 min, 198 words

Categories: picoCTF

In this challenge, we connect to a machine using SSH and find the flag inside it.

first, let’s connect via ssh.

ssh ctf-player@venus.picoctf.net -p 54965

when we try to ssh into the machine it asks for a password use the password in the challenge description. After connecting to the machine and listing the directory we are in we can find two files named, 1of3.flag.txt and instructions-to-2of3.txt.

From the first file, we can see that the flag has been divided into 3 parts. let’s cat the 1st part of the flag. After getting the first part of the flag we can see the instruction file. Inside that, we can see that it tells us to find the other flag in the root directory(/). Go to the root directory using the cd command.

cd /

After going to the root directory we can see similar files to the previous two files. First, cat out the flag and read the instructions. Instructions say that the other flag is in the home directory. Now switch to the home directory,

cd ~

after listing the files in the home directory we can see the last part of the flag.