Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 2.04 KB

README.md

File metadata and controls

59 lines (39 loc) · 2.04 KB

Wrapping Disaster

  • Category: misc
  • Challenge author: Kalle Fagerberg

Description

Santas wrapping machine got bonkers and used all different papers it could find. Can you help unwrap this mess?

Building prerequisites

sudo apt update
sudo apt install make p7zip-full gzip zip lz4 xz-utils

# Seem to have forgotten brotli in challenge. Oops.
#sudo apt install brotli

Writeup

The long extension is a givaway; if you know what they mean:

To obtain the flag.txt hidden in these nested formats you need the above dependencies. If on Windows, suggest running inside a Docker container, such as

docker run --rm -it -v ./:/root/ -w /root ubuntu:20.04 bash
7z x flag.tar.xz.b64.gz.br.zip.lz4.7z

lz4 flag.tar.xz.b64.gz.br.zip.lz4

unzip flag.tar.xz.b64.gz.br.zip

# Seem to have forgotten brotli in challenge. Oops.
#brotli flag.tar.xz.b64.gz.br

gunzip flag.tar.xz.b64.gz

base64 -d flag.tar.xz.b64 > flag.tar.xz

# The -J flag tells tar to use xz
tar -xJvf flag.tar.xz

cat flag.txt