moving files from a location to other, preventing to move incomplete files
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 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.
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
Plus I find the intention VERY dubious.
|All times are GMT -5. The time now is 05:32 AM.|