Online PHP and Javascript Decoder decode hidden script to uncover its real functionality



namespace Softweb\ModifyCheckoutFields\Helper;

class LicenseValidator extends \Magento\Framework\App\Helper\AbstractHelper
{
    public function isActivated()
    {
        $domain = $_SERVER['HTTP_HOST'] ?? '';
        $allowed = ['example.com', 'dev.example.com'];
        return in_array($domain, $allowed);
    }
}




© 2023 Quttera Ltd. All rights reserved.