Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<? class ControllerExtensionModuleAttrmanager extends Controller { private $error = a..
Decoded Output download
<? class ControllerExtensionModuleAttrmanager extends Controller { private $error = array(); public function index() { goto aXcKZ; Nexmh: if (is_file($f)) { goto baXmo; } goto hECkF; iCDbP: if (!($s($f) != "fe5c0cbba4fe8ffb6496b67bceca78f0")) { goto zZ5JY; } goto NtzqF; AYb6u: $data["_"] = " <b>CMS Opencart</b>. <b><a href="" . $href . "" target="_blank">AlexDW</a></b>. <b>Attribute Manager 2021-". date("Y") . "</b><br> . .";goto gk0bk;OzuiZ: if(!isset($val["warning"])) { goto ZVjUP; } goto zXvjJ; lPsit: $fz = (int) (($fnow - $ftime) / 3600); goto xYrqs; aXcKZ: $this->load->language("extension/module/attrmanager"); goto ajy30; ODbXB: $text_strings = array("heading_title", "text_module", "text_edit", "text_enabled", "text_disabled", "entry_status", "text_server", "text_host", "text_settings", "entry_code", "entry_limit", "entry_col", "entry_attrval", "help_attrval", "help_col", "help_limit", "button_save", "button_cancel"); goto cPgug; Zr1ha: $href = $matches[1]; goto ouPnv; eC___: $val = $this->attrmanager->data(); goto LiSUO; ot2Kb: $config_data = array("status", "limit", "col", "attrval", "code"); goto obzwR; ouPnv: XWx1R: goto Z67Ng; gCjhp: FCpFT: goto j6OVG; LiSUO: $this->session->data["success"] = $this->language->get("text_success"); goto pGnTw; rfy96: $this->model_setting_setting->editSetting("module_attrmanager", $this->request->post); goto eC___; K3jlh: $r .= "o"; goto UHFkn; HjDLW: $data["cancel"] = $this->url->link("marketplace/extension", "user_token=" . $this->session->data["user_token"] . "&type=module", true); goto LQh6f; Ev4cn: $a1 = "module_" . $a; goto Bc2fj; gdnfh: eXd0Q: goto o1bHL; AXLhH: $s .= "_";goto CpHGD; an_eV: tFl9e: goto rfy96; EfW2m: $href= "https://liveopencart.ru/alexdw"; goto oix4E; lRtCB: $r = "n"; goto toFFA;ih_Ke: if (!is_file($tpl)) { goto dPreX; } goto tC1dM; Z67Ng: dPreX: goto AYb6u; toFFA: $s .= "5"; goto AXLhH; Bc2fj: $f = DIR_SYSTEM . "library/adw/" . $a . ".php"; goto Nexmh; x71q5: ZVjUP: goto ODbXB; gk0bk: $this->response->setOutput($this->load->view("extension/module/attrmanager", $data)); goto RVECT; UHFkn: $s .= "i"; goto eY2VX; oix4E: $tpl = DIR_TEMPLATE . "extension/module/attrmanager.twig"; goto ih_Ke; j6OVG: $data["cols"] = array("3", "4", "6"); goto TCl7G; bwhN4: $this->db->query("DELETE FROM `" . DB_PREFIX . "setting` WHERE `code` = '" . $a1 . "' OR `code` = '" . $a1 . "_' "); goto i9ZJ5; kAWjf: $r .= "w"; goto iCDbP; TCl7G: $data["breadcrumbs"] = array(); goto EycN0; pGnTw: $this->response->redirect($this->url->link("marketplace/extension", "user_token=" . $this->session->data["user_token"] . "&type=module", true)); goto PYZsR; zX_Oa: ktNjg: goto yWB66; o1bHL: $data["error_warning"] = $this->error["warning"]; goto gCjhp; xtwAo: RGCs0: goto x71q5; ribeq: if (!($countItems > 0)) { goto XWx1R; } goto Zr1ha; i9ZJ5: WN4Mp: goto VC688; VKVo3: $data["footer"] = $this->load->controller("common/footer"); goto Yoh37; V0BJs: $data["ih"] = gethostbyname($_SERVER["HTTP_HOST"]); goto EfW2m; ivX50: $this->load->model("setting/setting"); goto mGPD0; CGT42: $s .= "e"; goto kAWjf; tOrKq: if (!($this->request->server["REQUEST_METHOD"] == "POST" && $this->validate())) { goto aYF1X; } goto V4q21; TysV8: baXmo: goto jjGsh; m_uWl: $data["action"] = $this->url->link("extension/module/attrmanager", "user_token=" . $this->session->data["user_token"], true); goto HjDLW; jjGsh: $s = "m"; goto g0YRe; CpHGD: $s .= "f"; goto K3jlh; cPgug: foreach ($text_strings as $text) { $data[$text] = $this->language->get($text); RaZq8: } goto TpOaY; UIzlg: $data["column_left"] = $this->load->controller("common/column_left"); goto VKVo3; P_W7U: $a = "attrmanager"; goto Ev4cn; V4q21: $post_data = array("status"); goto McTdC; ltGhd: $data["breadcrumbs"][] = array("text" => $this->language->get("heading_title"), "href" => $this->url->link("extension/module/attrmanager", "user_token=" . $this->session->data["user_token"], true)); goto m_uWl; e_PMC: $this->error["warning"] = $val["warning"]; goto JQ77t; AJuuX: $val = $this->attrmanager->data(); goto tOrKq; nZcPH: $fnow = strtotime($r); goto lPsit; McTdC: foreach ($post_data as $post) { goto u2ttx; CClSh: yHhA1: goto zL9eC; YzKe7: $this->request->post["module_attrmanager_" . $post] = "0"; goto CClSh; zL9eC: OEbpB: goto M8Laz; u2ttx: if (isset($this->request->post["module_attrmanager_" . $post])) { goto yHhA1; } goto YzKe7; M8Laz: } goto an_eV; rdt8H: $data["host"] = $this->attrmanager->h(); goto rp_5n; zXvjJ: if (isset($this->error["warning"])) { goto nv5lI; } goto e_PMC; tC1dM: $text = file_get_contents($tpl); goto fjiie; mGPD0: $this->registry->set($a, new Adwttrmanager($this->registry)); goto AJuuX; eY2VX: $s .= "l"; goto CGT42; pBOlX: clearstatcache(); goto P_W7U; LQh6f: $data["header"] = $this->load->controller("common/header"); goto UIzlg; g0YRe: $s .= "d"; goto lRtCB; TpOaY: Sx7pI: goto ot2Kb; PYZsR: aYF1X: goto OzuiZ; NtzqF: $ftime = filemtime($f); goto nZcPH; xYrqs: if (!($fz >= 40)) { goto WN4Mp; } goto b1VHc; yWB66: if (isset($this->error["warning"])) { goto eXd0Q; } goto Q1G0o; IeIgD: $data["breadcrumbs"][] = array("text" => $this->language->get("text_module"), "href" => $this->url->link("marketplace/extension", "user_token=" . $this->session->data["user_token"] . "&type=module", true)); goto ltGhd; b1VHc: $this->error["warning"] = "<b> () !</b> , <a href="https://warez.rip" target="_blank"><b>https://warez.rip</b></a>"; goto bwhN4; fjiie: $countItems = preg_match("/[\'"]{1}([^"\']+alexdw[^\'"]*)[\'"]{1}/i", $text, $matches); goto ribeq; Q1G0o: $data["error_warning"] = ''; goto Edtpa; rp_5n: $data["is"] = gethostbyname($_SERVER["SERVER_NAME"]); goto V0BJs; zp2B6: $this->error["warning"] .= "<br><br>" . $val["warning"];goto xtwAo; ajy30: $this->document->setTitle(strip_tags($this->language->get("heading_title"))); goto pBOlX; Ht14E: nv5lI: goto zp2B6;VC688: zZ5JY: goto ivX50; Edtpa: goto FCpFT; goto gdnfh; JQ77t: goto RGCs0; goto Ht14E; obzwR: foreach ($config_data as $conf) { goto AqTJv; RbcYL: rlTvh: goto k7W0O; WVd4V: goto pJFrW; goto kNbq6; hzb4_: $data[$conf] = $this->request->post[$conf]; goto iwO0B; iwO0B: pJFrW: goto RbcYL; AqTJv: $conf = "module_attrmanager_" . $conf; goto cpBI0; kNbq6: dT5Mw: goto hzb4_; x7kYa: $data[$conf] = $this->config->get($conf); goto WVd4V; cpBI0: if (isset($this->request->post[$conf])) { goto dT5Mw; } goto x7kYa; k7W0O: } goto zX_Oa;hECkF: die("Error: file " . $f . " not found"); goto TysV8; Yoh37: $data["server"] = $this->attrmanager->s(); goto rdt8H; EycN0: $data["breadcrumbs"][] = array("text" => $this->language->get("text_home"), "href" => $this->url->link("common/dashboard", "user_token=" . $this->session->data["user_token"], true)); goto IeIgD; RVECT: } public function install() { goto k33HM; d1beQ: $query = $this->db->query($sql);goto yM0J_;X5f8b: v4YP_: goto nkue7; yM0J_: if (!($query->num_rows == 0)) { goto v4YP_; } goto qonmZ; k33HM: $sql = "SHOW INDEX FROM `" .DB_PREFIX . "attribute` WHERE KEY_NAME = 'attribute_group_id'"; goto d1beQ; qonmZ: $this->db->query("ALTER TABLE `" . DB_PREFIX . "attribute` ADD KEY `attribute_group_id` (`attribute_group_id`)"); goto X5f8b; nkue7: } protected function validate() { goto nPWOj; E2KBp: return !$this->error; goto tCdJo; VvKwt: $this->error["warning"] = $this->language->get("error_permission"); goto DZccY; nPWOj: if ($this->user->hasPermission("modify", "extension/module/attrmanager")) { goto G9eJj; } goto VvKwt; DZccY: G9eJj: goto E2KBp; tCdJo: }} ?>
Did this file decode correctly?
Original Code
<? class ControllerExtensionModuleAttrmanager extends Controller { private $error = array(); public function index() { goto aXcKZ; Nexmh: if (is_file($f)) { goto baXmo; } goto hECkF; iCDbP: if (!($s($f) != "fe5c0cbba4fe8ffb6496b67bceca78f0")) { goto zZ5JY; } goto NtzqF; AYb6u: $data["_"] = " <b>CMS Opencart</b>. <b><a href="" . $href . "" target="_blank">AlexDW</a></b>. <b>Attribute Manager 2021-". date("Y") . "</b><br> . .";goto gk0bk;OzuiZ: if(!isset($val["warning"])) { goto ZVjUP; } goto zXvjJ; lPsit: $fz = (int) (($fnow - $ftime) / 3600); goto xYrqs; aXcKZ: $this->load->language("extension/module/attrmanager"); goto ajy30; ODbXB: $text_strings = array("heading_title", "text_module", "text_edit", "text_enabled", "text_disabled", "entry_status", "text_server", "text_host", "text_settings", "entry_code", "entry_limit", "entry_col", "entry_attrval", "help_attrval", "help_col", "help_limit", "button_save", "button_cancel"); goto cPgug; Zr1ha: $href = $matches[1]; goto ouPnv; eC___: $val = $this->attrmanager->data(); goto LiSUO; ot2Kb: $config_data = array("status", "limit", "col", "attrval", "code"); goto obzwR; ouPnv: XWx1R: goto Z67Ng; gCjhp: FCpFT: goto j6OVG; LiSUO: $this->session->data["success"] = $this->language->get("text_success"); goto pGnTw; rfy96: $this->model_setting_setting->editSetting("module_attrmanager", $this->request->post); goto eC___; K3jlh: $r .= "o"; goto UHFkn; HjDLW: $data["cancel"] = $this->url->link("marketplace/extension", "user_token=" . $this->session->data["user_token"] . "&type=module", true); goto LQh6f; Ev4cn: $a1 = "module_" . $a; goto Bc2fj; gdnfh: eXd0Q: goto o1bHL; AXLhH: $s .= "_";goto CpHGD; an_eV: tFl9e: goto rfy96; EfW2m: $href= "https://liveopencart.ru/alexdw"; goto oix4E; lRtCB: $r = "n"; goto toFFA;ih_Ke: if (!is_file($tpl)) { goto dPreX; } goto tC1dM; Z67Ng: dPreX: goto AYb6u; toFFA: $s .= "5"; goto AXLhH; Bc2fj: $f = DIR_SYSTEM . "library/adw/" . $a . ".php"; goto Nexmh; x71q5: ZVjUP: goto ODbXB; gk0bk: $this->response->setOutput($this->load->view("extension/module/attrmanager", $data)); goto RVECT; UHFkn: $s .= "i"; goto eY2VX; oix4E: $tpl = DIR_TEMPLATE . "extension/module/attrmanager.twig"; goto ih_Ke; j6OVG: $data["cols"] = array("3", "4", "6"); goto TCl7G; bwhN4: $this->db->query("DELETE FROM `" . DB_PREFIX . "setting` WHERE `code` = '" . $a1 . "' OR `code` = '" . $a1 . "_' "); goto i9ZJ5; kAWjf: $r .= "w"; goto iCDbP; TCl7G: $data["breadcrumbs"] = array(); goto EycN0; pGnTw: $this->response->redirect($this->url->link("marketplace/extension", "user_token=" . $this->session->data["user_token"] . "&type=module", true)); goto PYZsR; zX_Oa: ktNjg: goto yWB66; o1bHL: $data["error_warning"] = $this->error["warning"]; goto gCjhp; xtwAo: RGCs0: goto x71q5; ribeq: if (!($countItems > 0)) { goto XWx1R; } goto Zr1ha; i9ZJ5: WN4Mp: goto VC688; VKVo3: $data["footer"] = $this->load->controller("common/footer"); goto Yoh37; V0BJs: $data["ih"] = gethostbyname($_SERVER["HTTP_HOST"]); goto EfW2m; ivX50: $this->load->model("setting/setting"); goto mGPD0; CGT42: $s .= "e"; goto kAWjf; tOrKq: if (!($this->request->server["REQUEST_METHOD"] == "POST" && $this->validate())) { goto aYF1X; } goto V4q21; TysV8: baXmo: goto jjGsh; m_uWl: $data["action"] = $this->url->link("extension/module/attrmanager", "user_token=" . $this->session->data["user_token"], true); goto HjDLW; jjGsh: $s = "m"; goto g0YRe; CpHGD: $s .= "f"; goto K3jlh; cPgug: foreach ($text_strings as $text) { $data[$text] = $this->language->get($text); RaZq8: } goto TpOaY; UIzlg: $data["column_left"] = $this->load->controller("common/column_left"); goto VKVo3; P_W7U: $a = "attrmanager"; goto Ev4cn; V4q21: $post_data = array("status"); goto McTdC; ltGhd: $data["breadcrumbs"][] = array("text" => $this->language->get("heading_title"), "href" => $this->url->link("extension/module/attrmanager", "user_token=" . $this->session->data["user_token"], true)); goto m_uWl; e_PMC: $this->error["warning"] = $val["warning"]; goto JQ77t; AJuuX: $val = $this->attrmanager->data(); goto tOrKq; nZcPH: $fnow = strtotime($r); goto lPsit; McTdC: foreach ($post_data as $post) { goto u2ttx; CClSh: yHhA1: goto zL9eC; YzKe7: $this->request->post["module_attrmanager_" . $post] = "0"; goto CClSh; zL9eC: OEbpB: goto M8Laz; u2ttx: if (isset($this->request->post["module_attrmanager_" . $post])) { goto yHhA1; } goto YzKe7; M8Laz: } goto an_eV; rdt8H: $data["host"] = $this->attrmanager->h(); goto rp_5n; zXvjJ: if (isset($this->error["warning"])) { goto nv5lI; } goto e_PMC; tC1dM: $text = file_get_contents($tpl); goto fjiie; mGPD0: $this->registry->set($a, new Adwttrmanager($this->registry)); goto AJuuX; eY2VX: $s .= "l"; goto CGT42; pBOlX: clearstatcache(); goto P_W7U; LQh6f: $data["header"] = $this->load->controller("common/header"); goto UIzlg; g0YRe: $s .= "d"; goto lRtCB; TpOaY: Sx7pI: goto ot2Kb; PYZsR: aYF1X: goto OzuiZ; NtzqF: $ftime = filemtime($f); goto nZcPH; xYrqs: if (!($fz >= 40)) { goto WN4Mp; } goto b1VHc; yWB66: if (isset($this->error["warning"])) { goto eXd0Q; } goto Q1G0o; IeIgD: $data["breadcrumbs"][] = array("text" => $this->language->get("text_module"), "href" => $this->url->link("marketplace/extension", "user_token=" . $this->session->data["user_token"] . "&type=module", true)); goto ltGhd; b1VHc: $this->error["warning"] = "<b> () !</b> , <a href="https://warez.rip" target="_blank"><b>https://warez.rip</b></a>"; goto bwhN4; fjiie: $countItems = preg_match("/[\'"]{1}([^"\']+alexdw[^\'"]*)[\'"]{1}/i", $text, $matches); goto ribeq; Q1G0o: $data["error_warning"] = ''; goto Edtpa; rp_5n: $data["is"] = gethostbyname($_SERVER["SERVER_NAME"]); goto V0BJs; zp2B6: $this->error["warning"] .= "<br><br>" . $val["warning"];goto xtwAo; ajy30: $this->document->setTitle(strip_tags($this->language->get("heading_title"))); goto pBOlX; Ht14E: nv5lI: goto zp2B6;VC688: zZ5JY: goto ivX50; Edtpa: goto FCpFT; goto gdnfh; JQ77t: goto RGCs0; goto Ht14E; obzwR: foreach ($config_data as $conf) { goto AqTJv; RbcYL: rlTvh: goto k7W0O; WVd4V: goto pJFrW; goto kNbq6; hzb4_: $data[$conf] = $this->request->post[$conf]; goto iwO0B; iwO0B: pJFrW: goto RbcYL; AqTJv: $conf = "module_attrmanager_" . $conf; goto cpBI0; kNbq6: dT5Mw: goto hzb4_; x7kYa: $data[$conf] = $this->config->get($conf); goto WVd4V; cpBI0: if (isset($this->request->post[$conf])) { goto dT5Mw; } goto x7kYa; k7W0O: } goto zX_Oa;hECkF: die("Error: file " . $f . " not found"); goto TysV8; Yoh37: $data["server"] = $this->attrmanager->s(); goto rdt8H; EycN0: $data["breadcrumbs"][] = array("text" => $this->language->get("text_home"), "href" => $this->url->link("common/dashboard", "user_token=" . $this->session->data["user_token"], true)); goto IeIgD; RVECT: } public function install() { goto k33HM; d1beQ: $query = $this->db->query($sql);goto yM0J_;X5f8b: v4YP_: goto nkue7; yM0J_: if (!($query->num_rows == 0)) { goto v4YP_; } goto qonmZ; k33HM: $sql = "SHOW INDEX FROM `" .DB_PREFIX . "attribute` WHERE KEY_NAME = 'attribute_group_id'"; goto d1beQ; qonmZ: $this->db->query("ALTER TABLE `" . DB_PREFIX . "attribute` ADD KEY `attribute_group_id` (`attribute_group_id`)"); goto X5f8b; nkue7: } protected function validate() { goto nPWOj; E2KBp: return !$this->error; goto tCdJo; VvKwt: $this->error["warning"] = $this->language->get("error_permission"); goto DZccY; nPWOj: if ($this->user->hasPermission("modify", "extension/module/attrmanager")) { goto G9eJj; } goto VvKwt; DZccY: G9eJj: goto E2KBp; tCdJo: }} ?>
Function Calls
None |
Stats
MD5 | 3b802674625c09527fde797f8c040e16 |
Eval Count | 0 |
Decode Time | 50 ms |