# repetitions

<figure><img src="https://1100854798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F94YmDHMJbD21F4uOcvHm%2Fuploads%2FnphCERSineit1H19msUB%2Fimage.png?alt=media&#x26;token=03f901bc-b04a-472c-a151-cf8271d3622d" alt=""><figcaption></figcaption></figure>

Download and read what is inside this file:

```bash
curl https://artifacts.picoctf.net/c/475/enc_flag -o enc_flag
```

```bash
ls
```

```bash
cat enc_flag
```

<figure><img src="https://1100854798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F94YmDHMJbD21F4uOcvHm%2Fuploads%2FBCi3BMI6oDIV3qh7X5BA%2Fimage.png?alt=media&#x26;token=8a2422fd-6822-4ea4-a196-fccd49e3b48e" alt=""><figcaption></figcaption></figure>

It seems to be base64 encoded, lets decoded using a utility in kali linux called base64:

```bash
cat enc_flag | base64 -d
```

<figure><img src="https://1100854798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F94YmDHMJbD21F4uOcvHm%2Fuploads%2FquGEG5DEno05FbHW7LFw%2Fimage.png?alt=media&#x26;token=2fda5600-2bc6-453b-88e7-bc6d8f60a5dc" alt=""><figcaption></figcaption></figure>

* `-d`:  To decode that string.

Another base64, and after multiple decodes:

```bash
cat enc_flag | base64 -d | base64 -d | base64 -d | base64 -d | base64 -d | base64 -d
```

<figure><img src="https://1100854798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F94YmDHMJbD21F4uOcvHm%2Fuploads%2F3wePUmkG76eXIQEmjwrc%2Fimage.png?alt=media&#x26;token=b53c55f9-e25f-4d3c-991e-786caf808af9" alt=""><figcaption></figcaption></figure>

Here is the flag.
