How can i add the CRC property to Zip File wit h 7zip command line tool?

Viewed 527

I try to reverse engineer a backup routine, because the existing routine is single-threaded and there are no updates coming soon. I want to use existing methods instead of creating new ones, so i tried 7zip command line tool. The backup routing creates more or less a zip file encrypted with AES-256 Deflate and creates a CRC for every file in the archive.

What I tried so far:

7za.exe a -mem=AES256 -scrcCRC32 -p backup.zip anyFolder

also tried to include the hash with:

7za.exe h backup.zip -ir*

but i get error: Too SHort Switch: r*

Here you can see a part of the file Info from "7za.exe l -slt backup.zip"

...
   Encrypted = +
   CRC = 086A8F3F
   Method = AES-256 Deflate
...

My created backup.zip looks like this:

...
   Encrypted = +
   CRC =
   Method = AES-256 Deflate
...

So I need the CRC to be filled (with CRC32), i dont care if it creates it with the initial command or with a second command. The first results show about 5x faster backup, I look forward for your replies!

0 Answers
Related