Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 873 Bytes

endianness-v2.md

File metadata and controls

12 lines (8 loc) · 873 Bytes

Description

Here's a file that was recovered from a 32-bits system
that organized the bytes a weird way. We're not even
sure what type of file it is.
Download it here and see what you can get out of it

Solution

By using CyberChef the file was put into the input section. Then converted to hex for the "Swap Endianness" function under a word length of 4. After this, the hex looks more like a JPG with the correct ÿØÿà␀␐JFIF␀␁ magic bytes start. After the endianness was swapped and it's in the correct order it could be converted back from hex to get the data from the image. It could then be rendered in CyberChef to get the image that displays the flag.

Flag: picoCTF{cert!f1Ed_iNd!4n_s0rrY_3nDian_76e...}