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-06-05 14:47:34 |
| GitHub: https://github.com/pk-fr/yakpro-po |
|__________________________________________________|
*/
/*
__________________________________________________
| Wenn diese Datei manipuliert wird, |
| erlischt der Support! |
| - NETZdinge.de - |
|__________________________________________________|
*/
namespace Plugin\netzdingeDE_subcat2topcat; use Plugin\netzdingeDE_subcat2topcat\src\Backend\PluginHelper; use Plugin\netzdingeDE_subcat2topcat\licence\PluginLicence; use Plugin\netzdingeDE_subcat2topcat\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 k_Vpa; WHBq1: $PluginLicence->checkLicence($oPlugin->getLicense()->getKey()); goto aDOMp; zlWYk: $hook_arr = array(99 => "\x39\x39", 140 => "\61\64\60", 253 => "\x32\65\63"); goto PmZyT; a0S2Q: $PluginLicence = new PluginLicence(); goto WHBq1; CPSpG: self::$PluginHelper = new PluginHelper($this->getPlugin()); goto gEDNK; efs97: $oPlugin = $this->getPlugin(); goto PVaKt; ms442: if (!(Shop::isFrontend() === false)) { goto cR9XO; } goto M00KE; fq6pq: if (!(self::$PluginHelper === null)) { goto MtlKK; } goto CPSpG; y0sMP: n0fp9: goto p8vjW; GtAum: if (!(null === $oPlugin->getMeta()->getExsID() || empty($oPlugin->getMeta()->getExsID()))) { goto ynzPt; } goto a0S2Q; xpdQL: $hook = HOOK_PLUGIN_SAVE_OPTIONS; goto n1L7r; KYzoC: cR9XO: goto Kxi8Q; wcf_a: return; goto wxwAF; jW2oq: sLIxr: goto xpdQL; g1OAk: ZzZGt: goto XhlHi; t5ifm: $dispatcher->listen("\x62\x61\143\x6b\x65\156\144\56\156\x6f\x74\x69\x66\151\x63\141\164\x69\x6f\x6e", [$this, "\143\x68\x65\143\x6b\x4c\151\x63\145\156\163\x65\x4e\157\164\x69\146\151\x63\141\x74\151\x6f\156\163"]); goto y0sMP; PVaKt: if (!($oPlugin->getState() !== 2)) { goto G6g_i; } goto wcf_a; MUXNt: WmPRh: goto g1OAk; XKoLs: return; goto KYzoC; p8vjW: if (!((null === $oPlugin->getMeta()->getExsID() || empty($oPlugin->getMeta()->getExsID())) && $oPlugin->getMeta()->getVersion() != self::$PluginHelper->oStatus->cPluginVersion)) { goto sLIxr; } goto ew3B1; M00KE: if (!(!self::$PluginHelper->checkNoChanges() || !empty(self::$PluginHelper->oStatus->cLizenzfehler))) { goto n0fp9; } goto t5ifm; Kxi8Q: if (!(self::$PluginHelper->checkNoChanges() && self::$PluginHelper->showOnURL() && self::$PluginHelper->settings["\142\x41\153\x74\x69\x76"] == "\x6f\x6e")) { goto ZzZGt; } goto zlWYk; gEDNK: MtlKK: goto efs97; wxwAF: G6g_i: goto GtAum; PmZyT: foreach ($hook_arr as $hook => $file) { $dispatcher->listen("\x73\150\x6f\160\x2e\x68\x6f\157\153\x2e" . $hook, function (array $args) use($file, $hook) { $this->loadHookDatei($file, $args, $hook); }); u6be1: } goto MUXNt; xsM5r: $dispatcher->listen("\x73\150\x6f\x70\x2e\x68\x6f\x6f\x6b\56" . $hook, function (array $args) use($file, $hook) { $this->loadHookDatei($file, $args, $hook); }); goto XKoLs; k_Vpa: parent::boot($dispatcher); goto fq6pq; ew3B1: $dispatcher->listen("\x62\141\x63\x6b\x65\x6e\144\56\x6e\x6f\x74\x69\x66\151\x63\141\164\x69\x6f\x6e", [$this, "\143\x68\145\143\153\x55\160\144\141\164\145\116\157\x74\151\x66\x69\x63\141\x74\151\157\156\x73"]); goto jW2oq; aDOMp: ynzPt: goto ms442; n1L7r: $file = HOOK_PLUGIN_SAVE_OPTIONS; goto xsM5r; XhlHi: } public function installed() { goto B1kZG; jEqHx: $oPlugin = $this->getPlugin(); goto zruWI; zruWI: $PluginHelper = new PluginHelper($oPlugin); goto IE2EP; B1kZG: parent::installed(); goto jEqHx; IE2EP: $PluginHelper->checkCustomCSS(); goto Ozpq6; Ozpq6: $this->flushMinifyCache(); goto GNifM; GNifM: } public function updated($oldVersion, $newVersion) { goto agw2n; x0DgV: $PluginHelper = new PluginHelper($oPlugin); goto KKAX4; x9RcD: $oPlugin = $this->getPlugin(); goto x0DgV; agw2n: parent::updated($oldVersion, $newVersion); goto x9RcD; nk4GJ: $this->flushMinifyCache(); goto wF4PZ; KKAX4: $PluginHelper->checkCustomCSS(); goto nk4GJ; wF4PZ: } 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 Zt3Uj; Zt3Uj: $ms = new MinifyService(); goto rYaCa; rYaCa: $ms->flushCache(); goto jUMSu; xBqtk: Shop::Container()->getCache()->flushTags([\CACHING_GROUP_TEMPLATE, CACHING_GROUP_PLUGIN . "\137" . $this->getPlugin()->getID(), $Functions->CacheTag]); goto H8_0x; jUMSu: $Functions = new Functions($this->getPlugin()); goto xBqtk; H8_0x: } private function loadHookDatei($hooknumber, $args, $number) { goto D9QsF; Qzs8Q: if (!file_exists($oPlugin->getPaths()->getFrontendPath() . "\x6e\145\x74\172\144\x69\156\x67\x65\104\105\x5f" . $hooknumber . "\x2e\x70\150\160")) { goto aD0LH; } goto NGQFk; D9QsF: $oPlugin = $this->getPlugin(); goto K0CeM; UgHhs: aD0LH: goto M9bVw; NGQFk: include $oPlugin->getPaths()->getFrontendPath() . "\x6e\x65\x74\172\144\x69\156\147\x65\x44\105\x5f" . $hooknumber . "\56\160\150\x70"; goto UgHhs; K0CeM: $args["\x68\157\x6f\153"] = $number; goto Qzs8Q; M9bVw: } public function checkLicenseNotifications() : void { goto YrGRW; vT1QV: $notificationEntry = new NotificationEntry(NotificationEntry::TYPE_DANGER, "\120\154\x75\x67\151\156\40" . $oPlugin->getPluginID(), "\105\x73\x20\127\165\x72\144\x65\40\145\151\x6e\40\114\151\x7a\145\156\x7a\x66\145\x68\154\x65\162\40\x66\x65\163\164\x67\145\163\x74\x65\154\154\x74\x2c\40\x62\x69\x74\164\145\40\163\143\x68\x61\165\x65\x6e\40\x53\x69\145\x20\x69\x6d\x20\122\145\x69\x74\145\162\40\x22\123\164\x61\x74\165\163\42\40\151\x6e\x20\144\x65\x6e\x20\120\154\165\147\x69\x6e\145\x69\x6e\163\x74\x65\154\x6c\x75\156\x67\x65\156\x2e", self::$PluginHelper->getPluginAdminLink("\143\120\x6c\x75\x67\151\156\124\141\x62\75\123\164\141\164\165\x73"), null); goto VBVZm; VBVZm: Notification::getInstance()->addNotify($notificationEntry->setPluginId($oPlugin->getPluginID())); goto NoKiz; YrGRW: $oPlugin = $this->getPlugin(); goto vT1QV; NoKiz: } public function checkUpdateNotifications() : void { goto s48j1; avEpf: $notificationEntry = new NotificationEntry(NotificationEntry::TYPE_DANGER, "\120\x6c\165\x67\151\x6e\40" . $oPlugin->getPluginID(), "\105\x73\40\x73\164\x65\x68\164\x20\x65\x69\x6e\40\x55\x70\144\x61\164\x65\40\50\x56\x65\x72\x73\151\157\156\40" . self::$PluginHelper->oStatus->cPluginVersion . "\x29\x20\x7a\x75\x72\x20\x56\x65\162\x66\xc3\xbc\x67\165\156\147\54\x20\142\x69\x74\164\x65\x20\163\143\150\141\165\x65\156\40\x53\151\145\x20\x69\156\40\x64\145\x6e\x20\x50\154\165\x67\x69\x6e\145\151\x6e\x73\x74\145\154\154\165\x6e\x67\x65\x6e\x20\151\x6d\40\122\x65\151\x74\x65\162\x20\x22\x53\x74\x61\x74\165\163\x22\56", self::$PluginHelper->getPluginAdminLink("\x63\x50\x6c\x75\147\x69\x6e\x54\141\142\75\123\x74\x61\164\165\163"), null); goto dfI78; u1Ke5: v0EAq: goto GjxV0; s48j1: $oPlugin = $this->getPlugin(); goto ZBLbj; ZBLbj: if (empty(self::$PluginHelper->oStatus->cPluginVersion)) { goto v0EAq; } goto avEpf; dfI78: Notification::getInstance()->addNotify($notificationEntry->setPluginId($oPlugin->getPluginID())); goto u1Ke5; GjxV0: } public function renderAdminMenuTab(string $tabName, int $menuID, JTLSmarty $smarty) : string { goto qC82i; fMvPo: $Functions = new Functions($oPlugin); goto k35dl; ZC3i2: include $oPlugin->getPaths()->getAdminPath() . $admintabs[$tabName] . "\x2e\160\150\160"; goto vNnfF; XbGcO: return parent::renderAdminMenuTab($tabName, $menuID, $smarty); goto gSzg9; gR0RI: DZMQH: goto XbGcO; QrHae: $oPlugin = $this->getPlugin(); goto fJU6H; fJU6H: $PluginHelper = new PluginHelper($oPlugin); goto fMvPo; vNnfF: return $smarty->fetch($this->getPlugin()->getPaths()->getAdminPath() . "\x2f\164\145\155\x70\154\x61\x74\x65\x2f" . $admintabs[$tabName] . "\x2e\164\x70\154"); goto gR0RI; HERFn: if (empty($admintabs[$tabName])) { goto DZMQH; } goto QrHae; qC82i: $admintabs = array("\x43\123\123\x20\x62\145\x61\162\x62\x65\x69\x74\x65\156" => "\143\x73\163", "\x44\157\x6b\165\155\x65\x6e\164\x61\164\x69\157\156" => "\x64\x6f\x63", "\123\164\x61\164\165\x73" => "\x73\164\x61\x74\x75\163"); goto HERFn; k35dl: $alertHelper = Shop::Container()->getAlertService(); goto ZC3i2; gSzg9: } }
Did this file decode correctly?
Original Code
eval(str_replace(base64_decode('ZGVjbGFyZSAoc3RyaWN0X3R5cGVzPTEpOw=='),'',gzinflate(base64_decode("vVn7U+LIE/99/4pZy7rCK10hJEGTWqsUWPQQxPeuyxUVwgSikMQ8FP3u/e/fnp5HgrI+duvOKkwyme7p7unHpyeb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ZZHp4rqWjVPCSIXVWSEi+hU0Y40I0wKmiaEquTBbQo7sHfqjGMxpbB30Ga/J86xnzXyOC/mmbkhglpXcS5XlXHODveexPnIO6ht2SSrtKkBEVFu7t7K85Lr+UXZ5oHxtmC82jscMkDKLhz7vOnE6idHZyhLfijMAtPm4v5n+QitYnNLLMsuAPRHNMYN6tAgO3OGpSSN/WAMNnKGXWdG1wEApYC24e1BY52oT0JkNcErS0OCRKh9W9/SfJt4nbte+DKsfdIq3lSN0RSsX6/62htwF0qtQNeqwx5B6OS7FP1vhSAlkmIIUubdbuABzP06bLlH8uRWdT5LzJLbQ9lCWkB+Tzl9HG/D/Un55MAijavOsQSUuAhA6njfoW9zRO+vcxPALV5+oelG29tcR6WcEBe6Hpq6kyVNxSsWZqb08pMhmaiNPC/wpMfh7MvboUta9VUMzQadTPPkS1AMvWWM8hBDK6sQQwPb3AGtggjq2x0sjziD/3jClWCqIlK9lpckhXPMFf4xDxEbFrLqCqtviOEReA9FUchRnMRg6rsFr1OC0xxH2eEc51REbUVQI2bXFjEdZs7CJ0W0ms0DiCnOPiMrb1neA+On5qctNoaezT2ZpYt//g8="))));
Function Calls
gzinflate | 1 |
str_replace | 1 |
base64_decode | 2 |
Stats
MD5 | b6feff66ad08daa269e4838a468992e9 |
Eval Count | 1 |
Decode Time | 45 ms |