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oTtDq0ScRa2hMXAxxo9F'); $i = 0; $unpadded = ''; foreach ($array as $key => $value) { if ($i = 8) { if (isset($array[$key+1]) { $unpadded = $array[$key + 1]; $i = 0; } else { break 2; } $i = 0; } else { $i++; } } echo $unpadded . PHP_EOL . PHP_EOL; $down = ""; $unpaddedArray = str_split($unpadded); foreach ($unpaddedArray as $value) { $asciivalue = ord($value); $asciivalue -= 3; $down .= chr($asciivalue); } echo $down . PHP_EOL . PHP_EOL; $downArray = str_split($down); $xored = ''; foreach ($downArray as $value) { $xorasciivalue = ord($value); $xoredstring = $xorasciivalue ^ 1; $xored .= chr($xoredstring); } echo $xored . PHP_EOL . PHP_EOL; echo md5($xored);
based on pOlj7
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.4.32
Parse error: syntax error, unexpected '{' in /in/7vEmX on line 8
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '{' in /in/7vEmX on line 8
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/7vEmX on line 8
Process exited with code 255.