You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@imdb.com> on 1996/09/26 02:58:26 UTC
Re: support/dbmmanage
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?.