/* Decoded by unphp.net */ setTimestamp(time()); return $dt->format($format); unset($timezone, $format, $dt); } $sistem_timezone = "Europe/Istanbul"; function curlCall($strURL) { $ch = curl_init(); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_URL, $strURL); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); $rsData = curl_exec($ch); curl_close($ch); return $rsData; } $domain = ltrim($_SERVER["HTTP_HOST"],"www."); $json = json_decode(curlCall('https://aktifsunucum.com.tr/yonetim/api/checker.php?domain=' . $domain . '&ip=' . $_SERVER["REMOTE_ADDR"] . '')); if (!file_exists(__DIR__ . "/lisans.lis")) touch(__DIR__ . "/lisans.lis"); $scriptFolder = (isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == 'on')) ? 'https://' : 'http://'; $scriptFolder .= $_SERVER['HTTP_HOST'] . dirname($_SERVER['SCRIPT_NAME']); $gecerli_yerel_hash = curlCall($scriptFolder . "/lisans.lis"); $hash_guvenlik_anahtari = "757831928281420180d09c491a8bc79b"; $yerel_hash = wordwrap(strtoupper(sha1(get_custom_date($sistem_timezone, "Ymd") . $hash_guvenlik_anahtari)), 8, "-", true); unset($hash_guvenlik_anahtari); if ($gecerli_yerel_hash !== $yerel_hash) { //KONTROL if ($json->lisans == "error") { if ($json->trial == "false") { die(curlCall('https://aktifsunucum.com.tr/yonetim/api/hata/lisanssiz-kullanim.html')); } } else { if ($json->ban) { die(curlCall('https://aktifsunucum.com.tr/yonetim/api/hata/yasakli.html')); } else { if ($json->bitis != "UL") { if ($json->bitis == "BAD") { die(curlCall('https://aktifsunucum.com.tr/yonetim/api/hata/sure-doldu.html')); } } } } } unset($json); $lisans_aktiflik_durumu = true; if ($lisans_aktiflik_durumu === true) { file_put_contents(__DIR__ . "/lisans.lis", $yerel_hash); } unset($lisans_aktiflik_durumu); unset($yerel_hash); unset($hash_guvenlik_anahtari); unset($gecerli_yerel_hash); ?>