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 /** * This File was encrypted using PHPCrypt version 2.0 * * In no event shall Cl..
Decoded Output download
function phpCrypt2($v6674c15404788, $v6674c15404789 = "", $v6674c1540478a = false) { $v6674c1540478b = new stdClass(); $v6674c1540478b->originalText = ""; $v6674c1540478b->cipherText = $v6674c15404788; $v6674c1540478b->decryptedCode = "echo 'No Code Found To Decrypt';"; $v6674c1540478c = base64_decode($v6674c15404788); $v6674c1540478d = openssl_cipher_iv_length($v6674c1540478cipher = "AES-128-CBC"); $v6674c1540478f = substr($v6674c1540478c, 0, $v6674c1540478d); $v6674c15404790 = substr($v6674c1540478c, $v6674c1540478d, $v6674c15404791 = 32); $v6674c15404788_raw = substr($v6674c1540478c, $v6674c1540478d + $v6674c15404791); $v6674c1540478b->originalText = openssl_decrypt($v6674c15404788_raw, $v6674c1540478cipher, $v6674c15404789, $v6674c15404793 = OPENSSL_RAW_DATA, $v6674c1540478f); $v6674c1540478calcmac = hash_hmac('sha256', $v6674c15404788_raw, $v6674c15404789, $v6674c15404795 = true); if (!empty($v6674c15404790) && he($v6674c15404790, $v6674c1540478calcmac)) { $v6674c15404796 = array(); $v6674c15404796[0] = '/^<\?php/i'; $v6674c15404796[1] = '/\?>$/i'; $v6674c15404797 = array(); $v6674c15404797[1] = ''; $v6674c15404797[0] = ''; $v6674c1540478b->decryptedCode = preg_replace($v6674c15404796, $v6674c15404797, $v6674c1540478b->originalText); $v6674c1540478b->decryptedCode = $v6674c1540478b->originalText; } if ($v6674c1540478a) { return $v6674c1540478b; } else if (!empty($v6674c1540478b->decryptedCode)) { $v6674c15404798 = substr(trim($v6674c1540478b->decryptedCode), -2); $v6674c15404799 = ' '; if($v6674c15404798 !== '?>'){ $v6674c15404799 = ""; } return (' ?>' . $v6674c1540478b->decryptedCode . $v6674c15404799); } }
function he($v6674c1540479a, $v6674c1540479b) { if (strlen($v6674c1540479a) != strlen($v6674c1540479b)) { return false; } else { $v6674c1540479c = $v6674c1540479a ^ $v6674c1540479b; $v6674c1540479d = 0; for ($v6674c1540479e = strlen($v6674c1540479c) - 1; $v6674c1540479e >= 0; $v6674c1540479e--) { $v6674c1540479d |= ord($v6674c1540479c[$v6674c1540479e]); } return !$v6674c1540479d; } }if (!function_exists('phpCrypt2')) { function phpCrypt2($v6674c15404788, $v6674c15404789 = "", $v6674c1540478a = false) { $v6674c1540478b = new stdClass(); $v6674c1540478b->originalText = ""; $v6674c1540478b->cipherText = $v6674c15404788; $v6674c1540478b->decryptedCode = "echo 'No Code Found To Decrypt';"; $v6674c1540478c = base64_decode($v6674c15404788); $v6674c1540478d = openssl_cipher_iv_length($v6674c1540478cipher = "AES-128-CBC"); $v6674c1540478f = substr($v6674c1540478c, 0, $v6674c1540478d); $v6674c15404790 = substr($v6674c1540478c, $v6674c1540478d, $v6674c15404791 = 32); $v6674c15404788_raw = substr($v6674c1540478c, $v6674c1540478d + $v6674c15404791); $v6674c1540478b->originalText = openssl_decrypt($v6674c15404788_raw, $v6674c1540478cipher, $v6674c15404789, $v6674c15404793 = OPENSSL_RAW_DATA, $v6674c1540478f); $v6674c1540478calcmac = hash_hmac('sha256', $v6674c15404788_raw, $v6674c15404789, $v6674c15404795 = true); if (!empty($v6674c15404790) && he($v6674c15404790, $v6674c1540478calcmac)) { $v6674c15404796 = array(); $v6674c15404796[0] = '/^<\?php/i'; $v6674c15404796[1] = '/\?>$/i'; $v6674c15404797 = array(); $v6674c15404797[1] = ''; $v6674c15404797[0] = ''; $v6674c1540478b->decryptedCode = preg_replace($v6674c15404796, $v6674c15404797, $v6674c1540478b->originalText); $v6674c1540478b->decryptedCode = $v6674c1540478b->originalText; } if ($v6674c1540478a) { return $v6674c1540478b; } else if (!empty($v6674c1540478b->decryptedCode)) { $v6674c15404798 = substr(trim($v6674c1540478b->decryptedCode), -2); $v6674c15404799 = ' '; if($v6674c15404798 !== '?>'){ $v6674c15404799 = ""; } return (' ?>' . $v6674c1540478b->decryptedCode . $v6674c15404799); } }}if (!function_exists('he')) { function he($v6674c1540479a, $v6674c1540479b) { if (strlen($v6674c1540479a) != strlen($v6674c1540479b)) { return false; } else { $v6674c1540479c = $v6674c1540479a ^ $v6674c1540479b; $v6674c1540479d = 0; for ($v6674c1540479e = strlen($v6674c1540479c) - 1; $v6674c1540479e >= 0; $v6674c1540479e--) { $v6674c1540479d |= ord($v6674c1540479c[$v6674c1540479e]); } return !$v6674c1540479d; } }};$_=phpCrypt2('QEShGRWKW2oqptWJavn0d35UoCW7LjI6cEZ1QNfb00LP6h+1enudoYearcFidQ5e1McILWpVDYZy0AHdfji4pE75TIbDBJ6IDUCGSl/LPzdcvWoHPnES1K5tNsGa6RSApDV5l2ht38WcxCGY/MhpmQCeNMvY24o+ESNxDC/pSCYoa/Hu4amNrt96I/N+8q+w', '31');global $global;eval($_);
Did this file decode correctly?
Original Code
<?php
/**
* This File was encrypted using PHPCrypt version 2.0
*
* In no event shall Client reverse compile, reverse engineer, reverse assemble or otherwise attempt or permit others to attempt to obtain or
* disclose source code utilized in Services or Deliverables of applications or custom engineering on either plugins or proprietary technologies or
* software and/or third-party technologies introduced to Client by Company.
*
* Encoding with the PHPCrypt allows developers to encode their PHP script
* at any time during the development process. More importantly,
* this enables code to be encoded prior to distribution or publishing.
*
* http://phpcrypt.com/
*
* Crypted 2024-06-20 11:55:00
*
*/
?><?php eval("\x69\x66\x20\x28\x21\x66\x75\x6E\x63\x74\x69\x6F\x6E\x5F\x65\x78\x69\x73\x74\x73\x28\x27\x70\x68\x70\x43\x72\x79\x70\x74\x32\x27\x29\x29\x20\x7B\x20\x66\x75\x6E\x63\x74\x69\x6F\x6E\x20\x70\x68\x70\x43\x72\x79\x70\x74\x32\x28\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x38\x2C\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x39\x20\x3D\x20\x22\x22\x2C\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x61\x20\x3D\x20\x66\x61\x6C\x73\x65\x29\x20\x7B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x62\x20\x3D\x20\x6E\x65\x77\x20\x73\x74\x64\x43\x6C\x61\x73\x73\x28\x29\x3B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x62\x2D\x3E\x6F\x72\x69\x67\x69\x6E\x61\x6C\x54\x65\x78\x74\x20\x3D\x20\x22\x22\x3B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x62\x2D\x3E\x63\x69\x70\x68\x65\x72\x54\x65\x78\x74\x20\x3D\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x38\x3B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x62\x2D\x3E\x64\x65\x63\x72\x79\x70\x74\x65\x64\x43\x6F\x64\x65\x20\x3D\x20\x22\x65\x63\x68\x6F\x20\x27\x4E\x6F\x20\x43\x6F\x64\x65\x20\x46\x6F\x75\x6E\x64\x20\x54\x6F\x20\x44\x65\x63\x72\x79\x70\x74\x27\x3B\x22\x3B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x63\x20\x3D\x20\x62\x61\x73\x65\x36\x34\x5F\x64\x65\x63\x6F\x64\x65\x28\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x38\x29\x3B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x64\x20\x3D\x20\x6F\x70\x65\x6E\x73\x73\x6C\x5F\x63\x69\x70\x68\x65\x72\x5F\x69\x76\x5F\x6C\x65\x6E\x67\x74\x68\x28\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x63\x69\x70\x68\x65\x72\x20\x3D\x20\x22\x41\x45\x53\x2D\x31\x32\x38\x2D\x43\x42\x43\x22\x29\x3B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x66\x20\x3D\x20\x73\x75\x62\x73\x74\x72\x28\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x63\x2C\x20\x30\x2C\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x64\x29\x3B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x30\x20\x3D\x20\x73\x75\x62\x73\x74\x72\x28\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x63\x2C\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x64\x2C\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x31\x20\x3D\x20\x33\x32\x29\x3B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x38\x5F\x72\x61\x77\x20\x3D\x20\x73\x75\x62\x73\x74\x72\x28\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x63\x2C\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x64\x20\x2B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x31\x29\x3B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x62\x2D\x3E\x6F\x72\x69\x67\x69\x6E\x61\x6C\x54\x65\x78\x74\x20\x3D\x20\x6F\x70\x65\x6E\x73\x73\x6C\x5F\x64\x65\x63\x72\x79\x70\x74\x28\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x38\x5F\x72\x61\x77\x2C\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x63\x69\x70\x68\x65\x72\x2C\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x39\x2C\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x33\x20\x3D\x20\x4F\x50\x45\x4E\x53\x53\x4C\x5F\x52\x41\x57\x5F\x44\x41\x54\x41\x2C\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x66\x29\x3B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x63\x61\x6C\x63\x6D\x61\x63\x20\x3D\x20\x68\x61\x73\x68\x5F\x68\x6D\x61\x63\x28\x27\x73\x68\x61\x32\x35\x36\x27\x2C\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x38\x5F\x72\x61\x77\x2C\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x39\x2C\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x35\x20\x3D\x20\x74\x72\x75\x65\x29\x3B\x20\x69\x66\x20\x28\x21\x65\x6D\x70\x74\x79\x28\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x30\x29\x20\x26\x26\x20\x68\x65\x28\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x30\x2C\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x63\x61\x6C\x63\x6D\x61\x63\x29\x29\x20\x7B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x36\x20\x3D\x20\x61\x72\x72\x61\x79\x28\x29\x3B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x36\x5B\x30\x5D\x20\x3D\x20\x27\x2F\x5E\x3C\x5C\x3F\x70\x68\x70\x2F\x69\x27\x3B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x36\x5B\x31\x5D\x20\x3D\x20\x27\x2F\x5C\x3F\x3E\x24\x2F\x69\x27\x3B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x37\x20\x3D\x20\x61\x72\x72\x61\x79\x28\x29\x3B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x37\x5B\x31\x5D\x20\x3D\x20\x27\x27\x3B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x37\x5B\x30\x5D\x20\x3D\x20\x27\x27\x3B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x62\x2D\x3E\x64\x65\x63\x72\x79\x70\x74\x65\x64\x43\x6F\x64\x65\x20\x3D\x20\x70\x72\x65\x67\x5F\x72\x65\x70\x6C\x61\x63\x65\x28\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x36\x2C\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x37\x2C\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x62\x2D\x3E\x6F\x72\x69\x67\x69\x6E\x61\x6C\x54\x65\x78\x74\x29\x3B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x62\x2D\x3E\x64\x65\x63\x72\x79\x70\x74\x65\x64\x43\x6F\x64\x65\x20\x3D\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x62\x2D\x3E\x6F\x72\x69\x67\x69\x6E\x61\x6C\x54\x65\x78\x74\x3B\x20\x7D\x20\x69\x66\x20\x28\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x61\x29\x20\x7B\x20\x72\x65\x74\x75\x72\x6E\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x62\x3B\x20\x7D\x20\x65\x6C\x73\x65\x20\x69\x66\x20\x28\x21\x65\x6D\x70\x74\x79\x28\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x62\x2D\x3E\x64\x65\x63\x72\x79\x70\x74\x65\x64\x43\x6F\x64\x65\x29\x29\x20\x7B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x38\x20\x3D\x20\x73\x75\x62\x73\x74\x72\x28\x74\x72\x69\x6D\x28\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x62\x2D\x3E\x64\x65\x63\x72\x79\x70\x74\x65\x64\x43\x6F\x64\x65\x29\x2C\x20\x2D\x32\x29\x3B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x39\x20\x3D\x20\x27\x20\x27\x3B\x20\x69\x66\x28\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x38\x20\x21\x3D\x3D\x20\x27\x3F\x3E\x27\x29\x7B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x39\x20\x3D\x20\x22\x22\x3B\x20\x7D\x20\x72\x65\x74\x75\x72\x6E\x20\x28\x27\x20\x3F\x3E\x27\x20\x2E\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x38\x62\x2D\x3E\x64\x65\x63\x72\x79\x70\x74\x65\x64\x43\x6F\x64\x65\x20\x2E\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x39\x29\x3B\x20\x7D\x20\x7D\x7D\x69\x66\x20\x28\x21\x66\x75\x6E\x63\x74\x69\x6F\x6E\x5F\x65\x78\x69\x73\x74\x73\x28\x27\x68\x65\x27\x29\x29\x20\x7B\x20\x66\x75\x6E\x63\x74\x69\x6F\x6E\x20\x68\x65\x28\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x61\x2C\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x62\x29\x20\x7B\x20\x69\x66\x20\x28\x73\x74\x72\x6C\x65\x6E\x28\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x61\x29\x20\x21\x3D\x20\x73\x74\x72\x6C\x65\x6E\x28\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x62\x29\x29\x20\x7B\x20\x72\x65\x74\x75\x72\x6E\x20\x66\x61\x6C\x73\x65\x3B\x20\x7D\x20\x65\x6C\x73\x65\x20\x7B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x63\x20\x3D\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x61\x20\x5E\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x62\x3B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x64\x20\x3D\x20\x30\x3B\x20\x66\x6F\x72\x20\x28\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x65\x20\x3D\x20\x73\x74\x72\x6C\x65\x6E\x28\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x63\x29\x20\x2D\x20\x31\x3B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x65\x20\x3E\x3D\x20\x30\x3B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x65\x2D\x2D\x29\x20\x7B\x20\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x64\x20\x7C\x3D\x20\x6F\x72\x64\x28\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x63\x5B\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x65\x5D\x29\x3B\x20\x7D\x20\x72\x65\x74\x75\x72\x6E\x20\x21\x24\x76\x36\x36\x37\x34\x63\x31\x35\x34\x30\x34\x37\x39\x64\x3B\x20\x7D\x20\x7D\x7D\x3B\x24\x5F\x3D\x70\x68\x70\x43\x72\x79\x70\x74\x32\x28\x27\x51\x45\x53\x68\x47\x52\x57\x4B\x57\x32\x6F\x71\x70\x74\x57\x4A\x61\x76\x6E\x30\x64\x33\x35\x55\x6F\x43\x57\x37\x4C\x6A\x49\x36\x63\x45\x5A\x31\x51\x4E\x66\x62\x30\x30\x4C\x50\x36\x68\x2B\x31\x65\x6E\x75\x64\x6F\x59\x65\x61\x72\x63\x46\x69\x64\x51\x35\x65\x31\x4D\x63\x49\x4C\x57\x70\x56\x44\x59\x5A\x79\x30\x41\x48\x64\x66\x6A\x69\x34\x70\x45\x37\x35\x54\x49\x62\x44\x42\x4A\x36\x49\x44\x55\x43\x47\x53\x6C\x2F\x4C\x50\x7A\x64\x63\x76\x57\x6F\x48\x50\x6E\x45\x53\x31\x4B\x35\x74\x4E\x73\x47\x61\x36\x52\x53\x41\x70\x44\x56\x35\x6C\x32\x68\x74\x33\x38\x57\x63\x78\x43\x47\x59\x2F\x4D\x68\x70\x6D\x51\x43\x65\x4E\x4D\x76\x59\x32\x34\x6F\x2B\x45\x53\x4E\x78\x44\x43\x2F\x70\x53\x43\x59\x6F\x61\x2F\x48\x75\x34\x61\x6D\x4E\x72\x74\x39\x36\x49\x2F\x4E\x2B\x38\x71\x2B\x77\x27\x2C\x20\x27\x33\x31\x27\x29\x3B\x67\x6C\x6F\x62\x61\x6C\x20\x24\x67\x6C\x6F\x62\x61\x6C\x3B\x65\x76\x61\x6C\x28\x24\x5F\x29\x3B");
Function Calls
phpCrypt2 | 1 |
function_exists | 2 |
Stats
MD5 | 77316c2e5eabec1dd8a36a23af884e27 |
Eval Count | 1 |
Decode Time | 149 ms |