Goal: Find the password and log into level 13. The password is in the data.txt file and is compressed multiple times using different encryption standards.

First thing we can do is print out the files of data.txt with the cat command. This will output a hex dump which we can input into the same tool we used in Bandit Level 11 which is Cyberchef. I first extract it from hexdump and also use the detect file type operation.

We can see in the output that this is a Gzip file. Now from here we could go back into the machine to use the gzip command but I recommend staying in this tool so we can see how useful this tool can be. Now we can go to the operations panel in Cyberchef and under the compression tab we can use the Gunzip operation.

We can see the file type has changed to Bzip2! We can continue to decompress different file types. Eventually the output will show:

Unknown file type. Have you tried checking the entropy of this data to determine whether it might be encrypted or compressed?

We can now get rid of the detect file type operation at the end and the output will show The password is [REDACTED].

Now we have our password for level 13 and we sign into the next level!