Cat writeup by Thamizhiniyan C S
Hey everyone, in this write-up we will be solving an HTB challenge Cat.
Link to the challenge: https://app.hackthebox.com/challenges/catarrow-up-right
Let’s Start!!!!!!
First download and extract the given file.
After extracting the zip, we can see a file named cat.ab. I used file command on the Cat.ab file.
cat.ab
file
Cat.ab
From the output of the file command, we can conclude that the given file is android backup file.
You can extract file from a android backup using android-backup-extractor. Download it.
android-backup-extractor
Using the command: java -jar abe.jar unpack cat.ab file.tar , you can convert a android backup file to a tar file.
java -jar abe.jar unpack cat.ab file.tar
Now its time to extract the tar file using the command tar xvf file.tar.
tar xvf file.tar
From the output of the tar tool, we can see that there are some images in the shared/0/Pictures directory.
tar
shared/0/Pictures
On taking a look at those images, one of the image contains the flag in it.
We have successfully obtained the flag.
Thank you…….
Last updated 2 years ago