-[8.5b2] Internal 7z unpacker fails if multiple pswds used
Moderators: Hacker, petermad, Stefan2, white
-[8.5b2] Internal 7z unpacker fails if multiple pswds used
Test arhives: aaa.7z, bbb.7z.
Both archives contain 3 files: History.txt with password 1, License.txt with password 2 and readme.txt with password 3. Second archive also has encrypted headers with password 3. TC doesn't allow to extract any file from these archives.
Maybe second archive type is not an officially supported archive type (7-Zip can't unpack it) but it is valid (Total7zip is able to unpack both). Anyway, first one is fully supported by 7-Zip (GUI/console) and any other software.
Both archives contain 3 files: History.txt with password 1, License.txt with password 2 and readme.txt with password 3. Second archive also has encrypted headers with password 3. TC doesn't allow to extract any file from these archives.
Maybe second archive type is not an officially supported archive type (7-Zip can't unpack it) but it is valid (Total7zip is able to unpack both). Anyway, first one is fully supported by 7-Zip (GUI/console) and any other software.
-
- Member
- Posts: 164
- Joined: 2011-03-22, 09:57 UTC
- Location: Germany
I'm able to unpack all 3 files from the aaa.7z
But there is a problem with the temp files that TC is created from this archive.
Let me explain:
- Open aaa.7z by hitting return
- press f3 on "history.txt" enter password "1"
- TC shows an "user abort" message, but it is fully extracted in %temp%\_tc
- repeate with "licence.txt"
So TC is generaly able to extract this, but it seems there is problem with finding extracted files in the temp folder.
But there seem a new bug with 7z handling, i got "pack method is not supported" so many times while extracting or testing even the simplest 7z archiv.
The bbb.7z seems to be valid, but it's not created in one go.
first 2 files seems compressed with pwd 1 and 2, and with the 3rd file, the archive was updated with header encryption.
But there is a problem with the temp files that TC is created from this archive.
Let me explain:
- Open aaa.7z by hitting return
- press f3 on "history.txt" enter password "1"
- TC shows an "user abort" message, but it is fully extracted in %temp%\_tc
- repeate with "licence.txt"
So TC is generaly able to extract this, but it seems there is problem with finding extracted files in the temp folder.
But there seem a new bug with 7z handling, i got "pack method is not supported" so many times while extracting or testing even the simplest 7z archiv.
The bbb.7z seems to be valid, but it's not created in one go.
first 2 files seems compressed with pwd 1 and 2, and with the 3rd file, the archive was updated with header encryption.
#92832
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, 7zip and rar archives with multiple passwords are currently not supported. I don't know yet whether it's possible at all to support them with the unrar/7zip dlls, but I will try.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The problem with file bbb.7z is that you cannot give two different passwords to 7zip dll (for headers and files). You can actually look into the file now with password '3', and extract that file too, but you cannot extract the other two (there is a crash outside of TC, probably in the dll).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Well, TC can extract ONLY the file with password '3' because it uses the same password as the file name password...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortunately I could not fix this problem, sorry. You can unpack these files by following a very specific order, though. People who need this should install a 7zip plugin.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com