Layers
Writeup for Layers (Warmup) - 1337UP LIVE CTF (2024) π
Challenge Description
Weird way to encode your data, but OK! π€·ββοΈ
Solution
Players receive a ZIP archive to download, perhaps noticing the unusual order of extraction.
unzip layers.zip
Archive: layers.zip
extracting: 48
extracting: 45
extracting: 6
extracting: 25
extracting: 55
extracting: 39
extracting: 29
extracting: 32
extracting: 24
extracting: 12Each file contains a single byte of data.
Maybe we can concatenate them and convert from binary?
It translates to 2MuNVNDzzacs9gsVHSUNN9dNVJSNbz3fjURjNBIjUdkSfxz9eDoS5NRV, which although plaintext, doesn't have a recognisable encoding (and fails with magic).
Notice that if we check the timestamps of the files, they weren't created in the order you would expect (sequentially, according to their filenames).
Let's try to concatenate in ascending order by timestamp, instead of filename. We can use a script to automate the whole process.
What happens if we run magic on this one?
It's detected as Base64 encoding π
Flag: INTIGRITI{7h3r35_l4y3r5_70_7h15_ch4ll3n63}
Last updated