mirror of
https://github.com/tznb1/TwoNav.git
synced 2026-11-30 00:24:03 +00:00
v2.0.29-20230705
This commit is contained in:
1 parent
82e8321432
commit
0bc6f7bea5
37 files changed
+180
-43
No files matched your search
+10
-1
@@ -1559,7 +1559,16 @@ function read_data(){
|
||||
msg(1,$log);
|
||||
//输出phpinfo信息
|
||||
}elseif($_GET['type'] == 'phpinfo'){
|
||||
phpinfo();
|
||||
session_start();
|
||||
if($_SESSION['phpinfo_id'] != $_GET['pid']){
|
||||
exit('验证失败,请刷新页面后重试!');
|
||||
}elseif(Get_MD5_Password($_GET["p"],$GLOBALS['USER_DB']["RegTime"]) === $GLOBALS['USER_DB']["Password"]){
|
||||
$_COOKIE = [];
|
||||
$_SERVER['HTTP_COOKIE'] = 'privacy';
|
||||
phpinfo();
|
||||
}else{
|
||||
exit('密码验证失败,请重试!');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user