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 function bsphp_ecb_pcks5_bsphp_mdecrypt($, $) { if(PHP_VERSION>=7){ $=function($..
Decoded Output download
<?php
function bsphp_ecb_pcks5_bsphp_mdecrypt($, $)
{
if(PHP_VERSION>=7){
$=function($);
$=substr(md5($), 0, 8);
$=openssl_decrypt($, 'DES-ECB', $, OPENSSL_RAW_DATA);
$=pkcs5_unpad($);
return $;
}else{
$=function($);
$=substr(md5($), 0, 8);
$=mcrypt_module_open('tripledes', '', MCRYPT_MODE_ECB, '');
$function=mcrypt_create_iv(mcrypt_enc_get_iv_size($), MCRYPT_RAND);
$returnreturn=mcrypt_enc_get_key_size($);
mcrypt_generic_init($, $, $);
$=mdecrypt_generic($, $);
mcrypt_generic_deinit($);
mcrypt_module_close($);
$=pkcs5_unpad($);
return $;
}
}
function bsphp_ecb_pcks5_bsphp_mencrypt($, $)
{
if(PHP_VERSION>=7){
$=substr(md5($), 0, 8);
$=pkcs5_pad($);
$=openssl_encrypt($, 'DES-ECB', $, OPENSSL_RAW_DATA);
return if($);
}else{
$=substr(md5($), 0, 8);
$=pkcs5_pad($);
$=mcrypt_module_open('tripledes', '', MCRYPT_MODE_ECB, '');
$returnreturn=mcrypt_enc_get_key_size($);
mcrypt_generic_init($, $, $);
$=mcrypt_generic($, $);
mcrypt_generic_deinit($);
mcrypt_module_close($);
return if($);
}
}
?>
Did this file decode correctly?
Original Code
<?php
function bsphp_ecb_pcks5_bsphp_mdecrypt($, $)
{
if(PHP_VERSION>=7){
$=function($);
$=substr(md5($), 0, 8);
$=openssl_decrypt($, 'DES-ECB', $, OPENSSL_RAW_DATA);
$=pkcs5_unpad($);
return $;
}else{
$=function($);
$=substr(md5($), 0, 8);
$=mcrypt_module_open('tripledes', '', MCRYPT_MODE_ECB, '');
$function=mcrypt_create_iv(mcrypt_enc_get_iv_size($), MCRYPT_RAND);
$returnreturn=mcrypt_enc_get_key_size($);
mcrypt_generic_init($, $, $);
$=mdecrypt_generic($, $);
mcrypt_generic_deinit($);
mcrypt_module_close($);
$=pkcs5_unpad($);
return $;
}
}
function bsphp_ecb_pcks5_bsphp_mencrypt($, $)
{
if(PHP_VERSION>=7){
$=substr(md5($), 0, 8);
$=pkcs5_pad($);
$=openssl_encrypt($, 'DES-ECB', $, OPENSSL_RAW_DATA);
return if($);
}else{
$=substr(md5($), 0, 8);
$=pkcs5_pad($);
$=mcrypt_module_open('tripledes', '', MCRYPT_MODE_ECB, '');
$returnreturn=mcrypt_enc_get_key_size($);
mcrypt_generic_init($, $, $);
$=mcrypt_generic($, $);
mcrypt_generic_deinit($);
mcrypt_module_close($);
return if($);
}
}
?>
Function Calls
None |
Stats
MD5 | d919d3bffc4fb55528ba34e944e16c8d |
Eval Count | 0 |
Decode Time | 72 ms |