Bandit Level 12 β Level 13

Lets see what is inside that data.txt file:
lscat data.txt
It is HexDump data, we can convert it to its original shape with a tool called xxd, but before that we will create a new directory in the tmp directory, and copy that data.txt file to it:
-r: Revert hexdump to binary.

We redirect the output to a file, and check the type of that file:

As we can see it is compressed with gzip, lets change the file extension to gz and decompress it, then check the file type of that file:
-d: Decompress.

It is compressed with bzip2, lets change the file extension to bz2, and decompress it and check its type:
-d: Decompress.

Its again compressed with gzip, lets redo what we did above:

Now its tar archive, we can just do:
x: Extract.v: Verbose.f: File Name.

It is another tar file, so redo the previous process:

Bzip2 again:

Another tar:

Gzip:

Finally text file, lets read it:

Here is the password for the next user.
Last updated