File: /var/www/www-root/data/www/mowik.click/tds/files/remote.php
<?php
function remote_ip_ch($ric_data){
global $bot, $ipuser, $useragent;
/*IPGrabber*/
/*
$ric_url = 'http://ip.bseolized.com/check_ip/[IP]?token=YOUR_TOKEN';
$ric_url = str_replace('[IP]', $ipuser, $ric_url);
$res = ric_curl($ric_url);
$res = json_decode($res, true);
if(is_array($res) && array_key_exists('is_spider', $res) && $res['is_spider'] == 1){
$bot = 'IPGrabber';
}
*/
/*proxycheck.io*/
/*
$ric_url = 'http://proxycheck.io/v2/[IP]?key=YOUR_TOKEN&vpn=1';
$ric_url = str_replace('[IP]', $ipuser, $ric_url);
$res = ric_curl($ric_url);
$res = json_decode($res, true);
if(is_array($res) && $res['status'] == 'ok' && $res[$ipuser]['proxy'] == 'yes'){
$bot = 'proxycheck';
}
*/
}
function ric_curl($ric_url){
$ch = curl_init();
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
curl_setopt($ch, CURLOPT_URL, $ric_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
$res = curl_exec($ch);
curl_close($ch);
return $res;
}
?>