- nl2br: documentation ( source)
- substr: documentation ( source)
- sha1: documentation ( source)
- hexdec: documentation ( source)
<?php
$mang1 = array ("c47a64ecf89f1b1a42000b2935ac6b21", "c87cc240e96965d6b4a082276706d086","df344e84663ef8ed7f3f543f7163adbb","a1d8259cc22526a41cb08a4912d14fa5");
for ($i1=0 ; $i1 < count ($mang1); $i1++){
for ($i2=0 ; $i2< count($mang1); $i2++){
for ( $i3=0 ; $i3< count ($mang1) ; $i3++){
for ( $i4=0 ; $i4< count ($mang1); $i4++){
$serverSeed = $mang1[$i1].$mang1[$i2].$mang1[$i3].$mang1[$i4];
$clientSeed = 'c034ccb72c85110ae15de61e89b43cf84a5e4113';
$nonce = 10;
for($nonce =1; $nonce < 10; $nonce++){
$seed = $serverSeed.'-'.$clientSeed.'-'.$nonce;
do {
$seed = sha1($seed);
$lucky = hexdec(substr($seed,0,8));
} while ($lucky > 4294960000);
$luckyNumber = ($lucky % 10000) / 100;
if ($luckyNumber < 0)
$luckyNumber = -$luckyNumber;
if ($nonce == 1 and $luckyNumber == 74.87){
if ($nonce == 2 and $luckyNumber == 30.41){
echo $nonce.":".$luckyNumber;
echo nl2br ("\n");
echo $serverSeed;
}
}}}}}}