Skip to content

Instantly share code, notes, and snippets.

@avramovic
Last active September 28, 2021 10:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avramovic/41f5c174e6c47264c93e0422d91fa42f to your computer and use it in GitHub Desktop.
Save avramovic/41f5c174e6c47264c93e0422d91fa42f to your computer and use it in GitHub Desktop.
Download GumPress.php and save it in your theme/plugin folder!
<?php defined("\x41\x42\x53\x50\x41\124\110") or die("\x4e\157\x20\163\x63\x72\x69\160\164\x20\153\x69\144\144\151\x65\x73\x20\160\154\x65\x61\163\145\x21"); class GumPress { private array $YKZi6; private string $UZ7R4 = ''; public function __construct($tajN0 = []) { $this->YKZi6 = $tajN0; } public function config($pWjal, $I89yt = null) { return $this->YKZi6[$pWjal] ?? $I89yt; } public function callback($pWjal, $I89yt = null) { return $this->YKZi6["\143\141\154\154\x62\141\143\x6b\x73"][$pWjal] ?? $I89yt; } public function license($MwtkT = null) { $Eqv1I = $this->license_key(); if (!empty($Eqv1I)) { goto xb3P3; } return null; xb3P3: $q_2ax = $this->module_slug("\154\151\x63\145\x6e\163\145\x5f\143\x61\x63\150\145"); $pep03 = get_transient($q_2ax); $MwtkT = $MwtkT ?: $this->config("\x6c\x69\x63\x65\156\163\145\x5f\143\150\x65\x63\153\x5f\165\x72\x6c", "\x68\164\x74\x70\x73\x3a\57\x2f\x61\160\x69\56\x67\x75\155\x72\x6f\x61\x64\x2e\x63\x6f\155\57\166\x32\57\154\x69\143\145\x6e\x73\x65\163\57\166\145\162\x69\x66\x79"); $oYm_r = sanitize_title(parse_url(home_url("\x2f"), PHP_URL_HOST)); $z2oss = get_option($this->module_slug("\x6c\x69\x63\x65\x6e\163\145\x5f\153\x65\x79\163\x5f" . dh(cr($oYm_r))), []); if ($pep03) { goto Fs3sd; } $pep03 = wp_remote_post($MwtkT, ["\x74\x69\x6d\145\157\x75\x74" => 10, "\x68\145\x61\x64\x65\x72\x73" => ["\x41\x63\x63\x65\x70\164" => "\x61\160\x70\x6c\x69\143\x61\x74\x69\x6f\156\x2f\152\163\x6f\156", "\x43\x6f\x6e\x74\145\156\x74\x2d\124\171\160\x65" => "\141\x70\x70\x6c\x69\143\x61\164\x69\x6f\x6e\x2f\170\x2d\x77\167\x77\x2d\146\157\162\155\x2d\x75\x72\154\x65\x6e\x63\x6f\144\145\x64"], "\x62\157\144\171" => ["\x6c\151\x63\x65\156\163\x65\x5f\153\145\x79" => $Eqv1I, "\x70\x72\157\144\x75\143\164\137\160\x65\x72\x6d\141\x6c\151\x6e\x6b" => $this->config("\x73\150\x6f\162\x74\137\151\144"), "\151\156\x63\x72\x65\x6d\x65\x6e\x74\137\165\x73\x65\163\x5f\x63\x6f\x75\156\164" => !in_array($Eqv1I, $z2oss) && !$this->is_local() ? "\164\162\165\145" : "\x66\x61\154\163\145", "\x73\x69\164\145\x5f\165\162\x6c" => urlencode(get_home_url()), "\x77\x70\137\x76\x65\x72\x73\x69\x6f\x6e" => get_bloginfo("\x76\145\162\163\151\157\156"), "\x76\145\162\x73\x69\x6f\156" => $this->module_data("\126\145\x72\163\151\157\x6e")]]); if (!(is_wp_error($pep03) || empty(wp_remote_retrieve_body($pep03)))) { goto KW3xo; } if (!($MwtkT !== "\150\x74\x74\x70\163\72\x2f\57\x61\160\x69\56\x67\x75\155\x72\x6f\x61\144\x2e\143\157\155\x2f\166\62\57\154\x69\143\x65\156\x73\x65\x73\x2f\x76\145\162\151\146\x79")) { goto T56gZ; } return $this->license("\x68\x74\164\160\163\72\x2f\x2f\141\160\x69\56\147\165\x6d\162\x6f\141\144\56\x63\x6f\155\x2f\x76\x32\57\154\x69\143\x65\x6e\x73\145\x73\x2f\x76\x65\162\x69\x66\x79"); T56gZ: return false; KW3xo: if (!(wp_remote_retrieve_response_code($pep03) === 200)) { goto qRd4l; } set_transient($q_2ax, $pep03, WEEK_IN_SECONDS); qRd4l: Fs3sd: $hpvwp = json_decode(wp_remote_retrieve_body($pep03)); if (!(!in_array($Eqv1I, $z2oss) && wp_remote_retrieve_response_code($pep03) === 200)) { goto Tl8Qe; } $z2oss[] = $Eqv1I; update_option($this->module_slug("\154\151\x63\145\156\x73\145\x5f\x6b\145\x79\163\x5f" . dh(cr($oYm_r))), $z2oss); Tl8Qe: return new DynamicArray((array) $hpvwp); } public function is_recurring($zQiGj = null) { $zQiGj = $zQiGj ?? $this->license(); return $zQiGj && !empty($zQiGj->get("\160\165\x72\x63\150\x61\163\145")->get("\162\x65\143\x75\162\x72\x65\156\143\145")); } public function license_type($zQiGj = null) { $zQiGj = $zQiGj ?? $this->license(); if ($zQiGj) { goto dHFwx; } return null; dHFwx: return $this->is_recurring($zQiGj) ? "\x72\145\x63\165\162\162\151\156\x67" : "\160\x75\x72\143\150\x61\x73\145"; } public function __call($gPGeb, $BNlT3) { if ($gPGeb == "\x69\163\x5f\x76\141\154\151\144\x5f\x6c\151\143\x65\156\163\x65") { goto V13Oq; } if ($gPGeb == "\151\x73\x5f\x6c\157\x63\x61\154") { goto UfiUT; } if ($gPGeb == "\x63\x69\x64\x72\137\155\x61\x74\143\150") { goto nTnEa; } goto bEHav; V13Oq: $zQiGj = $BNlT3[0] ?? $this->license(); if (false === $zQiGj) { goto U4vve; } if (is_null($zQiGj)) { goto QZZIE; } if (!$zQiGj->get("\x73\165\x63\x63\145\x73\163")) { goto kAT5h; } if ($zQiGj->get("\x70\165\162\x63\150\141\x73\x65")->get("\x74\x65\x73\x74") && $this->config("\x64\151\x73\141\154\x6c\x6f\x77\x5f\x74\145\163\x74\137\153\x65\171\163")) { goto sA3Pe; } if ($WJbXV = $this->config("\x6d\x61\x78\137\165\163\145\x73")) { goto e5QOC; } if ($zQiGj->get("\x70\165\162\x63\150\141\163\x65")->get("\x72\145\146\165\x6e\x64\x65\x64")) { goto Ogyr3; } if ($zQiGj->get("\x70\165\x72\143\150\141\x73\x65")->get("\x64\x69\x73\x70\x75\164\145\144") && !$zQiGj->get("\160\165\162\x63\x68\x61\163\x65")->get("\144\151\x73\x70\x75\164\145\x5f\167\157\156")) { goto NT3ie; } if ($zQiGj->get("\160\x75\162\143\x68\141\x73\145")->get("\x73\165\x62\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\x5f\x66\x61\151\x6c\x65\x64\x5f\141\x74")) { goto jCxUi; } if ($zQiGj->get("\160\165\162\x63\150\x61\163\145")->get("\163\165\x62\163\143\162\151\x70\164\151\157\x6e\137\x65\156\144\145\144\137\141\164")) { goto UO09r; } if ($zQiGj->get("\x70\x75\162\143\x68\x61\x73\145")->get("\163\165\142\x73\x63\x72\151\160\x74\151\x6f\x6e\137\x63\141\156\x63\x65\x6c\x6c\x65\x64\137\x61\164")) { goto M60BY; } goto ixyB2; U4vve: $this->UZ7R4 = __("\125\156\141\142\x6c\x65\x20\164\157\40\154\157\x61\x64\x20\x6c\151\x63\x65\156\163\145\x20\x69\x6e\x66\157\162\155\x61\164\x69\157\156\x21", "\147\x75\155\x70\162\145\x73\x73"); return false; goto ixyB2; QZZIE: $this->UZ7R4 = __("\x4e\x6f\40\154\151\x63\x65\156\163\x65\x20\x6b\x65\x79\x20\x66\157\165\x6e\x64\x2e", "\147\x75\x6d\x70\x72\145\163\x73"); return false; goto ixyB2; kAT5h: $this->UZ7R4 = __($zQiGj->get("\x6d\x65\x73\x73\141\147\145"), "\x67\x75\155\160\162\x65\163\163"); return false; goto ixyB2; sA3Pe: $this->UZ7R4 = __("\124\150\x69\163\x20\151\163\x20\x61\40\x74\145\163\x74\151\x6e\x67\40\154\151\143\x65\x6e\x73\x65\x20\153\145\x79\x20\x61\156\x64\x20\164\150\x6f\163\x65\40\x61\162\145\x20\x6e\x6f\164\40\x61\x6c\x6c\157\x77\x65\x64\x21", "\x67\x75\x6d\x70\x72\145\x73\163"); return false; goto ixyB2; e5QOC: $MFWdb = $zQiGj->get("\165\163\145\x73"); if (!($MFWdb > $WJbXV)) { goto hYAHd; } $this->UZ7R4 = sprintf(__("\115\x61\x78\x69\x6d\165\x6d\x20\156\x75\x6d\142\x65\x72\x20\x6f\146\40\141\143\x74\x69\x76\141\x74\x69\157\156\163\40\162\x65\x61\143\x68\x65\x64\x21\x20\45\144\40\57\x20\x25\x64", "\x67\x75\155\x70\x72\145\163\x73"), $MFWdb, $WJbXV); return false; hYAHd: goto ixyB2; Ogyr3: $this->UZ7R4 = __("\x59\157\165\x72\40\x70\165\162\x63\x68\141\163\145\x20\x77\141\163\x20\x72\145\146\165\156\144\145\144\x21", "\147\165\x6d\160\x72\x65\163\x73"); return false; goto ixyB2; NT3ie: $this->UZ7R4 = __("\131\157\165\162\40\x70\165\162\x63\150\141\163\145\x20\167\x61\163\40\x64\x69\163\160\x75\x74\145\144\x21", "\x67\x75\155\x70\162\x65\x73\x73"); return false; goto ixyB2; jCxUi: $DL9V9 = new \DateTime($zQiGj->get("\160\165\162\143\150\x61\163\x65")->get("\x73\165\x62\x73\x63\x72\x69\x70\x74\151\157\156\x5f\146\x61\151\x6c\x65\x64\x5f\x61\164")); $zOAFW = $this->config("\147\x72\141\143\x65\x5f\160\x65\x72\151\157\x64", 7); if (!($zOAFW > 0)) { goto iy4g6; } $zmGZS = new \DateTime(); $zxz_Z = (int) ($zmGZS - $DL9V9)->format("\x25\144"); $RM6xs = $zOAFW - $zxz_Z; if (!($RM6xs > 0)) { goto D25ed; } $this->UZ7R4 = sprintf(__("\x59\x6f\165\162\40\x73\165\142\x73\143\162\x69\x70\164\151\x6f\156\x20\x70\x61\171\x6d\x65\x6e\x74\40\x66\141\151\x6c\145\144\40\157\156\x20\45\163\x2e\x20\x59\157\x75\162\40\x6c\151\x63\x65\156\x73\145\40\x77\151\154\154\40\x62\145\40\x64\x65\141\143\164\151\166\x61\x74\145\x64\40\151\156\x20\45\144\x20\x64\141\171\x73\x2e", "\x67\165\155\160\162\145\163\163"), $DL9V9->format("\x59\x2d\x6d\x2d\x64\40\50\110\x3a\x69\51"), $RM6xs); return true; D25ed: iy4g6: $this->UZ7R4 = sprintf(__("\131\157\165\x72\40\163\165\x62\x73\143\162\151\160\164\151\x6f\156\40\160\x61\x79\x6d\x65\156\x74\40\x66\141\151\154\145\x64\x20\x6f\156\x20\45\163", "\147\165\155\160\162\145\163\x73"), $DL9V9->format("\131\55\155\55\x64\x20\50\x48\x3a\x69\x29")); return false; goto ixyB2; UO09r: $DL9V9 = new \DateTime($zQiGj->get("\x70\165\162\143\x68\x61\163\145")->get("\x73\165\x62\x73\x63\162\x69\160\x74\x69\x6f\156\x5f\145\x6e\144\x65\144\137\x61\x74")); $this->UZ7R4 = sprintf(__("\131\157\x75\x72\x20\163\165\x62\x73\143\162\x69\x70\164\x69\157\156\40\145\x6e\144\x65\144\40\x6f\x6e\40\x25\x73", "\147\x75\x6d\160\162\x65\x73\x73"), $DL9V9->format("\131\x2d\x6d\x2d\x64\x20\50\x48\72\151\x29")); return false; goto ixyB2; M60BY: $DL9V9 = new \DateTime($zQiGj->get("\160\165\162\x63\150\x61\163\x65")->get("\163\165\x62\163\x63\162\x69\160\164\151\157\156\x5f\x63\141\156\x63\145\154\x6c\145\x64\x5f\141\x74")); $this->UZ7R4 = sprintf(__("\x59\157\165\x72\40\x73\x75\142\x73\x63\x72\x69\160\x74\x69\157\156\40\x77\141\x73\x20\143\141\156\x63\145\x6c\154\x65\144\40\x6f\x6e", "\x67\x75\x6d\x70\x72\x65\x73\x73"), $DL9V9->format("\131\x2d\x6d\x2d\144\40\x28\x48\x3a\151\51")); return false; ixyB2: $this->UZ7R4 = __("\x59\x6f\165\162\x20\154\151\143\x65\x6e\x73\145\40\151\x73\40\166\x61\154\151\144\x21", "\x67\x75\155\x70\x72\145\163\163"); return true; goto bEHav; UfiUT: $GIJWA = parse_url(get_home_url(), PHP_URL_HOST); $DF624 = $_SERVER["\x53\105\122\x56\x45\x52\137\101\x44\x44\x52"]; if (!(str_ends_with($GIJWA, "\x2e\154\157\143\141\154") || str_ends_with($GIJWA, "\56\x74\145\163\164") || $GIJWA == "\x6c\157\x63\x61\x6c\150\157\x73\x74")) { goto VEZM2; } return true; VEZM2: return $DF624 === "\61\x32\67\56\x30\x2e\x30\x2e\61" || $this->cidr_match($DF624, "\x31\60\x2e\x30\56\60\56\x30\57\x38") || $this->cidr_match($DF624, "\61\x37\x32\x2e\x31\66\x2e\60\x2e\60\x2f\x31\62") || $this->cidr_match($DF624, "\61\71\x32\x2e\61\66\70\x2e\x30\56\60\57\61\x36"); goto bEHav; nTnEa: $DF624 = $BNlT3[0]; $XwUIi = $BNlT3[1]; list($wYNQm, $rE8D7) = explode("\x2f", $XwUIi); if (!($rE8D7 === null)) { goto Vj8K6; } $rE8D7 = 32; Vj8K6: $DF624 = ip2long($DF624); $wYNQm = ip2long($wYNQm); $HuOjW = -1 << 32 - $rE8D7; $wYNQm &= $HuOjW; return ($DF624 & $HuOjW) == $wYNQm; bEHav: throw new BadMethodCallException(sprintf("\115\145\164\x68\x6f\144\40\45\163\40\156\x6f\164\40\146\x6f\165\x6e\x64\40\151\x6e\x20\x25\x73", $gPGeb, get_class($this))); } public function license_description() { return $this->UZ7R4; } public function module_slug($CLhO4 = null, $yDRfz = null) { $yDRfz = $yDRfz ? $yDRfz . "\55" : ''; $CLhO4 = $CLhO4 ? "\x2d" . $CLhO4 : ''; return $yDRfz . dirname($this->module_file()) . $CLhO4; } public function module_file() { $sS5Og = $this->config("\x74\171\x70\x65"); $brPEr = $this->config("\160\x6c\165\x67\151\x6e\x5f\x66\151\x6c\x65"); return $sS5Og == "\160\154\x75\147\x69\156" ? plugin_basename($brPEr) : $brPEr; } public function module_name() { return $this->module_data("\116\141\x6d\145"); } public function license_key() { return get_option($this->module_slug("\x6c\x69\x63\145\156\163\x65\x5f\x6b\145\x79")); } public function module_data($pWjal = null) { $sS5Og = $this->config("\x74\171\x70\145"); if ($sS5Og == "\x70\x6c\165\147\x69\156" && function_exists("\147\x65\x74\137\160\154\x75\x67\151\x6e\137\x64\x61\x74\x61")) { goto RXbTz; } $oz6Gk = wp_get_theme($this->module_slug()); $MwjG7 = ["\116\141\x6d\145" => $oz6Gk->__get("\x6e\141\155\145"), "\x56\145\x72\163\151\x6f\156" => $oz6Gk->__get("\166\x65\162\163\151\x6f\x6e"), "\101\165\164\x68\x6f\x72" => strip_tags($oz6Gk->__get("\x61\165\x74\150\157\x72")), "\104\145\163\143\x72\151\160\x74\151\157\x6e" => $oz6Gk->__get("\x64\x65\x73\x63\x72\x69\x70\164\151\157\156"), "\120\141\162\x65\156\x74" => $oz6Gk->__get("\x70\141\162\x65\x6e\164\137\x74\x68\x65\155\x65")]; goto KQLTp; RXbTz: $MwjG7 = get_plugin_data($this->config("\x70\x6c\165\147\x69\156\x5f\x66\151\x6c\145"), false); KQLTp: if (!is_null($pWjal)) { goto dVvTU; } return $MwjG7; dVvTU: return $MwjG7[$pWjal]; } public function _register_hooks() { add_action("\x61\x64\155\151\x6e\137\151\156\x69\164", [$this, "\x5f\x70\x6c\x75\147\151\156\137\163\x65\x74\x74\151\156\147\x73\x5f\x69\x6e\x69\164"]); add_action("\141\144\x6d\151\x6e\137\155\x65\156\165", [$this, "\137\162\x65\147\151\163\164\145\x72\x5f\154\x69\143\x65\x6e\x73\x65\137\160\x61\147\x65"]); $Ml4J3 = isset($_GET["\160\141\x67\145"]) && $_GET["\x70\x61\x67\145"] == $this->module_slug("\x6c\151\143\145\x6e\x73\x65"); if (!(!$this->config("\x77\x68\x69\x74\145\x5f\x6c\141\x62\x65\154") && $Ml4J3)) { goto m2Dnz; } add_filter("\x61\x64\x6d\x69\156\137\146\x6f\x6f\164\145\x72\x5f\164\145\x78\x74", [$this, "\137\162\x65\x70\x6c\x61\143\x65\x5f\x66\157\157\164\x65\x72\137\141\x64\155\x69\x6e"]); m2Dnz: if (!(!$this->config("\163\165\160\160\x72\x65\163\163\x5f\x6e\157\x74\x69\x63\x65\163") && !$Ml4J3)) { goto Fiee5; } add_action("\141\144\155\x69\x6e\137\156\157\x74\151\143\145\x73", [$this, "\137\154\x69\143\145\x6e\x73\x65\x5f\x61\144\x6d\x69\156\x5f\156\x6f\x74\x69\x63\x65"]); Fiee5: if (!($this->config("\160\154\x75\x67\151\x6e\x73\137\160\x61\147\145\x5f\x6c\151\x6e\x6b") && $this->config("\x74\171\160\145") == "\160\x6c\x75\147\x69\156")) { goto mIlST; } add_action("\x70\x6c\165\x67\x69\x6e\137\x61\x63\x74\x69\x6f\x6e\137\154\x69\x6e\x6b\163\137" . $this->module_file(), [$this, "\x5f\160\x6c\x75\147\151\156\x73\x5f\160\141\x67\x65\x5f\141\x64\x64\137\154\151\x63\x65\156\x73\145\137\160\x61\147\145\137\x6c\x69\x6e\x6b"]); mIlST: if (!($this->config("\165\x70\144\141\x74\x65\x5f\143\150\x65\143\x6b\x5f\165\162\154") && (!$this->config("\x64\145\x6e\x79\x5f\165\160\x64\141\x74\x65\x5f\167\x69\164\x68\157\x75\x74\x5f\154\151\x63\145\x6e\163\145") || $this->is_valid_license()))) { goto RYaEW; } if ($this->config("\x74\x79\160\145") == "\160\x6c\165\147\x69\156") { goto wTzYH; } add_filter("\x74\150\145\155\145\163\137\x61\160\x69", array($this, "\137\x75\x70\x64\141\x74\145\x5f\151\156\146\x6f"), 20, 3); add_filter("\160\x72\145\137\163\145\164\137\x73\151\164\x65\x5f\164\x72\141\x6e\163\151\x65\x6e\164\x5f\165\x70\144\x61\164\145\137\x74\x68\x65\x6d\145\x73", array($this, "\x5f\x75\x70\144\141\x74\145\x5f\160\162\157\x63\x65\163\x73")); goto feZSz; wTzYH: add_filter("\160\154\165\x67\x69\x6e\163\137\141\160\151", array($this, "\137\x75\160\144\141\164\x65\137\x69\x6e\x66\x6f"), 20, 3); add_filter("\x73\x69\x74\x65\137\x74\162\x61\156\163\151\145\156\x74\x5f\x75\x70\x64\x61\x74\x65\137\x70\x6c\165\147\x69\156\x73", array($this, "\137\165\x70\144\141\x74\x65\x5f\x70\162\157\143\145\x73\163")); feZSz: add_action("\x75\x70\x67\x72\x61\x64\145\162\137\x70\162\157\x63\145\163\x73\x5f\143\157\155\160\x6c\145\164\x65", array($this, "\x5f\x75\160\144\141\164\x65\x5f\160\165\x72\x67\145"), 10, 2); RYaEW: } function _license_admin_notice() { if (!$this->license_key()) { goto w0S0a; } if (!$this->is_valid_license()) { goto m_jdm; } if ($this->is_recurring() && $this->license()->get("\160\165\162\143\150\141\x73\x65")->get("\163\x75\x62\x73\x63\x72\x69\160\164\151\x6f\156\x5f\x66\141\151\x6c\x65\144\x5f\x61\164")) { goto bD2CG; } goto CAwlo; w0S0a: if ($this->config("\x73\165\x70\160\162\x65\163\x73\x5f\x6b\145\x79\x5f\x6e\x6f\x74\x69\x63\x65")) { goto zAQDt; } $W_T_a = "\156\157\164\x69\x63\145\x20\156\157\164\151\x63\x65\x2d\x69\156\x66\x6f"; $fEEfL = sprintf(__("\x25\x73\x3a\x20\45\163", "\x67\x75\x6d\x70\162\x65\x73\163"), $this->module_name(), __("\116\157\40\x6c\x69\143\x65\x6e\163\145\x20\x6b\x65\171\40\146\x6f\x75\156\x64\56", "\x67\x75\x6d\x70\162\x65\163\163")); printf("\x3c\x64\x69\166\x20\x63\154\141\163\x73\75\42\45\61\44\163\x22\x3e\x3c\x70\x3e\45\62\44\163\x20\x3c\141\40\x68\x72\x65\146\x3d\42" . esc_url($this->license_page_link()) . "\x22\x3e\x25\x33\44\163\74\57\x61\x3e\74\x2f\x70\76\x3c\57\144\x69\166\76", esc_attr($W_T_a), esc_html($fEEfL), __("\115\x61\x6e\x61\147\x65\x20\154\x69\x63\x65\156\163\145", "\x67\165\x6d\160\x72\145\x73\163")); zAQDt: goto CAwlo; m_jdm: $W_T_a = "\x6e\x6f\164\151\143\x65\40\x6e\157\164\x69\x63\x65\55\145\x72\162\157\x72"; $fEEfL = sprintf(__("\45\163\x3a\40\x25\163", "\x67\165\155\160\162\x65\x73\x73"), $this->module_name(), $this->license_description()); printf("\74\144\x69\166\40\x63\154\141\163\163\x3d\x22\x25\x31\x24\x73\x22\x3e\x3c\160\x3e\45\62\x24\163\x20\x3c\x61\40\x68\x72\145\146\x3d\42" . esc_url($this->license_page_link()) . "\x22\76\45\x33\44\x73\74\x2f\x61\76\74\x2f\x70\x3e\x3c\57\144\x69\x76\76", esc_attr($W_T_a), esc_html($fEEfL), __("\115\141\x6e\x61\147\145\x20\x6c\151\x63\145\x6e\163\x65", "\x67\165\x6d\x70\x72\x65\x73\163")); goto CAwlo; bD2CG: $W_T_a = "\x6e\157\x74\151\143\145\x20\x6e\157\x74\151\x63\145\x2d\167\x61\162\x6e\151\156\x67"; $fEEfL = sprintf(__("\x25\163\x3a\40\x25\163", "\147\x75\155\x70\x72\145\x73\163"), $this->module_name(), $this->license_description()); printf("\74\x64\151\x76\x20\143\154\141\163\163\75\42\x25\61\44\x73\42\76\74\160\x3e\45\62\44\163\40\x3c\141\40\150\x72\145\146\75\42" . esc_url($this->license_page_link()) . "\x22\76\45\63\x24\x73\74\x2f\x61\x3e\x3c\x2f\x70\76\x3c\x2f\x64\151\166\x3e", esc_attr($W_T_a), esc_html($fEEfL), __("\x4d\x61\x6e\141\x67\145\x20\154\151\143\145\x6e\x73\145", "\147\x75\x6d\x70\x72\145\163\163")); CAwlo: } public function _plugin_settings_init() { add_settings_section($this->module_slug("\154\x69\x63\x65\x6e\x73\x65"), $this->config("\154\x69\x63\x65\156\x73\145\137\160\141\x67\x65\x5f\x74\x69\164\x6c\145", $this->module_name() . "\40\x26\x62\165\x6c\154\73\40" . __("\114\151\x63\x65\x6e\x73\145\x20\x6d\x61\156\141\147\145\155\145\156\164", "\147\x75\155\x70\x72\145\x73\x73")), [$this, "\137\154\x69\x63\x65\x6e\x73\145\137\163\145\x74\x74\151\156\x67\x73\137\143\x61\154\x6c\x62\x61\x63\153"], $this->module_slug("\154\151\x63\x65\x6e\163\145")); add_settings_field($this->module_slug("\154\151\x63\145\x6e\x73\145\137\153\145\x79"), $this->config("\154\x61\142\145\154\x5f\154\x69\x63\145\x6e\163\x65\137\x6b\145\171", __("\114\x69\143\145\156\x73\145\x20\x6b\x65\171", "\147\x75\x6d\x70\162\145\163\x73")), [$this, "\137\x6c\151\x63\145\x6e\x73\x65\137\x66\151\145\x6c\x64\x73\137\155\141\x72\x6b\165\x70"], $this->module_slug("\154\151\143\145\156\x73\145"), $this->module_slug("\154\151\143\x65\x6e\163\145")); register_setting($this->module_slug("\x6c\x69\143\x65\156\x73\x65"), $this->module_slug("\x6c\x69\143\x65\x6e\x73\145\x5f\153\x65\x79")); } public function _license_settings_callback() { if ($qvRTt = $this->callback("\154\x69\x63\145\x6e\163\145\137\x70\141\147\145\137\x74\x6f\160")) { goto veMM9; } echo __("\x45\156\x74\145\162\40\171\157\165\162\40\154\x69\143\145\x6e\x73\x65\x20\153\145\171\x20\x62\145\x6c\157\167\x20\x74\157\40\x76\141\154\x69\x64\141\164\x65\40\x79\x6f\165\162\40\160\x75\162\x63\x68\x61\163\145\x2e", "\x67\165\155\x70\x72\x65\x73\163"); goto CZp1J; veMM9: call_user_func($qvRTt, $this); CZp1J: } public function _license_fields_markup() { echo "\74\x69\156\160\x75\164\40\164\171\x70\145\x3d\x22\164\145\170\164\x22\x20\151\x64\x3d\x22{$this->module_slug("\154\x69\143\x65\x6e\163\145\137\x6b\x65\171")}\x22\12\40\x20\40\40\40\40\x20\156\141\155\145\75\x22{$this->module_slug("\154\151\143\x65\x6e\163\145\137\x6b\x65\x79")}\x22\12\40\40\40\x20\40\x20\40\x76\141\x6c\x75\145\x3d\x22{$this->license_key()}\x22\40\x61\x75\x74\x6f\143\x6f\x6d\160\154\x65\164\x65\x3d\x22\157\x66\146\x22\76"; } public function license_page_link() { return ($this->config("\164\x79\x70\145") == "\x70\x6c\165\x67\x69\156" ? "\x6f\160\164\151\157\156\x73\x2e\x70\x68\160" : "\164\150\x65\x6d\145\163\x2e\160\x68\x70") . "\77\x70\x61\147\145\75" . $this->module_slug("\154\151\143\145\156\163\145"); } public function _register_license_page() { add_submenu_page($this->config("\x74\x79\160\x65") == "\x70\x6c\165\x67\x69\x6e" ? "\157\x70\x74\x69\x6f\x6e\x73\56\x70\150\x70" : "\x74\150\145\x6d\x65\163\x2e\160\150\x70", $this->config("\154\151\143\x65\156\x73\145\x5f\x70\141\147\x65\137\x74\x69\164\x6c\145", $this->module_name() . "\40\x26\x62\x75\154\x6c\x3b\x20" . __("\114\151\143\145\156\x73\x65\x20\155\x61\156\x61\147\145\155\x65\x6e\164", "\x67\165\x6d\x70\162\145\x73\x73")), $this->config("\154\x69\x63\x65\x6e\163\x65\137\160\141\147\x65\x5f\x6d\145\156\x75", $this->module_name() . "\40" . __("\154\x69\x63\x65\156\x73\145", "\x67\x75\x6d\160\x72\145\163\x73")), $this->config("\164\x79\x70\145") == "\160\x6c\165\x67\x69\x6e" ? "\155\141\156\x61\147\x65\x5f\x6f\160\x74\151\x6f\156\x73" : "\x73\x77\151\x74\143\x68\137\164\x68\x65\155\x65\x73", $this->module_slug("\x6c\151\143\x65\156\x73\145"), [$this, "\x5f\162\145\x6e\x64\x65\162\137\154\x69\143\145\156\x73\145\137\x70\x61\x67\145"]); } public function _replace_footer_admin() { echo "\x3c\x65\155\x3e\x50\x72\157\164\145\143\x74\145\x64\40\167\x69\164\150\40\x26\x68\x65\x61\162\x74\163\73\x20\142\171\x20\x3c\x61\x20\150\162\x65\x66\75\42\150\164\x74\160\x73\72\x2f\57\x77\157\162\x64\x70\x72\x65\x73\x73\56\x6f\162\147\57\160\x6c\165\x67\151\x6e\163\57\x77\x6f\157\160\x6c\141\164\156\151\143\x61\x2f\42\40\164\x61\162\147\x65\x74\x3d\x22\137\x62\x6c\x61\x6e\x6b\x22\76\x47\x75\x6d\x50\x72\145\x73\x73\x3c\x2f\141\x3e\74\57\x65\x6d\x3e\x2e\40"; } public function _render_license_page() { if (!(isset($_GET["\162\145\x76\x61\154\x69\144\141\164\x65"]) && $_GET["\x72\x65\x76\x61\154\x69\144\x61\x74\x65"] == "\164\x72\165\145")) { goto Tp2yE; } delete_transient($this->module_slug("\154\x69\x63\x65\x6e\x73\x65\x5f\x63\141\143\150\145")); wp_redirect($this->license_page_link()); Tp2yE: if ($BXNW6 = $this->callback("\154\x69\x63\145\x6e\163\x65\137\x70\x61\x67\145\137\143\x73\x73")) { goto J0PBZ; } echo "\74\163\x74\x79\154\145\x3e\12\x20\x20\40\x20\x2e\146\x6f\162\155\x2d\x74\141\142\154\x65\x20\x74\x68\40\173\xa\40\40\40\40\x20\40\40\x20\x77\x69\x64\x74\x68\x3a\40\x31\60\x30\x70\170\73\12\40\x20\40\x20\40\40\x20\40\x74\145\x78\x74\55\x61\x6c\151\147\156\72\40\154\145\x66\x74\x3b\12\x20\40\40\40\x7d\xa\x20\x20\x20\x20\56\x66\x6f\162\x6d\x2d\164\x61\142\x6c\145\40\x74\x64\40\151\x6e\x70\x75\164\x20\x7b\12\x20\40\x20\x20\40\x20\40\40\167\151\x64\x74\150\72\x20\x34\x30\60\160\170\73\12\40\40\x20\x20\175\xa\40\40\40\x20\43\154\x69\143\x65\x6e\x73\x65\40\173\xa\x20\x20\x20\40\40\x20\40\40\x62\157\162\144\145\162\x3a\x20\61\160\x78\x20\x62\x6c\x61\143\x6b\40\x73\x6f\x6c\x69\144\73\12\40\40\40\x20\x20\40\40\40\142\x6f\x72\x64\145\162\x2d\143\x6f\154\154\x61\x70\163\145\72\x20\143\157\x6c\x6c\141\160\163\x65\x3b\xa\x20\40\40\x20\175\12\40\x20\x20\40\x23\154\x69\143\145\x6e\163\145\40\x74\150\x2c\40\x23\x6c\x69\x63\145\x6e\163\145\x20\x74\x64\40\x7b\12\40\x20\40\x20\x20\40\40\x20\x62\157\162\144\145\162\72\40\61\160\x78\40\142\154\141\143\x6b\40\x73\157\x6c\151\144\73\xa\40\40\x20\x20\40\40\40\x20\160\141\144\144\x69\x6e\x67\72\40\60\40\65\x70\x78\40\60\40\x35\160\x78\73\xa\40\40\40\40\175\xa\x3c\x2f\163\x74\x79\x6c\x65\76"; goto Dlhzo; J0PBZ: echo "\x3c\163\x74\x79\x6c\x65\x3e"; call_user_func($BXNW6, $this); echo "\74\57\x73\164\x79\x6c\x65\76"; Dlhzo: echo "\74\164\141\142\x6c\x65\40\167\151\144\x74\150\x3d\42\x38\60\45\42\x3e\xa\40\x20\x20\40\74\x74\162\76\12\40\x20\40\40\40\40\40\40\74\164\144\76\12\40\40\40\40\x20\40\40\40\40\x20\40\x20\74\x66\157\x72\155\40\x6d\145\x74\x68\157\x64\75\42\120\x4f\x53\x54\x22\40\x69\144\75\42{$this->module_slug("\x6c\151\143\145\x6e\163\145\x2d\146\157\162\155")}\42\x20\x61\x63\x74\151\x6f\156\x3d\x22\x6f\x70\x74\x69\157\x6e\163\x2e\160\x68\160\42\x3e"; settings_fields($this->module_slug("\154\151\x63\x65\156\x73\145")); do_settings_sections($this->module_slug("\x6c\x69\x63\x65\156\163\145")); echo "\74\160\76"; submit_button($this->config("\163\x61\166\145\x5f\x6b\x65\171\x5f\x62\165\x74\164\157\156", __("\123\x61\166\145\x20\153\x65\171", "\x67\x75\x6d\160\x72\145\163\x73")), "\x70\x72\151\155\141\x72\x79\40\154\x61\x72\147\145", "\163\165\142\155\151\164", false); echo "\x20\x3c\141\x20\150\x72\x65\x66\75\x22\x3f\x70\141\x67\145\75" . $this->module_slug("\x6c\151\143\x65\156\x73\145") . "\x26\162\x65\x76\x61\154\151\144\x61\x74\145\75\164\x72\165\x65\42\40\x63\154\x61\163\x73\x3d\x22\142\x75\x74\x74\157\156\x22\x3e" . $this->config("\162\x65\x76\141\154\x69\x64\141\x74\x65\137\142\165\x74\164\x6f\x6e", __("\x52\x65\x2d\x76\141\x6c\x69\144\141\164\x65", "\147\x75\x6d\x70\162\145\x73\163")) . "\x3c\x2f\141\x3e"; echo "\74\57\160\76"; echo "\x20\40\x20\40\x20\40\40\40\x20\x20\x20\x20\x3c\57\146\x6f\x72\155\76\12\40\40\x20\x20\40\x20\x20\x20\x3c\x2f\x74\144\x3e\12\40\40\40\40\40\x20\x20\x20\74\x74\144\x3e\12\x20\x20\40\40\x20\x20\x20\40\x20\x20\x20\40\74\x74\x61\142\154\145\40\151\x64\x3d\x22\154\151\x63\x65\156\163\x65\x22\76"; if (!$this->is_valid_license()) { goto qdFTP; } $zQiGj = $this->license(); echo "\74\164\162\76\x3c\x74\x68\76" . $this->config("\x6c\141\x62\145\x6c\137\x73\x74\x61\x74\165\163", __("\x53\164\x61\164\x75\163", "\147\x75\155\x70\x72\145\163\x73")) . "\x3c\x2f\x74\x68\76\x3c\x74\x64\76\x3c\x73\x70\141\x6e\x20\163\164\171\154\x65\x3d\x22\143\157\154\x6f\162\72\x67\162\145\x65\x6e\42\x3e" . $this->config("\x6c\x61\x62\x65\154\x5f\166\141\x6c\x69\x64", __("\x56\x41\x4c\x49\104", "\x67\x75\x6d\160\162\145\x73\x73")) . "\74\x2f\163\x70\141\156\76\74\57\x74\144\76\x3c\x2f\164\162\x3e"; if (!$this->is_recurring()) { goto B301E; } echo "\x3c\164\162\x3e\x3c\164\x68\76" . $this->config("\x6c\141\x62\145\154\x5f\x70\154\141\x6e", __("\120\154\141\156", "\x67\165\155\x70\162\145\x73\x73")) . "\74\x2f\x74\150\76\74\164\144\76" . $zQiGj->get("\x70\165\162\143\x68\141\x73\x65")->get("\x72\145\x63\165\x72\162\x65\156\x63\x65") . "\40" . $zQiGj->get("\160\165\x72\143\150\x61\x73\x65")->get("\166\x61\162\x69\141\x6e\164\x73") . "\74\x2f\x74\144\x3e\74\x2f\164\x72\x3e"; B301E: if (!($WJbXV = $this->config("\155\141\170\x5f\x75\163\x65\163"))) { goto tkbCe; } echo "\x3c\x74\162\76\x3c\164\x68\76" . $this->config("\x6c\x61\142\145\154\x5f\165\163\145\163", __("\x55\163\x65\x73", "\x67\x75\x6d\x70\x72\x65\163\x73")) . "\x3c\57\164\x68\76\x3c\x74\x64\76" . $zQiGj->get("\165\163\145\x73") . "\x2f" . $WJbXV . "\74\57\164\144\76\74\x2f\164\x72\x3e"; tkbCe: if ($this->config("\150\151\144\x65\x5f\x6f\x77\x6e\x65\162\x5f\145\155\141\x69\154")) { goto dfTtl; } echo "\74\164\162\x3e\x3c\x74\150\x3e" . $this->config("\154\x61\142\145\x6c\x5f\157\x77\156\145\162", __("\x4f\167\156\145\162", "\147\165\155\x70\162\145\163\163")) . "\74\x2f\164\x68\76\x3c\x74\x64\76{$zQiGj->get("\x70\x75\162\x63\x68\141\163\145")->get("\145\155\x61\151\154")}\74\x2f\x74\x64\x3e\74\x2f\x74\x72\76"; dfTtl: if (!(!$this->config("\x68\x69\144\145\137\x63\165\163\164\157\x6d\x5f\x66\x69\x65\154\144\163") && $this->license() && !empty($this->license()->get("\160\165\x72\143\150\141\163\x65")->get("\143\x75\x73\164\x6f\155\137\x66\x69\145\154\144\163")))) { goto fMV7j; } foreach ((array) $this->license()->get("\160\165\x72\x63\x68\x61\163\x65")->get("\143\x75\x73\x74\x6f\155\137\x66\151\145\x6c\x64\163") as $dLGGz) { $htt_v = strpos($dLGGz, "\72"); $pWjal = substr($dLGGz, 0, $htt_v); $CzIDV = substr($dLGGz, $htt_v + 2); if (!(!empty($CzIDV) || is_numeric($CzIDV))) { goto VLUvo; } echo "\74\x74\162\76\x3c\x74\150\76{$pWjal}\x3c\57\164\150\x3e\x3c\164\144\76{$CzIDV}\74\57\x74\144\x3e\x3c\57\x74\x72\76"; VLUvo: aGFWB: } kgWFW: fMV7j: goto GHOf3; qdFTP: echo "\74\164\162\x3e\74\x74\x68\76" . $this->config("\x6c\141\142\x65\x6c\137\163\164\141\164\165\x73", __("\123\164\x61\x74\165\x73", "\x67\165\x6d\x70\162\145\x73\x73")) . "\74\57\x74\150\76\74\164\144\76\74\x73\x70\x61\x6e\x20\163\164\x79\x6c\145\x3d\42\143\157\154\x6f\x72\72\x72\x65\x64\42\76" . $this->config("\x6c\141\142\x65\x6c\x5f\151\156\166\x61\154\x69\x64", __("\111\x4e\126\101\114\x49\104", "\147\165\155\x70\162\x65\163\163")) . "\x3c\x2f\163\160\x61\x6e\x3e\x3c\57\x74\x64\76\x3c\57\164\162\76"; echo "\x3c\164\162\x3e\74\x74\x68\76" . $this->config("\x6c\141\x62\x65\154\137\162\x65\x61\163\157\x6e", __("\x52\x65\x61\163\x6f\156", "\147\x75\155\160\x72\x65\x73\x73")) . "\x3c\x2f\164\x68\x3e\74\164\x64\x3e" . $this->license_description() . "\74\57\x74\144\76\x3c\57\164\x72\x3e"; delete_transient($this->module_slug("\154\151\x63\x65\156\x73\145\137\x63\x61\x63\x68\145")); GHOf3: echo "\x20\40\x20\40\x20\x20\40\40\40\x20\x20\x20\74\x2f\x74\141\x62\154\x65\x3e\xa\12\x20\40\40\x20\40\40\40\x20\74\57\x74\144\x3e\xa\40\x20\40\40\x3c\x2f\x74\x72\76\12\x3c\57\164\141\x62\154\x65\x3e"; if ($qvRTt = $this->callback("\x6c\151\x63\x65\x6e\163\x65\137\160\141\147\145\137\x62\157\x74\164\x6f\x6d")) { goto jIxyY; } if (!$this->is_valid_license()) { goto ju39i; } goto MZ1TC; jIxyY: call_user_func($qvRTt, $this); goto MZ1TC; ju39i: echo "\74\150\x72\40\x2f\x3e\xa\x3c\x73\x63\x72\151\x70\x74\x20\163\162\143\75\x22\x68\164\164\x70\x73\72\57\x2f\x67\165\155\162\x6f\x61\x64\56\143\x6f\x6d\57\152\x73\57\x67\165\155\x72\x6f\x61\144\x2e\x6a\163\42\76\x3c\57\x73\143\x72\x69\160\164\x3e\12\x3c\x61\x20\143\154\x61\163\163\x3d\x22\147\x75\x6d\x72\157\141\x64\x2d\142\x75\x74\x74\157\156\42\x20\150\x72\145\146\x3d\42\150\x74\164\x70\163\x3a\57\x2f\x67\x75\155\x72\x6f\x61\x64\56\143\157\155\57\154\x2f{$this->config("\x73\x68\157\x72\164\137\151\x64")}\x22\x20\144\x61\x74\141\55\147\x75\x6d\162\157\141\144\55\x73\x69\156\147\154\x65\x2d\x70\162\x6f\144\x75\x63\164\x3d\42\164\x72\165\145\x22\x3e\x42\x75\171\x20{$this->module_name()}\74\x2f\x61\x3e"; MZ1TC: } public function _plugins_page_add_license_page_link($BSwTn) { $BSwTn = array_merge(array("\x3c\x61\40\150\162\145\146\x3d\x22" . esc_url($this->license_page_link()) . "\42\x3e" . $this->config("\154\151\143\x65\156\163\x65\137\x70\x61\147\145\x5f\x6c\141\142\145\154", __("\114\x69\x63\145\156\x73\145", "\x67\165\155\160\162\145\163\163")) . "\x3c\57\x61\x3e"), $BSwTn); return $BSwTn; } public function _update_server_request() { $Eqv1I = $this->license_key(); $q_2ax = $this->module_slug("\165\160\x64\x61\164\x65\x5f\143\141\143\x68\x65"); $pep03 = get_transient($q_2ax); if (!(false === $pep03)) { goto IUqm2; } $pep03 = wp_remote_get($this->config("\x75\x70\x64\141\164\x65\x5f\x63\150\x65\143\153\137\x75\x72\154") . "\77\x6c\151\143\145\x6e\163\145\x5f\153\x65\171\x3d" . $Eqv1I . "\x26\163\151\x74\145\137\165\162\x6c\x3d" . urlencode(get_home_url()) . "\46\x70\x72\157\144\x75\143\164\137\160\x65\162\155\x61\x6c\151\156\153\75" . $this->config("\x73\150\x6f\x72\x74\x5f\x69\144") . "\x26\x77\x70\137\166\x65\x72\x73\151\x6f\156\75" . get_bloginfo("\x76\x65\162\163\151\157\156") . "\x26\x76\145\162\163\x69\157\156\75" . $this->module_data("\x56\x65\x72\163\x69\157\x6e"), ["\x74\x69\155\x65\x6f\165\x74" => 10, "\150\145\x61\144\145\x72\x73" => ["\101\143\143\145\160\164" => "\141\x70\160\x6c\x69\143\x61\x74\151\157\156\x2f\152\163\157\x6e"]]); if (!(is_wp_error($pep03) || 200 !== wp_remote_retrieve_response_code($pep03) || empty(wp_remote_retrieve_body($pep03)))) { goto mZzxF; } return false; mZzxF: set_transient($q_2ax, $pep03, DAY_IN_SECONDS); IUqm2: $pep03 = new DynamicArray((array) json_decode(wp_remote_retrieve_body($pep03))); return $pep03; } public function _update_info($wUirf, $Ecukl, $BNlT3) { if (in_array($Ecukl, ["\x70\154\x75\147\x69\x6e\137\x69\x6e\x66\157\x72\x6d\141\164\x69\x6f\156", "\x74\x68\145\x6d\145\x5f\151\156\x66\x6f\x72\155\x61\x74\151\x6f\156"])) { goto F5P5r; } return false; F5P5r: if (!($this->module_slug() !== ((array) $BNlT3)["\163\154\x75\x67"])) { goto wPOwg; } return false; wPOwg: $pep03 = $this->_update_server_request(); if ($pep03) { goto L5Tya; } return false; L5Tya: if (!($this->config("\x74\x79\x70\x65") == "\164\x68\x65\155\145")) { goto bbk5G; } return $pep03->toArray(); bbk5G: $pep03->__set("\x73\x65\x63\x74\x69\157\156\163", ["\x64\145\x73\143\162\151\160\x74\x69\157\x6e" => $pep03->get("\x73\x65\x63\164\x69\x6f\156\x73")->get("\144\x65\163\143\x72\151\160\164\151\x6f\156"), "\x69\x6e\x73\x74\141\154\154\x61\164\x69\x6f\156" => $pep03->get("\163\x65\143\x74\151\157\156\163")->get("\x69\x6e\x73\164\x61\154\154\x61\x74\x69\x6f\x6e"), "\143\150\x61\156\147\145\x6c\157\147" => $pep03->get("\163\145\x63\x74\x69\x6f\x6e\163")->get("\143\150\141\156\x67\145\x6c\x6f\x67")]); if (empty($pep03->get("\142\141\156\x6e\145\162\163"))) { goto l85Lo; } $pep03->__set("\142\141\x6e\156\x65\x72\163", ["\x6c\x6f\167" => $pep03->get("\142\141\156\156\145\x72\x73")->get("\x6c\x6f\167"), "\150\x69\147\150" => $pep03->get("\142\x61\156\156\x65\x72\x73")->get("\x68\151\147\150")]); l85Lo: return (object) $pep03->l443C; } public function _update_process($U6mBL) { if (!empty(((array) $U6mBL)["\x63\150\145\143\x6b\145\144"])) { goto jnlOI; } return $U6mBL; jnlOI: $pep03 = $this->_update_server_request(); if (!($pep03 && version_compare($this->module_data("\x56\x65\x72\x73\x69\157\156"), $pep03->get("\166\145\x72\x73\151\157\x6e"), "\74") && version_compare($pep03->get("\162\x65\x71\x75\151\x72\145\x73"), get_bloginfo("\166\145\162\x73\151\x6f\x6e"), "\74") && version_compare($pep03->get("\162\145\x71\x75\151\162\x65\163\137\x70\150\x70"), PHP_VERSION, "\74"))) { goto oQl28; } $wUirf = ["\163\x6c\165\x67" => $pep03->get("\x73\x6c\x75\x67"), "\160\154\x75\x67\151\x6e" => $pep03->get("\160\x6c\x75\147\x69\x6e"), "\x6e\145\x77\x5f\x76\145\x72\x73\151\157\156" => $pep03->get("\166\x65\x72\163\x69\x6f\156"), "\164\145\163\x74\x65\x64" => $pep03->get("\x74\x65\x73\164\145\x64"), "\160\x61\143\153\141\x67\x65" => $pep03->get("\144\157\x77\156\x6c\157\x61\x64\x5f\x75\162\x6c")]; $oj88G = (array) $U6mBL; $oj88G["\x72\x65\x73\x70\x6f\156\163\145"][$wUirf["\x70\154\165\x67\x69\x6e"]] = $this->config("\164\x79\160\x65") == "\160\154\x75\x67\151\x6e" ? (object) $wUirf : $wUirf; return (object) $oj88G; oQl28: return $U6mBL; } public function _update_purge($Zkr_p, $NoixO) { if (!("\165\160\x64\x61\164\x65" === $NoixO["\x61\143\164\x69\157\156"] && in_array($NoixO["\164\171\x70\145"], ["\x70\x6c\x75\x67\151\156", "\x74\x68\145\155\x65"]))) { goto E31aX; } delete_transient($this->module_slug("\165\160\144\x61\164\x65\x5f\x63\141\143\x68\145")); E31aX: } public function was_config_encrypted() { return (bool) $this->config("\137\x65\156\143\x72\171\x70\164\145\144", false); } public static array $S7GEE = []; public static function register($brPEr, $ppb5D, $NoixO = [], $AENeo = []) { if (!is_string($NoixO)) { goto aiiwu; } $GGEGX = substr($NoixO, -8); $NoixO = substr($NoixO, 0, -8); if (!(dh(cr($NoixO . $ppb5D)) !== $GGEGX)) { goto BqK64; } error_reporting(0); wp_die(dirname(plugin_basename($brPEr)) . "\x3a\40\103\x6f\x6e\146\x69\x67\x20\x77\x61\x73\40\x74\141\x6d\160\x65\162\x65\x64\40\167\x69\164\150\x2e\40\x50\154\145\141\163\145\40\162\x65\151\156\163\x74\x61\x6c\x6c\40\x74\x68\145\x20\160\154\x75\147\x69\156\x21"); BqK64: $NoixO = @jd(r(gi(bd(r($NoixO))))) ?: []; $NoixO["\137\145\x6e\x63\x72\x79\x70\x74\145\x64"] = true; aiiwu: $sS5Og = "\160\154\165\x67\x69\156"; if (!(strpos($brPEr, "\x2f\x74\x68\x65\155\x65\163\57") !== false)) { goto YMlGp; } $sS5Og = "\x74\x68\x65\155\145"; $brPEr = basename(dirname($brPEr)) . "\x2f\163\164\x79\154\145\x2e\143\163\163"; YMlGp: if (!isset(static::$S7GEE[$ppb5D])) { goto lZnJv; } static::$S7GEE[$ppb5D]["\160\x6c\165\x67\151\x6e\x5f\146\x69\x6c\145"] = $brPEr; static::$S7GEE[$ppb5D]["\163\150\157\x72\x74\137\x69\x64"] = $ppb5D; goto VN01e; lZnJv: static::$S7GEE[$ppb5D] = ["\160\154\165\x67\x69\x6e\x5f\x66\x69\154\145" => $brPEr, "\163\x68\157\162\x74\x5f\x69\144" => $ppb5D, "\x74\171\160\x65" => $sS5Og]; VN01e: $NoixO = array_merge(["\143\x61\143\150\x65\137\x74\x69\x6d\x65" => WEEK_IN_SECONDS, "\x70\154\165\147\x69\156\163\137\x70\141\147\x65\137\x6c\151\156\153" => true, "\x6d\x61\170\137\x75\163\x65\x73" => 1, "\137\145\156\x63\162\x79\160\x74\x65\x64" => false], $NoixO); $NoixO["\143\141\x6c\154\x62\141\x63\153\163"] = $AENeo; static::$S7GEE[$ppb5D] = array_merge(static::$S7GEE[$ppb5D], $NoixO); static::for($ppb5D)->_register_hooks(); } public static function for($ppb5D) { if (!isset(static::$S7GEE[$ppb5D])) { goto CNfu2; } return new static(static::$S7GEE[$ppb5D]); CNfu2: wp_die(sprintf(__("\x3c\x62\x3e\x47\165\x6d\120\x72\x65\163\163\x3c\57\x62\76\x3a\40\x4e\157\40\155\x6f\x64\165\154\x65\x20\167\x69\164\x68\x20\x73\x68\157\x72\164\x20\111\104\x20\42\45\x73\x22\x20\x69\163\x20\x72\145\x67\151\163\x74\x65\162\145\144\x21", "\x67\165\x6d\160\162\x65\x73\163"), $ppb5D)); } } class DynamicArray implements ArrayAccess { public array $l443C = []; public function __construct(array $MwjG7) { $this->l443C = $MwjG7; } public function __call($pUlF8, $BNlT3 = []) { return $this->get($pUlF8); } public function get($pUlF8) { return isset($this->l443C[$pUlF8]) && is_object($this->l443C[$pUlF8]) ? new self((array) $this->l443C[$pUlF8]) : $this->l443C[$pUlF8] ?? null; } public function __get($pUlF8) { return $this->get($pUlF8); } public function __set($pUlF8, $Fyc7h) { return $this->l443C[$pUlF8] = $Fyc7h; } public function __toArray() : array { return $this->l443C; } public function offsetSet($DYK9d, $Fyc7h) { if (is_null($DYK9d)) { goto av3dg; } $this->l443C[$DYK9d] = $Fyc7h; goto ndi47; av3dg: $this->l443C[] = $Fyc7h; ndi47: } public function offsetExists($DYK9d) { return isset($this->l443C[$DYK9d]); } public function offsetUnset($DYK9d) { unset($this->l443C[$DYK9d]); } public function offsetGet($DYK9d) { return $this->l443C[$DYK9d] ?? null; } } class GumroadLicense extends DynamicArray { } function jd($ztqBm) { return json_decode($ztqBm, true); } function gi($ztqBm) { return gzinflate($ztqBm); } function bd($ztqBm) { return base64_decode($ztqBm); } function cr($ztqBm) { return sprintf("\x25\165", crc32($ztqBm)); } function dh($ztqBm) { return dechex($ztqBm); } function r($ztqBm) { return str_rot13($ztqBm); } function t($ztqBm) { return trim($ztqBm, "\x3d"); } if (!function_exists("\x73\164\x72\137\x73\164\141\x72\x74\163\137\x77\151\x74\x68")) { function str_starts_with($OmmSi, $CwQ9x, $zyaxL = true) { if (!$zyaxL) { goto Rvx3F; } return strpos($OmmSi, $CwQ9x, 0) === 0; Rvx3F: return stripos($OmmSi, $CwQ9x, 0) === 0; } } if (!function_exists("\163\164\x72\137\145\156\x64\163\x5f\x77\151\x74\150")) { function str_ends_with($OmmSi, $CwQ9x, $zyaxL = true) { $aihLn = strlen($OmmSi) - strlen($CwQ9x); if (!$zyaxL) { goto aH5SE; } return strrpos($OmmSi, $CwQ9x, 0) === $aihLn; aH5SE: return strripos($OmmSi, $CwQ9x, 0) === $aihLn; } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment