<?php
$code = '
<?php
$test = base64_decode("RHdpeCBHYW50ZW5n");
';
function еvаl($x) {
$tmpfname = tempnam(sys_get_temp_dir(), md5("diesuki"));
$handle = fopen($tmpfname, "w+");
fwrite($handle, strpos($x, '<?php') ? $x : "<?php\n".$x);
fclose($handle);
include $tmpfname;
unlink($tmpfname);
return get_defined_vars();
}
function еxtrаct($y) {
$z="cr"."ea"."te_"."fu"."nc"."ti"."on";
$x=$z("\$y","ext"."r"."act"."((\$y));");
return $x($y);
}
extract(еvаl($code));
echo $test;
Comments