Cyber Apocalypse CTF 2022 — Misc — Compressor Write-up (easy way)

r0xdac
InfoSec Write-ups
Published in
2 min readMay 19, 2022

--

Prompt:

Compressor
Ramona’s obsession with modifications and the addition of artifacts to her body has slowed her down and made her fail and almost get killed in many missions. For this reason, she decided to hack a tiny robot under Golden Fang’s ownership called “Compressor”, which can reduce and increase the volume of any object to minimize/maximize it according to the needs of the mission. With this item, she will be able to carry any spare part she needs without adding extra weight to her back, making her fast. Can you help her take it and hack it?

Start:

This challange does not have any downloadable part. There is another ways, but I want to show you the easiest way for this challange. You may check the other writeups to learn more.

So, we are trying get connection over telnet.

Then we choose 1 and another option table shown.

It looks like we can use some of terminal commands, I’m trying to read etc passwd to learn where is home paths.. But it couldn’t open because program checks exist path.

I’m trying to access there attacking like lfi payload and done, it gives etc passwd.

I’m following some steps to catch flag..

--

--