Suggestion about reading encripted RAR archives
Moderators: white, Hacker, petermad, Stefan2
Suggestion about reading encripted RAR archives
Discussed at forum.wincmd.ru
What's the problem with usage of unrar.dll to read contents of encripted RAR archives? I mean archives with encripted header. Is it in Swiss laws?
The suggestions to workaround it:
1) Create ini key
AllowUnrarDecription=0
which is 0. When user sets it to 1, TC uses unrar.dll decription.
2) My suggestion: create separate unrar.dll without decription code.
The user can replace it with full version of unrar.dll to enable decription.
?
What's the problem with usage of unrar.dll to read contents of encripted RAR archives? I mean archives with encripted header. Is it in Swiss laws?
The suggestions to workaround it:
1) Create ini key
AllowUnrarDecription=0
which is 0. When user sets it to 1, TC uses unrar.dll decription.
2) My suggestion: create separate unrar.dll without decription code.
The user can replace it with full version of unrar.dll to enable decription.
?
http://ghisler.ch/board/viewtopic.php?p=50156#50156Alextp wrote:What's the problem with usage of unrar.dll to read contents of encripted RAR archives? I mean archives with encripted header. Is it in Swiss laws?
http://ghisler.ch/board/viewtopic.php?p=109411#109411
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 10.52 / Win10 x64
Using TC 10.52 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, I cannot offer TC for download if it contains any encryption or decryption function available to the user. Since unrar.dll already contains the function, and I cannot change it, I cannot use the trick as with unzip where someone else outside of Switzerland is offering an zip dll which supports encryption...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2Alextp
"patch" is not right word, I think (UnRAR is opensource)...
By the way, I have a question to Christian:
if author of unrar.dll (E. Roshal) will make the subject without decryption part, will it possible to include it in TC installition instead of full version and allow to use decryption only if user replace it with full one?
"patch" is not right word, I think (UnRAR is opensource)...
By the way, I have a question to Christian:
if author of unrar.dll (E. Roshal) will make the subject without decryption part, will it possible to include it in TC installition instead of full version and allow to use decryption only if user replace it with full one?
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
That's an interesting question - since it works with ZIP, it should work with RAR too...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Last version of unrardll.exe seems to solve the problem including a second dll without decryption code.
http://www.rarlab.com/rar/UnRARDLL.exe
Bye.
14 August 2007
Added \NoCrypt\unrar_nocrypt.dll without decryption code for those
applications where presence of encryption or decryption code is not
allowed because of legal restrictions.
---------------------------------------------------
This directory contains the version of unrar.dll built without
decryption code, authenticity verification code and RARSetPassword
function. It is intended for use in applictions where presence
of encryption or decryption code is not allowed because of legal
restrictions.
This DLL can be distinguished from usual unrar.dll by missing
RARSetPassword exported function. It sends UCM_NEEDPASSWORD notification,
but returns CRC error for encrypted files regardless of password
provided by application.
- ghisler(Author)
- Site Admin
- Posts: 48083
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Yes indeed, the RAR author Eugene Roshal has contacted me personally about the DLL! I will certainly make use of it in the next release...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Senior Member
- Posts: 228
- Joined: 2006-02-04, 13:02 UTC
Should it work with V7.02?ghisler(Author) wrote:I will certainly make use of it in the next release...
V7.02 package contains 'unrar_nocrypt.dll'. There is no hint in history.txt. It doesn't work like expected for me with exchanged unrar.dll which was downloaded from here
http://www.rarlab.com/rar/UnRARDLL.exe
"Since there are many things which have never happened and never will happen,
and which nevertheless are clearly conceivable, and imply no contradiction,
how can one say they are absolutely impossible?" Leibniz
and which nevertheless are clearly conceivable, and imply no contradiction,
how can one say they are absolutely impossible?" Leibniz
TC7.02 installation overwrites the unrar.dll (Vs. 3.70.100.211, 164 352 Byte) with unrar_nocrypt.dll (Vs. 3.70.100.211, 136 704 Byte).
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more