Quote:
Originally Posted by buro9
I've noticed that the hack stopped working on my site a little while ago.
The last timetick was about two months ago.
I've examined the code and the problem appears to be in the seeding of rand.
After a certain version of PHP this is no longer needed... and doing so seems to make PHP only return the maximum from rand.
So... where rand should have been producing a number between 1 and 6 (in my case)... it only ever produced 6... but you need a value of 1 to run Logicians code.
The solution... is merely to remove the make_seed function and the seeding of srand from the beginning of the hack.
BUT... only do this if you're affected by it.
|
thanks for letting us know and it will be also helpful if you mention your PHP version