Quote:
Originally Posted by pogo123
Hi:
OS: Ubuntu Intrepid Ibex
Need help in moving files from location 1 to location 2, in linux, using some sort of code in order to avoid moving incomplete files. The funtion needs to be recursive in order to continue trying to move the file and do so as soon as possible.
As an example: when using the unrar function in a rar password protected file, the process will extract the file before asking for the password, the file is completely extracted and for a second or two stays in the directory completely available, after that the unrar program then ask you for the password and begins to erase the file. What I am trying to accomplish is to exploit this weakness in the process in order to move the files before the unrar routines is able to destroy the file.
Thanks in advance for your help in this matter.
|
The first thing you must know is that trying to bypass encryption (even weaker ones, which is not the case) is not legal, and I don't think it's ok to ask about how to that in this forum.
The second thing you must know is that there's no vulnerability in the process. The rar files are encrypted using AES128 (if my memory serves correctly), one of the most solid encryption algorithms out there. That means that, unless you have the decription key, all you are going to get is an useless heap of bytes which will have no resemblance at all with the original contents.
The key is used as a seed to encrypt all your files, and you need it to decrypt them. No pass == no files, easy as that. So, you need the password.