I have a file that I need to find out how to decompress and be able to compress back to the same format
When I used binwalk to get information from the file
DECIMAL HEXADECIMAL DESCRIPTION
128 0x80 Zlib compressed data, default compression
I have tried to decompress the file using:
zlib-flate -uncompress < r116-v1735.z19
flate: inflate: data: incorrect header check
I am able to successfully extract the file using
binwalk -Me file
But that doesn't answer my question as to what it used to decompress it. Is there a way to find out what binwalk used?
I have also tried several others such as
tar xvzf file
7z x file
bzip2 -dk file
xz -d file
with no success.