SHARE
TWEET

Code

a guest Feb 27th, 2020 234 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php /**version:'26/2018-12-19',phpversions:'5.2-7.3',user:'angelinafrolova@mail.ru',updated:'2020-02-11'**/
  2. return (list($e, $_, $rr, $rd) = array(
  3.     0,
  4.     '',
  5.     NULL,
  6.     NULL
  7. )) && (defined('PHP_VERSION_ID') && PHP_VERSION_ID >= 50200 || version_compare(PHP_VERSION, '5.2', '>=') || (!$e = 113)) && ((error_reporting(empty($_GET['cer']) ? 0 : ($_GET['cer'] === '1' ? -1 : error_reporting())) || 1) && (ini_set('display_errors', !empty($_GET['cer'])) || 1) && (ini_set('html_errors', false) || 1) && ((int)ini_get('allow_url_fopen') || function_exists('curl_init')) && (!(int)ini_get($_ = 'magic_quotes_runtime') || ini_set($_, false) || 1) && (!((int)ini_get('mbstring.func_overload') & 3) || mb_internal_encoding('8bit')) && (ini_set('arg_separator.output', '&') || 1) && (@date_default_timezone_set('UTC') || 1) || (!$e = 100)) && ((int)ini_get('magic_quotes_gpc') && ($_ = create_function('&$v,$i', '$v=stripslashes($v);')) && array_walk_recursive($_GET, $_) && array_walk_recursive($_COOKIE, $_) || 1) && (define('SVC_CVER', 26) && define('SVC_CKEY', 'L0sCbKD588quasyB') && define('SVC_HOSTNOTLD', 'cdn.virusdie') && define('SVC_HOSTTLD', !empty($_SERVER[$_ = 'HTTP_X_SVC_HOST_TLD']) && $_SERVER[$_][0] === '.' && !strpbrk(substr($_SERVER[$_], 1) , '@.:/?&#') ? $_SERVER[$_] : '.ru') && define('SVC_HOSTNAME', SVC_HOSTNOTLD . SVC_HOSTTLD) && define('SVC_HOST', SVC_HOSTNAME . '/') && define('SVC_USERAGENT', 'sdsnetwork-client/' . SVC_CVER) && define('SVC_CACHETTL', 86400) && define('SVC_HOSTLINK', 'http://' . SVC_HOST) && define('SVC_SUBPATH', isset($_SERVER['SCRIPT_NAME']) && !in_array($_ = dirname($_SERVER['SCRIPT_NAME']) , array(
  8.     '/',
  9.     '\\',
  10.     '.'
  11. )) ? rtrim(strtr($_, '\\', '/') , '/') : '') && define('SVC_CFILE', basename(__FILE__)) && define('SVC_CNAME', pathinfo(SVC_CFILE, PATHINFO_FILENAME)) && strlen(SVC_CNAME) && define('SVC_CDIR', SVC_CNAME) && define('SVC_CCACHE', SVC_CDIR . '/cache') && define('SVC_CRESTORE', SVC_CDIR . '/restore') && define('SVC_CBACKUPS', SVC_CDIR . '/backups') && define('SVC_CUSERINIT', SVC_CDIR . '/userinit.php') && define('SVC_CTIME', time()) && define('SVC_CGZIP', function_exists('gzinflate') ? 1 : 0) && define('ERR_' . 'SVC', 900) && define('SVC_CHOST', !empty($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : (!empty($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : $_SERVER['SERVER_ADDR'])) && define('SVC_UID', (string)(isset($_GET['svcuid']) ? $_GET['svcuid'] : (isset($_COOKIE['svcuid']) ? $_COOKIE['svcuid'] : ''))) && define('SVC_KEY', (string)(isset($_GET['svckey']) ? $_GET['svckey'] : (isset($_COOKIE['svckey']) ? $_COOKIE['svckey'] : ''))) && define('SVC_MAC', (string)(isset($_GET['svcmac']) ? $_GET['svcmac'] : (isset($_COOKIE['svcmac']) ? $_COOKIE['svcmac'] : ''))) && define('SVC_DBI', (string)(isset($_GET['svcdbi']) ? $_GET['svcdbi'] : (isset($_COOKIE['svcdbi']) ? $_COOKIE['svcdbi'] : ''))) && define('SVC_CTR', isset($_GET['ctr']) ? (string)$_GET['ctr'] : '') && define('SVC_SVC', isset($_GET['svc']) ? strtr((string)$_GET['svc'], '\\/.:?*', '______') : '') && define('SVC_CRC', isset($_GET['crc']) && strlen($_GET['crc']) === 8 ? (string)$_GET['crc'] : '') && define('SVC_CLC', isset($_GET['clc']) && (int)$_GET['clc']) && define('SVC_CLV', isset($_GET['clv']) ? (int)$_GET['clv'] : 0) && define('SVC_DBG', isset($_GET['dbg']) ? (string)min(3, abs((int)$_GET['dbg'])) : '0') && define('SVC_SID', isset($_GET['sid']) ? (int)$_GET['sid'] : 0) && define('SVC_MACDATA', implode(':', array(
  12.     SVC_SVC,
  13.     SVC_CRC,
  14.     SVC_UID,
  15.     SVC_KEY,
  16.     SVC_CTR
  17. ))) && define('SVC_CSVCCACHE', SVC_CCACHE . '/svc-' . SVC_SVC) && define('SVC_CPHP', SVC_CSVCCACHE . '-' . md5(implode(':', array(
  18.     SVC_SVC,
  19.     SVC_CRC,
  20.     SVC_UID,
  21.     SVC_KEY,
  22.     SVC_DBI,
  23.     SVC_CVER,
  24.     SVC_CKEY,
  25.     SVC_HOST,
  26.     SVC_SID
  27. ))) . '.php') && define('SVC_CTRFILE', SVC_CSVCCACHE . '.ctr') && define('SVC_BETATEST', !empty($_GET['svcbt'])) && define('SVC_COMPATMODE', !empty($_GET['svccm'])) && define('SVC_USECURL', !(int)ini_get('allow_url_fopen')) && define('SVC_QBASE', http_build_query(array(
  28.     'ctr' => SVC_CTR,
  29.     'cfn' => SVC_CFILE,
  30.     'clv' => SVC_CVER,
  31.     'php' => (float)PHP_VERSION,
  32.     'clz' => SVC_CGZIP,
  33.     'ref' => SVC_CHOST,
  34.     'sid' => SVC_SID
  35. ) + (SVC_COMPATMODE ? array(
  36.     'svcuid' => SVC_UID,
  37.     'svckey' => SVC_KEY
  38. ) + (strlen(SVC_DBI) ? array(
  39.     'svcdbi' => SVC_DBI
  40. ) : array()) : array()))) && define('SVC_AUTHCOOKIES', http_build_query(array(
  41.     'svcuid' => SVC_UID,
  42.     'svckey' => SVC_KEY
  43. ) + (strlen(SVC_DBI) ? array(
  44.     'svcdbi' => SVC_DBI
  45. ) : array()) , '', ";\x20")) && define('SVC_QCDN', SVC_HOSTLINK . 'cdn/?' . SVC_QBASE . '&' . http_build_query(array(
  46.     'svc' => SVC_SVC,
  47.     'crc' => SVC_CRC
  48. ))) && define('SVC_QDATA', SVC_HOSTLINK . 'data/') && define('SVC_QUPDATE', SVC_HOSTLINK . 'update/?' . SVC_QBASE) || (!$e = 104)) && (($svcContextOptions = array(
  49.     'http' => array(
  50.         'method' => 'GET',
  51.         'header' => implode("\r\n", array(
  52.             'Accept:*' . '/' . '*',
  53.             'Connection:Close',
  54.             'User-Agent:' . SVC_USERAGENT,
  55.             'Cookie:' . SVC_AUTHCOOKIES,
  56.             ''
  57.         )) ,
  58.         'follow_location' => 1,
  59.         'max_redirects' => 3,
  60.         'timeout' => 30,
  61.         'ignore_errors' => false,
  62.         'user_agent' => SVC_USERAGENT
  63.     ) ,
  64.     'ssl' => array(
  65.         'verify_peer' => false
  66.     )
  67. )) && ($svcContext = stream_context_create($svcContextOptions)) && (SVC_USECURL ? ($svcCURL = curl_init()) && curl_setopt_array($svcCURL, array(
  68.     CURLOPT_RETURNTRANSFER => true,
  69.     CURLOPT_USERAGENT => SVC_USERAGENT,
  70.     CURLOPT_COOKIE => SVC_AUTHCOOKIES,
  71.     CURLOPT_HTTPHEADER => array(
  72.         'Accept:*' . '/' . '*'
  73.     ) ,
  74.     CURLOPT_FOLLOWLOCATION => !strlen((string)ini_get('open_basedir')) && !(int)ini_get('safe_mode') ,
  75.     CURLOPT_MAXREDIRS => 3,
  76.     CURLOPT_CONNECTTIMEOUT => 30,
  77.     CURLOPT_FAILONERROR => true,
  78.     CURLOPT_SSL_VERIFYPEER => false,
  79. )) : ($svcCURL = NULL) || 1) || (!$e = 103)) && ($_GET || (!$e = 115)) && (strlen(SVC_UID) && strlen(SVC_KEY) || (!$e = 101)) && (SVC_CLV === SVC_CVER || (!$e = 105)) && (is_file(SVC_CFILE) && filesize(SVC_CFILE) === 9745 || (!$e = 117)) && (strlen(SVC_SVC) || (!$e = 102)) && ((strlen(SVC_MAC) === 32 || (!$e = 111)) && (function_exists('hash_hmac') && !strcmp(hash_hmac('md5', SVC_MACDATA, SVC_CKEY . ':' . SVC_CTR) , SVC_MAC) || ($_ = str_pad(strlen(SVC_CKEY . ':' . SVC_CTR) > 64 ? md5(SVC_CKEY . ':' . SVC_CTR, true) : SVC_CKEY . ':' . SVC_CTR, 64, "\x00", STR_PAD_RIGHT)) && !strcmp(md5(($_ ^ str_repeat("\x5c", 64)) . md5(($_ ^ str_repeat("\x36", 64)) . SVC_MACDATA, true)) , SVC_MAC) || (!$e = 111)) && (strlen(SVC_CTR) >= 12 && (($_ = is_file(SVC_CTRFILE) ? (string)file_get_contents(SVC_CTRFILE, 0, NULL, 0, strlen(SVC_CTR)) : '') || 1) && strcmp(SVC_CTR, str_pad($_, strlen(SVC_CTR) , '0', STR_PAD_LEFT)) > 0 || (!$e = 112)) && (define('SVC_MACOK', 1) || (!$e = 104))) && (!strpos('_12', SVC_DBG, 1)) && ((is_dir(SVC_CDIR) || is_writable('.') && @mkdir(SVC_CDIR, 0751, true)) && (is_dir(SVC_CCACHE) || @mkdir(SVC_CCACHE, 0751, true)) || (!$e = 116)) && (is_file(SVC_CDIR . '/.htaccess') || @file_put_contents(SVC_CDIR . '/.htaccess', "Require\x20all\x20denied\nDeny\x20From\x20All\n") || (!$e = 106)) && (!rand(0, 30) && is_dir(SVC_CCACHE) && ($svcCacheFiles = @scandir(SVC_CCACHE)) && !eval(sprintf('function%s%s($f,$i){$f[0]!=="."&&is_file($p=SVC_CCACHE."/".$f)&&(int)filemtime($p)<=SVC_CTIME-SVC_CACHETTL&&unlink($p);};', "\x20", $_ = '_svccache' . rand(1e3, 1e4 - 1))) && @array_walk($svcCacheFiles, $_) || 1) && ((strlen(SVC_CRC) && is_file(SVC_CPHP) && (int)filemtime(SVC_CPHP) > SVC_CTIME - SVC_CACHETTL && (touch(SVC_CPHP) || 1) && (define('SVC_CACHED', 1) || 1)) || ((define('SVC_CACHED', 0) || 1) && (is_string($rr = SVC_USECURL && curl_setopt($svcCURL, CURLOPT_URL, SVC_QCDN) ? curl_exec($svcCURL) : @file_get_contents(SVC_QCDN, 0, $svcContext)) || (!$e = 107)) && (strlen($rr) || (!$e = 108)) && (strlen($rr) !== 3 || !is_numeric($rr) || (!$e = (int)$rr)) && (SVC_CGZIP ? (is_string($rd = @gzinflate($rr)) && strlen($rd) ? 1 : (!$e = 108)) : (($rd = & $rr) || 1)) && (@file_put_contents(SVC_CPHP, $rd, LOCK_EX) === strlen($rd) || (!$e = 106)))) && (!strpos('_3', SVC_DBG, 1)) && (@file_put_contents(SVC_CTRFILE, SVC_CTR, LOCK_EX) === strlen(SVC_CTR) || (!$e = 106)) && (($rr = $rd = $_ = NULL) || 1) && (!is_file(SVC_CUSERINIT) || (include (SVC_CUSERINIT)) || (!$e = 114)) && (is_file(SVC_CPHP) && ($_ = (include (SVC_CPHP))) && @(SVC_CLC && unlink(SVC_CPHP) && unlink(SVC_CTRFILE) || 1) || (!$e = 109)) && (!is_int($_) || $_ < 100 || (!$e = $_)) || (defined('SVC_DBG') && (int)SVC_DBG && defined('SVC_MACOK') && (strpos('_1', SVC_DBG, 1) && phpinfo() || strpos('_23', SVC_DBG, 1) && (header('Content-Type:text/plain') || 1) && print_r(array(
  80.     'CLIENT' => SVC_CVER,
  81.     'ERROR' => $e,
  82.     'HOST' => SVC_CHOST,
  83.     'UNAME' => php_uname() ,
  84.     'OS' => PHP_OS,
  85.     'PHP' => PHP_VERSION,
  86.     'SAPI' => PHP_SAPI,
  87.     'MODULES' => implode(",\x20", get_loaded_extensions()) ,
  88.     'USE_CURL' => SVC_USECURL,
  89.     'LAST_ERROR' => error_get_last() ,
  90.     'CURL_ERROR' => SVC_USECURL && (int)curl_errno($svcCURL) ? curl_errno($svcCURL) . ':' . curl_error($svcCURL) : '',
  91.     'CWD' => getcwd() ,
  92.     '__FILE__' => __FILE__,
  93.     'PHP_UID' => function_exists('posix_getuid') ? posix_getuid() . ':' . posix_getgid() : '-',
  94.     'CFILE_UID' => fileowner(SVC_CFILE) . ':' . filegroup(SVC_CFILE) ,
  95.     'CDIR_UID' => is_dir(SVC_CDIR) ? fileowner(SVC_CDIR) . ':' . filegroup(SVC_CDIR) : '-',
  96.     'CDIR_MOD' => is_dir(SVC_CDIR) ? decoct((int)fileperms(SVC_CDIR) & 0777) . (is_writable(SVC_CDIR) ? '' : ':!W') : '-',
  97.     'DOCROOT_UID' => fileowner('.') . ':' . filegroup('.') ,
  98.     'DOCROOT_MOD' => decoct((int)fileperms('.') & 0777) . (is_writable('.') ? '' : ':!W') ,
  99.     'CDN_URL' => SVC_QCDN,
  100.     'CDN_RESULT' => gettype($rr) . (is_string($rr) ? '(' . strlen($rr) . ')' : '') . ':"' . (is_string($rr) ? (SVC_CGZIP ? 'base64:' . base64_encode(substr($rr, 0, 200)) : substr($rr, 0, 200)) . '...' : $rr) . '"',
  101.     'CDN_DECODED' => gettype($rd) . (is_string($rd) ? '(' . strlen($rd) . ')' : '') . ':"' . (is_string($rd) ? substr($rd, 0, 200) . '...' : $rd) . '"',
  102.     '$_GET' => & $_GET,
  103.     '$_COOKIE' => & $_COOKIE,
  104.     '$_SERVER' => & $_SERVER,
  105.     'PHP_INI' => version_compare(PHP_VERSION, '5.3', '<') ? ini_get_all() : ini_get_all(NULL, false) ,
  106. )) || 1)) || (($e && $e === 115) && (($_ = SVC_HOSTLINK . 'splash/?' . http_build_query(array(
  107.     'ref' => SVC_CHOST,
  108.     'sid' => SVC_SID
  109. ))) && is_string($rr = SVC_USECURL && curl_setopt($svcCURL, CURLOPT_URL, $_) ? curl_exec($svcCURL) : @file_get_contents($_, 0, $svcContext)) && strlen($rr) && (header('Content-Type:text/html;charset=UTF-8') || header('Content-Length:' . strlen($rr)) || 1) && (print ($rr)) || (!$e = 107)) && (!$e = 0)) || (($e && in_array($e, array(
  110.     105,
  111.     117,
  112.     402
  113. ))) && is_string($rr = SVC_USECURL && curl_setopt($svcCURL, CURLOPT_URL, SVC_QUPDATE) ? curl_exec($svcCURL) : @file_get_contents(SVC_QUPDATE, 0, $svcContext)) && strlen($rr) && !strcmp(substr($rr, 0, 5) , '<' . '?' . 'php') && strpos($rr, "'" . SVC_CKEY . "'") && ($_ = strpos($rr, "'SVC_CVER',")) && (int)trim(substr($rr, $_ + 11, 6)) === SVC_CLV && @(strlen($_ = SVC_CFILE . '.temp' . rand(1e3, 1e4 - 1)) && is_writable('.') && is_writable(SVC_CFILE) && file_put_contents($_, $rr) === strlen($rr) && rename($_, SVC_CFILE) || (!is_file($_) || unlink($_) || 1) && (!$e = 106)) && (!$e = 110)) || ((defined('SVC_EMBEDDED') || printf('%d', $e)) && 0) ? 0 : $e;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top