> For the complete documentation index, see [llms.txt](https://angellm.gitbook.io/hacknotes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://angellm.gitbook.io/hacknotes/htb/2022/trick.md).

# Trick

**Date**: 25/06/2022

**Difficulty**: Easy

**CTF**: <https://app.hackthebox.com/machines/Trick>

***

Let’s start checking the connection with the target machine:

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-8d8851f1a950fa9c1f192285b7fc66ff6d4e1d53%2Ftrick0.png?alt=media" alt=""><figcaption></figcaption></figure>

Let’s do an nmap scan to discover opened TCP ports:

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-3c86cf797e12ff5a424ce56ca4f90850bf8d6d8c%2Ftrick1.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-cfdf985ba6fcb684c7b299ea840a90d2bd310e93%2Ftrick2.png?alt=media" alt=""><figcaption></figcaption></figure>

Let’s take a look to the http service:

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-d60c0eaaf1b24357c2ff795c9e20b3fe37928c8f%2Ftrick3.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-5ab57f43c8dbb3205107a0f7c8066ab13ff78942%2Ftrick4.png?alt=media" alt=""><figcaption></figcaption></figure>

Does the form works?

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-1b487ad7b51649f3be87cba5896b5ad0980786f5%2Ftrick5.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-5c5e8032912c050b56791a195a548dcc7a4e4fe5%2Ftrick6.png?alt=media" alt=""><figcaption></figcaption></figure>

Apparently no.

Let’s try to found directories in the website:

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-436dd5174ae82e77661541bda917a0abddb42eaa%2Ftrick7.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-000131d651e7eddf9fe26f9788baa1ebd176698c%2Ftrick8.png?alt=media" alt=""><figcaption></figcaption></figure>

We obtain a 403 error when we try to see that directories.

Let’s see if we can obtain the DNS from the domain service:

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-085dc6e5f53f1546edc048b9641f524da2f9e624%2Ftrick9.png?alt=media" alt=""><figcaption></figcaption></figure>

Yeah, the DNS is trick.htb, let’s add it to the /etc/hosts file:

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-93f7474af7782e01afbe3c3501adbd7a553722a9%2Ftrick10.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-0b0dfeb7232877c23816614cfc0abff53b7bda8f%2Ftrick11.png?alt=media" alt=""><figcaption></figcaption></figure>

The website looks the same, but now we can enumerate for subdomains:

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-280d56f938fda2f148ecd5c16d8c66bcaf73e1a6%2Ftrick12.png?alt=media" alt=""><figcaption></figcaption></figure>

Nothing for the top1million-5000.txt neither for 20000 one.

Let’s see what can we do with the port 25 (SMTP):

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-adcbbba072a0fdc363981a028a7f34fe7a363792%2Ftrick13.png?alt=media" alt=""><figcaption></figcaption></figure>

Let’s enumerate the DNS:

<https://book.hacktricks.xyz/network-services-pentesting/pentesting-dns>

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-7f700fe1fccf4ac25cefad66e945287684a0d223%2Ftrick14.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-3559856287cf6a19038b7d96d30315b4f521e118%2Ftrick15.png?alt=media" alt=""><figcaption></figcaption></figure>

We got a total of 3 subdomains:

* `trick.htb`
* `root.trick.htb`
* `preprod-payroll.trick.htb`

Let’s add them to /etc/hosts and visit them.

`root.trick.htb` goes to the same page as `trick.htb`

But preprod goes to this page:

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-1efebe91d8e14324aa8f4abf34b0716afe83e055%2Ftrick16.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-048557b441c967864c76983184bc8242ed64a8ed%2Ftrick17.png?alt=media" alt=""><figcaption></figcaption></figure>

I tried with some common credentials with no success. The error message will not be helpful to enumerate valid usernames, let’s check if it vulnerable to SQLi

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-0b2b26fdc96a0deaef29284f7357939f4f5dc44f%2Ftrick18.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-ebba01f922994a4d7a2d543ac8daf8e406312dae%2Ftrick19.png?alt=media" alt=""><figcaption></figcaption></figure>

Yes, it is. Now we are inside a control panel.

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-a36c834a3d8a5207056837f43d6bdab29a65e04b%2Ftrick20.png?alt=media" alt=""><figcaption></figcaption></figure>

So, apparently the Administrator username is `Enemigosss`. We can edit the profile:

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-1a19bde3fdf393659d85a16e8a22365c2c08c0eb%2Ftrick21.png?alt=media" alt=""><figcaption></figcaption></figure>

The value of the password field can be seen in cleartext if we inspect the code, but we can also see it in the form if we delete the attribute `type=password` from the textbox:

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-a14aab2ad4a669dc79aedf83bb8966be7d043d3b%2Ftrick22.png?alt=media" alt=""><figcaption></figcaption></figure>

So, we have credentials.

Let’s see if they have reused them and we can log in via ssh:

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-603a7ef924197ce56ae61eeab6e3f81dca432a0a%2Ftrick23.png?alt=media" alt=""><figcaption></figcaption></figure>

Nope.

Ok, it was a preprod of payroll website… Maybe there will be other preprod sites? Let’s find out:

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-c03a6ce45218f602e476791852b0ea4f9550e902%2Ftrick24.png?alt=media" alt=""><figcaption></figcaption></figure>

Yeah, at least there is a marketing preprod. Let’s add it to the /etc/hosts file and visit it:

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-6cefeadc5722f4d0f61f0987891cca859e03da8e%2Ftrick25.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-2a1d9f642bc7a8c21eca3b665dec101f1add46b5%2Ftrick26.png?alt=media" alt=""><figcaption></figcaption></figure>

It seems to be including the pages via inclussion… LFI maybe?

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-fdad0d1ff73d07f9ad097c3e1208df462d801870%2Ftrick27.png?alt=media" alt=""><figcaption></figcaption></figure>

It doesn’t allow us to incluse de /etc/passwd file, maybe we cannot use this way.

Let’s try to discover directories for this subdomain:x.php?page=index.php

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-778c4929dc6a00bff1aad56c717881bd5ad3d9da%2Ftrick28.png?alt=media" alt=""><figcaption></figcaption></figure>

Going a step back, I found a LFI in the preprod-payroll website. Using the php filter wrapper I’m able to leak the content of certain things encoding it to b64:

`php://filter/convert.base64-encode/resource=index`

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-0e470ebd6e9378deda5295a3d24f681f2611ae50%2Ftrick29.png?alt=media" alt=""><figcaption></figcaption></figure>

There are interesting things here:

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-c4a95e1b0738ffd68c4a0fc229d66204ab302c7a%2Ftrick30.png?alt=media" alt=""><figcaption></figcaption></figure>

This is how it includes the pages, it looks for the `page` parameter and it adds the `.php` file extension. If we want to include other kind of files, we should find the manner to avoid the file extension.

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-e421279aeccd8b974d6eca6edf9221ef39a93adf%2Ftrick31.png?alt=media" alt=""><figcaption></figcaption></figure>

This part of the code is interesting because it leaks some php files. `auth.php` may contain credentials? Let’s take a look:

`http://preprod-payroll.trick.htb/index.php?page=php://filter/convert.base64-encode/resource=auth`

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-2612031b3abf96e5643bfc889cd0156192bacc07%2Ftrick32.png?alt=media" alt=""><figcaption></figcaption></figure>

Apparently it doesn’t exists.

Let’s take a look to `users.php`:

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-f3fe96394e327560539eaf09529186c438b979ad%2Ftrick33.png?alt=media" alt=""><figcaption></figcaption></figure>

Apparently it query the users from a database. To do it, it includes a php file called `db_connect` let’s check it:

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-f76b555d39d56d404fc57a196acbeca4043e49bc%2Ftrick34.png?alt=media" alt=""><figcaption></figcaption></figure>

So… more credentials, let’s add it to the credentials list.

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-2b3f69c29ed3630da3648f49bf645a54f669d267%2Ftrick35.png?alt=media" alt=""><figcaption></figcaption></figure>

This credentials are not valid for ssh neither.

After trying some techniques to try path traversal I haven’t found a valid way to do it. So let’s investigate the preprod-marketing site:

The version of jquery (3.4.1) is vulnerable to XSS:

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-8ed019cae59f8bbfe02f3956c172aab10e97afff%2Ftrick36.png?alt=media" alt=""><figcaption></figcaption></figure>

The only input I have found on the website is this contact form.

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-065549c9fbd32865e6c06481d06546e9d16109c3%2Ftrick37.png?alt=media" alt=""><figcaption></figcaption></figure>

So, I deployed a http server in my machine, listening on port 80 and tried to catch a get, with no success.

There is another strange thing, the URL:

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-227b51667d8afb01ea3d716e4382350763653381%2Ftrick38.png?alt=media" alt=""><figcaption></figcaption></figure>

It looks like the LFI we exploited earlier, but the wrappers doesn’t work. Let’s try path traversal…

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-9d2f002b3e21b9d0353a858b1c7e560f2feecf37%2Ftrick39.png?alt=media" alt=""><figcaption></figcaption></figure>

Yeah! At first I had no success, because probably the server is filtering the string `../` so, using `....//` instead solved the problem.

At `passwd` file we can see a user named `michael`. Let’s try to connect via ssh using this username and the passwords obtained before:

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-551cb8c3825811b16f1f7d33f5a390ed84ad48b4%2Ftrick40.png?alt=media" alt=""><figcaption></figcaption></figure>

Nope.

Let’s try to catch the flag using the LFI:

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-4369f2522a474093b048989c7f6349f9222f047d%2Ftrick41.png?alt=media" alt=""><figcaption></figcaption></figure>

Flag found.

But we need to gain access! Let’s see if this user has some ssh credentials:

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-5085f61a7e1893835873f1676e904695abef9661%2Ftrick42.png?alt=media" alt=""><figcaption></figcaption></figure>

Bingo!

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-e29c1434379d9957d14e336608e2c399aab52dc2%2Ftrick43.png?alt=media" alt=""><figcaption></figcaption></figure>

Yay! We’re inside >:D

Now let’s find the way to escalate privileges

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-e67f97a7df56222651f476f3240f95c486b1d841%2Ftrick44.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-d8da5b9b459b351cc0127c6b6fcefaf06a3707cc%2Ftrick45.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-7404c58c240b8c64fec862051dadeb83a077b0b6%2Ftrick46.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-60c19d1ef516b9c110b403e55ee38dd43516f352%2Ftrick47.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-292966da95b8936d4aa2a43d0d27df55b01da1fc%2Ftrick48.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-77d025d6d02b716f776b22b5a0aefa9a0b03ddaf%2Ftrick49.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-fdd8670ada4f21f5102f6720d8cc7c3f2b90512e%2Ftrick50.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-5eb4684e66e1497bf30b15bb537eb86fffd9db3a%2Ftrick51.png?alt=media" alt=""><figcaption></figcaption></figure>

To test it, I executed pspy in the target machine and tried to access via ssh with root username and a random password several times:

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-4d82cb035a1170b8ee41dae529c0f26f02dda34b%2Ftrick52.png?alt=media" alt=""><figcaption></figcaption></figure>

After some tries, this happened:

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-3906702d382e84e7b10e0f5bd3d33c1a18245909%2Ftrick53.png?alt=media" alt=""><figcaption></figcaption></figure>

Looking for the file that executes the iptables command I found the file `iptables-multiport.conf`, inside there is something called `actionban`

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-8e77660c450379be7f51a649b7965b13ee0a30c9%2Ftrick54.png?alt=media" alt=""><figcaption></figcaption></figure>

It’s the iptables command we saw earlier. So, let’s try to modify this, restart the service and trigger the ban to see if we can gain a revshell!

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-9f30f1d611354c8d0ddcfa9528b784794357cdf0%2Ftrick55.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-8321201b710badb57fbf8c30eaebd5c580981444%2Ftrick56.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3648139271-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDU2KcTfFp1xEzUDMyoAe%2Fuploads%2Fgit-blob-c201c339f8b01d723298aad167d46f77e3e0063a%2Ftrick57.png?alt=media" alt=""><figcaption></figcaption></figure>

And that’s how I got the root flag!
