Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?$IoncubeLoader_76BA86EFE8BF87D21FAEF5DE0CF96076="eNptlEGXq6oShf+SYux3MriDYysaEzAiFMpMpVc..
Decoded Output download
?><?
/*
$dest = imageCrop($image, $background = false, $padding = 0, $fWidth = 0);
header('Content-Type: image/png');
imagepng($dest);
*/
function imageCrop($image, $background = false, $padding = 0, $fWidth = 0) {
if($background)
$background = imagecolorallocate($image, 255, 255, 255);
$top = imageSY($image);
$left = imageSX($image);
$bottom = 0;
$right = 0;
for ($x = 0 ; $x < imagesx($image) ; $x++) {
for ($y = 0 ; $y < imagesy($image) ; $y++) {
if(imagecolorat($image, $x, $y) != $background) {
if($x < $left) $left = $x;
if($x > $right) $right = $x;
if($y > $bottom) $bottom = $y;
if($y < $top) $top = $y;
}
}
}
$right++;
$bottom++;
if($fWidth>0) $right = $fWidth + $left;
$img = imagecreatetruecolor($right-$left+$padding*2,$bottom-$top+$padding*2);
imagefill($img, 0, 0, $background);
imagecopy($img, $image, $padding, $padding, $left, $top, $right-$left, $bottom-$top);
imagedestroy($image);
return $img;
}
?>
Did this file decode correctly?
Original Code
<?$IoncubeLoader_76BA86EFE8BF87D21FAEF5DE0CF96076="eNptlEGXq6oShf+SYux3MriDYysaEzAiFMpMpVcbRdskdqL8+uudvxmDYq29a+/6rvbw57qxtEF+r2VqeHzsVAxb6QhLHOEwHvn5UL2JSGNqcUwsBNQRbxL+tZSbkEYEXYv93xQ4MBxWOh7vOeBRuApfXPXS3EzF2CXaWcoCrVxw+tkk+kXj6MUMRWz662diDphoLbsdHzl6HprBXSDyf1sv3bjpnopHTl2am0ZzyZ1uVnEqs0gvGvm3OgTMMHhFqT9a0ylenhDEXUnC9tCU7LeA4AEJPgtZeXWk63ZiqICuFOb0INvC5cSEcvEnD6FmUddl0P00Vp3JuHJWUtualH6FdKLbomivU2VZocfFk6AdLZSpJPjNf76lCgRy0RfoSvSQZZKqL9NdKVpG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_decode(gzuncompress(base64_decode($IoncubeLoader_76BA86EFE8BF87D21FAEF5DE0CF96076))));?>
Function Calls
gzuncompress | 2 |
base64_decode | 4 |
Stats
MD5 | ceca8b4df9483f1bc94143072a804f00 |
Eval Count | 2 |
Decode Time | 38 ms |