403Webshell
Server IP : 116.153.78.57  /  Your IP : 43.174.71.198
Web Server : nginx/1.28.0
System : Linux 1763701629066 6.8.0-53-generic #55-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 17 15:37:52 UTC 2025 x86_64
User : www ( 1001)
PHP Version : 8.2.28
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
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /www/wwwroot/www.lengcat.cn/wp-content/themes/onenav/inc/auth/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/www.lengcat.cn/wp-content/themes/onenav/inc/auth/dyh.php
<?php
/*
 * @Author: iowen
 * @Author URI: https://www.iowen.cn/
 * @Date: 2021-03-01 10:19:02
 * @LastEditors: iowen
 * @LastEditTime: 2024-11-05 01:38:48
 * @FilePath: /onenav/inc/auth/dyh.php
 * @Description: 
 */
include_once('../../../../../wp-config.php');
//启用 session
if(!session_id()) session_start(); 

$config           = io_get_option('open_weixin_gzh_key');
$callback         = get_oauth_callback_url('dyh');
$_SESSION['rurl'] = isset($_REQUEST["loginurl"]) ? $_REQUEST["loginurl"] : ''; // 储存返回页面

$qrcode           = $config['qr_code'];

$action = !empty($_REQUEST["bind"]) ? '绑定' : '登录';
$text = '微信扫码' . $action;
$html = '<div class="text-center mb-2"><i class="text-success iconfont icon-qr-sweep mr-2"></i>' . $text . '</div>';
$html .= '<div class="text-center"><img class="signin-qrcode-img" src="' . $qrcode . '" alt="' . $text . '" style="width:198px"></div>';
$html .= '<div class="text-center text-xs text-muted mt-1 mb-3"> 如已关注,请回复“'.$action.'”二字获取验证码 </div>';
$html .= '<div class="io-wx-box"><input type="text" id="io_ws_code" class="io-wx-input form-control" placeholder="验证码"/><button type="button" class="btn vc-blue btn-sm io-wx-btn ml-1">验证'.$action.'</button></div>'; 
//$but  = '<div class="text-center mt-2"><a href="'. esc_url(home_url()) .'/login/" class="btn btn-outline-danger px-4 px-lg-5 ml-auto">返回</a></div>';
$but  = '<div class="text-muted mt-3"><small>使用其他方式 <a href="'. esc_url(home_url()) .'/login/" class="signup">'.__('登录','i_theme').'</a> / <a href="'. esc_url(home_url()) .'/login/?action=register" class="signup">'.__('注册','i_theme').'</a></small></div>';
echo (json_encode(array('html' => $html, 'but'=>$but, 'url' => $callback)));
exit();

Youez - 2016 - github.com/yon3zu
LinuXploit