my question is possible to extract a compressed files (gzip deflate) http compression with php or python or bash ?
i test this
import zlib
str_object1 = open('test.png', 'rb').read()
str_object2 = zlib.decompress(str_object1)
f = open('my_recovered_log_file', 'wb')
f.write(str_object2)
f.close()
and a get this result
File "testgz", line 4, in <module>
str_object2 = zlib.decompress(str_object1)
zlib.error: Error -3 while decompressing data: incorrect header check
ty