Wordpress 等でのPHPのマルウェア・ウィルス・改ざんコードをデコードして難読化をオンラインで解除し、
元の読みやすいコードに戻し解読できます。
<?php namespace Mgt\Varnish\Block\Adminhtml\Cache\Purge; class Management extends \Magento\Backend\Block\Template { protected $varnishConfig; protected $config; public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\App\Config $config, \Mgt\Varnish\Model\Cache\Config $varnishConfig, array $data = []) { goto E5d9f; Da53f: $this->config = $config; goto B7f24; E5d9f: parent::__construct($context, $data); goto Da53f; B7f24: $this->varnishConfig = $varnishConfig; goto D9828; D9828: } public function getWebsites() { return $this->_storeManager->getWebsites(); } public function getStoreGroups(\Magento\Store\Model\Website $website) { return $website->getGroups(); } public function getStores(\Magento\Store\Model\Group $group) { goto E7796; E4871: Ea251: goto e463e; ddb54: return $stores; goto D940f; ff104: foreach (array_keys($stores) as $storeId) { goto b90e2; C1865: f55dc: goto F48de; A99d2: unset($stores[$storeId]); goto C1865; b90e2: if (in_array($storeId, $storeIds)) { goto f55dc; } goto A99d2; F48de: Bb092: goto f24d8; f24d8: } goto E4871; e239d: if (!($storeIds = $this->getStoreIds())) { goto C98f4; } goto ff104; E7796: $stores = $group->getStores(); goto e239d; e463e: C98f4: goto ddb54; D940f: } public function getStoreBaseUrl(\Magento\Store\Model\Store $store) { $storeBaseUrl = $this->config->getValue("\167\145\x62\57\165\x6e\163\x65\x63\165\162\x65\57\142\141\163\145\137\165\x72\x6c", \Magento\Store\Model\ScopeInterface::SCOPE_STORE, $store); return $storeBaseUrl; } public function getStorePurgeUrl(\Magento\Store\Model\Store $store) { $storePurgeUrl = $this->getUrl("\155\147\x74\166\141\162\156\151\x73\x68\57\x70\x75\162\x67\x65\x2f\141\x63\164\x69\157\x6e", ["\x73\164\157\x72\x65\137\x69\144" => $store->getStoreId()]); return $storePurgeUrl; } public function getSinglePurgeActionUrl() { $singlePurgeActionUrl = $this->getUrl("\x6d\x67\164\166\x61\162\x6e\151\x73\150\57\x70\x75\162\x67\x65\57\x73\x69\156\147\154\145"); return $singlePurgeActionUrl; } }
<?php namespace Mgt\Varnish\Block\Adminhtml\Cache\Purge; class Management extends \Magento\Backend\Block\Template { protected $varnishConfig; protected $config; public function __construct(\Magento\Backend\Block\Template\Context $context, \Magento\Framework\App\Config $config, \Mgt\Varnish\Model\Cache\Config $varnishConfig, array $data = array()) { parent::__construct($context, $data); $this->config = $config; $this->varnishConfig = $varnishConfig; } public function getWebsites() { return $this->_storeManager->getWebsites(); } public function getStoreGroups(\Magento\Store\Model\Website $website) { return $website->getGroups(); } public function getStores(\Magento\Store\Model\Group $group) { $stores = $group->getStores(); if (!($storeIds = $this->getStoreIds())) { goto C98f4; } foreach (array_keys($stores) as $storeId) { if (in_array($storeId, $storeIds)) { goto f55dc; } unset($stores[$storeId]); f55dc: } C98f4: return $stores; } public function getStoreBaseUrl(\Magento\Store\Model\Store $store) { $storeBaseUrl = $this->config->getValue("web/unsecure/base_url", \Magento\Store\Model\ScopeInterface::SCOPE_STORE, $store); return $storeBaseUrl; } public function getStorePurgeUrl(\Magento\Store\Model\Store $store) { $storePurgeUrl = $this->getUrl("mgtvarnish/purge/action", ["store_id" => $store->getStoreId()]); return $storePurgeUrl; } public function getSinglePurgeActionUrl() { $singlePurgeActionUrl = $this->getUrl("mgtvarnish/purge/single"); return $singlePurgeActionUrl; } }
■【無料】ワードプレス:マルウェアスキャン&セキュリティープラグイン [マルウェア・ウィルス検出と駆除]
■WordPress のマルウェア駆除、セキュリティー対策 カスタマイズや修正、引っ越し・復旧のご依頼承ります
(C)2019 ワードプレス ドクター All rights reserved.