temporary file

Debian 5 php5 package has serious security issues as follows:

To prevent Denial of Service attacks by exhausting the number of available temporary file names, the max_file_uploads option introduced in PHP 5.3.1 has been backported.


Use any one of the following command to create temporary empty file names. The first command is special as it use the redirection operator >, the redirection refers to the standard output. So you are creating a new file or destroying existing file:


Various methods exists to create a random temporary file name. This is useful if your application/shell scripting needs temporary unique file names. Method #1: Use of $RANDOM bash shell variable 1) At shell prompt type command: # echo $RANDOM You will get random value every time. This variable can be use to create unique file […]