删除 More/t.php.bak

This commit is contained in:
2025-10-17 23:32:12 +08:00
committed by cssfw
parent 917d269c83
commit 1f5ac5e0ca
79 changed files with 13493 additions and 0 deletions

53
Main/Login/index.php.bak Normal file
View File

@@ -0,0 +1,53 @@
<?php
include_once "../Hv4.Function.php";
// 设置目标 URL
$url = "https://auth.fuxsto.cn/Main/LoginApp/?act=NewTask"; // 替换为你的目标 URL
$AppName = "Fuxsto Host V4";
$AppLogo = "https://hv4.fuxsto.cn/favicon.ico";
$AppInfo = "未注册的账号会自动注册!请提前注册Auth账号!";
$AppUrl = "https://hv4.fuxsto.cn";
$AppCallBackUrl = "https://hv4.fuxsto.cn/Main/Login/CallBack.php";
$AppField = array("qq","id","username","password","register_time","register_ip");
$AppField = json_encode($AppField);
$headers = [
'TASK-APP-NAME: ' . $AppName,
'TASK-APP-LOGO: ' . $AppLogo,
'TASK-APP-INFO: ' . $AppInfo,
'TASK-APP-URL: ' . $AppUrl,
'TASK-APP-FIELD: ' . $AppField,
'TASK-APP-CALLBACKURL: ' . $AppCallBackUrl,
'TASK-APP-KEY: ' . "FuxstoHostV3-1144568790543508946461",
];
// 创建请求的上下文
$options = [
'http' => [
'method' => 'POST', // 使用 POST 请求
'header' => implode("\r\n", $headers), // 设置请求头
'ignore_errors' => true, // 即使请求失败,也返回响应内容
],
'ssl' => [
'verify_peer' => false, // 禁用 SSL 验证 (如果目标地址使用自签名证书,可以考虑启用)
'verify_peer_name' => false,
],
];
// 创建上下文
$context = stream_context_create($options);
// 发起请求并获取响应
$response = file_get_contents($url, false, $context);
$Task = json_decode($response,true)["msg"];
?>
<script>
window.location.href = 'https://auth.fuxsto.cn/Main/LoginApp/?act=ViewTask&task=<?= $Task ?>';
</script>