Huntress CTF 2024 – Base64x32

In this zip, we have a base64 encoded file

If we decode it, we get another b64 encoded file, and on, and on, and on.

Essentially, this is b64 encoded 32 times.

We can decode this manually or we can be lazy and just use python to loop 32 times

Rename the file to base64by32-1 and then the the following script

for i in $(seq 1 33); do base64 -d base64by32-$i > base64by32-$((i + 1)); done

When it’s done, we are left with the flag.

flag{8b3980f3d33f2ad2f531f5365d0e3970}

Leave a comment