Amity
Archives — Data Decompression
“Unpack the logs—find the fin.” — Harbor IT
Challenge:
Decompress a
zlib
-compressed file and return the number of lines.
Operations • Recovery
Task:
Implement
decompress_log(compressed_file)
.
Open the compressed binary, decompress with
zlib.decompress
, and count the
lines
in the resulting text.
Click
Run Unit Tests
. If all tests pass, you'll get the flag.
def decompress_log(compressed_file): # Your code here return 0 # Test runner do not edit below run_selected_test()
Run Unit Tests
Output or flag will appear here...