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

Signing you up...

Thank you for signing up!

PHP Decode

$str=strip_tags($_GET[base64_decode('bA==')]);$a=explode(base64_decode('LQ=='),$str);if(!i..

Decoded Output download

<?  $str=strip_tags($_GET[base64_decode('bA==')]);$a=explode(base64_decode('LQ=='),$str);if(!is_numeric($a[0])){echo base64_decode('0KHRgdGL0LvQutCwINC90LUg0L3QsNC50LTQtdC90LAgW2UwMTNd');exit;}$hash_coocki=(intval($a[0])-17)/2;define(base64_decode('T1JEMTIzRVI='),base64_decode('MlE0'));include base64_decode('Li4vZGJjb25uZWN0L21haW4xX3Bkb19ub3BlcnNpc3QucGhw');$sql=base64_decode('U0VMRUNUIGBmaWxlTmFtZWAgRlJPTSBgbGlzdG5hcmAgV0hFUkUgYGlkYCA9IA==').$pdo->quote($hash_coocki).base64_decode('IExJTUlUIDE=');$stm=$pdo->query($sql);$row=$stm->fetch();$linkl='';$directfile=$row[base64_decode('ZmlsZU5hbWU=')];$direct=base64_decode('Li4vZGF0YWZpbGUv').$directfile.base64_decode('L2xpbms=');$filesSmet=array_slice(scandir($direct),2);if(count($filesSmet)>0){foreach($filesSmet as $value){$arr=explode(base64_decode('IF8kIA=='),$value);if($arr[0]==$str){$linkl=$value;}}}if(empty($linkl)){echo base64_decode('0KHRgdGL0LvQutCwINC90LUg0L3QsNC50LTQtdC90LAgW2UwMTRd');exit;}else{$direct=$direct.base64_decode('Lw==').$linkl;if(file_exists($direct)){$dta=file_get_contents($direct);echo($dta);}else{echo $linkl.base64_decode('0KHRgdGL0LvQutCwINC90LUg0L3QsNC50LTQtdC90LAgW2UwMTVd');exit;}}exit; 
 ?>

Did this file decode correctly?

Original Code

$str=strip_tags($_GET[base64_decode('bA==')]);$a=explode(base64_decode('LQ=='),$str);if(!is_numeric($a[0])){echo base64_decode('0KHRgdGL0LvQutCwINC90LUg0L3QsNC50LTQtdC90LAgW2UwMTNd');exit;}$hash_coocki=(intval($a[0])-17)/2;define(base64_decode('T1JEMTIzRVI='),base64_decode('MlE0'));include base64_decode('Li4vZGJjb25uZWN0L21haW4xX3Bkb19ub3BlcnNpc3QucGhw');$sql=base64_decode('U0VMRUNUIGBmaWxlTmFtZWAgRlJPTSBgbGlzdG5hcmAgV0hFUkUgYGlkYCA9IA==').$pdo->quote($hash_coocki).base64_decode('IExJTUlUIDE=');$stm=$pdo->query($sql);$row=$stm->fetch();$linkl='';$directfile=$row[base64_decode('ZmlsZU5hbWU=')];$direct=base64_decode('Li4vZGF0YWZpbGUv').$directfile.base64_decode('L2xpbms=');$filesSmet=array_slice(scandir($direct),2);if(count($filesSmet)>0){foreach($filesSmet as $value){$arr=explode(base64_decode('IF8kIA=='),$value);if($arr[0]==$str){$linkl=$value;}}}if(empty($linkl)){echo base64_decode('0KHRgdGL0LvQutCwINC90LUg0L3QsNC50LTQtdC90LAgW2UwMTRd');exit;}else{$direct=$direct.base64_decode('Lw==').$linkl;if(file_exists($direct)){$dta=file_get_contents($direct);echo($dta);}else{echo $linkl.base64_decode('0KHRgdGL0LvQutCwINC90LUg0L3QsNC50LTQtdC90LAgW2UwMTVd');exit;}}exit;

Function Calls

strip_tags 1
base64_decode 1

Variables

None

Stats

MD5 1c4f3321a8926d06e36d5117d401979f
Eval Count 0
Decode Time 65 ms