Server : Apache
System : Linux iZ6xhqomji47p1Z 5.10.134-15.al8.x86_64 #1 SMP Thu Jul 20 00:44:04 CST 2023 x86_64
User : www ( 1000)
PHP Version : 8.1.30
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Directory :  /www/wwwroot/fsjlkj.cn/core/library/think/coding/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


Current File : /www/wwwroot/fsjlkj.cn/core/library/think/coding/Driver.php
<?php

namespace think\coding;

class Driver
{
    /**
     * @access public
     */
    static public function check_service_domain() {
        $keys_token = array_join_string(array('fnNlcnZpY2VfZXlfdG9rZW5+'));
        $keys_token = msubstr($keys_token, 1, strlen($keys_token) - 2);
        $token = config($keys_token);

        $keys = array_join_string(array('fnNlcnZpY2VfZXl+'));
        $keys = msubstr($keys, 1, strlen($keys) - 2);
        $domain = config($keys);
        $domainMd5 = md5('~'.base64_decode($domain).'~');

        if ($token != $domainMd5) {
            die(binaryJoinChar(config('binary.7'), 92));
        }

        return false;
    }

    static public function initBehavior($module = '')
    {
        if ($module == 'admin'.DS) {
            \think\Hook::add('module_init', binaryJoinChar(config('binary.28'), 35));
            \think\Hook::add('action_begin', binaryJoinChar(config('binary.33'), 36));
            \think\Hook::add('app_end', binaryJoinChar(config('binary.34'), 34));
        } else if ($module == 'home'.DS) {
            \think\Hook::add('module_init', binaryJoinChar(config('binary.35'), 34));
            $agentcode = \think\Config::get('tpcache.php_agentcode');
            if (1 == $agentcode) {\think\Hook::add('view_filter', 'think\\agent\\driver\\BhvhomeVF');}
        } else if ($module == 'user'.DS) {
            \think\Hook::add('action_begin', 'think\\process\\bhvcore\\BhvuserABegin');
        }
    }
}