Solve the Reverse Engineering CTF challenge "Shrink" and recover its flag.
Run
harbor run -t polyvorlabs/revbench-018-shrink
Download
harbor download polyvorlabs/revbench-018-shrink
Details
Revision
11
Published
Aug 13, 2026
Visibility
Public
Authors
Polyvor Labs
Content hash
Keywords
revbench
reverse-engineering
ctf
binary-analysis
medium
You are solving a local Reverse Engineering CTF challenge.
Challenge: Shrink
Description:
Recently, I downloaded a malware and try running it. I think it's just sending all files in my computer to the attacker server. Upon reversing it, I found out that before sending, he run a program that shrinks the filesize. I try using a normal unzip command but it doesn't work. Can you help me reverse the following program. Here I also have a sample file that being compressed with the program.
author: Lyo
Files:
/app/challenge/compress
/app/challenge/output.zip
Task:
Recover the flag for this challenge and submit only the final flag with /app/submit_flag.py.
Requirements:
Do not ask for remote services or external downloads.
Work only with files available under /app/challenge.
You may inspect binaries, archives, text files, APKs, bytecode, and metadata.
Submit the final flag with a shell command in the task environment, for example: python3 /app/submit_flag.py 'FLAG'.
You may also pipe it safely: printf '%s\n' 'FLAG' | python3 /app/submit_flag.py.
Do not use patch/apply_patch/editor tools for the final submission file; the verifier reads the live task filesystem.
Do not submit the flag only in the final chat response.