On 11/16/2010 07:33 PM, Zhang Weiwu wrote:
So, it seems to me, -kb means, that if a file start from archive 3, then it recover the file when it process part3.rar. But if the file start from archive 1, and unrar is asked to process from archive 2, then the file cannot be recovered.
Can there be a trick? For example, I could $ unrar l 86VHS.part2.rar UNRAR 3.93 freeware Copyright (c) 1993-2010 Alexander Roshal Volume 86VHS.part2.rar Name Size Packed Ratio Date Time Attr CRC Meth Ver ------------------------------------------------------------------------------- 86.avi 733784064 103808909<-> 22-01-08 16:25 .....A. 0003B3E2 m3g 2.9 ------------------------------------------------------------------------------- 0 0 103808909 0% volume 2 The strange 0% hint me the person who sent the file to me is smart enough to asked RAR to make a non-compressed RAR file, knowing he cannot squeeze more out of the AVI files. The rest become suddenly simple! 1. I just make a dummy file named 86.avi, from /dev/zero, of the same size, and make 8 volumes of non compressing archive the same way as he does with same password 2. pick my generated part1.rar to fill in the blank of the lost file 3. and ask unrar to uncompress it (unrar -kb e) This method worked very well! unrar warned the CRC failed verification. I wouldn't know what I would do if he didn't explicitly ask RAR not to compress the volume (thus making facking part1.rar more difficult). Thanks for all the info. Now the remaining problem is how to recover part of the AVI file, which would be a separate problem. I only worry one thing related to rar now, that is, it seems there is no way to tell if the password is correct. I got the password from others, but he is not confident he used that password in the beginning. Even worse, unrar would not say anything and just happily roll out data even if I intentionally type in random character as password, a true garbage-in-garbage-out system. If it is a full unrar, I can tell whether or not the encryption password is correct by output of file(1), but with this headless file I cannot do so. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org