I am using a program because of a rar password that i've forgot and it's keeping passwords tries because of length.
Is that a limitation because it's shareware or is there really a limit in the max size of a rar password?
passwordsrar
I am using a program because of a rar password that i've forgot and it's keeping passwords tries because of length.
Is that a limitation because it's shareware or is there really a limit in the max size of a rar password?
Best Answer
Here is the proof of
nixda
's answer:I use rar v4 and unrar v4.10 on Linux.
I wrote a C code to test the length of the password:
It creates a 150 character long randomly generated numeric (0 to 9) password then compress an example file (hi.txt in this case). On the second part of the code, it tries to decompress with the previously generated password from 1th character to the 150 character. I added
usleep
to be able to monitor the outputs (or you can just usescript
on linux to save the outputs then read them).What I got is that it was able to decompress the encrypted file on the 126th index and after all which means that it truncates the password after the 127th character (note that the index started from
0
).