---
description: 'Tags:  #picoCTF2021 #GeneralSkills'
---

# Magikarp Ground Mission

<figure><img src="https://3842811821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FonaKA136kcO1Go3s6OC8%2Fuploads%2FZdjI6eNMAAEalLJ3oGdA%2Fimage.png?alt=media&#x26;token=9e410d5b-a952-4b8f-b926-aff7e67c4862" alt=""><figcaption></figcaption></figure>

**Description** : This CTF aims to give users an understanding of directory traversal and file opening in the shell.

**Solution** : Start the instance and log in to the machine.

First we will use `ls` command to get the content of current directory.

Here we have two files one is first part of flag and second file where we can find the next part&#x20;

Use `cat` command to see the content of the file on the shell and follow the instructions to get the next part&#x20;

<figure><img src="https://3842811821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FonaKA136kcO1Go3s6OC8%2Fuploads%2FuuglT1hA0CVRuqXCE9WO%2Fimage.png?alt=media&#x26;token=0d4280f9-1d4a-4416-b1d9-cbf504d5164c" alt=""><figcaption><p>1 Part</p></figcaption></figure>



<figure><img src="https://3842811821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FonaKA136kcO1Go3s6OC8%2Fuploads%2FtKAdlpZGXULSs1cazgYU%2Fimage.png?alt=media&#x26;token=987bcee0-dac5-4cc8-b00f-b852b4373046" alt=""><figcaption><p>2 Part</p></figcaption></figure>

<figure><img src="https://3842811821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FonaKA136kcO1Go3s6OC8%2Fuploads%2FbxtqFZty6GYvpxlrUYdk%2Fimage.png?alt=media&#x26;token=a345e244-c654-4e3e-ba68-50ecfe621cfd" alt=""><figcaption><p>3 Part</p></figcaption></figure>

Bingo we got our flag
