imperva / incapsula-logs-downloader

A Python script for downloading log files from Incapsula
MIT License
30 stars 35 forks source link

Decompress Error #10

Closed Raznak closed 4 years ago

Raznak commented 4 years ago

Hi,

I try to fetch encrypted Imperva Logs in Python 3.7. I succeed to decrypt it but I've an error when decompress it.

zlib.error: Error -3 while decompressing data: incorrect header check

In Python3, AES return a bytes object after decrypt. I have an decode error when I try to decode it in UTF-8.

Have you any idea how to fetch/decrypt and decompress Imperva Logs with Python 3 ?

AaronSeibert commented 4 years ago

@Raznak - the downloader has been updated to Python3 natively. Please give the new release a try, I'll close out this issue but feel free to re-open if the issue persists.