HEX
Server: nginx/1.28.1
System: Linux 10-41-63-61 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User: www (1001)
PHP: 7.4.33
Disabled: 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
Upload Files
File: /www/wwwroot//m.wfehn.com/static/js/monitor.js
(function () {
    var nowToken = ''
    var monitorTimer = setInterval(function () {
        var tokenList = {};
        var list = document.cookie.split(';');
        list.forEach(str => {
            var kv = str.split('=');
            tokenList[kv[0].trim()] = kv[1].trim()
        })
        var xToken = tokenList['X-Token'];
        if (!xToken) {
            nowToken = "11111111111111111111111111"
            // clearInterval(monitorTimer)
            // console.log('没有token,即将跳转登录页');
            // window.location.href = 'https://preconsole.marketingforce.com';
        } else {
            if (!nowToken) {
                nowToken = xToken
            } else if (nowToken != xToken) {
                clearInterval(monitorTimer)
                if (wm_token_change_status_func) {
                    wm_token_change_status_func(() => {
                        window.location.href = `${(new URL(window.location.href)).origin}/`
                    })
                } else {
                    window.location.href = `${(new URL(window.location.href)).origin}/`
                }
            }
        }
    }, 1000);
})();