httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <r...@imdb.com>
Subject Re: support/dbmmanage
Date Thu, 26 Sep 1996 00:58:26 GMT

Thanks.

The script used to create a random salt, but was changed. I don't know
why. I'll forward your fix to the developers list for consideration.
It seems perfectly reasonable to me, but maybe we've both missed something
important.

regards,
rob

root@cleo.randomc.com wrote:
>
>In the distribution of Apache 1.1.1, under the support/ directory, is
>a perl script named 'dbmmanage'.
>
>This script containes the following 2 lines:
>
># ugly - this should be changed to be random.
>$salt="XX";
>
>If replaced with the following lines, the salt will be random, as the
>script itself says it should be:
>
># create a random salt
>@range=('0'..'9','a'..'z','A'..'Z');
>srand($$|time);
>$salt=$range[rand(int($#range)+1)] . $range[rand(int($#range)+1)];
>
>
>A quick and easy update for the distribution.  Those 3 lines of code
>have been tested and work.
>
>Colin, Random Access
>apollo@randomc.com
>


-- 
Rob Hartill (robh@imdb.com)    
http://www.imdb.com/  ... why wait for a clear night to see the stars?.

Mime
View raw message