Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

eval(str_replace(base64_decode('ZGVjbGFyZSAoc3RyaWN0X3R5cGVzPTEpOw=='),'',gzinflate(base64..

Decoded Output download

/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator          |
    |              on 2023-03-09 15:25:00              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
/*
   __________________________________________________
    |       Wenn diese Datei manipuliert wird,         |
    |              erlischt der Support!               |
    |                 - NETZdinge.de -                 |
    |__________________________________________________|
*/
  namespace Plugin\netzdingeDE_ajax_suche; use Plugin\netzdingeDE_ajax_suche\src\Backend\PluginHelper; use Plugin\netzdingeDE_ajax_suche\licence\PluginLicence; use Plugin\netzdingeDE_ajax_suche\src\Backend\Functions; use JTL\Shop; use JTL\Plugin\Bootstrapper; use JTL\Events\Dispatcher; use JTL\Alert\Alert; use JTL\Consent\Item; use JTL\Backend\Notification; use JTL\Backend\NotificationEntry; use JTL\Update\DBMigrationHelper; use JTL\Smarty\JTLSmarty; use JTL\Minify\MinifyService; class Bootstrap extends Bootstrapper { private static $PluginHelper; public function boot(Dispatcher $dispatcher) { goto uP89j; fukch: if (!($oPlugin->getState() !== 2)) { goto p3C25; } goto KJI2P; n4jQY: PcCF_: goto uVu0_; uVu0_: $hook = HOOK_PLUGIN_SAVE_OPTIONS; goto s2xmW; zRoRc: $dispatcher->listen("\163\x68\157\160\x2e\150\x6f\x6f\x6b\56" . $hook, function (array $args) use($file, $hook) { $this->loadHookDatei($file, $args, $hook); }); goto abfH3; cSyt9: $oPlugin = $this->getPlugin(); goto fukch; JHSWK: self::$PluginHelper = new PluginHelper($this->getPlugin()); goto v4brL; MjO17: if (!(!self::$PluginHelper->checkNoChanges() || !empty(self::$PluginHelper->oStatus->cLizenzfehler))) { goto qR5Lt; } goto AW_XI; tWwoC: Y4cKx: goto ih1rz; KJI2P: return; goto KTQUQ; HXSrk: VNosh: goto DtnWf; uP89j: parent::boot($dispatcher); goto RdYiy; K7Gzm: qR5Lt: goto q9szV; WBsk8: yk1fs: goto tWwoC; RdYiy: if (!(self::$PluginHelper === null)) { goto JF7RS; } goto JHSWK; P1ZrR: $PluginLicence = new PluginLicence(); goto sCIjQ; KTQUQ: p3C25: goto aPKXg; abfH3: return; goto mSnGS; q9szV: if (!((null === $oPlugin->getMeta()->getExsID() || empty($oPlugin->getMeta()->getExsID())) && is_object(self::$PluginHelper->oStatus) && !empty(self::$PluginHelper->oStatus->cPluginVersion) && $oPlugin->getMeta()->getVersion() != self::$PluginHelper->oStatus->cPluginVersion)) { goto PcCF_; } goto z3Wy7; z3Wy7: $dispatcher->listen("\x62\141\143\x6b\x65\156\144\56\x6e\157\x74\x69\x66\x69\x63\141\x74\x69\x6f\x6e", [$this, "\143\x68\x65\143\153\125\x70\144\141\164\145\x4e\x6f\164\151\x66\151\x63\x61\164\x69\x6f\156\163"]); goto n4jQY; aDgJ6: foreach ($hook_arr as $hook => $file) { $dispatcher->listen("\x73\150\x6f\x70\x2e\x68\x6f\157\153\56" . $hook, function (array $args) use($file, $hook) { $this->loadHookDatei($file, $args, $hook); }); s3Mxm: } goto WBsk8; E5p8E: $hook_arr = array(140 => "\x31\64\x30", 132 => "\x31\63\x32"); goto aDgJ6; AW_XI: $dispatcher->listen("\142\x61\x63\x6b\x65\156\144\56\156\157\x74\x69\x66\151\x63\x61\x74\x69\x6f\x6e", [$this, "\143\x68\x65\143\153\114\x69\143\145\156\163\x65\x4e\x6f\164\151\146\151\143\141\x74\151\157\x6e\163"]); goto K7Gzm; RoHDx: if (!(self::$PluginHelper->checkNoChanges() && self::$PluginHelper->showOnURL() && self::$PluginHelper->settings["\x62\101\x6b\164\151\166"] == "\x6f\156")) { goto Y4cKx; } goto E5p8E; v4brL: JF7RS: goto cSyt9; mSnGS: YjveZ: goto RoHDx; DtnWf: if (!(Shop::isFrontend() === false)) { goto YjveZ; } goto MjO17; s2xmW: $file = HOOK_PLUGIN_SAVE_OPTIONS; goto zRoRc; aPKXg: if (!(null === $oPlugin->getMeta()->getExsID() || empty($oPlugin->getMeta()->getExsID()))) { goto VNosh; } goto P1ZrR; sCIjQ: $PluginLicence->checkLicence($oPlugin->getLicense()->getKey()); goto HXSrk; ih1rz: } public function installed() { parent::installed(); $this->flushMinifyCache(); } public function updated($oldVersion, $newVersion) { parent::updated($oldVersion, $newVersion); $this->flushMinifyCache(); } public function enabled() { parent::enabled(); $this->flushMinifyCache(); } public function disabled() { parent::disabled(); $this->flushMinifyCache(); } public function uninstalled(bool $deleteData = true) { parent::uninstalled($deleteData); $this->flushMinifyCache(); } public function flushMinifyCache() { goto raU6Y; raU6Y: $ms = new MinifyService(); goto c_f2y; c_f2y: $ms->flushCache(); goto zG7WK; RWcnr: Shop::Container()->getCache()->flushTags([\CACHING_GROUP_TEMPLATE, CACHING_GROUP_PLUGIN . "\x5f" . $this->getPlugin()->getID(), $Functions->CacheTag]); goto gs_e1; zG7WK: $Functions = new Functions($this->getPlugin()); goto RWcnr; gs_e1: } private function loadHookDatei($hooknumber, $args, $number) { goto gIxCF; SD_Md: $args["\150\x6f\157\153"] = $number; goto P8umB; kq6Am: include $oPlugin->getPaths()->getFrontendPath() . "\156\145\164\x7a\144\x69\156\147\145\x44\x45\137" . $hooknumber . "\x2e\160\150\160"; goto rHlF4; rHlF4: Zowwa: goto FHO49; P8umB: if (!file_exists($oPlugin->getPaths()->getFrontendPath() . "\156\145\164\172\144\x69\x6e\x67\145\x44\x45\x5f" . $hooknumber . "\x2e\160\x68\x70")) { goto Zowwa; } goto kq6Am; gIxCF: $oPlugin = $this->getPlugin(); goto SD_Md; FHO49: } public function checkLicenseNotifications() : void { goto r40Cr; r40Cr: $oPlugin = $this->getPlugin(); goto kZLLu; NEINb: Notification::getInstance()->addNotify($notificationEntry->setPluginId($oPlugin->getPluginID())); goto mqAnd; kZLLu: $notificationEntry = new NotificationEntry(NotificationEntry::TYPE_DANGER, "\x50\x6c\165\x67\x69\x6e\40" . $oPlugin->getPluginID(), "\x45\x73\x20\x57\165\x72\x64\x65\40\145\151\156\x20\114\151\x7a\145\x6e\172\146\145\150\x6c\x65\x72\x20\146\145\163\164\147\x65\163\164\x65\154\154\164\x2c\x20\x62\x69\164\164\145\40\163\x63\x68\x61\165\x65\156\40\123\151\145\40\x69\x6d\40\x52\145\x69\164\145\162\x20\42\123\164\141\164\165\163\x22\x20\x69\156\x20\144\x65\156\40\x50\x6c\x75\147\151\156\145\151\x6e\163\164\145\154\x6c\165\x6e\x67\145\156\56", self::$PluginHelper->getPluginAdminLink("\143\120\154\x75\x67\151\x6e\x54\141\142\x3d\123\164\141\164\x75\163"), null); goto NEINb; mqAnd: } public function checkUpdateNotifications() : void { goto Gr8I6; CIGj_: $notificationEntry = new NotificationEntry(NotificationEntry::TYPE_DANGER, "\x50\x6c\165\x67\151\156\40" . $oPlugin->getPluginID(), "\105\163\40\x73\x74\145\x68\164\40\x65\151\x6e\x20\x55\160\x64\141\164\145\40\50\x56\145\162\163\151\157\156\x20" . self::$PluginHelper->oStatus->cPluginVersion . "\x29\40\x7a\x75\162\x20\126\145\162\146\303\274\x67\165\x6e\x67\54\x20\x62\x69\164\x74\x65\x20\163\143\x68\141\x75\145\156\40\123\151\145\40\151\x6d\x20\120\154\165\x67\x69\x6e\56", self::$PluginHelper->getPluginAdminLink("\x63\120\154\165\147\x69\156\x54\141\142\x3d\x53\x74\x61\164\x75\x73"), null); goto XOSFJ; X7KUd: if (empty(self::$PluginHelper->oStatus->cPluginVersion)) { goto U_TPM; } goto CIGj_; OrSCf: U_TPM: goto pStUS; XOSFJ: Notification::getInstance()->addNotify($notificationEntry->setPluginId($oPlugin->getPluginID())); goto OrSCf; Gr8I6: $oPlugin = $this->getPlugin(); goto X7KUd; pStUS: } public function renderAdminMenuTab(string $tabName, int $menuID, JTLSmarty $smarty) : string { goto jNiR0; gN1K8: $Functions = new Functions($oPlugin); goto C9zae; C9zae: $alertHelper = Shop::Container()->getAlertService(); goto qcw2E; MGhpq: if (empty($admintabs[$tabName])) { goto fu4W7; } goto OmEEB; op6gY: $PluginHelper = new PluginHelper($oPlugin); goto gN1K8; jNiR0: $admintabs = array("\103\x53\x53\40\x62\x65\x61\x72\x62\x65\151\x74\x65\156" => "\x63\x73\163", "\104\x6f\x6b\x75\155\x65\x6e\164\141\x74\151\157\156" => "\x64\x6f\143", "\x53\164\x61\x74\x75\x73" => "\163\x74\141\x74\x75\x73"); goto MGhpq; I3CU_: return $smarty->fetch($this->getPlugin()->getPaths()->getAdminPath() . "\57\x74\145\155\160\x6c\x61\164\145\57" . $admintabs[$tabName] . "\x2e\164\x70\154"); goto EfET0; qcw2E: include $oPlugin->getPaths()->getAdminPath() . $admintabs[$tabName] . "\56\160\x68\x70"; goto I3CU_; KBIoE: return parent::renderAdminMenuTab($tabName, $menuID, $smarty); goto D6EUT; OmEEB: $oPlugin = $this->getPlugin(); goto op6gY; EfET0: fu4W7: goto KBIoE; D6EUT: } }

Did this file decode correctly?

Original Code

eval(str_replace(base64_decode('ZGVjbGFyZSAoc3RyaWN0X3R5cGVzPTEpOw=='),'',gzinflate(base64_decode("vVl7U+JIEP9/P8WsZV3hlq4kJKBJrVWKqPhAVnRdd9miQjJAFBJMgqK3992vp3syCYivu7qjxCSTmX73r3uG9U+Msc67Px9gFfvN2Gm3N4ldJ+Ee6z6wq+0j1oxCtsaag7F6F0ZMfX6nC/OfMGB6US+tFeFvk2mmpZtWsTg7J7dw308OJl2LDZJkHFvr630/GUy6n91wtD6+WetF6w/OzTgK18ZhbuH7Vfz94dP6h/VPH/6VffBzyYOAeT6POdsFU/ls5AT+eDL0eZSwez/yVl+2D4+GfuwOEubxiLUm43EYJR9npyxeCJ811qid//D8oM8/exwe5z//zj6MBc6Ix2PH5aw5nPT9oB3w5BH57dY6zrUz7cQTd8BtNolfmdKOI7e947g3PPDaNPOAD8c8esvaoe/ywOVy3TE9vZfp3iRwEz8MYlp4eH7cbg3CcfYkSe2EYRInkTNWwomXtTseJH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));

Function Calls

gzinflate 1
str_replace 1
base64_decode 2

Variables

None

Stats

MD5 9d7e5d1573cbd70546808aa402f8ca30
Eval Count 1
Decode Time 67 ms