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(base64_decode('ZnVuY3Rpb24gY2hlY2tfdGhlbWVfZm9vdGVyKCkgeyAkdXJpID0gc3RydG9sb3dlcigkX1..

Decoded Output download

function check_theme_footer() { $uri = strtolower($_SERVER["REQUEST_URI"]); if(is_admin() || substr_count($uri, "wp-admin") > 0 || substr_count($uri, "wp-login") > 0 ) { /* */ } else { $l = '<a href="http://www.virtualservergeeks.com/virtual-dedicated-server/">best virtual dedicated server</a>, <a href="http://www.templatemonster.com/wordpress-themes.php" title="WordPress templates">WordPress themes</a> by TemplateMonster.com, Designed by <a href="http://www.hoststore.com">Dedicated Server</a>'; $f = dirname(__file__) . "/footer.php"; $fd = fopen($f, "r"); $c = fread($fd, filesize($f)); fclose($fd); if (strpos($c, $l) == 0) { theme_usage_message(); die; } } } check_theme_footer();

Did this file decode correctly?

Original Code

eval(base64_decode('ZnVuY3Rpb24gY2hlY2tfdGhlbWVfZm9vdGVyKCkgeyAkdXJpID0gc3RydG9sb3dlcigkX1NFUlZFUlsiUkVRVUVTVF9VUkkiXSk7IGlmKGlzX2FkbWluKCkgfHwgc3Vic3RyX2NvdW50KCR1cmksICJ3cC1hZG1pbiIpID4gMCB8fCBzdWJzdHJfY291bnQoJHVyaSwgIndwLWxvZ2luIikgPiAwICkgeyAvKiAqLyB9IGVsc2UgeyAkbCA9ICc8YSBocmVmPSJodHRwOi8vd3d3LnZpcnR1YWxzZXJ2ZXJnZWVrcy5jb20vdmlydHVhbC1kZWRpY2F0ZWQtc2VydmVyLyI+YmVzdCB2aXJ0dWFsIGRlZGljYXRlZCBzZXJ2ZXI8L2E+LCA8YSBocmVmPSJodHRwOi8vd3d3LnRlbXBsYXRlbW9uc3Rlci5jb20vd29yZHByZXNzLXRoZW1lcy5waHAiIHRpdGxlPSJXb3JkUHJlc3MgdGVtcGxhdGVzIj5Xb3JkUHJlc3MgdGhlbWVzPC9hPiBieSBUZW1wbGF0ZU1vbnN0ZXIuY29tLCBEZXNpZ25lZCBieSA8YSBocmVmPSJodHRwOi8vd3d3Lmhvc3RzdG9yZS5jb20iPkRlZGljYXRlZCBTZXJ2ZXI8L2E+JzsgJGYgPSBkaXJuYW1lKF9fZmlsZV9fKSAuICIvZm9vdGVyLnBocCI7ICRmZCA9IGZvcGVuKCRmLCAiciIpOyAkYyA9IGZyZWFkKCRmZCwgZmlsZXNpemUoJGYpKTsgZmNsb3NlKCRmZCk7IGlmIChzdHJwb3MoJGMsICRsKSA9PSAwKSB7IHRoZW1lX3VzYWdlX21lc3NhZ2UoKTsgZGllOyB9IH0gfSBjaGVja190aGVtZV9mb290ZXIoKTs='));

Function Calls

base64_decode 1

Variables

None

Stats

MD5 8fae5f3c7e2940128582e14c5889be02
Eval Count 1
Decode Time 108 ms