[TC 11.??] Password protected RAR inside RAR after another RAR.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
MaxX
Power Member
Power Member
Posts: 1198
Joined: 2012-03-23, 18:15 UTC
Location: UA

[TC 11.??] Password protected RAR inside RAR after another RAR.

Post by *MaxX »

Just noticed a strange behavior in TC 11.55 today. Then I did some backtracking with previous 11.51, 11.50, 11.03 versions and got the same result.
It means that it is not something new.

You'll need:
arc1.rar = Password protected RAR in any folder (let it be "1")
arc2.rar = Regular RAR without password
arc3.rar = Another password protected RAR with different password (let it be "2")
For better test put any different files in these archives, the difference will help you later.
Both password protected rars should also have encrypted file names, not only the data.

Then you need to put #3 in #2 so you get something like this
Folder\arc1.rar
Folder\arc2.rar/arc3.rar

Now start TC and:
1. Open arc1.rar (password "1", don't forget to enable the remember box), view somewhat from there, no matter what;
2. Then go up to the folder;
3. Open arc2.rar (no password), view somewhat from there, no matter what;
4. Then Ctrl+PgDn (or Enter) on arc3.rar;
5. Now you see empty arc3.rar instead of any files from it.

What I expect to see:
Get any "password error" message and give me an option to write the proper one.

This can be reproduced with empty/fresh ini. No outer/another plugins needed.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50934
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.??] Password protected RAR inside RAR after another RAR.

Post by *ghisler(Author) »

Thanks for your report. Do these RAR files use header encryption (file names are encrypted too)?
Author of Total Commander
https://www.ghisler.com
User avatar
MaxX
Power Member
Power Member
Posts: 1198
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: [TC 11.??] Password protected RAR inside RAR after another RAR.

Post by *MaxX »

Yes, of course.
Perhaps I did not describe it accurately enough there:
Both password protected rars should also have encrypted file names, not only the data.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50934
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.??] Password protected RAR inside RAR after another RAR.

Post by *ghisler(Author) »

Thanks, I will check it. Currently Total Commander only remembers one password, but it should ask when an archive has a different one.
Author of Total Commander
https://www.ghisler.com
Post Reply